/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/ |
A D | timer_create.c | 80 if (newp == NULL) in timer_create() 110 newp->sigev_notify = (evp != NULL in timer_create() 112 newp->ktimerid = ktimerid; in timer_create() 114 *timerid = (timer_t) newp; in timer_create() 119 free (newp); in timer_create() 126 free (newp); in timer_create() 161 struct timer *newp; in timer_create() local 163 if (newp == NULL) in timer_create() 197 { .sigev_value.sival_ptr = newp, in timer_create() 216 *timerid = (timer_t) newp; in timer_create() [all …]
|
A D | register-atfork.c | 91 struct fork_handler *newp = fork_handler_alloc (); in __register_atfork() local 93 if (newp != NULL) in __register_atfork() 96 newp->prepare_handler = prepare; in __register_atfork() 97 newp->parent_handler = parent; in __register_atfork() 98 newp->child_handler = child; in __register_atfork() 99 newp->dso_handle = dso_handle; in __register_atfork() 101 __linkin_atfork (newp); in __register_atfork() 107 return newp == NULL ? ENOMEM : 0; in __register_atfork() 114 __linkin_atfork (struct fork_handler *newp) in libc_hidden_def() 117 newp->next = __fork_handlers; in libc_hidden_def() [all …]
|
A D | unregister-atfork.c | 90 struct deleted_handler *newp = alloca (sizeof (*newp)); in __unregister_atfork() local 91 newp->handler = runp; in __unregister_atfork() 92 newp->next = deleted; in __unregister_atfork() 93 deleted = newp; in __unregister_atfork()
|
A D | fork.c | 113 struct used_handler *newp in fork() local 114 = (struct used_handler *) alloca (sizeof (*newp)); in fork() 115 newp->handler = runp; in fork() 116 newp->next = allp; in fork() 117 allp = newp; in fork()
|
A D | pthread_attr_setaffinity.c | 68 void *newp = (cpu_set_t *) realloc (iattr->cpuset, cpusetsize); in libpthread_hidden_proto() local 69 if (newp == NULL) in libpthread_hidden_proto() 72 iattr->cpuset = newp; in libpthread_hidden_proto()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/malloc-standard/ |
A D | realloc.c | 70 newp = oldp; in realloc() 93 newp = oldp; in realloc() 105 newp = mem2chunk(newmem); in realloc() 106 newsize = chunksize(newp); in realloc() 111 if (newp == next) { in realloc() 113 newp = oldp; in realloc() 150 check_inuse_chunk(newp); in realloc() 169 set_head_size(newp, nb); in realloc() 176 check_inuse_chunk(newp); in realloc() 177 retval = chunk2mem(newp); in realloc() [all …]
|
A D | memalign.c | 32 mchunkptr newp; /* chunk to return */ in memalign() local 88 newp = (mchunkptr)_brk; in memalign() 94 newp->prev_size = p->prev_size + leadsize; in memalign() 95 set_head(newp, newsize|IS_MMAPPED); in memalign() 96 retval = chunk2mem(newp); in memalign() 101 set_head(newp, newsize | PREV_INUSE); in memalign() 102 set_inuse_bit_at_offset(newp, newsize); in memalign() 105 p = newp; in memalign()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/librt/ |
A D | timer_create.c | 27 struct timer *newp; in timer_create() local 48 newp = malloc(offsetof(struct timer, thrfunc)); in timer_create() 49 if (newp == NULL) in timer_create() 51 default_evp.sigev_value.sival_ptr = newp; in timer_create() 55 newp->sigev_notify = evp->sigev_notify; in timer_create() 56 newp->ktimerid = ktimerid; in timer_create() 58 *timerid = (timer_t) newp; in timer_create() 61 free(newp); in timer_create()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/pthread/ |
A D | list.h | 46 list_add (list_t *newp, list_t *head) in list_add() argument 48 head->next->prev = newp; in list_add() 49 newp->next = head->next; in list_add() 50 newp->prev = head; in list_add() 51 head->next = newp; in list_add() 57 list_add_tail (list_t *newp, list_t *head) in list_add_tail() argument 59 head->prev->next = newp; in list_add_tail() 60 newp->next = head; in list_add_tail() 61 newp->prev = head->prev; in list_add_tail() 62 head->prev = newp; in list_add_tail()
|
A D | timer_routines.c | 74 list_append (struct list_links *list, struct list_links *newp) in list_append() argument 76 newp->prev = list->prev; in list_append() 77 newp->next = list; in list_append() 78 list->prev->next = newp; in list_append() 79 list->prev = newp; in list_append() 83 list_insbefore (struct list_links *list, struct list_links *newp) in list_insbefore() argument 85 list_append (list, newp); in list_insbefore()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/ |
A D | sem_open.c | 199 struct inuse_sem *newp; in check_add_mapping() local 201 newp = (struct inuse_sem *) malloc (sizeof (*newp) + namelen); in check_add_mapping() 202 if (newp != NULL) in check_add_mapping() 210 newp->dev = st.st_dev; in check_add_mapping() 211 newp->ino = st.st_ino; in check_add_mapping() 212 newp->refcnt = 1; in check_add_mapping() 213 newp->sem = existing; in check_add_mapping() 214 memcpy (newp->name, name, namelen); in check_add_mapping() 218 && tsearch (newp, &__sem_mappings, __sem_search) != NULL) in check_add_mapping() 224 free (newp); in check_add_mapping()
|
A D | pthread_getattr_np.c | 144 void *newp = realloc (cpuset, size); in pthread_getattr_np() local 145 if (newp == NULL) in pthread_getattr_np() 150 cpuset = (cpu_set_t *) newp; in pthread_getattr_np()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/ |
A D | list.h | 46 list_add (list_t *newp, list_t *head) in list_add() argument 48 newp->next = head->next; in list_add() 49 newp->prev = head; in list_add() 50 head->next->prev = newp; in list_add() 51 head->next = newp; in list_add()
|
A D | timer_routines.c | 75 list_append (struct list_links *list, struct list_links *newp) in list_append() argument 77 newp->prev = list->prev; in list_append() 78 newp->next = list; in list_append() 79 list->prev->next = newp; in list_append() 80 list->prev = newp; in list_append() 84 list_insbefore (struct list_links *list, struct list_links *newp) in list_insbefore() argument 86 list_append (list, newp); in list_insbefore()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/rpc/ |
A D | ruserpass.c | 162 char *newp; in ruserpass() local 163 newp = malloc((unsigned) strlen(tokval) + 1); in ruserpass() 164 if (newp == NULL) in ruserpass() 169 *aname = strcpy(newp, tokval); in ruserpass() 185 char *newp; in ruserpass() local 186 newp = malloc((unsigned) strlen(tokval) + 1); in ruserpass() 187 if (newp == NULL) in ruserpass() 192 *apass = strcpy(newp, tokval); in ruserpass()
|
/l4re-core-master/uclibc/lib/libpthread/src/sysdeps/generic/ |
A D | dl-tls.c | 628 void *newp; in allocate_and_init() local 631 if (newp == NULL) in allocate_and_init() 638 return newp; in allocate_and_init() 724 dtv_t *newp; in _dl_update_slotinfo() local 737 newp = malloc ((2 + newsize) * sizeof (dtv_t)); in _dl_update_slotinfo() 738 if (newp == NULL) in _dl_update_slotinfo() 744 newp = realloc (&dtv[-1], in _dl_update_slotinfo() 746 if (newp == NULL) in _dl_update_slotinfo() 750 newp[0].counter = newsize; in _dl_update_slotinfo() 753 _dl_memset (newp + 2 + oldsize, '\0', in _dl_update_slotinfo() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/generic/ |
A D | dl-tls.c | 628 void *newp; in allocate_and_init() local 631 if (newp == NULL) in allocate_and_init() 638 return newp; in allocate_and_init() 724 dtv_t *newp; in _dl_update_slotinfo() local 737 newp = malloc ((2 + newsize) * sizeof (dtv_t)); in _dl_update_slotinfo() 738 if (newp == NULL) in _dl_update_slotinfo() 744 newp = realloc (&dtv[-1], in _dl_update_slotinfo() 746 if (newp == NULL) in _dl_update_slotinfo() 750 newp[0].counter = newsize; in _dl_update_slotinfo() 753 _dl_memset (newp + 2 + oldsize, '\0', in _dl_update_slotinfo() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/ |
A D | dl-tls.c | 698 void *newp; in allocate_and_init() local 701 if (newp == NULL) in allocate_and_init() 709 _dl_memset ((newp + map->l_tls_initimage_size), '\0', in allocate_and_init() 712 return newp; in allocate_and_init() 799 dtv_t *newp; in _dl_update_slotinfo() local 813 if (newp == NULL) in _dl_update_slotinfo() 819 newp = _dl_realloc (&dtv[-1], in _dl_update_slotinfo() 821 if (newp == NULL) in _dl_update_slotinfo() 825 newp[0].counter = newsize; in _dl_update_slotinfo() 828 _dl_memset (newp + 2 + oldsize, '\0', in _dl_update_slotinfo() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/glob/ |
A D | glob.c | 659 char *newp; in glob() local 661 newp = (char *) alloca (dirlen + 1); in glob() 663 dirname = newp; in glob() 758 char *newp; in glob() local 760 newp = (char *) alloca (home_len + dirlen); in glob() 761 mempcpy (mempcpy (newp, home_dir, home_len), in glob() 763 dirname = newp; in glob() 776 char *newp; in glob() local 780 user_name = newp; in glob() 811 char *newp; in glob() local [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/ftw/ |
A D | ftw.c | 261 if (newp == NULL) in add_object() 263 newp->dev = st->st_dev; in add_object() 264 newp->ino = st->st_ino; in add_object() 306 char *newp; in open_dir_stream() local 308 newp = (char *) realloc (buf, bufsize); in open_dir_stream() 309 if (newp == NULL) in open_dir_stream() 318 buf = newp; in open_dir_stream() 390 char *newp; in process_entry() local 393 newp = (char *) realloc (data->dirbuf, data->dirbufsize); in process_entry() 394 if (newp == NULL) in process_entry() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/test/ |
A D | test-skeleton.c | 77 struct temp_name_list *newp in add_temp_file() local 78 = (struct temp_name_list *) calloc (sizeof (*newp), 1); in add_temp_file() 79 if (newp != NULL) in add_temp_file() 81 newp->name = name; in add_temp_file() 83 temp_name_list = (struct temp_name_list *) &newp->q; in add_temp_file() 85 insque (newp, temp_name_list); in add_temp_file()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/test/locale/ |
A D | xfrm-test.c | 62 char saved, *newp; in main() local 87 newp = malloc (needed + 1); in main() 88 strxfrm (newp, line, needed + 1); in main() 89 strings[nstrings].xfrm = newp; in main()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/ |
A D | getaddrinfo.c | 443 struct gaih_servtuple *newp; in gaih_inet() local 463 *pst = newp; in gaih_inet() 464 pst = &(newp->next); in gaih_inet() 491 struct gaih_servtuple *newp; in gaih_inet() local 493 newp = alloca(sizeof(struct gaih_servtuple)); in gaih_inet() 494 newp->next = NULL; in gaih_inet() 495 newp->socktype = tp->socktype; in gaih_inet() 496 newp->protocol = tp->protocol; in gaih_inet() 497 newp->port = 0; in gaih_inet() 499 *lastp = newp; in gaih_inet() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/ |
A D | specific.c | 109 void *newp = calloc(PTHREAD_KEY_2NDLEVEL_SIZE, sizeof (void *)); in pthread_setspecific() local 110 if (newp == NULL) in pthread_setspecific() 112 THREAD_SETMEM_NC(self, p_specific[idx1st], newp); in pthread_setspecific()
|
/l4re-core-master/uclibc/lib/libpthread/src/ |
A D | specific.c | 159 void *newp = calloc(PTHREAD_KEY_2NDLEVEL_SIZE, sizeof (void *)); in __pthread_setspecific() local 160 if (newp == NULL) in __pthread_setspecific() 162 THREAD_SETMEM_NC(self, p_specific ,idx1st, newp); in __pthread_setspecific()
|