/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_texture.c | 187 etna_resource_sampler_compatible(struct etna_resource *res) in etna_resource_sampler_compatible() argument 189 if (util_format_is_compressed(res->base.format)) in etna_resource_sampler_compatible() 192 struct etna_screen *screen = etna_screen(res->base.screen); in etna_resource_sampler_compatible() 194 if (res->layout == ETNA_LAYOUT_SUPER_TILED && VIV_FEATURE(screen, chipMinorFeatures2, SUPERTILED_TEXTURE)) in etna_resource_sampler_compatible() 198 if (res->layout == ETNA_LAYOUT_LINEAR && VIV_FEATURE(screen, chipMinorFeatures1, LINEAR_TEXTURE_SUPPORT)) in etna_resource_sampler_compatible() 202 if (res->layout != ETNA_LAYOUT_TILED) in etna_resource_sampler_compatible() 210 if (res->halign != TEXTURE_HALIGN_FOUR) in etna_resource_sampler_compatible() 219 struct etna_resource *res = etna_resource(prsc); in etna_texture_handle_incompatible() local 220 if (!etna_resource_sampler_compatible(res)) { in etna_texture_handle_incompatible() 223 if (!res in etna_texture_handle_incompatible() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os.h | 57 struct os_time *res) in os_time_sub() 59 res->sec = a->sec - b->sec; in os_time_sub() 60 res->usec = a->usec - b->usec; in os_time_sub() 61 if (res->usec < 0) { in os_time_sub() 62 res->sec--; in os_time_sub() 63 res->usec += 1000000; in os_time_sub() 79 struct os_reltime *res) in os_reltime_sub() 81 res->sec = a->sec - b->sec; in os_reltime_sub() 82 res->usec = a->usec - b->usec; in os_reltime_sub() 83 if (res in os_reltime_sub() 56 os_time_sub(struct os_time *a, struct os_time *b, struct os_time *res) os_time_sub() argument 78 os_reltime_sub(struct os_reltime *a, struct os_reltime *b, struct os_reltime *res) os_reltime_sub() argument 560 os_snprintf_error(size_t size, int res) os_snprintf_error() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | server.cpp | 169 CompileShaderResponse res; in ProcessPacketsOnServer() local 170 res.status = ok; in ProcessPacketsOnServer() 171 res.binary = std::move(result); in ProcessPacketsOnServer() 172 SendResponse(client, res); in ProcessPacketsOnServer() 180 StoreContentResponse res; in ProcessPacketsOnServer() local 181 res.status = ok; in ProcessPacketsOnServer() 182 SendResponse(client, res); in ProcessPacketsOnServer() 192 GetContentResponse res; in ProcessPacketsOnServer() local 193 res.status = ok; in ProcessPacketsOnServer() 194 res in ProcessPacketsOnServer() 223 CreateCacheResponse res; ProcessPacketsOnServer() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | os.h | 57 struct os_time *res) in os_time_sub() 59 res->sec = a->sec - b->sec; in os_time_sub() 60 res->usec = a->usec - b->usec; in os_time_sub() 61 if (res->usec < 0) { in os_time_sub() 62 res->sec--; in os_time_sub() 63 res->usec += 1000000; in os_time_sub() 79 struct os_reltime *res) in os_reltime_sub() 81 res->sec = a->sec - b->sec; in os_reltime_sub() 82 res->usec = a->usec - b->usec; in os_reltime_sub() 83 if (res in os_reltime_sub() 56 os_time_sub(struct os_time *a, struct os_time *b, struct os_time *res) os_time_sub() argument 78 os_reltime_sub(struct os_reltime *a, struct os_reltime *b, struct os_reltime *res) os_reltime_sub() argument 560 os_snprintf_error(size_t size, int res) os_snprintf_error() argument [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuMatrix.hpp | 400 Vector<T, Cols> res; in getRow() local 402 res[col] = (*this)(rowNdx, col); in getRow() 403 return res; in getRow() 445 Matrix<T, Rows0, Cols1> res; in operator *() local 453 res(row,col) = v; in operator *() 456 return res; in operator *() 463 Vector<T, Rows> res; in operator *() local 469 res.m_data[row] = v; in operator *() 471 return res; in operator *() 478 Vector<T, Cols> res; in operator *() local 543 Matrix<T, Rows, Cols> res; operator +() local 553 Matrix<T, Rows, Cols> res; operator -() local 563 Matrix<T, Rows, Cols> res; operator *() local 573 Matrix<T, Rows, Cols> res; operator /() local 585 Matrix<T, Rows, Cols> res; operator +() local 595 Matrix<T, Rows, Cols> res; operator -() local 605 Matrix<T, Rows, Cols> res; operator /() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | scale_eval.c | 67 double var_values[VARS_NB], res; in ff_scale_eval_dimensions() local 83 av_expr_parse_and_eval(&res, (expr = w_expr), in ff_scale_eval_dimensions() 86 eval_w = var_values[VAR_OUT_W] = var_values[VAR_OW] = (int) res == 0 ? inlink->w : (int) res; in ff_scale_eval_dimensions() 88 if ((ret = av_expr_parse_and_eval(&res, (expr = h_expr), in ff_scale_eval_dimensions() 92 eval_h = var_values[VAR_OUT_H] = var_values[VAR_OH] = (int) res == 0 ? inlink->h : (int) res; in ff_scale_eval_dimensions() 94 if ((ret = av_expr_parse_and_eval(&res, (expr = w_expr), in ff_scale_eval_dimensions() 98 eval_w = (int) res == 0 ? inlink->w : (int) res; in ff_scale_eval_dimensions() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | subviewerdec.c | 90 int res = 0, new_event = 1; in subviewer_read_header() local 97 res = ffio_ensure_seekback(s->pb, 3); in subviewer_read_header() 98 if (res < 0) in subviewer_read_header() 99 return res; in subviewer_read_header() 129 res = ff_bprint_to_codecpar_extradata(st->codecpar, &header); in subviewer_read_header() 130 if (res < 0) in subviewer_read_header() 157 res = AVERROR_INVALIDDATA; in subviewer_read_header() 163 res = AVERROR(ENOMEM); in subviewer_read_header() 169 res = AVERROR(ENOMEM); in subviewer_read_header() 185 return res; in subviewer_read_header() [all...] |
/third_party/FreeBSD/sys/dev/usb/controller/ |
H A D | ehci_pci.c | 91 struct resource *res; in ehci_pci_attach() local 109 res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &unit, 0); in ehci_pci_attach() 110 if (res == NULL) { in ehci_pci_attach() 114 sc->sc_io_res = ioremap(res->start, res->count); in ehci_pci_attach() 121 sc->sc_io_size = res->count; in ehci_pci_attach() 142 res = bus_alloc_resource_any(self, SYS_RES_IRQ, &unit, 0); in ehci_pci_attach() 143 if (res == NULL) { in ehci_pci_attach() 146 sc->sc_irq_res = res; in ehci_pci_attach() 147 err = bus_setup_intr(res in ehci_pci_attach() [all...] |
/third_party/musl/porting/linux/user/src/network/ |
H A D | res_cache.c | 53 const struct addrinfo *restrict hint, struct addrinfo *res)
in dns_set_addr_info_to_netsys_cache2() 62 int ret = func(netid, param, res);
in dns_set_addr_info_to_netsys_cache2() 72 const struct addrinfo *restrict hint, struct addrinfo *res)
in dns_set_addr_info_to_netsys_cache() 74 dns_set_addr_info_to_netsys_cache2(0, host, serv, hint, res);
in dns_set_addr_info_to_netsys_cache() 78 const struct addrinfo *restrict hint, struct addrinfo **restrict res)
in dns_get_addr_info_from_netsys_cache2() 130 *res = &out->ai;
in dns_get_addr_info_from_netsys_cache2() 137 const struct addrinfo *restrict hint, struct addrinfo **restrict res)
in dns_get_addr_info_from_netsys_cache() 139 return dns_get_addr_info_from_netsys_cache2(0, host, serv, hint, res);
in dns_get_addr_info_from_netsys_cache() 143 struct addrinfo *res, struct queryparam *param)
in dns_post_result_to_netsys_cache() 151 int ret = func(netid, name, usedtime, queryret, res, para in dns_post_result_to_netsys_cache() 52 dns_set_addr_info_to_netsys_cache2(const int netid, const char *restrict host, const char *restrict serv, const struct addrinfo *restrict hint, struct addrinfo *res) dns_set_addr_info_to_netsys_cache2() argument 71 dns_set_addr_info_to_netsys_cache(const char *restrict host, const char *restrict serv, const struct addrinfo *restrict hint, struct addrinfo *res) dns_set_addr_info_to_netsys_cache() argument 77 dns_get_addr_info_from_netsys_cache2(const int netid, const char *restrict host, const char *restrict serv, const struct addrinfo *restrict hint, struct addrinfo **restrict res) dns_get_addr_info_from_netsys_cache2() argument 136 dns_get_addr_info_from_netsys_cache(const char *restrict host, const char *restrict serv, const struct addrinfo *restrict hint, struct addrinfo **restrict res) dns_get_addr_info_from_netsys_cache() argument 142 dns_post_result_to_netsys_cache(int netid, char* name, int usedtime, int queryret, struct addrinfo *res, struct queryparam *param) dns_post_result_to_netsys_cache() argument [all...] |
/third_party/musl/src/network/ |
H A D | res_cache.c | 53 const struct addrinfo *restrict hint, struct addrinfo *res)
in dns_set_addr_info_to_netsys_cache2() 62 int ret = func(netid, param, res);
in dns_set_addr_info_to_netsys_cache2() 72 const struct addrinfo *restrict hint, struct addrinfo *res)
in dns_set_addr_info_to_netsys_cache() 74 dns_set_addr_info_to_netsys_cache2(0, host, serv, hint, res);
in dns_set_addr_info_to_netsys_cache() 78 const struct addrinfo *restrict hint, struct addrinfo **restrict res)
in dns_get_addr_info_from_netsys_cache2() 130 *res = &out->ai;
in dns_get_addr_info_from_netsys_cache2() 137 const struct addrinfo *restrict hint, struct addrinfo **restrict res)
in dns_get_addr_info_from_netsys_cache() 139 return dns_get_addr_info_from_netsys_cache2(0, host, serv, hint, res);
in dns_get_addr_info_from_netsys_cache() 143 struct addrinfo *res, struct queryparam *param)
in dns_post_result_to_netsys_cache() 151 int ret = func(netid, name, usedtime, queryret, res, para in dns_post_result_to_netsys_cache() 52 dns_set_addr_info_to_netsys_cache2(const int netid, const char *restrict host, const char *restrict serv, const struct addrinfo *restrict hint, struct addrinfo *res) dns_set_addr_info_to_netsys_cache2() argument 71 dns_set_addr_info_to_netsys_cache(const char *restrict host, const char *restrict serv, const struct addrinfo *restrict hint, struct addrinfo *res) dns_set_addr_info_to_netsys_cache() argument 77 dns_get_addr_info_from_netsys_cache2(const int netid, const char *restrict host, const char *restrict serv, const struct addrinfo *restrict hint, struct addrinfo **restrict res) dns_get_addr_info_from_netsys_cache2() argument 136 dns_get_addr_info_from_netsys_cache(const char *restrict host, const char *restrict serv, const struct addrinfo *restrict hint, struct addrinfo **restrict res) dns_get_addr_info_from_netsys_cache() argument 142 dns_post_result_to_netsys_cache(int netid, char* name, int usedtime, int queryret, struct addrinfo *res, struct queryparam *param) dns_post_result_to_netsys_cache() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_screen.h | 137 nv50_resource_fence(struct nv04_resource *res, uint32_t flags) in nv50_resource_fence() argument 139 struct nv50_screen *screen = nv50_screen(res->base.screen); in nv50_resource_fence() 141 if (res->mm) { in nv50_resource_fence() 142 nouveau_fence_ref(screen->base.fence.current, &res->fence); in nv50_resource_fence() 144 nouveau_fence_ref(screen->base.fence.current, &res->fence_wr); in nv50_resource_fence() 149 nv50_resource_validate(struct nv04_resource *res, uint32_t flags) in nv50_resource_validate() argument 151 if (likely(res->bo)) { in nv50_resource_validate() 153 res->status |= NOUVEAU_BUFFER_STATUS_GPU_WRITING | in nv50_resource_validate() 156 res->status |= NOUVEAU_BUFFER_STATUS_GPU_READING; in nv50_resource_validate() 158 nv50_resource_fence(res, flag in nv50_resource_validate() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_screen.h | 161 nvc0_resource_fence(struct nv04_resource *res, uint32_t flags) in nvc0_resource_fence() argument 163 struct nvc0_screen *screen = nvc0_screen(res->base.screen); in nvc0_resource_fence() 165 if (res->mm) { in nvc0_resource_fence() 166 nouveau_fence_ref(screen->base.fence.current, &res->fence); in nvc0_resource_fence() 168 nouveau_fence_ref(screen->base.fence.current, &res->fence_wr); in nvc0_resource_fence() 173 nvc0_resource_validate(struct nv04_resource *res, uint32_t flags) in nvc0_resource_validate() argument 175 if (likely(res->bo)) { in nvc0_resource_validate() 177 res->status |= NOUVEAU_BUFFER_STATUS_GPU_WRITING | in nvc0_resource_validate() 180 res->status |= NOUVEAU_BUFFER_STATUS_GPU_READING; in nvc0_resource_validate() 182 nvc0_resource_fence(res, flag in nvc0_resource_validate() [all...] |
H A D | nvc0_compute.c | 220 struct nv04_resource *res = in nvc0_compute_validate_constbufs() local 222 if (res) { in nvc0_compute_validate_constbufs() 225 PUSH_DATAh(push, res->address + nvc0->constbuf[s][i].offset); in nvc0_compute_validate_constbufs() 226 PUSH_DATA (push, res->address + nvc0->constbuf[s][i].offset); in nvc0_compute_validate_constbufs() 230 BCTX_REFN(nvc0->bufctx_cp, CP_CB(i), res, RD); in nvc0_compute_validate_constbufs() 232 res->cb_bindings[s] |= 1 << i; in nvc0_compute_validate_constbufs() 281 struct nv04_resource *res = in nvc0_compute_validate_buffers() local 283 PUSH_DATA (push, res->address + nvc0->buffers[s][i].buffer_offset); in nvc0_compute_validate_buffers() 284 PUSH_DATAh(push, res->address + nvc0->buffers[s][i].buffer_offset); in nvc0_compute_validate_buffers() 287 BCTX_REFN(nvc0->bufctx_cp, CP_BUF, res, RDW in nvc0_compute_validate_buffers() 308 struct pipe_resource *res = *util_dynarray_element( nvc0_compute_validate_globals() local 471 struct nv04_resource *res = nv04_resource(info->indirect); nvc0_launch_grid() local 511 struct nv04_resource *res = nv04_resource(info->indirect); nvc0_compute_update_indirect_invocations() local [all...] |
/third_party/rust/crates/nix/src/sys/ |
H A D | uio.rs | 21 let res = unsafe { in writev() 25 Errno::result(res).map(|r| r as usize) 33 let res = unsafe { in readv() 37 Errno::result(res).map(|r| r as usize) 53 let res = unsafe { 62 Errno::result(res).map(|r| r as usize) 83 let res = unsafe { in preadv() 92 Errno::result(res).map(|r| r as usize) in preadv() 100 let res = unsafe { in pwrite() 109 Errno::result(res) in pwrite() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | linux_ioctl.c | 200 ssize_t res; in linux_br_get() local 204 res = readlink(path, brlink, sizeof(brlink)); in linux_br_get() 205 if (res < 0 || (size_t) res >= sizeof(brlink)) in linux_br_get() 207 brlink[res] = '\0'; in linux_br_get() 220 ssize_t res; in linux_master_get() local 225 res = readlink(buf, masterlink, sizeof(masterlink)); in linux_master_get() 226 if (res < 0 || (size_t) res >= sizeof(masterlink)) in linux_master_get() 229 masterlink[res] in linux_master_get() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | linux_ioctl.c | 200 ssize_t res; in linux_br_get() local 204 res = readlink(path, brlink, sizeof(brlink)); in linux_br_get() 205 if (res < 0 || (size_t) res >= sizeof(brlink)) in linux_br_get() 207 brlink[res] = '\0'; in linux_br_get() 220 ssize_t res; in linux_master_get() local 225 res = readlink(buf, masterlink, sizeof(masterlink)); in linux_master_get() 226 if (res < 0 || (size_t) res >= sizeof(masterlink)) in linux_master_get() 229 masterlink[res] in linux_master_get() [all...] |
/third_party/libbpf/src/ |
H A D | relo_core.c | 884 struct bpf_core_relo_res *res) in bpf_core_calc_relo() 888 res->orig_val = 0; in bpf_core_calc_relo() 889 res->new_val = 0; in bpf_core_calc_relo() 890 res->poison = false; in bpf_core_calc_relo() 891 res->validate = true; in bpf_core_calc_relo() 892 res->fail_memsz_adjust = false; in bpf_core_calc_relo() 893 res->orig_sz = res->new_sz = 0; in bpf_core_calc_relo() 894 res->orig_type_id = res in bpf_core_calc_relo() 879 bpf_core_calc_relo(const char *prog_name, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_spec *local_spec, const struct bpf_core_spec *targ_spec, struct bpf_core_relo_res *res) bpf_core_calc_relo() argument 1024 bpf_core_patch_insn(const char *prog_name, struct bpf_insn *insn, int insn_idx, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_relo_res *res) bpf_core_patch_insn() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | bss.c | 430 struct wpa_scan_res *res, in wpa_bss_add() 436 bss = os_zalloc(sizeof(*bss) + res->ie_len + res->beacon_ie_len); in wpa_bss_add() 441 wpa_bss_copy_res(bss, res, fetch_time); in wpa_bss_add() 444 bss->ie_len = res->ie_len; in wpa_bss_add() 445 bss->beacon_ie_len = res->beacon_ie_len; in wpa_bss_add() 446 os_memcpy(bss + 1, res + 1, res->ie_len + res->beacon_ie_len); in wpa_bss_add() 606 struct wpa_scan_res *res, struc in wpa_bss_update() 428 wpa_bss_add(struct wpa_supplicant *wpa_s, const u8 *ssid, size_t ssid_len, struct wpa_scan_res *res, struct os_reltime *fetch_time) wpa_bss_add() argument 605 wpa_bss_update(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, struct wpa_scan_res *res, struct os_reltime *fetch_time) wpa_bss_update() argument 739 wpa_bss_update_scan_res(struct wpa_supplicant *wpa_s, struct wpa_scan_res *res, struct os_reltime *fetch_time) wpa_bss_update_scan_res() argument 1332 hw_magiclink_bss_add(struct wpa_supplicant *wpa_s, const u8 *ssid, size_t ssid_len, struct wpa_scan_res *res, struct os_reltime *fetch_time) hw_magiclink_bss_add() argument [all...] |
/third_party/jerryscript/tests/jerry/es5.1/ |
H A D | regression-test-issue-312.js | 15 var res = RegExp.prototype.exec(10); variable 17 assert (res[0] === ""); 18 assert (res.input === "10"); 19 assert (res.index === 0); 20 assert (res.length === 1);
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_resource_state.cpp | 245 if (bo->res) { in init_state_table_entry() 246 D3D12_RESOURCE_DESC desc = GetDesc(bo->res); in init_state_table_entry() 317 resolve_global_state(struct d3d12_context *ctx, ID3D12Resource *res, d3d12_resource_state *batch_state, d3d12_resource_state *res_state) in resolve_global_state() argument 333 barrier.Transition.pResource = res; in resolve_global_state() 357 assert(bo->res && bo->global_state.subresource_states); in d3d12_context_state_resolve_submission() 359 resolve_global_state(ctx, bo->res, &bo_state->batch_begin, &bo->global_state); in d3d12_context_state_resolve_submission() 391 ID3D12Resource *res = d3d12_bo_get_base(bo, &offset)->res; in append_barrier() local 395 transition_desc.Transition.pResource = res; in append_barrier() 430 uav_barrier.UAV.pResource = res; in append_barrier() 456 d3d12_transition_resource_state(struct d3d12_context *ctx, struct d3d12_resource *res, D3D12_RESOURCE_STATES state, d3d12_transition_flags flags) d3d12_transition_resource_state() argument 478 d3d12_transition_subresources_state(struct d3d12_context *ctx, struct d3d12_resource *res, uint32_t start_level, uint32_t num_levels, uint32_t start_layer, uint32_t num_layers, uint32_t start_plane, uint32_t num_planes, D3D12_RESOURCE_STATES state, d3d12_transition_flags flags) d3d12_transition_subresources_state() argument [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib658.c | 37 CURLcode res = CURLE_OK; in test() local 64 res = curl_easy_perform(handle); in test() 66 if(res) { in test() 68 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test() 78 return res; in test()
|
H A D | lib598.c | 30 CURLcode res; in test() local 52 res = curl_easy_perform(curl); in test() 53 if(res) { in test() 64 res = curl_easy_perform(curl); in test() 65 if(res) in test() 73 return (int)res; in test()
|
H A D | lib3100.c | 29 int res; in test() local 56 res = curl_easy_perform(curl); in test() 57 if(res != (int)CURLE_OK) { in test() 58 fprintf(stderr, "Failed to send DESCRIBE: %d\n", res); in test() 59 res = TEST_ERR_MAJOR_BAD; in test() 67 return res; in test()
|
/third_party/elfutils/libebl/ |
H A D | eblsymbolbindingname.c | 41 const char *res; in ebl_symbol_binding_name() local 43 res = ebl != NULL ? ebl->symbol_type_name (binding, buf, len) : NULL; in ebl_symbol_binding_name() 44 if (res == NULL) in ebl_symbol_binding_name() 53 res = stb_names[binding]; in ebl_symbol_binding_name() 70 res = buf; in ebl_symbol_binding_name() 74 return res; in ebl_symbol_binding_name()
|
H A D | eblsymboltypename.c | 41 const char *res; in ebl_symbol_type_name() local 43 res = ebl != NULL ? ebl->symbol_type_name (symbol, buf, len) : NULL; in ebl_symbol_type_name() 44 if (res == NULL) in ebl_symbol_type_name() 59 res = stt_names[symbol]; in ebl_symbol_type_name() 76 res = buf; in ebl_symbol_type_name() 80 return res; in ebl_symbol_type_name()
|