/freebsd-current/sys/arm/annapurna/alpine/ |
H A D | alpine_ccu.c | 51 struct resource *res; member in struct:al_ccu_softc 99 err = bus_alloc_resources(dev, al_ccu_spec, &sc->res); 106 bus_write_4(sc->res, AL_CCU_SNOOP_CONTROL_IOFAB_0_OFFSET, 1); 107 bus_write_4(sc->res, AL_CCU_SNOOP_CONTROL_IOFAB_1_OFFSET, 1); 110 bus_write_4(sc->res, AL_CCU_SPECULATION_CONTROL_OFFSET, 7); 122 bus_release_resources(dev, al_ccu_spec, &sc->res);
|
/freebsd-current/contrib/llvm-project/libcxx/modules/std/ |
H A D | memory_resource.inc | 11 // [mem.res.class], class memory_resource 19 // [mem.res.global], global memory resources 25 // [mem.res.pool], pool resource classes
|
/freebsd-current/contrib/bearssl/mk/ |
H A D | mkT0.sh | 11 $CSC /out:T0Comp.exe /main:T0Comp /res:T0/kern.t0,t0-kernel T0/*.cs
|
/freebsd-current/contrib/libucl/tests/ |
H A D | generate.test | 6 diff -s ${TEST_OUT_DIR}/generate.out ${TEST_DIR}/generate.res -u 2>/dev/null 9 echo "Test: generate.res output mismatch"
|
H A D | streamline.test | 6 diff -s ${TEST_OUT_DIR}/streamline.out ${TEST_DIR}/streamline.res -u 2>/dev/null 9 echo "Test: streamline.res output mismatch"
|
/freebsd-current/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_abs.c | 49 int res; member in struct:__anon5214 60 ATF_CHECK(abs(table[i].val) == table[i].res); 73 intmax_t res; member in struct:__anon5215 87 ATF_CHECK(imaxabs(table[i].val) == table[i].res); 100 long res; member in struct:__anon5216 113 ATF_CHECK(labs(table[i].val) == table[i].res); 126 long long res; member in struct:__anon5217 142 ATF_CHECK(llabs(table[i].val) == table[i].res);
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | syzkaller22.sh | 51 intptr_t res = 0; 55 res = syscall(SYS_open, 0x20000000ul, 0ul, 0ul); 56 if (res != -1) 57 r[0] = res;
|
/freebsd-current/sys/contrib/openzfs/module/icp/algs/modes/ |
H A D | gcm_pclmulqdq.c | 38 * multiply operator) on *x_in and *y and place the result in *res. 40 * Byte swap the input (*x_in and *y) and the output (*res). 42 * Note: x_in, y, and res all point to 16-byte numbers (an array of two 46 gcm_pclmulqdq_mul(uint64_t *x_in, uint64_t *y, uint64_t *res) argument 49 gcm_mul_pclmulqdq(x_in, y, res);
|
/freebsd-current/contrib/tcp_wrappers/ |
H A D | tcpdmatch.c | 59 struct addrinfo hints, *hp, *res; local 189 for (res = hp, count = 0; res; res = res->ai_next, count++) { 190 memcpy(&server_sin, res->ai_addr, res->ai_addrlen); 234 if (getaddrinfo(client, NULL, &hints, &res) == 0) { 235 freeaddrinfo(res); 265 for (res [all...] |
/freebsd-current/sys/dev/ofw/ |
H A D | ofw_subr.c | 52 int pci, res; local 54 res = OF_getencprop(node, "#address-cells", &addr, sizeof(addr)); 55 if (res == -1) 57 res = OF_getencprop(node, "#size-cells", &size, sizeof(size)); 58 if (res == -1) 62 res = OF_getprop(node, "device_type", type, sizeof(type)); 63 if (res != -1) { 89 int pci, pcib, res; local 103 res = OF_getencprop(dev, (pci) ? "assigned-addresses" : "reg", 105 if (res [all...] |
/freebsd-current/sys/dev/goldfish/ |
H A D | goldfish_rtc.c | 58 struct resource *res; member in struct:goldfish_rtc_softc 86 sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->rid, 88 if (sc->res == NULL) { 113 bus_release_resource(dev, SYS_RES_MEMORY, sc->rid, sc->res); 132 low = bus_read_4(sc->res, GOLDFISH_RTC_TIME_LOW); 133 high = bus_read_4(sc->res, GOLDFISH_RTC_TIME_HIGH); 159 bus_write_4(sc->res, GOLDFISH_RTC_TIME_HIGH, nsec >> 32); 160 bus_write_4(sc->res, GOLDFISH_RTC_TIME_LOW, nsec);
|
/freebsd-current/crypto/openssl/test/testutil/ |
H A D | provider.c | 102 int res; local 104 if ((res = fips_provider_version(libctx, &prov)) <= 0) 105 return res == 0; 112 int res; local 114 if ((res = fips_provider_version(libctx, &prov)) <= 0) 115 return res == 0; 122 int res; local 124 if ((res = fips_provider_version(libctx, &prov)) <= 0) 125 return res == 0; 135 int res; local 148 int res; local 161 int res; local [all...] |
/freebsd-current/sys/contrib/x86emu/ |
H A D | x86emu.c | 1362 uint64_t res; local 1377 res = (int32_t)srcval * imm; 1379 if (res > 0xffffffff) { 1386 *destreg = (uint32_t)res; 1395 uint32_t res; local 1410 res = (int16_t)srcval * imm; 1412 if (res > 0xffff) { 1419 *destreg = (uint16_t) res; 5378 uint64_t res; local 5383 res 5398 uint32_t res; local 5978 uint16_t res; local 6002 uint16_t res; local 6071 uint32_t res; /* all operands in native machine order */ local 6098 uint32_t res; /* all operands in native machine order */ local 6127 uint32_t res; local 6158 uint32_t res; /* all operands in native machine order */ local 6181 uint32_t res; /* all operands in native machine order */ local 6206 uint32_t res; local 6233 uint8_t res; /* all operands in native machine order */ local 6254 uint16_t res; /* all operands in native machine order */ local 6275 uint32_t res; /* all operands in native machine order */ local 6296 uint32_t res; /* all operands in native machine order */ local 6326 uint32_t res; /* all operands in native machine order */ local 6355 uint32_t res; /* all operands in native machine order */ local 6384 uint32_t res = d; local 6427 uint32_t res; /* all operands in native machine order */ local 6451 uint32_t res; /* all operands in native machine order */ local 6475 uint32_t res; /* all operands in native machine order */ local 6499 uint32_t res; /* all operands in native machine order */ local 6521 uint32_t res; /* all operands in native machine order */ local 6543 uint32_t res; /* all operands in native machine order */ local 6565 uint8_t res; /* all operands in native machine order */ local 6584 uint16_t res; /* all operands in native machine order */ local 6604 uint32_t res; /* all operands in native machine order */ local 6625 uint8_t res; local 6651 uint16_t res; local 6678 uint32_t res; local 6705 unsigned int res, cnt, mask, cf; local 6776 unsigned int res, cnt, mask, cf; local 6801 uint32_t res, cnt, mask, cf; local 6826 uint32_t res, cnt; local 6904 uint32_t res, cnt; local 6937 uint32_t res, cnt; local 6971 unsigned int res, cnt, mask; local 7016 unsigned int res, cnt, mask; local 7042 uint32_t res, cnt, mask; local 7068 unsigned int res, cnt, mask; local 7110 unsigned int res, cnt, mask; local 7134 uint32_t res, cnt, mask; local 7158 unsigned int cnt, res, cf; local 7203 unsigned int cnt, res, cf; local 7244 unsigned int cnt, res, cf; local 7282 unsigned int cnt, res, cf; local 7320 unsigned int cnt, res, cf; local 7358 unsigned int cnt, res, cf; local 7395 unsigned int cnt, res, cf, mask, sf; local 7436 unsigned int cnt, res, cf, mask, sf; local 7477 uint32_t cnt, res, cf, mask, sf; local 7518 unsigned int cnt, res, cf; local 7556 unsigned int cnt, res, cf; local 7594 unsigned int cnt, res, cf; local 7632 unsigned int cnt, res, cf; local 7669 uint32_t res; /* all operands in native machine order */ local 7695 uint32_t res; /* all operands in native machine order */ local 7721 uint32_t res; /* all operands in native machine order */ local 7747 uint32_t res; /* all operands in native machine order */ local 7770 uint32_t res; /* all operands in native machine order */ local 7793 uint32_t res; /* all operands in native machine order */ local 7816 uint32_t res; /* all operands in native machine order */ local 7835 uint32_t res; /* all operands in native machine order */ local 7854 uint32_t res; /* all operands in native machine order */ local 7873 uint8_t res; /* all operands in native machine order */ local 7892 uint16_t res; /* all operands in native machine order */ local 7911 uint32_t res; /* all operands in native machine order */ local 7930 int16_t res = (int16_t) ((int8_t) emu->x86.R_AL * (int8_t) s); local 7950 int32_t res = (int16_t) emu->x86.R_AX * (int16_t) s; local 7971 int64_t res; local 7993 uint16_t res = (uint16_t) (emu->x86.R_AL * s); local 8012 uint32_t res = emu->x86.R_AX * s; local 8032 uint64_t res = (uint64_t) emu->x86.R_EAX * s; local 8380 uint16_t res; local 8396 uint32_t res; local [all...] |
/freebsd-current/sys/dev/bhnd/bhndb/ |
H A D | bhndb_pci_hwdata.c | 99 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 132 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 147 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 298 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 306 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 327 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 343 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 380 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 388 .res = { SYS_RES_MEMORY, PCIR_BAR(0) } 403 .res [all...] |
/freebsd-current/sys/dev/spibus/ |
H A D | acpi_spibus.c | 69 acpi_resource_is_spi_serialbus(ACPI_RESOURCE *res) argument 71 return (res->Type == ACPI_RESOURCE_TYPE_SERIAL_BUS && 72 res->Data.CommonSerialBus.Type == ACPI_RESOURCE_SERIAL_TYPE_SPI); 76 acpi_spibus_get_acpi_res_cb(ACPI_RESOURCE *res, void *context) argument 82 if (acpi_resource_is_spi_serialbus(res)) { 84 res->Data.SpiSerialBus.ResourceSource.StringPtr, &handle); 87 memcpy(sb, &res->Data.SpiSerialBus, 95 } else if (res->Type == ACPI_RESOURCE_TYPE_END_TAG) 129 struct spibus_ivar *res) 154 res 128 acpi_spibus_get_acpi_res(device_t spibus, ACPI_HANDLE dev, struct spibus_ivar *res) argument 272 struct spibus_ivar res; local 424 struct resource *res; local 489 acpi_spibus_read_ivar(device_t bus, device_t child, int which, uintptr_t *res) argument [all...] |
/freebsd-current/usr.sbin/rpc.statd/ |
H A D | statd.c | 328 struct addrinfo hints, *res = NULL; local 420 res = malloc(sizeof(struct addrinfo)); 421 if (res == NULL) 424 res->ai_flags = hints.ai_flags; 425 res->ai_family = hints.ai_family; 426 res->ai_protocol = hints.ai_protocol; 427 switch (res->ai_family) { 435 res->ai_addr = (struct sockaddr*) sin; 436 res->ai_addrlen = (socklen_t) 446 res 524 struct addrinfo hints, *res = NULL; local [all...] |
/freebsd-current/contrib/ldns/compat/ |
H A D | fake-rfc2553.c | 153 const struct addrinfo *hints, struct addrinfo **res) 179 *res = malloc_ai(port, addr, hints); 180 if (*res == NULL) 186 *res = malloc_ai(port, htonl(0x7f000001), hints); 187 if (*res == NULL) 193 *res = malloc_ai(port, in.s_addr, hints); 194 if (*res == NULL) 207 cur = prev = *res = NULL; 213 if (*res != NULL) 214 freeaddrinfo(*res); 152 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument [all...] |
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | fake-rfc2553.c | 156 const struct addrinfo *hints, struct addrinfo **res) 185 *res = malloc_ai(port, addr, hints); 186 if (*res == NULL) 192 *res = malloc_ai(port, htonl(0x7f000001), hints); 193 if (*res == NULL) 199 *res = malloc_ai(port, in.s_addr, hints); 200 if (*res == NULL) 213 cur = prev = *res = NULL; 219 if (*res != NULL) 220 freeaddrinfo(*res); 155 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument [all...] |
/freebsd-current/contrib/wpa/src/pae/ |
H A D | ieee802_1x_key.c | 67 int res; local 71 res = omac1_aes_128(kdk, buf, buf_len, ret); 73 res = omac1_aes_256(kdk, buf, buf_len, ret); 74 if (res) { 112 int res; local 124 res = aes_kdf(msk, 8 * msk_bytes, "IEEE8021 EAP CKN", 127 return res; 182 int res; local 185 res = omac1_aes_128(ick, msg, msg_bytes, icv); 187 res [all...] |
/freebsd-current/contrib/unbound/compat/ |
H A D | fake-rfc2553.c | 149 const struct addrinfo *hints, struct addrinfo **res) 175 *res = malloc_ai(port, addr, hints); 176 if (*res == NULL) 182 *res = malloc_ai(port, htonl(0x7f000001), hints); 183 if (*res == NULL) 189 *res = malloc_ai(port, in.s_addr, hints); 190 if (*res == NULL) 203 cur = prev = *res = NULL; 209 if (*res != NULL) 210 freeaddrinfo(*res); 148 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument [all...] |
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | test_config.c | 38 check_config_file(krb5_context context, char *filelist, char **res, int def) argument 54 for (i = 0; res[i] && pp[i]; i++) 55 if (strcmp(pp[i], res[i]) != 0) 56 krb5_errx(context, 1, "'%s' != '%s'", pp[i], res[i]); 58 if (res[i] != NULL) 59 krb5_errx(context, 1, "pp ended before res list"); 79 krb5_errx(context, 1, "pp ended after res (and def) list"); 92 char **res; member in struct:__anon6771 110 test[0].res = list0; 111 test[1].res [all...] |
/freebsd-current/lib/libthr/thread/ |
H A D | thr_pshared.c | 228 void *res; local 234 res = NULL; 237 res = pshared_lookup(key); 239 if (res != NULL) 240 return (res); 246 res = mmap(NULL, page_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 248 if (res == MAP_FAILED) 251 ins_done = pshared_insert(key, &res); 254 pshared_clean(key, res); 255 res [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_flat_map.h | 81 uptr res = 0; local 86 res += MmapSize(); 88 return res; 137 T *res = reinterpret_cast<T *>(atomic_load_relaxed(&map1_[idx])); local 138 if (LIKELY(res)) 139 return res; 145 T *res = Get(idx); local 146 if (!res) { 147 res = reinterpret_cast<T *>(MmapOrDie(MmapSize(), "TwoLevelMap")); 148 atomic_store(&map1_[idx], reinterpret_cast<uptr>(res), [all...] |
/freebsd-current/contrib/libevent/ |
H A D | devpoll.c | 173 int i, res, timeout = -1; local 187 res = ioctl(devpollop->dpfd, DP_POLL, &dvp); 191 if (res == -1) { 200 event_debug(("%s: devpoll_wait reports %d", __func__, res)); 202 for (i = 0; i < res; i++) { 231 int res; local 241 res = 0; 243 res |= POLLIN; 245 res |= POLLOUT; 247 if (devpoll_queue(devpollop, fd, res) ! 257 int res; local [all...] |
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | devpoll.c | 173 int i, res, timeout = -1; local 187 res = ioctl(devpollop->dpfd, DP_POLL, &dvp); 191 if (res == -1) { 200 event_debug(("%s: devpoll_wait reports %d", __func__, res)); 202 for (i = 0; i < res; i++) { 231 int res; local 241 res = 0; 243 res |= POLLIN; 245 res |= POLLOUT; 247 if (devpoll_queue(devpollop, fd, res) ! 257 int res; local [all...] |