/freebsd-current/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_longname.c | 54 char *ptr; local 59 for (ptr = SP_PARM->_ttytype + strlen(SP_PARM->_ttytype); 60 ptr > SP_PARM->_ttytype; 61 ptr--) 62 if (*ptr == '|') 63 returnPtr(ptr + 1); 92 char *ptr; 96 for (ptr = ttytype + strlen(ttytype); 97 ptr > ttytype; 98 ptr [all...] |
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | realloc.c | 41 rk_realloc(void *ptr, size_t size) argument 43 if (ptr == NULL) 45 return realloc(ptr, size);
|
H A D | inet_ntop.c | 84 const u_char *ptr = addr->s6_addr; local 96 ptr[0] == 0 && ptr[1] == 0 && 98 ptr[2] == 0 && ptr[3] == 0 && 99 ptr[4] == 0 && ptr[5] == 0) { 107 for (ptr += 6, i += 3; 108 i < 8 && ptr[0] == 0 && ptr[ [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/struct/ |
H A D | err.D_ADDROF_VAR.StructPointer.d | 46 struct record *ptr; 53 ptr = &var; 55 printf("ptr->position: %d\tptr->content: %c\n", 56 ptr->position, ptr->content);
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | err.D_PROTO_LEN.allocanoarg.d | 43 ptr = alloca();
|
H A D | err.badbcopy5.d | 45 ptr = alloca(sizeof (int)); 48 bcopy(badptr, ptr, sizeof (int));
|
H A D | err.badbcopy4.d | 43 ptr = alloca(sizeof (int)); 46 bcopy((void *)NULL, ptr, sizeof (int));
|
H A D | err.badbcopy1.d | 44 ptr = alloca(0); 47 bcopy((void *)&`kmem_flags, ptr, sizeof (int));
|
H A D | err.badbcopy2.d | 40 int *ptr; 46 bcopy((void *)&`kmem_flags, ptr, sizeof (int));
|
H A D | err.badbcopy.d | 44 ptr = alloca(sizeof (int)); 48 bcopy(ptr, (void *)&`kmem_flags, sizeof (int));
|
H A D | err.badalloca.d | 44 ptr = alloca(sizeof (int)); 49 bcopy((void *)&`kmem_flags, ptr, sizeof (int));
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/union/ |
H A D | err.D_ADDROF_VAR.UnionPointer.d | 46 union record *ptr; 54 ptr = &var; 56 printf("ptr->position: %d\tptr->content: %c\n", 57 ptr->position, ptr->content);
|
/freebsd-current/contrib/expat/tests/ |
H A D | memcheck.h | 44 void tracking_free(void *ptr); 45 void *tracking_realloc(void *ptr, size_t size);
|
/freebsd-current/bin/pax/ |
H A D | cache.c | 169 UIDC *ptr; local 177 ptr = uidtb[uid % UID_SZ]; 178 if ((ptr != NULL) && (ptr->valid > 0) && (ptr->uid == uid)) { 182 if (frc || (ptr->valid == VALID)) 183 return(ptr->name); 194 if (ptr == NULL) 195 ptr = uidtb[uid % UID_SZ] = (UIDC *)malloc(sizeof(UIDC)); 202 if (ptr 236 GIDC *ptr; local 302 UIDC *ptr; local 366 GIDC *ptr; local [all...] |
/freebsd-current/usr.sbin/fifolog/lib/ |
H A D | miniobj.h | 42 #define VALID_OBJ(ptr, type_magic) \ 43 ((ptr) != NULL && (ptr)->magic == (type_magic)) 45 #define CHECK_OBJ(ptr, type_magic) \ 47 assert((ptr)->magic == type_magic); \ 50 #define CHECK_OBJ_NOTNULL(ptr, type_magic) \ 52 assert((ptr) != NULL); \ 53 assert((ptr)->magic == type_magic); \ 56 #define CHECK_OBJ_ORNULL(ptr, type_magic) \ 58 if ((ptr) ! [all...] |
/freebsd-current/contrib/elftoolchain/libelf/ |
H A D | elf_rawfile.c | 36 unsigned char *ptr; local 38 ptr = NULL; 42 else if ((ptr = e->e_rawfile) == NULL && e->e_cmd == ELF_C_WRITE) 48 return ((char *) ptr);
|
/freebsd-current/sbin/ipf/libipf/ |
H A D | getifname.c | 19 getifname(struct ifnet *ptr) argument 28 if ((void *)ptr == (void *)-1) 30 if (ptr == NULL) 33 if (kmemcpy((char *)&qif, (u_long)ptr, sizeof(qif)) == -1) 44 if ((void *)ptr == (void *)-1) 46 if (ptr == NULL) 49 if (kmemcpy((char *)&netif, (u_long)ptr, sizeof(netif)) == -1)
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pointers/ |
H A D | err.InvalidAddress5.d | 46 char *ptr; 56 ptr = (char *) &array[0]; 58 p = (int *) (ptr); 59 q = (int *) (ptr + 2); 60 r = (int *) (ptr + 3);
|
/freebsd-current/libexec/mknetid/ |
H A D | mknetid.c | 108 char *ptr, *pidptr, *gidptr, *hptr; local 182 for (ptr = readbuf; *ptr != '\0'; ptr++) 183 if (*ptr != ' ' && *ptr != '\t') 185 if (*ptr == '#' || *ptr == '\0') 187 if ((ptr = strchr(readbuf, ':')) == NULL) { 191 *ptr [all...] |
/freebsd-current/contrib/libfido2/src/ |
H A D | blob.c | 19 freezero(b->ptr, b->len); 24 fido_blob_set(fido_blob_t *b, const u_char *ptr, size_t len) argument 28 if (ptr == NULL || len == 0) { 29 fido_log_debug("%s: ptr=%p, len=%zu", __func__, 30 (const void *)ptr, len); 34 if ((b->ptr = malloc(len)) == NULL) { 39 memcpy(b->ptr, ptr, len); 46 fido_blob_append(fido_blob_t *b, const u_char *ptr, size_t len) argument 50 if (ptr [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux_s390.cpp | 128 const char *ptr = buf.release; local 129 major = internal_simple_strtoll(ptr, &ptr, 10); 131 if (ptr[0] != '.') 133 minor = internal_simple_strtoll(ptr + 1, &ptr, 10); 135 if (ptr[0] == '.') 136 patch = internal_simple_strtoll(ptr + 1, &ptr, 10); 138 if (major == 2 && minor == 6 && patch == 32 && ptr[ [all...] |
/freebsd-current/contrib/bearssl/T0/ |
H A D | TValue.cs | 30 * field, and 'ptr' is null; for pointers, the 'ptr' field is used, and the 31 * 'x' is then an offset in the object represented by 'ptr'. 37 internal TPointerBase ptr; field in struct:TValue 42 this.ptr = null; 48 this.ptr = null; 54 this.ptr = null; 57 internal TValue(int x, TPointerBase ptr) argument 60 this.ptr = ptr; [all...] |
/freebsd-current/contrib/ncurses/ncurses/base/ |
H A D | key_defined.c | 41 TRIES *ptr; local 45 for (ptr = tree; ptr != 0; ptr = ptr->sibling) { 46 if (UChar(*str) == UChar(ptr->ch)) { 47 if (str[1] == '\0' && ptr->child != 0) { 49 } else if ((result = find_definition(ptr->child, str + 1)) 51 result = ptr->value;
|
/freebsd-current/contrib/wpa/src/utils/ |
H A D | trace.h | 28 #define wpa_trace_dump(title, ptr) \ 29 wpa_trace_dump_func((title), (ptr)->btrace, (ptr)->btrace_num) 31 #define wpa_trace_record(ptr) \ 32 (ptr)->btrace_num = backtrace((ptr)->btrace, WPA_TRACE_LEN) 34 #define wpa_trace_add_ref(ptr, name, addr) \ 35 wpa_trace_add_ref_func(&(ptr)->wpa_trace_ref_##name, (addr)) 37 #define wpa_trace_remove_ref(ptr, name, addr) \ 40 dl_list_del(&(ptr) [all...] |
/freebsd-current/contrib/libpcap/rpcapd/ |
H A D | fileconf.c | 59 static char *skipws(char *ptr); 88 char *ptr; local 124 ptr = line; 129 ptr = skipws(ptr); 130 if (ptr == NULL) 140 if (*ptr == '#') 147 if (FILECONF_ISALPHA(*ptr)) 160 param = ptr; 161 while (FILECONF_ISALNUM(*ptr) || *pt 557 skipws(char *ptr) argument [all...] |