Searched refs:ptr (Results 1 - 25 of 74) sorted by relevance

123

/bind-9.11.3/lib/irs/
H A Dgai_strerror.c79 } ptr; local
83 ptr.const_ptr = "invalid error code";
85 ptr.const_ptr = gai_messages[ecode];
86 return (ptr.deconst_ptr);
/bind-9.11.3/lib/lwres/
H A Dgai_strerror.c67 } ptr; local
71 ptr.const_ptr = "invalid error code";
73 ptr.const_ptr = gai_messages[ecode];
74 return (ptr.deconst_ptr);
H A Dgethost.c292 char **ptr; local
320 ptr = (char **)LWRES_ALIGN(buf);
326 hptr->h_addr_list = ptr;
327 for (i = 0; src->h_addr_list[i]; i++, ptr++) {
333 ptr++;
346 hptr->h_aliases = ptr;
/bind-9.11.3/util/
H A Dmodels.c28 void isc__mem_put(void *mem, void *ptr, unsigned int size FLARG) { argument
30 __coverity_free__(ptr);
33 void isc__mem_putanddetach(void *mem, void *ptr, unsigned int size FLARG) { argument
35 __coverity_free__(ptr);
48 void * isc__mem_reallocate(void *mem, void *ptr, size_t size FLARG) { argument
55 if (p && ptr) {
57 memcpy(p, ptr, l);
58 __coverity_free__(ptr);
60 } else if (ptr)
61 __coverity_free__(ptr);
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Dptr_12.h18 dns_name_t ptr; member in struct:dns_rdata_ptr
H A Dptr_12.c132 dns_rdata_ptr_t *ptr = source; local
137 REQUIRE(ptr->common.rdtype == type);
138 REQUIRE(ptr->common.rdclass == rdclass);
143 dns_name_toregion(&ptr->ptr, &region);
150 dns_rdata_ptr_t *ptr = target; local
157 ptr->common.rdclass = rdata->rdclass;
158 ptr->common.rdtype = rdata->type;
159 ISC_LINK_INIT(&ptr->common, link);
164 dns_name_init(&ptr
172 dns_rdata_ptr_t *ptr = source; local
[all...]
/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Dauto_array.hpp45 auto_array_ref< T >::auto_array_ref(T* ptr) : argument
46 m_ptr(ptr)
73 auto_array< T >::auto_array(T* ptr) argument
75 m_ptr(ptr)
80 auto_array< T >::auto_array(auto_array< T >& ptr) argument
82 m_ptr(ptr.release())
122 T* ptr = m_ptr; local
124 return ptr;
129 auto_array< T >::reset(T* ptr) argument
134 m_ptr = ptr;
139 operator =(auto_array< T >& ptr) argument
[all...]
/bind-9.11.3/unit/atf-src/tools/
H A Dauto_array.hpp49 auto_array_ref< T >::auto_array_ref(T* ptr) : argument
50 m_ptr(ptr)
77 auto_array< T >::auto_array(T* ptr) argument
79 m_ptr(ptr)
84 auto_array< T >::auto_array(auto_array< T >& ptr) argument
86 m_ptr(ptr.release())
126 T* ptr = m_ptr; local
128 return ptr;
133 auto_array< T >::reset(T* ptr) argument
138 m_ptr = ptr;
143 operator =(auto_array< T >& ptr) argument
[all...]
/bind-9.11.3/bin/tests/system/dyndb/
H A Dclean.sh15 rm -f added.ptr.out.*
17 rm -f deleted.ptr.out.*
/bind-9.11.3/lib/isc/tests/
H A Dmem_test.c31 default_memfree(void *arg, void *ptr) { argument
33 free(ptr);
61 void *ptr; local
63 ptr = isc_mem_allocate(mctx2, 2048);
64 isc_mem_free(mctx2, ptr);
81 void *ptr; local
83 ptr = isc_mem_allocate(mctx, 2048);
84 isc_mem_free(mctx, ptr);
113 void *ptr; local
125 ptr
[all...]
/bind-9.11.3/lib/isc/
H A Dsafe.c67 isc_safe_memwipe(void *ptr, size_t len) { argument
68 if (ISC_UNLIKELY(ptr == NULL || len == 0))
72 SecureZeroMemory(ptr, len);
74 explicit_bzero(ptr, len);
76 memset(ptr, 0, len);
H A Dmem.c62 const void *ptr[DEBUGLIST_COUNT]; member in struct:debuglink
234 isc___mem_putanddetach(isc_mem_t **ctxp, void *ptr, size_t size FLARG);
242 isc___mem_put(isc_mem_t *ctx, void *ptr, size_t size FLARG);
248 isc___mem_reallocate(isc_mem_t *ctx, void *ptr, size_t size FLARG);
250 isc___mem_free(isc_mem_t *ctx, void *ptr FLARG);
384 add_trace_entry(isc__mem_t *mctx, const void *ptr, size_t size FLARG) { argument
394 ptr, size, file, line, mctx);
407 if (dl->ptr[i] == NULL) {
408 dl->ptr[i] = ptr;
442 delete_trace_entry(isc__mem_t *mctx, const void *ptr, size_t size, const char *file, unsigned int line) argument
837 mem_putstats(isc__mem_t *ctx, void *ptr, size_t size) argument
865 default_memfree(void *arg, void *ptr) argument
1148 isc___mem_putanddetach(isc_mem_t **ctxp, void *ptr, size_t size FLARG) argument
1250 void *ptr; local
1290 isc___mem_put(isc_mem_t *ctx0, void *ptr, size_t size FLARG) argument
1543 isc___mem_reallocate(isc_mem_t *ctx0, void *ptr, size_t size FLARG) argument
2923 isc__mem_put(isc_mem_t *mctx, void *ptr, size_t size FLARG) argument
2933 isc__mem_putanddetach(isc_mem_t **mctxp, void *ptr, size_t size FLARG) argument
2958 isc__mem_reallocate(isc_mem_t *mctx, void *ptr, size_t size FLARG) argument
[all...]
/bind-9.11.3/bin/tests/system/dyndb/driver/
H A Dutil.h51 #define ZERO_PTR(ptr) memset((ptr), 0, sizeof(*(ptr)))
/bind-9.11.3/lib/isc/include/isc/
H A Dsafe.h36 isc_safe_memwipe(void *ptr, size_t len);
38 * Clear the memory of length `len` pointed to by `ptr`.
H A Dstdio.h50 isc_stdio_read(void *ptr, size_t size, size_t nmemb, FILE *f,
55 isc_stdio_write(const void *ptr, size_t size, size_t nmemb, FILE *f,
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dtext.c107 const char *ptr; local
110 ptr = strstr(iter, delim);
111 if (ptr == NULL)
112 ptr = end;
114 INV(ptr >= iter);
115 if (ptr > iter) {
118 err = atf_dynstr_init_raw(&word, iter, ptr - iter);
127 iter = ptr + strlen(delim);
H A Dtp_main.c261 char **ptr; local
268 for (ptr = vars; *ptr != NULL; ptr += 2) {
269 if (strcmp(*ptr, "ident") == 0) {
270 printf("ident: %s\n", *(ptr + 1));
275 for (ptr = vars; *ptr != NULL; ptr += 2) {
276 if (strcmp(*ptr, "iden
[all...]
H A Dmap.c173 const char *const *ptr = array; local
177 while (!atf_is_error(err) && *ptr != NULL) {
180 key = *ptr;
182 ptr++;
184 if ((value = *ptr) == NULL) {
189 ptr++;
/bind-9.11.3/lib/isc/include/pk11/
H A Dinternal.h22 void pk11_mem_put(void *ptr, size_t size);
/bind-9.11.3/lib/isc/unix/
H A Dstdio.c78 isc_stdio_read(void *ptr, size_t size, size_t nmemb, FILE *f, size_t *nret) { argument
83 r = fread(ptr, size, nmemb, f);
96 isc_stdio_write(const void *ptr, size_t size, size_t nmemb, FILE *f, argument
103 r = fwrite(ptr, size, nmemb, f);
/bind-9.11.3/lib/isc/win32/
H A Dstdio.c84 isc_stdio_read(void *ptr, size_t size, size_t nmemb, FILE *f, size_t *nret) { argument
89 r = fread(ptr, size, nmemb, f);
102 isc_stdio_write(const void *ptr, size_t size, size_t nmemb, FILE *f, argument
109 r = fwrite(ptr, size, nmemb, f);
/bind-9.11.3/conftools/perllib/dnsconf/
H A DDNSConf.i112 DNSConf *ptr = malloc(sizeof (DNSConf));
116 ptr->confctx = NULL;
118 return ptr;
181 void DNSConf_print(DNSConf *ptr, FILE *outfile) {
185 if (ptr == NULL || ptr->confctx == NULL)
188 dns_c_ctx_print(outfile, 0, ptr->confctx);
/bind-9.11.3/lib/dns/
H A Dopenssl_link.c150 void *ptr; local
153 ptr = isc__mem_allocate(dst__memory_pool, size FLARG_PASS);
154 return (ptr);
162 mem_free(void *ptr FLARG) {
164 if (ptr != NULL)
165 isc__mem_free(dst__memory_pool, ptr FLARG_PASS);
169 mem_realloc(void *ptr, size_t size FLARG) { argument
174 rptr = isc__mem_reallocate(dst__memory_pool, ptr, size FLARG_PASS);
178 return (isc__mem_reallocate(dst__memory_pool, ptr, size FLARG_PASS));
H A Dbyaddr.c138 dns_rdata_ptr_t ptr; local
140 result = dns_rdata_tostruct(&rdata, &ptr, NULL);
145 dns_rdata_freestruct(&ptr);
149 result = dns_name_dup(&ptr.ptr, byaddr->mctx, name);
150 dns_rdata_freestruct(&ptr);
/bind-9.11.3/bin/dig/
H A Dnslookup.c826 char *ptr, *arg; local
828 ptr = next_token(&input, " \t\r\n");
829 if (ptr == NULL)
832 if ((strcasecmp(ptr, "set") == 0) &&
835 else if ((strcasecmp(ptr, "server") == 0) ||
836 (strcasecmp(ptr, "lserver") == 0)) {
842 } else if (strcasecmp(ptr, "exit") == 0) {
844 } else if (strcasecmp(ptr, "help") == 0 ||
845 strcasecmp(ptr, "?") == 0) {
846 printf("The '%s' command is not yet implemented.\n", ptr);
859 char *ptr; local
[all...]

Completed in 36 milliseconds

123