/third_party/jerryscript/tests/jerry/ |
H A D | string-prototype-split.js | 15 var res = "".split(); variable 16 assert (res[0] === ""); 18 res = "foo".split(); 19 assert (res[0] === "foo"); 22 res = str.split(""); 24 assert (res.length === 17); 25 for (var i = 0; i < res.length; i++) 27 assert (res[i] === str[i]); 30 res = str.split("", "foo"); 31 assert (res [all...] |
H A D | string-prototype-slice.js | 16 var res; variable 18 res = str.slice(); 19 assert (res === "universe"); 21 res = str.slice(1, 6); 22 assert (res === "niver"); 24 res = str.slice("a", "-4"); 25 assert (res === "univ"); 27 res = str.slice(-5); 28 assert (res === "verse"); 30 res [all...] |
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | fixed_debug.h | 52 int res; in NEG16() local 57 res = -x; in NEG16() 58 if (!VERIFY_SHORT(res)) in NEG16() 59 fprintf (stderr, "NEG16: output is not short: %d\n", (int)res); in NEG16() 61 return res; in NEG16() 65 long long res; in NEG32() local 70 res = -x; in NEG32() 71 if (!VERIFY_INT(res)) in NEG32() 72 fprintf (stderr, "NEG16: output is not int: %d\n", (int)res); in NEG32() 74 return res; in NEG32() 80 int res; _EXTRACT16() local 93 int res; _EXTEND32() local 106 int res; _SHR16() local 120 int res; _SHL16() local 134 long long res; SHR32() local 149 long long res; SHL32() local 176 int res; _ADD16() local 193 int res; _SUB16() local 208 long long res; _ADD32() local 224 long long res; SUB32() local 241 int res; MULT16_16_16() local 256 long long res; _MULT16_16() local 277 long long res; _MULT16_32_QX() local 293 long long res; MULT16_32_PX() local 328 long long res; MULT16_16_Q11_32() local 342 long long res; MULT16_16_Q13() local 356 long long res; MULT16_16_Q14() local 370 long long res; MULT16_16_Q15() local 387 long long res; MULT16_16_P13() local 404 long long res; MULT16_16_P14() local 421 long long res; MULT16_16_P15() local 441 long long res; _DIV32_16() local 467 long long res; _DIV32() local [all...] |
/third_party/libfuse/test/ |
H A D | test_syscalls.c | 141 int res = stat(path, &stbuf); in check_size() local 142 if (res == -1) { in check_size() 167 int res = lstat(path, &stbuf); in check_type() local 168 if (res == -1) { in check_type() 188 int res = lstat(path, &stbuf); in check_mode() local 189 if (res == -1) { in check_mode() 207 int res = lstat(path, &stbuf); in check_times() local 208 if (res == -1) { in check_times() 231 int res = fstat(fd, &stbuf); 232 if (res 264 int res = lstat(path, &stbuf); check_nlink() local 275 int res = fstat(fd, &stbuf); fcheck_stat() local 300 int res = lstat(path, &stbuf); check_nonexist() local 325 int res; check_data() local 368 int res; fcheck_data() local 396 int res; check_dir_contents() local 465 int res; create_file() local 517 int res; create_path_fd() local 535 int res, fd; create_testfile() local 569 int res, err = 0; check_unlinked_testfiles() local 604 int res; cleanup_dir() local 621 int res; create_dir() local 659 int res; test_truncate() local 707 int res; test_ftruncate() local 774 int res; test_seekdir() local 834 int res; test_copy_file_range() local 929 int res; test_utime() local 965 int res; test_create() local 1018 int res; test_create_unlink() local 1072 int res; test_mknod() local 1112 int res; do_test_open() local 1268 int res; do_test_open_acc() local 1326 int res; test_symlink() local 1388 int res; test_link() local 1438 int res; test_link2() local 1497 int res; test_rename_file() local 1538 int res; test_rename_dir() local 1587 int res; test_rename_dir_loop() local 1798 int res; test_mkfifo() local 1831 int res; test_mkdir() local 1869 int res; test_socket() local 1922 int res; do_test_create_ro_dir() local [all...] |
/third_party/libfuse/example/ |
H A D | passthrough_fh.c | 74 int res; in xmp_getattr() local 79 res = fstat(fi->fh, stbuf); in xmp_getattr() 81 res = lstat(path, stbuf); in xmp_getattr() 82 if (res == -1) in xmp_getattr() 90 int res; in xmp_access() local 92 res = access(path, mask); in xmp_access() 93 if (res == -1) in xmp_access() 101 int res; in xmp_readlink() local 103 res = readlink(path, buf, size - 1); in xmp_readlink() 104 if (res in xmp_readlink() 119 int res; xmp_opendir() local 172 int res; xmp_readdir() local 214 int res; xmp_mknod() local 228 int res; xmp_mkdir() local 239 int res; xmp_unlink() local 250 int res; xmp_rmdir() local 261 int res; xmp_symlink() local 272 int res; xmp_rename() local 287 int res; xmp_link() local 299 int res; xmp_chmod() local 314 int res; xmp_chown() local 329 int res; xmp_truncate() local 346 int res; xmp_utimens() local 387 int res; xmp_read() local 422 int res; xmp_write() local 448 int res; xmp_statfs() local 459 int res; xmp_flush() local 485 int res; xmp_fsync() local 520 int res = lsetxattr(path, name, value, size, flags); xmp_setxattr() local 529 int res = lgetxattr(path, name, value, size); xmp_getxattr() local 537 int res = llistxattr(path, list, size); xmp_listxattr() local 545 int res = lremovexattr(path, name); xmp_removexattr() local 565 int res; xmp_flock() local 582 ssize_t res; xmp_copy_file_range() local 597 off_t res; xmp_lseek() local [all...] |
H A D | passthrough.c | 80 int res; in xmp_getattr() local 82 res = lstat(path, stbuf); in xmp_getattr() 83 if (res == -1) in xmp_getattr() 91 int res; in xmp_access() local 93 res = access(path, mask); in xmp_access() 94 if (res == -1) in xmp_access() 102 int res; in xmp_readlink() local 104 res = readlink(path, buf, size - 1); in xmp_readlink() 105 if (res == -1) in xmp_readlink() 108 buf[res] in xmp_readlink() 143 int res; xmp_mknod() local 154 int res; xmp_mkdir() local 165 int res; xmp_unlink() local 176 int res; xmp_rmdir() local 187 int res; xmp_symlink() local 198 int res; xmp_rename() local 212 int res; xmp_link() local 225 int res; xmp_chmod() local 238 int res; xmp_chown() local 250 int res; xmp_truncate() local 267 int res; xmp_utimens() local 281 int res; xmp_create() local 293 int res; xmp_open() local 307 int res; xmp_read() local 330 int res; xmp_write() local 352 int res; xmp_statfs() local 385 int res; xmp_fallocate() local 413 int res = lsetxattr(path, name, value, size, flags); xmp_setxattr() local 422 int res = lgetxattr(path, name, value, size); xmp_getxattr() local 430 int res = llistxattr(path, list, size); xmp_listxattr() local 438 int res = lremovexattr(path, name); xmp_removexattr() local 453 ssize_t res; xmp_copy_file_range() local 490 off_t res; xmp_lseek() local [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_resource.c | 409 iris_get_depth_stencil_resources(struct pipe_resource *res, in iris_get_depth_stencil_resources() argument 413 if (!res) { in iris_get_depth_stencil_resources() 419 if (res->format != PIPE_FORMAT_S8_UINT) { in iris_get_depth_stencil_resources() 420 *out_z = (void *) res; in iris_get_depth_stencil_resources() 421 *out_s = (void *) iris_resource_get_separate_stencil(res); in iris_get_depth_stencil_resources() 424 *out_s = (void *) res; in iris_get_depth_stencil_resources() 429 iris_resource_disable_aux(struct iris_resource *res) in iris_resource_disable_aux() argument 431 iris_bo_unreference(res->aux.bo); in iris_resource_disable_aux() 432 iris_bo_unreference(res->aux.clear_color_bo); in iris_resource_disable_aux() 433 free(res in iris_resource_disable_aux() 490 struct iris_resource *res = (struct iris_resource *) p_res; iris_resource_destroy() local 508 struct iris_resource *res = calloc(1, sizeof(struct iris_resource)); iris_alloc_resource() local 525 iris_get_num_logical_layers(const struct iris_resource *res, unsigned level) iris_get_num_logical_layers() argument 534 create_aux_state_map(struct iris_resource *res, enum isl_aux_state initial) create_aux_state_map() argument 570 iris_get_aux_clear_color_state_size(struct iris_screen *screen, struct iris_resource *res) iris_get_aux_clear_color_state_size() argument 590 map_aux_addresses(struct iris_screen *screen, struct iris_resource *res, enum pipe_format pfmt, unsigned plane) map_aux_addresses() argument 657 iris_resource_configure_main(const struct iris_screen *screen, struct iris_resource *res, const struct pipe_resource *templ, uint64_t modifier, uint32_t row_pitch_B) iris_resource_configure_main() argument 784 iris_resource_configure_aux(struct iris_screen *screen, struct iris_resource *res, bool imported) iris_resource_configure_aux() argument 916 iris_resource_init_aux_buf(struct iris_screen *screen, struct iris_resource *res) iris_resource_init_aux_buf() argument 977 import_aux_info(struct iris_resource *res, const struct iris_resource *aux_res) import_aux_info() argument 991 iris_resource_finish_aux_import(struct pipe_screen *pscreen, struct iris_resource *res) iris_resource_finish_aux_import() argument 1100 struct iris_resource *res = iris_alloc_resource(pscreen, templ); iris_resource_create_for_buffer() local 1154 struct iris_resource *res = iris_alloc_resource(pscreen, templ); iris_resource_create_with_modifiers() local 1270 struct iris_resource *res = iris_alloc_resource(pscreen, templ); iris_resource_from_user_memory() local 1365 struct iris_resource *res = iris_alloc_resource(pscreen, templ); iris_resource_from_handle() local 1444 struct iris_resource *res = iris_alloc_resource(pscreen, templ); iris_resource_from_memobj() local 1489 struct iris_resource *res = (struct iris_resource *) prsc; iris_resource_from_memobj_wrapper() local 1513 struct iris_resource *res = (void *) resource; iris_flush_resource() local 1632 iris_resource_disable_suballoc_on_first_query(struct pipe_screen *pscreen, struct pipe_context *ctx, struct iris_resource *res) iris_resource_disable_suballoc_on_first_query() argument 1672 struct iris_resource *res = (struct iris_resource *)resource; iris_resource_disable_aux_on_first_query() local 1699 struct iris_resource *res = (struct iris_resource *)resource; iris_resource_get_param() local 1794 struct iris_resource *res = (struct iris_resource *)resource; iris_resource_get_handle() local 1862 resource_is_busy(struct iris_context *ice, struct iris_resource *res) resource_is_busy() argument 1908 struct iris_resource *res = (void *) resource; iris_invalidate_resource() local 1995 struct iris_resource *res = (void *) xfer->resource; iris_map_copy_region() local 2115 struct iris_resource *res = (struct iris_resource *) xfer->resource; iris_unmap_s8() local 2147 struct iris_resource *res = (struct iris_resource *) xfer->resource; iris_map_s8() local 2219 struct iris_resource *res = (struct iris_resource *) xfer->resource; iris_unmap_tiled_memcpy() local 2248 struct iris_resource *res = (struct iris_resource *) xfer->resource; iris_map_tiled_memcpy() local 2293 struct iris_resource *res = (struct iris_resource *) xfer->resource; iris_map_direct() local 2325 can_promote_to_async(const struct iris_resource *res, const struct pipe_box *box, enum pipe_map_flags usage) can_promote_to_async() argument 2348 struct iris_resource *res = (struct iris_resource *)resource; iris_transfer_map() local 2492 struct iris_resource *res = (struct iris_resource *) xfer->resource; iris_transfer_flush_region() local 2554 struct iris_resource *res = (struct iris_resource *)resource; iris_texture_subdata() local 2620 iris_dirty_for_history(struct iris_context *ice, struct iris_resource *res) iris_dirty_for_history() argument 2663 iris_resource_set_clear_color(struct iris_context *ice, struct iris_resource *res, union isl_color_value color) iris_resource_set_clear_color() argument 2680 struct iris_resource *res = (void *) p_res; iris_resource_get_internal_format() local [all...] |
H A D | iris_resolve.c | 98 if (isv->res->base.b.target != PIPE_BUFFER) { in resolve_sampler_views() 100 disable_rb_aux_buffer(ice, draw_aux_buffer_disabled, isv->res, in resolve_sampler_views() 105 iris_resource_prepare_texture(ice, isv->res, isv->view.format, in resolve_sampler_views() 111 iris_emit_buffer_barrier_for(batch, isv->res->bo, in resolve_sampler_views() 129 struct iris_resource *res = (void *) pview->resource; in resolve_image_views() local 131 if (res->base.b.target != PIPE_BUFFER) { in resolve_image_views() 134 res, pview->u.tex.level, 1, in resolve_image_views() 144 iris_resource_prepare_access(ice, res, in resolve_image_views() 150 iris_emit_buffer_barrier_for(batch, res->bo, IRIS_DOMAIN_DATA_WRITE); in resolve_image_views() 221 struct iris_resource *res in iris_predraw_resolve_framebuffer() local 237 struct iris_resource *res = (void *) surf->base.texture; iris_predraw_resolve_framebuffer() local 317 struct iris_resource *res = (void *) surf->base.texture; iris_postdraw_update_resolve_tracking() local 383 struct iris_resource *res = (void *)cbuf->buffer; flush_ubos() local 399 struct iris_resource *res = (void *)ssbo->buffer; flush_ssbos() local 430 iris_resolve_color(struct iris_context *ice, struct iris_batch *batch, struct iris_resource *res, unsigned level, unsigned layer, enum isl_aux_op resolve_op) iris_resolve_color() argument 488 iris_mcs_partial_resolve(struct iris_context *ice, struct iris_batch *batch, struct iris_resource *res, uint32_t start_layer, uint32_t num_layers) iris_mcs_partial_resolve() argument 516 iris_sample_with_depth_aux(const struct intel_device_info *devinfo, const struct iris_resource *res) iris_sample_with_depth_aux() argument 559 iris_hiz_exec(struct iris_context *ice, struct iris_batch *batch, struct iris_resource *res, unsigned int level, unsigned int start_layer, unsigned int num_layers, enum isl_aux_op op, bool update_clear_depth) iris_hiz_exec() argument 650 iris_resource_level_has_hiz(const struct iris_resource *res, uint32_t level) iris_resource_level_has_hiz() argument 673 iris_resource_check_level_layer(UNUSED const struct iris_resource *res, UNUSED uint32_t level, UNUSED uint32_t layer) iris_resource_check_level_layer() argument 681 miptree_level_range_length(const struct iris_resource *res, uint32_t start_level, uint32_t num_levels) miptree_level_range_length() argument 697 miptree_layer_range_length(const struct iris_resource *res, uint32_t level, uint32_t start_layer, uint32_t num_layers) miptree_layer_range_length() argument 714 iris_has_invalid_primary(const struct iris_resource *res, unsigned start_level, unsigned num_levels, unsigned start_layer, unsigned num_layers) iris_has_invalid_primary() argument 740 iris_resource_prepare_access(struct iris_context *ice, struct iris_resource *res, uint32_t start_level, uint32_t num_levels, uint32_t start_layer, uint32_t num_layers, enum isl_aux_usage aux_usage, bool fast_clear_supported) iris_resource_prepare_access() argument 796 iris_resource_finish_write(struct iris_context *ice, struct iris_resource *res, uint32_t level, uint32_t start_layer, uint32_t num_layers, enum isl_aux_usage aux_usage) iris_resource_finish_write() argument 828 iris_resource_get_aux_state(const struct iris_resource *res, uint32_t level, uint32_t layer) iris_resource_get_aux_state() argument 844 iris_resource_set_aux_state(struct iris_context *ice, struct iris_resource *res, uint32_t level, uint32_t start_layer, uint32_t num_layers, enum isl_aux_state aux_state) iris_resource_set_aux_state() argument 881 iris_resource_texture_aux_usage(struct iris_context *ice, const struct iris_resource *res, enum isl_format view_format) iris_resource_texture_aux_usage() argument 945 struct iris_resource *res = (void *) pview->resource; iris_image_view_aux_usage() local 965 iris_can_sample_mcs_with_clear(const struct intel_device_info *devinfo, const struct iris_resource *res) iris_can_sample_mcs_with_clear() argument 1000 iris_resource_prepare_texture(struct iris_context *ice, struct iris_resource *res, enum isl_format view_format, uint32_t start_level, uint32_t num_levels, uint32_t start_layer, uint32_t num_layers) iris_resource_prepare_texture() argument 1053 iris_resource_render_aux_usage(struct iris_context *ice, struct iris_resource *res, uint32_t level, enum isl_format render_format, bool draw_aux_disabled) iris_resource_render_aux_usage() argument 1115 iris_resource_prepare_render(struct iris_context *ice, struct iris_resource *res, uint32_t level, uint32_t start_layer, uint32_t layer_count, enum isl_aux_usage aux_usage) iris_resource_prepare_render() argument 1126 iris_resource_finish_render(struct iris_context *ice, struct iris_resource *res, uint32_t level, uint32_t start_layer, uint32_t layer_count, enum isl_aux_usage aux_usage) iris_resource_finish_render() argument [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib643.c | 62 CURLcode res = CURLE_OK; in once() local 102 res = curl_mime_name(part, "sendfile"); in once() 103 if(!res) in once() 104 res = curl_mime_data_cb(part, datasize, read_callback, in once() 106 if(!res) in once() 107 res = curl_mime_filename(part, "postit2.c"); in once() 111 res = curl_mime_name(part, "sendfile alternative"); in once() 112 if(!res) in once() 113 res = curl_mime_data_cb(part, datasize, read_callback, in once() 115 if(!res) in once() 252 int res; test() local [all...] |
H A D | lib1536.c | 34 CURLcode res = CURLE_OK; in test() local 43 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme); in test() 44 if(res) { in test() 46 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test() 52 res = CURLE_FAILED_INIT; in test() 58 res = curl_easy_perform(curl); in test() 59 if(res) { in test() 61 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test() [all...] |
H A D | lib1534.c | 34 CURLcode res = CURLE_OK; in test() local 43 res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime); in test() 44 if(res) { in test() 46 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test() 52 res = CURLE_FAILED_INIT; in test() 59 res = curl_easy_perform(curl); in test() 60 if(res) { in test() 62 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test() [all...] |
H A D | lib1535.c | 34 CURLcode res = CURLE_OK; in test() local 44 res = curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol); in test() 46 if(res) { in test() 48 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test() 54 res = CURLE_FAILED_INIT; in test() 60 res = curl_easy_perform(curl); in test() 61 if(res) { in test() 63 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test() [all...] |
H A D | lib540.c | 54 int res = 0; in init() local 57 if(res) in init() 61 if(res) in init() 65 if(res) in init() 69 if(res) in init() 73 if(res) in init() 77 if(res) in init() 81 if(res) in init() 85 if(res) in init() 89 if(res) in init() 110 int res = 0; loop() local 200 int res = 0; test() local [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_resource.c | 172 struct crocus_resource *res, in crocus_resource_configure_main() 188 res->mod_info = isl_drm_modifier_get_info(modifier); in crocus_resource_configure_main() 190 tiling_flags = 1 << res->mod_info->tiling; in crocus_resource_configure_main() 194 res->mod_info = isl_drm_modifier_get_info(modifier); in crocus_resource_configure_main() 195 tiling_flags = 1 << res->mod_info->tiling; in crocus_resource_configure_main() 254 if (!isl_surf_init_s(&screen->isl_dev, &res->surf, &init_info)) in crocus_resource_configure_main() 263 if (res->surf.size_B > screen->aperture_threshold / 2) in crocus_resource_configure_main() 266 res->internal_format = templ->format; in crocus_resource_configure_main() 324 crocus_resource_disable_aux(struct crocus_resource *res) in crocus_resource_disable_aux() argument 326 crocus_bo_unreference(res in crocus_resource_disable_aux() 171 crocus_resource_configure_main(const struct crocus_screen *screen, struct crocus_resource *res, const struct pipe_resource *templ, uint64_t modifier, uint32_t row_pitch_B) crocus_resource_configure_main() argument 341 struct crocus_resource *res = (struct crocus_resource *)resource; crocus_resource_destroy() local 360 struct crocus_resource *res = calloc(1, sizeof(struct crocus_resource)); crocus_alloc_resource() local 377 crocus_get_num_logical_layers(const struct crocus_resource *res, unsigned level) crocus_get_num_logical_layers() argument 386 create_aux_state_map(struct crocus_resource *res, enum isl_aux_state initial) create_aux_state_map() argument 430 crocus_resource_configure_aux(struct crocus_screen *screen, struct crocus_resource *res, bool imported, uint64_t *aux_size_B, uint32_t *alloc_flags) crocus_resource_configure_aux() argument 566 crocus_resource_init_aux_buf(struct crocus_resource *res, uint32_t alloc_flags) crocus_resource_init_aux_buf() argument 593 crocus_resource_alloc_separate_aux(struct crocus_screen *screen, struct crocus_resource *res) crocus_resource_alloc_separate_aux() argument 623 crocus_resource_finish_aux_import(struct pipe_screen *pscreen, struct crocus_resource *res) crocus_resource_finish_aux_import() argument 652 struct crocus_resource *res = crocus_alloc_resource(pscreen, templ); crocus_resource_create_for_buffer() local 682 struct crocus_resource *res = crocus_alloc_resource(pscreen, templ); crocus_resource_create_with_modifiers() local 802 struct crocus_resource *res = crocus_alloc_resource(pscreen, templ); crocus_resource_from_user_memory() local 831 struct crocus_resource *res = crocus_alloc_resource(pscreen, templ); crocus_resource_from_handle() local 911 struct crocus_resource *res = crocus_alloc_resource(pscreen, templ); crocus_resource_from_memobj() local 939 struct crocus_resource *res = (void *) resource; crocus_flush_resource() local 953 struct crocus_resource *res = (struct crocus_resource *)resource; crocus_resource_disable_aux_on_first_query() local 980 struct crocus_resource *res = (struct crocus_resource *)resource; crocus_resource_get_param() local 1050 struct crocus_resource *res = (struct crocus_resource *)resource; crocus_resource_get_handle() local 1106 resource_is_busy(struct crocus_context *ice, struct crocus_resource *res) resource_is_busy() argument 1152 struct crocus_resource *res = (void *) resource; crocus_invalidate_resource() local 1238 struct crocus_resource *res = (void *) xfer->resource; crocus_map_copy_region() local 1307 crocus_resource_get_image_offset(struct crocus_resource *res, uint32_t level, uint32_t z, uint32_t *x, uint32_t *y) crocus_resource_get_image_offset() argument 1375 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; crocus_unmap_s8() local 1408 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; crocus_map_s8() local 1481 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; crocus_unmap_tiled_memcpy() local 1509 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; crocus_map_tiled_memcpy() local 1557 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; crocus_map_direct() local 1588 can_promote_to_async(const struct crocus_resource *res, const struct pipe_box *box, unsigned usage) can_promote_to_async() argument 1611 struct crocus_resource *res = (struct crocus_resource *)resource; crocus_transfer_map() local 1742 struct crocus_resource *res = (struct crocus_resource *) xfer->resource; crocus_transfer_flush_region() local 1813 crocus_dirty_for_history(struct crocus_context *ice, struct crocus_resource *res) crocus_dirty_for_history() argument 1830 crocus_flush_bits_for_history(struct crocus_resource *res) crocus_flush_bits_for_history() argument 1852 crocus_flush_and_dirty_for_history(struct crocus_context *ice, struct crocus_batch *batch, struct crocus_resource *res, uint32_t extra_flags, const char *reason) crocus_flush_and_dirty_for_history() argument 1869 crocus_resource_set_clear_color(struct crocus_context *ice, struct crocus_resource *res, union isl_color_value color) crocus_resource_set_clear_color() argument 1882 crocus_resource_get_clear_color(const struct crocus_resource *res) crocus_resource_get_clear_color() argument 1892 struct crocus_resource *res = (void *) p_res; crocus_resource_get_internal_format() local [all...] |
/third_party/mesa3d/src/gallium/winsys/virgl/vtest/ |
H A D | virgl_vtest_winsys.c | 40 struct virgl_hw_res *res); 42 struct virgl_hw_res *res); 53 static uint32_t vtest_get_transfer_size(struct virgl_hw_res *res, in vtest_get_transfer_size() argument 60 valid_stride = util_format_get_stride(res->format, box->width); in vtest_get_transfer_size() 66 valid_layer_stride = util_format_get_2d_size(res->format, valid_stride, in vtest_get_transfer_size() 79 struct virgl_hw_res *res, in virgl_vtest_transfer_put() 89 size = vtest_get_transfer_size(res, box, stride, layer_stride, level, in virgl_vtest_transfer_put() 92 virgl_vtest_send_transfer_put(vtws, res->res_handle, in virgl_vtest_transfer_put() 99 ptr = virgl_vtest_resource_map(vws, res); in virgl_vtest_transfer_put() 101 virgl_vtest_resource_unmap(vws, res); in virgl_vtest_transfer_put() 78 virgl_vtest_transfer_put(struct virgl_winsys *vws, struct virgl_hw_res *res, const struct pipe_box *box, uint32_t stride, uint32_t layer_stride, uint32_t buf_offset, uint32_t level) virgl_vtest_transfer_put() argument 106 virgl_vtest_transfer_get_internal(struct virgl_winsys *vws, struct virgl_hw_res *res, const struct pipe_box *box, uint32_t stride, uint32_t layer_stride, uint32_t buf_offset, uint32_t level, bool flush_front_buffer) virgl_vtest_transfer_get_internal() argument 163 virgl_vtest_transfer_get(struct virgl_winsys *vws, struct virgl_hw_res *res, const struct pipe_box *box, uint32_t stride, uint32_t layer_stride, uint32_t buf_offset, uint32_t level) virgl_vtest_transfer_get() argument 174 virgl_hw_res_destroy(struct virgl_vtest_winsys *vtws, struct virgl_hw_res *res) virgl_hw_res_destroy() argument 190 virgl_vtest_resource_is_busy(struct virgl_winsys *vws, struct virgl_hw_res *res) virgl_vtest_resource_is_busy() argument 239 struct virgl_hw_res *res; virgl_vtest_winsys_resource_create() local 326 virgl_vtest_resource_map(struct virgl_winsys *vws, struct virgl_hw_res *res) virgl_vtest_resource_map() argument 345 virgl_vtest_resource_unmap(struct virgl_winsys *vws, struct virgl_hw_res *res) virgl_vtest_resource_unmap() argument 356 virgl_vtest_resource_wait(struct virgl_winsys *vws, struct virgl_hw_res *res) virgl_vtest_resource_wait() argument 380 struct virgl_hw_res *res; virgl_vtest_winsys_resource_cache_create() local 417 virgl_vtest_lookup_res(struct virgl_vtest_cmd_buf *cbuf, struct virgl_hw_res *res) virgl_vtest_lookup_res() argument 450 virgl_vtest_add_res(struct virgl_vtest_winsys *vtws, struct virgl_vtest_cmd_buf *cbuf, struct virgl_hw_res *res) virgl_vtest_add_res() argument 520 struct virgl_hw_res *res; virgl_vtest_fence_create() local 556 virgl_vtest_emit_res(struct virgl_winsys *vws, struct virgl_cmd_buf *_cbuf, struct virgl_hw_res *res, boolean write_buf) virgl_vtest_emit_res() argument 570 virgl_vtest_res_is_ref(struct virgl_winsys *vws, struct virgl_cmd_buf *_cbuf, struct virgl_hw_res *res) virgl_vtest_res_is_ref() argument 604 struct virgl_hw_res *res = virgl_hw_res(fence); virgl_fence_wait() local 632 virgl_vtest_flush_frontbuffer(struct virgl_winsys *vws, struct virgl_hw_res *res, unsigned level, unsigned layer, void *winsys_drawable_handle, struct pipe_box *sub_box) virgl_vtest_flush_frontbuffer() argument 681 struct virgl_hw_res *res = cache_entry_container_res(entry); virgl_vtest_resource_cache_entry_is_busy() local 691 struct virgl_hw_res *res = cache_entry_container_res(entry); virgl_vtest_resource_cache_entry_release() local [all...] |
/third_party/node/deps/npm/node_modules/npm-package-arg/lib/ |
H A D | npa.js | 59 const res = new Result({ 67 res.setName(name) 71 return fromFile(res, where) 73 return fromAlias(res, where) 81 return fromHostedGit(res, hosted) 83 return fromURL(res) 85 return fromFile(res, where) 87 return fromRegistry(res) 94 const res = npa(arg) 96 if (res [all...] |
/third_party/node/test/parallel/ |
H A D | test-http-content-length-mismatch.js | 8 const server = http.createServer(common.mustCall((req, res) => { 9 res.strictContentLength = true; 10 res.setHeader('Content-Length', 5); 11 res.write('hello'); 13 res.write('a'); 17 res.statusCode = 200; 18 res.end(); 24 }, common.mustCall((res) => { 25 res.resume(); 26 assert.strictEqual(res [all...] |
H A D | test-http-generic-streams.js | 10 const server = http.createServer(common.mustCall((req, res) => { 11 res.statusCode = 200; 12 res.setHeader('Content-Type', 'text/plain'); 13 res.end(testData); 21 }, common.mustCall((res) => { 22 res.setEncoding('utf8'); 23 res.on('data', common.mustCall((data) => { 26 res.on('end', common.mustCall()); 34 const server = http.createServer(common.mustCall((req, res) => { 35 res [all...] |
H A D | test-http-mutable-headers.js | 42 const s = http.createServer(common.mustCall((req, res) => { 46 const headers = res.getHeaders(); 49 assert.deepStrictEqual(res.getHeaderNames(), []); 50 assert.deepStrictEqual(res.getRawHeaderNames(), []); 51 assert.strictEqual(res.hasHeader('Connection'), false); 52 assert.strictEqual(res.getHeader('Connection'), undefined); 55 () => res.setHeader(), 63 () => res.setHeader('someHeader'), 71 () => res.getHeader(), 80 () => res [all...] |
H A D | test-http-response-statuscode.js | 10 function test(res, header, code) { 12 res.writeHead(header); 20 const server = http.Server(common.mustCall(function(req, res) { 23 test(res, -1, '-1'); 26 test(res, Infinity, 'Infinity'); 29 test(res, NaN, 'NaN'); 32 test(res, {}, '{}'); 35 test(res, 99, '99'); 38 test(res, 1000, '1000'); 41 test(res, '100 [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | shader_query.cpp | 45 program_resource_location(struct gl_program_resource *res, 53 const type * RESOURCE_ ## name (gl_program_resource *res) { \ 54 assert(res->Data); \ 55 return (type *) res->Data; \ 188 struct gl_program_resource *res = in _mesa_GetActiveAttrib() local 193 if (!res) { in _mesa_GetActiveAttrib() 198 const gl_shader_variable *const var = RESOURCE_VAR(res); in _mesa_GetActiveAttrib() 205 _mesa_program_resource_prop(shProg, res, desired_index, GL_ARRAY_SIZE, in _mesa_GetActiveAttrib() 209 _mesa_program_resource_prop(shProg, res, desired_index, GL_TYPE, in _mesa_GetActiveAttrib() 239 struct gl_program_resource *res in _mesa_GetAttribLocation() local 257 struct gl_program_resource *res = shProg->data->ProgramResourceList; _mesa_count_active_attribs() local 277 struct gl_program_resource *res = shProg->data->ProgramResourceList; _mesa_longest_attribute_name_length() local 448 struct gl_program_resource *res = _mesa_GetFragDataLocation() local 459 _mesa_program_resource_name(struct gl_program_resource *res) _mesa_program_resource_name() argument 494 _mesa_program_resource_name_length(struct gl_program_resource *res) _mesa_program_resource_name_length() argument 529 _mesa_program_get_resource_name(struct gl_program_resource *res, struct gl_resource_name *out) _mesa_program_get_resource_name() argument 573 _mesa_program_resource_array_size(struct gl_program_resource *res) _mesa_program_resource_array_size() argument 683 struct gl_program_resource *res = _mesa_program_resource_find_name() local 815 struct gl_program_resource *res = shProg->data->ProgramResourceList; program_resource_find_binding_offset() local 879 struct gl_program_resource *res; _mesa_program_resource_find_active_variable() local 900 calc_resource_index(struct gl_shader_program *shProg, struct gl_program_resource *res) calc_resource_index() argument 918 _mesa_program_resource_index(struct gl_shader_program *shProg, struct gl_program_resource *res) _mesa_program_resource_index() argument 949 struct gl_program_resource *res = shProg->data->ProgramResourceList; program_resource_find_data() local 964 struct gl_program_resource *res = shProg->data->ProgramResourceList; _mesa_program_resource_find_index() local 1025 add_index_to_name(struct gl_program_resource *res) add_index_to_name() argument 1037 _mesa_program_resource_name_length_array(struct gl_program_resource *res) _mesa_program_resource_name_length_array() argument 1064 struct gl_program_resource *res = _mesa_get_program_resource_name() local 1110 program_resource_location(struct gl_program_resource *res, unsigned array_index) program_resource_location() argument 1190 struct gl_program_resource *res = _mesa_program_resource_location() local 1202 _get_resource_location_index(struct gl_program_resource *res) _get_resource_location_index() argument 1226 struct gl_program_resource *res = _mesa_program_resource_location_index() local 1259 is_resource_referenced(struct gl_shader_program *shProg, struct gl_program_resource *res, GLuint index, uint8_t stage) is_resource_referenced() argument 1280 get_buffer_property(struct gl_shader_program *shProg, struct gl_program_resource *res, const GLenum prop, GLint *val, bool glthread, const char *caller) get_buffer_property() argument 1438 _mesa_program_resource_prop(struct gl_shader_program *shProg, struct gl_program_resource *res, GLuint index, const GLenum prop, GLint *val, bool glthread, const char *caller) _mesa_program_resource_prop() argument 1711 struct gl_program_resource *res = _mesa_get_program_resourceiv() local 1911 struct gl_program_resource *res = validate_io() local 1932 struct gl_program_resource *res = validate_io() local 2154 struct gl_program_resource *res = shProg->data->ProgramResourceList; _mesa_create_program_resource_hash() local [all...] |
/third_party/lwip/test/unit/mdns/ |
H A D | test_mdns.c | 374 err_t res; in START_TEST() local 378 res = mdns_domain_add_label(&domain, "multi", 5); in START_TEST() 379 fail_unless(res == ERR_OK); in START_TEST() 380 res = mdns_domain_add_label(&domain, "cast", 4); in START_TEST() 381 fail_unless(res == ERR_OK); in START_TEST() 382 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST() 383 fail_unless(res == ERR_OK); in START_TEST() 393 err_t res; in START_TEST() local 397 res = mdns_domain_add_label(&domain, "multi", 5); in START_TEST() 398 fail_unless(res in START_TEST() 408 err_t res; START_TEST() local 460 err_t res; START_TEST() local 487 err_t res; START_TEST() local 513 err_t res; START_TEST() local 541 err_t res; START_TEST() local 571 err_t res; START_TEST() local 602 err_t res; START_TEST() local 637 err_t res; START_TEST() local 674 err_t res; START_TEST() local 709 err_t res; START_TEST() local 743 err_t res; START_TEST() local 778 err_t res; START_TEST() local 815 err_t res; START_TEST() local 855 err_t res; START_TEST() local [all...] |
/third_party/lzma/CPP/Common/ |
H A D | StringToInt.cpp | 14 uintType res = 0; \
17 if (c < '0' || c > '9') { if (end) *end = s; return res; } \
18 if (res > (k_ ## uintType ## _max) / 10) return 0; \
19 res *= 10; \
21 if (res > (k_ ## uintType ## _max) - v) return 0; \
22 res += v; }}
40 UInt32 res = ConvertStringToUInt32(s2, &end2);
43 if (res > ((UInt32)1 << (32 - 1)))
46 else if ((res & ((UInt32)1 << (32 - 1))) != 0)
51 return -(Int32)res;
66 UInt32 res = ConvertStringToUInt32(s2, &end2); ConvertStringToInt32() local 85 UInt32 res = 0; ConvertOctStringToUInt32() local 106 UInt64 res = 0; ConvertOctStringToUInt64() local 127 UInt32 res = 0; ConvertHexStringToUInt32() local 152 UInt64 res = 0; ConvertHexStringToUInt64() local [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_config_test.cc | 75 auto res = parse_log_format( in test_shrpx_config_parse_log_format() local 80 CU_ASSERT(16 == res.size()); in test_shrpx_config_parse_log_format() 82 CU_ASSERT(LogFragmentType::REMOTE_ADDR == res[0].type); in test_shrpx_config_parse_log_format() 84 CU_ASSERT(LogFragmentType::LITERAL == res[1].type); in test_shrpx_config_parse_log_format() 85 CU_ASSERT(" - $remote_user [" == res[1].value); in test_shrpx_config_parse_log_format() 87 CU_ASSERT(LogFragmentType::TIME_LOCAL == res[2].type); in test_shrpx_config_parse_log_format() 89 CU_ASSERT(LogFragmentType::LITERAL == res[3].type); in test_shrpx_config_parse_log_format() 90 CU_ASSERT("] \"" == res[3].value); in test_shrpx_config_parse_log_format() 92 CU_ASSERT(LogFragmentType::REQUEST == res[4].type); in test_shrpx_config_parse_log_format() 94 CU_ASSERT(LogFragmentType::LITERAL == res[ in test_shrpx_config_parse_log_format() [all...] |
/third_party/lzma/CPP/Windows/ |
H A D | Registry.cpp | 44 LONG res = RegCreateKeyEx(parentKey, keyName, 0, keyClass,
in Create() local 48 if (res == ERROR_SUCCESS)
in Create() 50 res = Close();
in Create() 53 return res;
in Create() 60 LONG res = RegOpenKeyEx(parentKey, keyName, 0, accessMask, &key);
in Open() local 61 if (res == ERROR_SUCCESS)
in Open() 63 res = Close();
in Open() 64 MYASSERT(res == ERROR_SUCCESS);
in Open() 67 return res;
in Open() 72 LONG res in Close() local 92 LONG res = key.Open(_object, subKeyName, KEY_READ | KEY_WRITE); RecurseDeleteKey() local 192 LONG res = key.Create(parentKey, keyName); SetValue() local 202 LONG res = key.Create(_object, keyName); SetKeyValue() local 212 LONG res = RegQueryValueEx(_object, name, NULL, &type, QueryValue() local 222 LONG res = QueryValue(name, uintValue); QueryValue() local 230 LONG res = QueryValue(name, newVal); GetValue_IfOk() local 239 LONG res = QueryValue(name, newVal); GetValue_IfOk() local 248 LONG res = RegQueryValueEx(_object, name, NULL, &type, (LPBYTE)value, (DWORD *)&count); QueryValue() local 258 LONG res = RegQueryValueEx(_object, name, NULL, &type, NULL, (DWORD *)&curSize); QueryValue() local 275 LONG res = RegQueryValueExW(_object, name, NULL, &type, (LPBYTE)value, (DWORD *)&count); QueryValue() local 286 LONG res; QueryValue() local 315 LONG res = RegQueryValueEx(_object, name, NULL, &type, (LPBYTE)value, (DWORD *)&count); QueryValue() local 325 LONG res = RegQueryValueEx(_object, name, NULL, &type, NULL, (DWORD *)&dataSize); QueryValue() local 380 LONG res = QueryValue(valueName, buffer, dataSize); GetValue_Strings() local [all...] |