Searched defs:ptr (Results 1 - 25 of 1382) sorted by relevance

1234567891011>>

/freebsd-head/contrib/binutils/ld/
H A Dldver.c49 ld_emulation_xfer_type **ptr = ld_emulations; local
52 while (*ptr)
54 printf (" %s\n", (*ptr)->emulation_name);
55 ptr++;
/freebsd-head/contrib/binutils/libiberty/
H A Dcalloc.c25 register PTR ptr; local
30 ptr = malloc (nelem * elsize);
31 if (ptr) bzero (ptr, nelem * elsize);
33 return ptr;
H A Dmemset.c21 register unsigned char *ptr = (unsigned char*)dest; local
23 *ptr++ = val;
H A Dstrtod.c50 strtod (char *str, char **ptr) argument
54 if (ptr == (char **)0)
76 *ptr = p + 8;
81 *ptr = p + 3;
100 *ptr = p;
126 *ptr = p + i;
130 *ptr = p;
134 *ptr = str;
/freebsd-head/crypto/heimdal/lib/roken/
H A Derealloc.c46 erealloc (void *ptr, size_t sz) argument
48 void *tmp = realloc (ptr, sz);
H A Drealloc.c41 rk_realloc(void *ptr, size_t size) argument
43 if (ptr == NULL)
45 return realloc(ptr, size);
/freebsd-head/contrib/ldns/compat/
H A Drealloc.c21 rpl_realloc (void* ptr, size_t n) argument
25 if(ptr == 0) {
28 return realloc(ptr, n);
/freebsd-head/contrib/ipfilter/lib/
H A Dprinthost.c27 void *ptr = addr; local
29 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf)));
H A Dprinthostmask.c29 void *ptr = addr; local
31 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf)));
/freebsd-head/lib/libc/gen/
H A Dbasename.c35 char *ptr; local
45 ptr = path + strlen(path);
46 while (ptr > path + 1 && *(ptr - 1) == '/')
47 --ptr;
48 *ptr-- = '\0';
51 while (ptr > path && *(ptr - 1) != '/')
52 --ptr;
53 return (ptr);
[all...]
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dfreezero.c25 freezero(void *ptr, size_t sz) argument
27 if (ptr == NULL)
29 explicit_bzero(ptr, sz);
30 free(ptr);
/freebsd-head/contrib/elftoolchain/libelf/
H A Delf_rawfile.c36 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);
H A Delf_getarsym.c34 elf_getarsym(Elf *ar, size_t *ptr) argument
53 if (ptr)
54 *ptr = n;
/freebsd-head/lib/libc/stdlib/
H A Dreallocf.c34 reallocf(void *ptr, size_t size) argument
38 nptr = realloc(ptr, size);
42 * in effect, realloc(ptr, 0) frees the memory and returns NULL.
44 * realloc(ptr, 0) can't fail when ptr != NULL.
46 if (!nptr && ptr && size != 0)
47 free(ptr);
/freebsd-head/contrib/ncurses/ncurses/tinfo/
H A Dlib_longname.c54 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-head/crypto/heimdal/base/
H A Dbool.c55 heim_bool_val(heim_bool_t ptr) argument
57 return heim_base_tagged_object_value(ptr);
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dfree.c47 krb5_xfree (void *ptr) argument
49 free (ptr);
/freebsd-head/contrib/netbsd-tests/usr.bin/xlint/lint1/
H A Dd_type_question_colon.c10 struct foo *ptr = 0; local
12 for (i = (ptr ? ptr : (void *)0)->bar; i < 10; i++)
/freebsd-head/crypto/openssl/crypto/
H A Dmem_clr.c22 void OPENSSL_cleanse(void *ptr, size_t len) argument
24 memset_func(ptr, 0, len);
/freebsd-head/contrib/file/src/
H A Dasprintf.c35 int asprintf(char **ptr, const char *fmt, ...) argument
41 retval = vasprintf(ptr, fmt, vargs);
/freebsd-head/contrib/llvm-project/libcxx/src/
H A Dnew.cpp131 operator delete(void* ptr) _NOEXCEPT
133 ::free(ptr); variable
138 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT
140 ::operator delete(ptr); variable
145 operator delete(void* ptr, size_t) _NOEXCEPT
147 ::operator delete(ptr); variable
152 operator delete[] (void* ptr) _NOEXCEPT
154 ::operator delete(ptr); variable
159 operator delete[] (void* ptr, const std::nothrow_t&) _NOEXCEPT
161 ::operator delete[](ptr); variable
168 ::operator delete[](ptr); variable
255 ::_aligned_free(ptr); variable
[all...]
/freebsd-head/contrib/jemalloc/include/jemalloc/internal/
H A Dsafety_check.h9 safety_check_set_redzone(void *ptr, size_t usize, size_t bumped_usize) { argument
12 *((unsigned char *)ptr + i) = 0xBC;
17 safety_check_verify_redzone(const void *ptr, size_t usize, size_t bumped_usize)
20 if (unlikely(*((unsigned char *)ptr + i) != 0xBC)) {
/freebsd-head/sys/contrib/octeon-sdk/
H A Dcvmx-key.h76 cvmx_addr_t ptr; local
78 ptr.u64 = 0;
79 ptr.sio.mem_region = CVMX_IO_SEG;
80 ptr.sio.is_io = 1;
81 ptr.sio.did = CVMX_OCT_DID_KEY_RW;
82 ptr.sio.offset = address;
84 return cvmx_read_csr(ptr.u64);
97 cvmx_addr_t ptr; local
99 ptr.u64 = 0;
100 ptr
[all...]
/freebsd-head/share/examples/libifconfig/
H A Dsetmtu.c43 char *ifname, *ptr; local
55 mtu = (int)strtol(argv[2], &ptr, 10);
/freebsd-head/sys/dev/drm2/
H A Ddrm_mem_util.h50 static __inline void drm_free_large(void *ptr) argument
52 free(ptr, DRM_MEM_DRIVER);

Completed in 131 milliseconds

1234567891011>>