/src/lib/libc/stdlib/ |
reallocarr.c | 61 void *nptr; local in function:__weak_alias 67 nptr = NULL; 68 memcpy(ptr, &nptr, sizeof(ptr)); 85 nptr = realloc(optr, number * size); 86 if (__predict_false(nptr == NULL)) { 90 memcpy(ptr, &nptr, sizeof(ptr));
|
reallocarr.c | 61 void *nptr; local in function:__weak_alias 67 nptr = NULL; 68 memcpy(ptr, &nptr, sizeof(ptr)); 85 nptr = realloc(optr, number * size); 86 if (__predict_false(nptr == NULL)) { 90 memcpy(ptr, &nptr, sizeof(ptr));
|
/src/usr.bin/fmt/ |
buffer.h | 66 wchar_t *nptr = realloc(buf->bptr, len * sizeof(*buf->ptr)); local in function:buf_grow 68 if (nptr == NULL) 71 if (nptr == buf->bptr) { 76 diff = nptr - buf->bptr;
|
buffer.h | 66 wchar_t *nptr = realloc(buf->bptr, len * sizeof(*buf->ptr)); local in function:buf_grow 68 if (nptr == NULL) 71 if (nptr == buf->bptr) { 76 diff = nptr - buf->bptr;
|
/src/usr.sbin/npf/npftest/libnpftest/ |
npf_nbuf_test.c | 36 void *nptr; local in function:parse_nbuf_chain 41 nptr = nbuf_advance(&nbuf, (random() % 16) + 1, (random() % 16) + 1); 43 assert(nptr != NULL); 49 nptr = nbuf_ensure_contig(&nbuf, sizeof(uint32_t)); 50 if (nptr == NULL) { 54 memcpy(&d, nptr, sizeof(uint32_t));
|
npf_nbuf_test.c | 36 void *nptr; local in function:parse_nbuf_chain 41 nptr = nbuf_advance(&nbuf, (random() % 16) + 1, (random() % 16) + 1); 43 assert(nptr != NULL); 49 nptr = nbuf_ensure_contig(&nbuf, sizeof(uint32_t)); 50 if (nptr == NULL) { 54 memcpy(&d, nptr, sizeof(uint32_t));
|
/src/sbin/fsck_lfs/ |
setup.c | 121 uint64_t nptr; /* number of block pointers per block */ local in function:calcmaxfilesize 124 nptr = (1 << bshift) / LFS_BLKPTRSIZE(fs); 125 maxblock = ULFS_NDADDR + nptr + nptr * nptr + nptr * nptr * nptr;
|
setup.c | 121 uint64_t nptr; /* number of block pointers per block */ local in function:calcmaxfilesize 124 nptr = (1 << bshift) / LFS_BLKPTRSIZE(fs); 125 maxblock = ULFS_NDADDR + nptr + nptr * nptr + nptr * nptr * nptr;
|
/src/sys/dev/pci/cxgb/ |
cxgb_lro.c | 269 uint32_t *nptr = (uint32_t *)(nth + 1); local in function:lro_update_session 271 if (__predict_false(ntohl(*(ptr + 1)) > ntohl(*(nptr + 1)) || 272 !*(nptr + 2))) { 275 *(ptr + 1) = *(nptr + 1); 276 *(ptr + 2) = *(nptr + 2);
|
cxgb_lro.c | 269 uint32_t *nptr = (uint32_t *)(nth + 1); local in function:lro_update_session 271 if (__predict_false(ntohl(*(ptr + 1)) > ntohl(*(nptr + 1)) || 272 !*(nptr + 2))) { 275 *(ptr + 1) = *(nptr + 1); 276 *(ptr + 2) = *(nptr + 2);
|
/src/sys/dev/i2c/ |
pcf8574.c | 138 const char *nptr = NULL, *spptr; local in function:pcf8574_attach 178 ok &= prop_dictionary_get_string(pin, "name", &nptr); 187 spptr = strstr(nptr, " "); 193 if (!strncmp(nptr, "LED ", 4)) { 197 if (!strncmp(nptr, "INDICATOR ", 10)) { 202 if (!strncmp(nptr, "ALERT ", 6)) {
|
pcagpio.c | 178 const char *spptr, *nptr; local in function:pcagpio_attach 182 nptr = NULL; 185 &nptr); 195 spptr = strstr(nptr, " "); 200 if (!strncmp(nptr, "LED ", 4))
|
pcf8574.c | 138 const char *nptr = NULL, *spptr; local in function:pcf8574_attach 178 ok &= prop_dictionary_get_string(pin, "name", &nptr); 187 spptr = strstr(nptr, " "); 193 if (!strncmp(nptr, "LED ", 4)) { 197 if (!strncmp(nptr, "INDICATOR ", 10)) { 202 if (!strncmp(nptr, "ALERT ", 6)) {
|
pcagpio.c | 178 const char *spptr, *nptr; local in function:pcagpio_attach 182 nptr = NULL; 185 &nptr); 195 spptr = strstr(nptr, " "); 200 if (!strncmp(nptr, "LED ", 4))
|
/src/sbin/newfs_lfs/ |
make_lfs.c | 278 uint64_t nptr; /* number of block pointers per block */ local in function:maxfilesize 281 nptr = (1 << bshift) / LFS_BLKPTRSIZE(fs); 282 maxblock = ULFS_NDADDR + nptr + nptr * nptr + nptr * nptr * nptr;
|
make_lfs.c | 278 uint64_t nptr; /* number of block pointers per block */ local in function:maxfilesize 281 nptr = (1 << bshift) / LFS_BLKPTRSIZE(fs); 282 maxblock = ULFS_NDADDR + nptr + nptr * nptr + nptr * nptr * nptr;
|
/src/sys/modules/lua/ |
lua.c | 557 void *nptr = NULL; local in function:lua_alloc 581 nptr = (void *) ((char *) nhdr + hdr_size); 584 memcpy(nptr, ptr, osize); 588 return nptr;
|
lua.c | 557 void *nptr = NULL; local in function:lua_alloc 581 nptr = (void *) ((char *) nhdr + hdr_size); 584 memcpy(nptr, ptr, osize); 588 return nptr;
|
/src/lib/libedit/ |
filecomplete.c | 338 char *nptr; local in function:fn_filename_completion_function 340 nptr = el_realloc(filename, (strlen(pos) + 1) * 341 sizeof(*nptr)); 342 if (nptr == NULL) { 347 filename = nptr; 351 nptr = el_realloc(dirname, (len + 1) * 352 sizeof(*nptr)); 353 if (nptr == NULL) { 358 dirname = nptr;
|
filecomplete.c | 338 char *nptr; local in function:fn_filename_completion_function 340 nptr = el_realloc(filename, (strlen(pos) + 1) * 341 sizeof(*nptr)); 342 if (nptr == NULL) { 347 filename = nptr; 351 nptr = el_realloc(dirname, (len + 1) * 352 sizeof(*nptr)); 353 if (nptr == NULL) { 358 dirname = nptr;
|
/src/sys/kern/ |
exec_elf.c | 926 const char *nptr; local in function:netbsd_elf_signature 939 nptr = nbuf; 945 np = (const Elf_Nhdr *)nptr; 949 nptr += sizeof(*np); 953 ndata = nptr; 957 nptr += roundup(np->n_namesz, 4); 961 ndesc = nptr; 965 nptr += roundup(np->n_descsz, 4);
|
exec_elf.c | 926 const char *nptr; local in function:netbsd_elf_signature 939 nptr = nbuf; 945 np = (const Elf_Nhdr *)nptr; 949 nptr += sizeof(*np); 953 ndata = nptr; 957 nptr += roundup(np->n_namesz, 4); 961 ndesc = nptr; 965 nptr += roundup(np->n_descsz, 4);
|
subr_thmap.c | 558 thmap_ptr_t nptr; local in function:root_try_put 581 nptr = THMAP_GETOFF(thmap, node); 584 gc_free(thmap, nptr, THMAP_INODE_LEN); 590 nptr, memory_order_release, memory_order_relaxed)) { 930 const thmap_ptr_t nptr = local in function:thmap_del 935 ASSERT(THMAP_GETOFF(thmap, parent) == nptr); 942 stage_mem_gc(thmap, nptr, THMAP_INODE_LEN);
|
/src/sys/net/npf/ |
npf_inet.c | 426 const void *nptr = nbuf_dataptr(nbuf); local in function:npf_cache_ip 427 const uint8_t ver = *(const uint8_t *)nptr;
|
npf_inet.c | 426 const void *nptr = nbuf_dataptr(nbuf); local in function:npf_cache_ip 427 const uint8_t ver = *(const uint8_t *)nptr;
|