/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/ |
D | vkTypeUtil.inl | 9 VkOffset2D res; local 10 res.x = x; 11 res.y = y; 12 return res; 17 VkOffset3D res; local 18 res.x = x; 19 res.y = y; 20 res.z = z; 21 return res; 26 VkExtent2D res; local [all …]
|
/third_party/libfuse/test/ |
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 == -1) { [all …]
|
/third_party/jerryscript/tests/jerry/ |
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.length === 0); [all …]
|
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 = str.slice(-12, undefined); [all …]
|
/third_party/libfuse/example/ |
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] = '\0'; in xmp_readlink() [all …]
|
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 == -1) in xmp_readlink() [all …]
|
/third_party/lwip/test/unit/mdns/ |
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 == ERR_OK); in START_TEST() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
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 [all …]
|
/third_party/mesa3d/src/gallium/winsys/virgl/vtest/ |
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() argument 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() [all …]
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_resource.c | 172 struct crocus_resource *res, in crocus_resource_configure_main() argument 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->aux.bo); in crocus_resource_disable_aux() [all …]
|
/third_party/node/test/parallel/ |
D | test-http-early-hints.js | 12 const server = http.createServer(common.mustCall((req, res) => { 14 res.writeEarlyHints({ 19 res.end(testResBody); 29 req.on('information', common.mustCall((res) => { 30 assert.strictEqual(res.headers.link, '</styles.css>; rel=preload; as=style'); 33 req.on('response', common.mustCall((res) => { 36 assert.strictEqual(res.statusCode, 200, `Final status code was ${res.statusCode}, not 200.`); 38 res.on('data', (chunk) => { 42 res.on('end', common.mustCall(() => { 56 const server = http.createServer(common.mustCall((req, res) => { [all …]
|
D | test-http-response-setheaders.js | 7 const server = http.createServer({ requireHostHeader: false }, common.mustCall((req, res) => { 8 res.writeHead(200); // Headers already sent 11 res.setHeaders(headers); 15 res.end(); 19 http.get({ port: server.address().port }, (res) => { 20 assert.strictEqual(res.headers.foo, undefined); 21 res.resume().on('end', common.mustCall(() => { 29 const server = http.createServer({ requireHostHeader: false }, common.mustCall((req, res) => { 31 res.setHeaders(['foo', '1']); 36 res.setHeaders({ foo: '1' }); [all …]
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
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->aux.state); in iris_resource_disable_aux() [all …]
|
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 = (void *) cso_fb->cbufs[i]->texture; in iris_predraw_resolve_framebuffer() local [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders-msl-no-opt/frag/ |
D | fp16.desktop.invalid.frag | 58 f16vec4 res; 59 res = radians(v4); 60 res = degrees(v4); 61 res = sin(v4); 62 res = cos(v4); 63 res = tan(v4); 64 res = asin(v4); 65 res = atan(v4, v3.xyzz); 66 res = atan(v4); 67 res = sinh(v4); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders-no-opt/frag/ |
D | fp16.invalid.desktop.frag | 58 f16vec4 res; 59 res = radians(v4); 60 res = degrees(v4); 61 res = sin(v4); 62 res = cos(v4); 63 res = tan(v4); 64 res = asin(v4); 65 res = atan(v4, v3.xyzz); 66 res = atan(v4); 67 res = sinh(v4); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl-no-opt/frag/ |
D | fp16.invalid.desktop.frag | 61 f16vec4 res; 62 res = radians(v4); 63 res = degrees(v4); 64 res = sin(v4); 65 res = cos(v4); 66 res = tan(v4); 67 res = asin(v4); 68 res = atan(v4, v3.xyzz); 69 res = atan(v4); 70 res = sinh(v4); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders-no-opt/comp/ |
D | glsl.std450.comp | 6 float res; 27 res = round(f32.x); 28 res = roundEven(f32.x); 29 res = trunc(f32.x); 30 res = abs(f32.x); 32 res = sign(f32.x); 34 res = floor(f32.x); 35 res = ceil(f32.x); 36 res = fract(f32.x); 37 res = radians(f32.x); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl-no-opt/comp/ |
D | glsl.std450.fxconly.comp | 6 float res; 27 res = round(f32.x); 28 //res = roundEven(f32.x); 29 res = trunc(f32.x); 30 res = abs(f32.x); 32 res = sign(f32.x); 34 res = floor(f32.x); 35 res = ceil(f32.x); 36 res = fract(f32.x); 37 res = radians(f32.x); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders-msl-no-opt/comp/ |
D | glsl.std450.comp | 6 float res; 27 res = round(f32.x); 28 res = roundEven(f32.x); 29 res = trunc(f32.x); 30 res = abs(f32.x); 32 res = sign(f32.x); 34 res = floor(f32.x); 35 res = ceil(f32.x); 36 res = fract(f32.x); 37 res = radians(f32.x); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-no-opt/frag/ |
D | fp16.invalid.desktop.frag | 65 f16vec4 res = radians(v4); 66 res = degrees(v4); 67 res = sin(v4); 68 res = cos(v4); 69 res = tan(v4); 70 res = asin(v4); 71 res = atan(v4, v3.xyzz); 72 res = atan(v4); 73 res = sinh(v4); 74 res = cosh(v4); [all …]
|
/third_party/curl/tests/libtest/ |
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() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/tools/sva/src/ |
D | assembler_test.js | 48 let res = a.assemble(); variable 49 assert.equal(res[0], 0x07230203); 62 let res = a.assemble(); 64 assert.lengthOf(res, 11); 65 assert.equal(res[5], (6 /* word count */ << 16) | 16 /* opcode */); 66 assert.equal(res[6], 1 /* %main */); 67 assert.equal(res[7], 17 /* LocalSize */); 68 assert.equal(res[8], 2); 69 assert.equal(res[9], 3); 70 assert.equal(res[10], 4); [all …]
|
/third_party/spirv-tools/tools/sva/src/ |
D | assembler_test.js | 48 let res = a.assemble(); variable 49 assert.equal(res[0], 0x07230203); 62 let res = a.assemble(); 64 assert.lengthOf(res, 11); 65 assert.equal(res[5], (6 /* word count */ << 16) | 16 /* opcode */); 66 assert.equal(res[6], 1 /* %main */); 67 assert.equal(res[7], 17 /* LocalSize */); 68 assert.equal(res[8], 2); 69 assert.equal(res[9], 3); 70 assert.equal(res[10], 4); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/src/ |
D | assembler_test.js | 48 let res = a.assemble(); variable 49 assert.equal(res[0], 0x07230203); 62 let res = a.assemble(); 64 assert.lengthOf(res, 11); 65 assert.equal(res[5], (6 /* word count */ << 16) | 16 /* opcode */); 66 assert.equal(res[6], 1 /* %main */); 67 assert.equal(res[7], 17 /* LocalSize */); 68 assert.equal(res[8], 2); 69 assert.equal(res[9], 3); 70 assert.equal(res[10], 4); [all …]
|