Searched defs:tmp (Results 1 - 25 of 42) sorted by relevance

12

/bind-9.6-ESV-R11/contrib/nslint-2.1a3/
H A Dstrerror.c53 char tmp[40]; local
60 t = tmp;
66 if (t <= tmp)
/bind-9.6-ESV-R11/bin/tests/
H A Dmempool_test.c31 void *tmp; local
72 tmp = isc_mempool_get(mp1);
73 RUNTIME_CHECK(tmp == NULL);
/bind-9.6-ESV-R11/lib/isc/
H A Dinet_ntop.c91 char tmp[sizeof("255.255.255.255")]; local
93 if ((size_t)sprintf(tmp, fmt, src[0], src[1], src[2], src[3]) >= size)
98 strcpy(dst, tmp);
120 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp; local
159 tp = tmp;
176 sizeof(tmp) - (tp - tmp)))
192 if ((size_t)(tp - tmp) > size) {
196 strcpy(dst, tmp);
H A Dinet_pton.c85 unsigned char tmp[NS_INADDRSZ], *tp; local
89 *(tp = tmp) = 0;
116 memmove(dst, tmp, NS_INADDRSZ);
137 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
142 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
212 memmove(dst, tmp, NS_IN6ADDRSZ);
H A Dstring.c63 isc_uint64_t tmp; local
93 tmp = 0;
100 return (tmp);
105 return (tmp);
108 if (tmp > overflow) {
112 tmp *= base;
114 if ((tmp + (o - digits)) < tmp) {
118 tmp += o - digits;
122 return (tmp);
[all...]
/bind-9.6-ESV-R11/lib/lwres/
H A Dlwinetntop.c88 char tmp[sizeof("255.255.255.255")]; local
91 len = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
96 strcpy(dst, tmp);
117 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp; local
158 tp = tmp;
174 sizeof(tmp) - (tp - tmp)))
190 if ((size_t)(tp - tmp) > size) {
194 strcpy(dst, tmp);
[all...]
H A Dlwinetpton.c84 unsigned char tmp[NS_INADDRSZ], *tp; local
88 *(tp = tmp) = 0;
118 memmove(dst, tmp, NS_INADDRSZ);
139 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
144 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
212 memmove(dst, tmp, NS_IN6ADDRSZ);
H A Dlwconfig.c632 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")]; local
646 tmp, sizeof(tmp));
647 if (p != tmp)
650 fprintf(fp, "nameserver %s\n", tmp);
657 tmp, sizeof(tmp));
658 if (p != tmp)
661 fprintf(fp, "lwserver %s\n", tmp);
684 tmp, sizeo
[all...]
/bind-9.6-ESV-R11/bin/tests/mem/
H A Dt_mem.c43 void *tmp; local
102 tmp = isc_mempool_get(mp1);
103 if (tmp != NULL) {
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/
H A Dlog.c188 char tmp[20]; local
210 (void)sprintf(tmp, "LEVEL%d", level);
211 title = tmp;
H A Dconverter.c1125 char tmp[20]; local
1128 (void)sprintf(tmp, "\\u{%lx}", v);
1129 len = strlen(tmp);
1134 (void)memcpy(to, tmp, len);
/bind-9.6-ESV-R11/lib/dns/
H A Dttl.c55 char tmp[60]; local
60 len = snprintf(tmp, sizeof(tmp), "%s%u %s%s",
65 len = snprintf(tmp, sizeof(tmp), "%u%c", t, s[0]);
67 INSIST(len + 1 <= sizeof(tmp));
71 memmove(region.base, tmp, len);
152 isc_uint32_t tmp = 0; local
182 tmp += n * 7 * 24 * 3600;
187 tmp
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dtext.c84 atf_dynstr_t tmp; local
88 err = atf_dynstr_init_ap(&tmp, fmt, ap2);
91 *dest = atf_dynstr_fini_disown(&tmp);
170 long tmp; local
173 tmp = strtol(str, &endptr, 10);
176 else if (errno == ERANGE || (tmp == LONG_MAX || tmp == LONG_MIN))
179 *l = tmp;
/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dmx_15.c33 char tmp[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:123.123.123.123.")]; local
37 if (strlcpy(tmp, DNS_AS_STR(*token), sizeof(tmp)) >= sizeof(tmp))
40 if (tmp[strlen(tmp) - 1] == '.')
41 tmp[strlen(tmp) - 1] = '\0';
42 if (inet_aton(tmp, &addr) == 1 ||
43 inet_pton(AF_INET6, tmp,
[all...]
H A Dloc_29.c40 long tmp; local
115 if ((tmp = decvalue(*e++)) < 0)
118 s1 += tmp;
200 if ((tmp = decvalue(*e++)) < 0)
203 s2 += tmp;
255 if ((tmp = decvalue(*e++)) < 0)
259 cm -= tmp;
261 cm += tmp;
302 if ((tmp = decvalue(*e++)) < 0)
305 cm += tmp;
[all...]
/bind-9.6-ESV-R11/bin/tests/dst/
H A Ddst_test.c40 const char *tmp = "/tmp"; variable
146 ret = dst_key_tofile(key, type, tmp);
174 ret = dst_key_tofile(key1, type, tmp);
178 ret = dst_key_tofile(key2, type, tmp);
H A Dt_dst.c174 char tmp[PATH_MAX + 1]; local
207 ret = isc_file_mktemplate("/tmp/", tmp, sizeof(tmp));
215 ret = isc_dir_createunique(tmp);
223 ret = dst_key_tofile(key1, type, tmp);
231 ret = dst_key_tofile(key2, type, tmp);
239 cleandir(tmp);
282 char tmp[PATH_MAX + 1]; local
300 ret = isc_file_mktemplate("/tmp/", tm
[all...]
/bind-9.6-ESV-R11/contrib/dlz/drivers/
H A Ddlz_bdb_driver.c131 char *tmp = in; local
132 char *lastchar = (char *) &tmp[strlen(tmp) + 1];
144 pd->zone = tmp;
147 tmp = strchr(tmp, ' ');
149 if (tmp == NULL)
152 tmp[0] = '\0';
154 if (++tmp > lastchar)
158 pd->host = tmp;
299 char *tmp = NULL, *tmp_zone; local
467 char *tmp = NULL; local
[all...]
H A Ddlz_mysql_driver.c784 char *tmp = NULL; local
833 tmp = getParameterValue(argv[1], "port=");
834 if (tmp == NULL) {
837 port = strtol(tmp, &endp, 10);
843 isc_mem_free(ns_g_mctx, tmp);
847 isc_mem_free(ns_g_mctx, tmp);
902 tmp = getParameterValue(argv[1], "compress=");
903 if (tmp != NULL) {
904 if (strcasecmp(tmp, "true") == 0)
906 isc_mem_free(ns_g_mctx, tmp);
[all...]
H A Ddlz_bdbhpt_driver.c148 char *tmp = in; local
149 char *lastchar = (char *) &tmp[strlen(tmp)];
176 tmp = strchr(tmp, ' ');
178 if (tmp == NULL)
181 if (++tmp > lastchar)
185 pd->host = tmp;
188 tmp = strchr(tmp, ' ');
342 char *tmp = NULL, *tmp_zone, *tmp_zone_host = NULL; local
547 char *tmp = NULL; local
[all...]
H A Ddlz_filesystem_driver.c372 char tmp[ISC_DIR_PATHMAX + ISC_DIR_NAMEMAX]; local
389 tmp[0] = '\0'; /* set 1st byte to '\0' so strcpy works right. */
393 /* copy base directory name to tmp. */
394 strcpy(tmp, dir->dirname);
403 if (strlen(tmp) - 3 > basedirlen) {
404 tmp[astPos-1] = '\0';
405 tmpString = (char *) &tmp[basedirlen+1];
432 /* set tmp again for use later */
433 strcpy(tmp, dir->dirname);
484 tmp[astPo
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-run/
H A Dio_test.cpp301 std::string tmp; local
302 rend >> tmp; local
303 ATF_REQUIRE_EQ(tmp, "1Test");
304 rend >> tmp; local
305 ATF_REQUIRE_EQ(tmp, "1message");
/bind-9.6-ESV-R11/bin/named/
H A Dmain.c307 int tmp; local
311 tmp = (int) ltmp;
314 if (tmp < 0 || tmp != ltmp)
316 return (tmp);
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dfs.cpp223 atf_fs_path_t tmp; local
225 atf_error_t err = atf_fs_path_init_fmt(&tmp, "%s", p.c_str());
230 m_path = tmp;
/bind-9.6-ESV-R11/contrib/dlz/bin/dlzbdb/
H A Ddlzbdb.c298 char *tmp; local
307 tmp = right = malloc(pdata->size + 1);
335 if (tmp != NULL)
336 free(tmp);
347 char *tmp; local
356 tmp = right = malloc(pdata->size + 1);
359 if (tmp == NULL) {
369 /* memory of left string will be freed when tmp is freed. */
393 if (tmp != NULL)
394 free(tmp);
[all...]

Completed in 73 milliseconds

12