Searched defs:val (Results 1 - 25 of 74) sorted by relevance

123

/bind-9.11.3/unit/atf-src/tools/
H A Denv.cpp55 const char* val = getenv(name.c_str()); local
56 assert(val != NULL);
57 return val;
67 impl::set(const std::string& name, const std::string& val) argument
70 if (setenv(name.c_str(), val.c_str(), 1) == -1)
73 "' to '" + val + "'",
76 const std::string buf = name + "=" + val;
80 "' to '" + val + "'",
H A Datf-config.cpp99 atf_config::format_var(const std::string& name, const std::string& val) argument
104 str = val;
106 str = name + " : " + val;
H A Dconfig_test.cpp76 set_env_var(const char* name, const char* val) argument
79 tools::env::set(name, val);
81 ATF_FAIL(std::string("set_env_var(") + name + ", " + val +
/bind-9.11.3/lib/isc/alpha/include/isc/
H A Datomic.h56 * This routine atomically increments the value stored in 'p' by 'val', and
62 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) { argument
71 p, val));
75 * This routine atomically stores the value 'val' in 'p'.
78 isc_atomic_store(isc_int32_t *p, isc_int32_t val) { argument
86 p, val);
90 * This routine atomically replaces the value in 'p' with 'val', if the
95 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) { argument
108 p, cmpval, val));
112 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) { argument
132 isc_atomic_store(isc_int32_t *p, isc_int32_t val) argument
149 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) argument
[all...]
/bind-9.11.3/lib/isc/ia64/include/isc/
H A Datomic.h19 * This routine atomically increments the value stored in 'p' by 'val', and
29 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) argument
34 swapped = prev + val;
49 * This routine atomically stores the value 'val' in 'p'.
55 isc_atomic_store(isc_int32_t *p, isc_int32_t val) argument
60 : "r" (val)
66 * This routine atomically replaces the value in 'p' with 'val', if the
74 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) argument
82 : "r" (cmpval), "r" (val), "m" (*p)
/bind-9.11.3/lib/isc/mips/include/isc/
H A Datomic.h19 * This routine atomically increments the value stored in 'p' by 'val', and
23 isc_atomic_xadd(isc_int32_t *p, int val) { argument
38 : "r" (val)
45 * This routine atomically stores the value 'val' in 'p'.
48 isc_atomic_store(isc_int32_t *p, isc_int32_t val) { argument
49 *p = val;
53 * This routine atomically replaces the value in 'p' with 'val', if the
58 isc_atomic_cmpxchg(isc_int32_t *p, int cmpval, int val) { argument
75 : "r"(cmpval), "r"(val)
/bind-9.11.3/lib/isc/unix/
H A Dsyslog.c24 int val; member in struct:dsn_c_pvt_sfnt
69 *facilityp = facilities[i].val;
/bind-9.11.3/lib/isc/win32/include/isc/
H A Datomic.h19 * This routine atomically increments the value stored in 'p' by 'val', and
24 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) { argument
25 return (isc_int32_t) _InterlockedExchangeAdd((long *)p, (long)val);
31 isc_atomic_xaddq(isc_int64_t *p, isc_int64_t val) { argument
33 (__int64) val);
38 * This routine atomically stores the value 'val' in 'p' (32-bit version).
42 isc_atomic_store(isc_int32_t *p, isc_int32_t val) { argument
43 (void) _InterlockedExchange((long *)p, (long)val);
48 * This routine atomically stores the value 'val' in 'p' (64-bit version).
52 isc_atomic_storeq(isc_int64_t *p, isc_int64_t val) { argument
64 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) argument
[all...]
/bind-9.11.3/lib/isc/x86_32/include/isc/
H A Datomic.h19 * This routine atomically increments the value stored in 'p' by 'val', and
23 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) { argument
24 isc_int32_t prev = val;
40 isc_atomic_xaddq(isc_int64_t *p, isc_int64_t val) { argument
41 isc_int64_t prev = val;
57 * This routine atomically stores the value 'val' in 'p' (32-bit version).
60 isc_atomic_store(isc_int32_t *p, isc_int32_t val) { argument
72 : "r"(val), "m"(*p)
78 * This routine atomically stores the value 'val' in 'p' (64-bit version).
81 isc_atomic_storeq(isc_int64_t *p, isc_int64_t val) { argument
104 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) argument
126 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) argument
148 isc_atomic_store(isc_int32_t *p, isc_int32_t val) argument
163 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) argument
[all...]
/bind-9.11.3/lib/isc/x86_64/include/isc/
H A Datomic.h32 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) { argument
34 (void)(val);
51 isc_atomic_xaddq(isc_int64_t *p, isc_int64_t val) { argument
53 (void)(val);
70 isc_atomic_store(isc_int32_t *p, isc_int32_t val) { argument
72 (void)(val);
86 isc_atomic_storeq(isc_int64_t *p, isc_int64_t val) { argument
88 (void)(val);
102 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) { argument
105 (void)(val);
[all...]
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Denv.c42 const char* val = getenv(name); local
43 PRE(val != NULL);
44 return val;
50 const char* val = getenv(name); local
51 if (val == NULL)
54 return val;
64 atf_env_set(const char *name, const char *val) argument
69 if (setenv(name, val, 1) == -1)
71 "'%s' to '%s'", name, val);
77 err = atf_text_format(&buf, "%s=%s", name, val);
[all...]
H A Denv_test.c58 const char *val; local
62 val = atf_env_get("PATH");
63 ATF_REQUIRE(strlen(val) > 0);
64 ATF_REQUIRE(strchr(val, ':') != NULL);
75 const char *val; local
79 val = atf_env_get_with_default("PATH", "unknown");
80 ATF_REQUIRE(strcmp(val, "unknown") != 0);
82 val = atf_env_get_with_default("_UNKNOWN_VARIABLE_", "foo bar");
83 ATF_REQUIRE(strcmp(val, "foo bar") == 0);
/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Denv.cpp62 impl::set(const std::string& name, const std::string& val) argument
64 atf_error_t err = atf_env_set(name.c_str(), val.c_str());
/bind-9.11.3/lib/isc/
H A Dinet_aton.c81 isc_uint32_t val; local
98 val = 0; base = 10; digit = 0;
118 val = (val * base) + (c - '0');
122 val = (val << 4) |
136 if (pp >= parts + 3 || val > 0xffU)
138 *pp++ = val;
163 if (val > 0xffffffU)
165 val |
[all...]
H A Dparseint.c48 isc_uint32_t val; local
50 result = isc_parse_uint32(&val, string, base);
53 if (val > 0xFFFF)
55 *uip = (isc_uint16_t) val;
61 isc_uint32_t val; local
63 result = isc_parse_uint32(&val, string, base);
66 if (val > 0xFF)
68 *uip = (isc_uint8_t) val;
H A Dinet_pton.c132 unsigned int val; local
143 val = 0;
150 val <<= 4;
151 val |= (pch - xdigits);
166 *tp++ = (unsigned char) (val >> 8) & 0xff;
167 *tp++ = (unsigned char) val & 0xff;
169 val = 0;
183 *tp++ = (unsigned char) (val >> 8) & 0xff;
184 *tp++ = (unsigned char) val & 0xff;
/bind-9.11.3/lib/isc/powerpc/include/isc/
H A Datomic.h19 * isc_atomic_xadd(isc_int32_t *p, isc_int32_t val);
21 * This routine atomically increments the value stored in 'p' by 'val', and
25 * isc_atomic_store(void *p, isc_int32_t val);
27 * This routine atomically stores the value 'val' in 'p'.
30 * isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val);
32 * This routine atomically replaces the value in 'p' with 'val', if the
48 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) { argument
57 ret = fetch_and_add((atomic_p)p, (int)val);
95 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) { argument
117 : "r"(p), "r"(val)
125 isc_atomic_store(void *p, isc_int32_t val) argument
149 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) argument
[all...]
/bind-9.11.3/lib/isc/sparc64/include/isc/
H A Datomic.h57 * This routine atomically increments the value stored in 'p' by 'val', and
61 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) { argument
65 swapped = prev + val;
78 * This routine atomically stores the value 'val' in 'p'.
81 isc_atomic_store(isc_int32_t *p, isc_int32_t val) { argument
85 swapped = val;
96 * This routine atomically replaces the value in 'p' with 'val', if the
101 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) { argument
102 isc_int32_t temp = val;
/bind-9.11.3/lib/lwres/
H A Dlwinetaton.c85 lwres_uint32_t val; local
104 val = 0;
127 val = (val * base) + (c - '0');
131 val = (val << 4) |
145 if (pp >= parts + 3 || val > 0xffU)
147 *pp++ = (lwres_uint8_t)val;
172 if (val > 0xffffffU)
174 val |
[all...]
H A Dlwbuffer.c87 * val to buffer *b.
93 * unsigned 16-bit or 32-bit integer val to buffer b, in network byte
234 lwres_buffer_putuint8(lwres_buffer_t *b, lwres_uint8_t val) argument
244 cp[0] = (val & 0x00ff);
269 lwres_buffer_putuint16(lwres_buffer_t *b, lwres_uint16_t val) argument
279 cp[0] = (val & 0xff00) >> 8;
280 cp[1] = (val & 0x00ff);
306 lwres_buffer_putuint32(lwres_buffer_t *b, lwres_uint32_t val) argument
316 cp[0] = (unsigned char)((val & 0xff000000) >> 24);
317 cp[1] = (unsigned char)((val
[all...]
H A Dlwinetpton.c134 unsigned int val; local
145 val = 0;
152 val <<= 4;
153 val |= (pch - xdigits);
168 *tp++ = (unsigned char) (val >> 8) & 0xff;
169 *tp++ = (unsigned char) val & 0xff;
171 val = 0;
185 *tp++ = (unsigned char) (val >> 8) & 0xff;
186 *tp++ = (unsigned char) val & 0xff;
/bind-9.11.3/bin/tests/
H A Dlwresconf_test.c24 CHECK(int val, const char *msg) { argument
25 if (val != 0) {
26 fprintf(stderr, "%s returned %d\n", msg, val);
/bind-9.11.3/unit/atf-src/atf-c/
H A Dbuild_test.c95 verbose_set_env(const char *var, const char *val) argument
97 printf("Setting %s to '%s'\n", var, val);
98 RE(atf_env_set(var, val));
/bind-9.11.3/lib/isc/win32/
H A Dsyslog.c29 int val; member in struct:dsn_c_pvt_sfnt
74 *facilityp = facilities[i].val;
/bind-9.11.3/unit/atf-src/atf-c++/
H A Dbuild_test.cpp67 verbose_set_env(const char *var, const char *val) argument
69 std::cout << "Setting " << var << " to '" << val << "'\n"; local
70 atf::env::set(var, val);

Completed in 41 milliseconds

123