Home
last modified time | relevance | path

Searched refs:ud (Results 1 – 25 of 99) sorted by relevance

1234

/third_party/skia/experimental/graphite/src/
DUniformCache.cpp15 size_t UniformCache::Hash::operator()(sk_sp<UniformData> ud) const { in operator ()()
16 return SkOpts::hash_fn(ud->data(), ud->dataSize(), 0); in operator ()()
35 sk_sp<UniformData> UniformCache::findOrCreate(sk_sp<UniformData> ud) { in findOrCreate() argument
37 auto iter = fUniformDataHash.find(ud); in findOrCreate()
43 ud->setID(fNextUniqueID++); in findOrCreate()
44 fUniformDataHash.insert(ud); in findOrCreate()
45 fUniformDataVector.push_back(ud); in findOrCreate()
46 SkASSERT(fUniformDataVector[ud->id()] == ud); in findOrCreate()
47 return ud; in findOrCreate()
DDrawPass.cpp294 auto ud = lookup(recorder, key.shadingUniforms()); in Make() local
296 auto [writer, bufferInfo] = bufferMgr->getUniformWriter(ud->dataSize()); in Make()
297 writer.write(ud->data(), ud->dataSize()); in Make()
/third_party/nghttp2/tests/
Dnghttp2_session_test.c199 my_user_data *ud = (my_user_data *)user_data; in on_begin_frame_callback() local
203 ++ud->begin_frame_cb_called; in on_begin_frame_callback()
209 my_user_data *ud = (my_user_data *)user_data; in on_frame_recv_callback() local
212 ++ud->frame_recv_cb_called; in on_frame_recv_callback()
213 ud->recv_frame_type = frame->hd.type; in on_frame_recv_callback()
214 ud->recv_frame_hd = frame->hd; in on_frame_recv_callback()
222 my_user_data *ud = (my_user_data *)user_data; in on_invalid_frame_recv_callback() local
227 ++ud->invalid_frame_recv_cb_called; in on_invalid_frame_recv_callback()
233 my_user_data *ud = (my_user_data *)user_data; in on_frame_send_callback() local
236 ++ud->frame_send_cb_called; in on_frame_send_callback()
[all …]
Dfailmalloc_test.c88 my_user_data *ud = (my_user_data *)user_data; in fixed_length_data_source_read_callback() local
95 if (len < ud->data_source_length) { in fixed_length_data_source_read_callback()
98 wlen = ud->data_source_length; in fixed_length_data_source_read_callback()
100 ud->data_source_length -= wlen; in fixed_length_data_source_read_callback()
101 if (ud->data_source_length == 0) { in fixed_length_data_source_read_callback()
134 my_user_data ud; in run_nghttp2_session_send() local
140 ud.data_source_length = 64 * 1024; in run_nghttp2_session_send()
147 rv = nghttp2_session_client_new3(&session, &callbacks, &ud, NULL, in run_nghttp2_session_send()
286 my_user_data ud; in run_nghttp2_session_recv() local
300 ud.df = &df; in run_nghttp2_session_recv()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/compression/
DDecompressionTest.java141 UnicodeDecompressor ud = new UnicodeDecompressor(); in TestDecompress() local
143 ud.decompress(null, 0, 0, null, null, 4, 0); in TestDecompress()
148 ud.decompress(null, 0, 0, null, charBufferBlank, 4, 0); in TestDecompress()
153 ud.decompress(null, 0, 0, null, charBuffer1, 4, 0); in TestDecompress()
159 ud.decompress(null, 0, 0, null, charValid, 0, 0); in TestDecompress()
164 ud.decompress(null, 0, 0, null, charValid, 1, 0); in TestDecompress()
169 ud.decompress(null, 0, 0, null, charValid, 1, 1); in TestDecompress()
174 ud.decompress(null, 0, 0, null, charValid, 0, 1); in TestDecompress()
179 ud = new UnicodeDecompressor(); in TestDecompress()
239 ud.decompress(b, 0, b.length, null, c, 0, c.length); in TestDecompress()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
DDecompressionTest.java138 UnicodeDecompressor ud = new UnicodeDecompressor(); in TestDecompress() local
140 ud.decompress(null, 0, 0, null, null, 4, 0); in TestDecompress()
145 ud.decompress(null, 0, 0, null, charBufferBlank, 4, 0); in TestDecompress()
150 ud.decompress(null, 0, 0, null, charBuffer1, 4, 0); in TestDecompress()
156 ud.decompress(null, 0, 0, null, charValid, 0, 0); in TestDecompress()
161 ud.decompress(null, 0, 0, null, charValid, 1, 0); in TestDecompress()
166 ud.decompress(null, 0, 0, null, charValid, 1, 1); in TestDecompress()
171 ud.decompress(null, 0, 0, null, charValid, 0, 1); in TestDecompress()
176 ud = new UnicodeDecompressor(); in TestDecompress()
236 ud.decompress(b, 0, b.length, null, c, 0, c.length); in TestDecompress()
/third_party/nghttp2/src/
Dshrpx_mruby_module_env.cc61 auto data = reinterpret_cast<MRubyAssocData *>(mrb->ud); in env_get_ctx()
78 auto data = static_cast<MRubyAssocData *>(mrb->ud); in env_get_phase()
86 auto data = static_cast<MRubyAssocData *>(mrb->ud); in env_get_remote_addr()
99 auto data = static_cast<MRubyAssocData *>(mrb->ud); in env_get_server_port()
111 auto data = static_cast<MRubyAssocData *>(mrb->ud); in env_get_server_addr()
123 auto data = static_cast<MRubyAssocData *>(mrb->ud); in env_get_tls_used()
134 auto data = static_cast<MRubyAssocData *>(mrb->ud); in env_get_tls_sni()
146 auto data = static_cast<MRubyAssocData *>(mrb->ud); in env_get_tls_client_fingerprint_md()
198 auto data = static_cast<MRubyAssocData *>(mrb->ud); in env_get_tls_client_subject_name()
228 auto data = static_cast<MRubyAssocData *>(mrb->ud); in env_get_tls_client_issuer_name()
[all …]
Dshrpx_mruby_module_request.cc51 auto data = static_cast<MRubyAssocData *>(mrb->ud); in request_get_http_version_major()
60 auto data = static_cast<MRubyAssocData *>(mrb->ud); in request_get_http_version_minor()
69 auto data = static_cast<MRubyAssocData *>(mrb->ud); in request_get_method()
80 auto data = static_cast<MRubyAssocData *>(mrb->ud); in request_set_method()
106 auto data = static_cast<MRubyAssocData *>(mrb->ud); in request_get_authority()
116 auto data = static_cast<MRubyAssocData *>(mrb->ud); in request_set_authority()
140 auto data = static_cast<MRubyAssocData *>(mrb->ud); in request_get_scheme()
150 auto data = static_cast<MRubyAssocData *>(mrb->ud); in request_set_scheme()
174 auto data = static_cast<MRubyAssocData *>(mrb->ud); in request_get_path()
184 auto data = static_cast<MRubyAssocData *>(mrb->ud); in request_set_path()
[all …]
Dshrpx_mruby_module_response.cc51 auto data = static_cast<MRubyAssocData *>(mrb->ud); in response_get_http_version_major()
60 auto data = static_cast<MRubyAssocData *>(mrb->ud); in response_get_http_version_minor()
69 auto data = static_cast<MRubyAssocData *>(mrb->ud); in response_get_status()
78 auto data = static_cast<MRubyAssocData *>(mrb->ud); in response_set_status()
98 auto data = static_cast<MRubyAssocData *>(mrb->ud); in response_get_headers()
108 auto data = static_cast<MRubyAssocData *>(mrb->ud); in response_mod_header()
192 auto data = static_cast<MRubyAssocData *>(mrb->ud); in response_clear_headers()
204 auto data = static_cast<MRubyAssocData *>(mrb->ud); in response_return()
281 auto data = static_cast<MRubyAssocData *>(mrb->ud); in response_send_info()
Dshrpx_mruby.cc56 mrb_->ud = &data; in run_app()
97 mrb_->ud = nullptr; in run_app()
119 mrb->ud = nullptr; in instantiate_app()
/third_party/skia/tests/graphite/
DUniformTest.cpp84 auto [ actual, ud] = ExtractCombo(&cache, p); in DEF_GRAPHITE_TEST()
86 REPORTER_ASSERT(reporter, expectedNumUniforms == ud->count()); in DEF_GRAPHITE_TEST()
87 for (int i = 0; i < ud->count(); ++i) { in DEF_GRAPHITE_TEST()
88 REPORTER_ASSERT(reporter, ud->offset(i) >= 0 && ud->offset(i) < ud->dataSize()); in DEF_GRAPHITE_TEST()
90 REPORTER_ASSERT(reporter, ud->id() != UniformData::kInvalidUniformID); in DEF_GRAPHITE_TEST()
DUniformCacheTest.cpp30 sk_sp<UniformData> ud = UniformData::Make(numUniforms, kUniforms, dataSize); in make_ud() local
32 ud->offsets()[i] = i; in make_ud()
35 ud->data()[i] = i % 255; in make_ud()
38 return ud; in make_ud()
/third_party/mesa3d/src/intel/compiler/
Dbrw_lower_logical_sends.cpp166 inst->src[FB_WRITE_LOGICAL_SRC_COMPONENTS].ud; in lower_fb_write_logical_send()
676 return sampler.file != IMM || sampler.ud >= 16; in is_high_sampler()
888 assert(sampler.ud >= 16); in lower_sampler_logical_send_gfx7()
892 brw_imm_ud(16 * (sampler.ud / 16) * sampler_state_size)); in lower_sampler_logical_send_gfx7()
1106 inst->desc = brw_sampler_desc(devinfo, surface.ud, in lower_sampler_logical_send_gfx7()
1107 sampler.file == IMM ? sampler.ud % 16 : 0, in lower_sampler_logical_send_gfx7()
1118 sampler.file == IMM ? sampler.ud % 16 : 0, in lower_sampler_logical_send_gfx7()
1156 ubld.OR(desc, surface, brw_imm_ud(sampler.ud << 8)); in lower_sampler_logical_send_gfx7()
1259 const unsigned coord_components = inst->src[TEX_LOGICAL_SRC_COORD_COMPONENTS].ud; in lower_sampler_logical_send()
1261 const unsigned grad_components = inst->src[TEX_LOGICAL_SRC_GRAD_COMPONENTS].ud; in lower_sampler_logical_send()
[all …]
Dbrw_shader.cpp572 unsigned ud; in brw_saturate_immediate() member
585 imm.ud = reg->ud; in brw_saturate_immediate()
618 if (imm.ud != sat_imm.ud) { in brw_saturate_immediate()
619 reg->ud = sat_imm.ud; in brw_saturate_immediate()
641 uint16_t value = -(int16_t)reg->ud; in brw_negate_immediate()
642 reg->ud = value | (uint32_t)value << 16; in brw_negate_immediate()
649 reg->ud ^= 0x80808080; in brw_negate_immediate()
665 reg->ud ^= 0x80008000; in brw_negate_immediate()
682 uint16_t value = abs((int16_t)reg->ud); in brw_abs_immediate()
683 reg->ud = value | (uint32_t)value << 16; in brw_abs_immediate()
[all …]
Dbrw_reg.h247 unsigned ud; member
281 return a->ud == (b->ud ^ 0x80808080); in brw_regs_negative_equal()
688 brw_imm_ud(unsigned ud) in brw_imm_ud() argument
691 imm.ud = ud; in brw_imm_ud()
700 imm.ud = uw | (uw << 16); in brw_imm_uw()
709 imm.ud = (uint16_t)w | (uint32_t)(uint16_t)w << 16; in brw_imm_w()
722 imm.ud = v; in brw_imm_v()
731 imm.ud = uv; in brw_imm_uv()
740 imm.ud = v; in brw_imm_vf()
751 imm.ud = ((v0 << 0) | (v1 << 8) | (v2 << 16) | (v3 << 24)); in brw_imm_vf4()
[all …]
Dbrw_fs_combine_constants.cpp256 memcpy(out, &src->ud, 4); in get_constant_value()
266 memcpy(out, &src->ud, 2); in get_constant_value()
352 representable_as_uw(unsigned ud, uint16_t *uw) in representable_as_uw() argument
354 if (!(ud & 0xffff0000)) { in representable_as_uw()
355 *uw = ud; in representable_as_uw()
410 if (representable_as_uw(inst->src[src_idx].ud, &uw)) { in can_promote_src_as_imm()
593 assert((reg->ud & 0xffffu) == (uint16_t) table.imm[i].w); in opt_combine_constants()
Dbrw_vec4_generator.cpp276 uint32_t surface = surface_index.ud; in generate_tex()
277 uint32_t sampler = sampler_index.ud; in generate_tex()
306 brw_OR(p, addr, surface_reg, brw_imm_ud(sampler_reg.ud << 8)); in generate_tex()
436 src1.ud <= USHRT_MAX); in generate_gs_set_write_offset()
439 brw_imm_ud(src0.ud * src1.ud)); in generate_gs_set_write_offset()
442 src1 = brw_imm_uw(src1.ud); in generate_gs_set_write_offset()
813 uint32_t vertex_index = vertex.ud; in generate_tcs_input_urb_offsets()
871 unsigned mask = write_mask.ud; in generate_tcs_output_urb_offsets()
981 retype(brw_vec2_grf(1 + (vertex.ud >> 3), vertex.ud & 7), in generate_tcs_release_input()
999 brw_inst_set_urb_swizzle_control(devinfo, send, is_unpaired.ud ? in generate_tcs_release_input()
[all …]
Dbrw_fs_generator.cpp338 if (ex_desc.file != BRW_IMMEDIATE_VALUE || ex_desc.ud || ex_desc_imm) { in generate_send()
469 imm_byte_offset += indirect_byte_offset.ud; in generate_mov_indirect()
634 const unsigned i = idx.file == BRW_IMMEDIATE_VALUE ? idx.ud : 0; in generate_shuffle()
980 surf_index.ud, in generate_get_buffer_size()
1205 surface_index.ud, in generate_tex()
1206 sampler_index.ud % 16, in generate_tex()
1522 uint32_t surf_index = index.ud; in generate_uniform_pull_constant_load()
1526 uint32_t read_offset = offset.ud; in generate_uniform_pull_constant_load()
1544 const uint32_t surf_index = index.ud; in generate_uniform_pull_constant_load_gfx7()
1604 uint32_t surf_index = index.ud; in generate_varying_pull_constant_load_gfx4()
[all …]
Dbrw_fs.cpp366 switch (src[1].ud) { in has_source_and_destination_hazard()
677 return src[FB_WRITE_LOGICAL_SRC_COMPONENTS].ud; in components_read()
701 return src[TEX_LOGICAL_SRC_COORD_COMPONENTS].ud; in components_read()
705 return src[TEX_LOGICAL_SRC_GRAD_COMPONENTS].ud; in components_read()
725 return src[SURFACE_LOGICAL_SRC_IMM_DIMS].ud; in components_read()
738 return src[SURFACE_LOGICAL_SRC_IMM_DIMS].ud; in components_read()
741 return src[SURFACE_LOGICAL_SRC_IMM_ARG].ud; in components_read()
754 const unsigned comps = src[2].ud / exec_size; in components_read()
769 const unsigned comps = src[SURFACE_LOGICAL_SRC_IMM_ARG].ud / exec_size; in components_read()
778 return i == 1 ? src[2].ud : 1; in components_read()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/
DSDL_yuv_mmx.c31 static mmx_t MMX_0080w = { .ud = {0x00800080, 0x00800080} };
32 static mmx_t MMX_00FFw = { .ud = {0x00ff00ff, 0x00ff00ff} };
33 static mmx_t MMX_FF00w = { .ud = {0xff00ff00, 0xff00ff00} };
/third_party/libinput/test/
Dtest-quirks.c917 struct udev_device *ud = libinput_device_get_udev_device(dev->libinput_device); in test_attr_parse() local
939 q = quirks_fetch_for_device(ctx, ud); in test_attr_parse()
951 udev_device_unref(ud); in test_attr_parse()
1288 struct udev_device *ud = libinput_device_get_udev_device(dev->libinput_device); in START_TEST() local
1305 q = quirks_fetch_for_device(ctx, ud); in START_TEST()
1314 udev_device_unref(ud); in START_TEST()
1321 struct udev_device *ud = libinput_device_get_udev_device(dev->libinput_device); in START_TEST() local
1338 q = quirks_fetch_for_device(ctx, ud); in START_TEST()
1347 udev_device_unref(ud); in START_TEST()
1354 struct udev_device *ud = libinput_device_get_udev_device(dev->libinput_device); in START_TEST() local
[all …]
/third_party/libinput/src/
Dudev-seat.c58 struct udev_device *ud; in filter_duplicates() local
60 ud = libinput_device_get_udev_device(device); in filter_duplicates()
61 if (!ud) in filter_duplicates()
64 syspath = udev_device_get_syspath(ud); in filter_duplicates()
67 udev_device_unref(ud); in filter_duplicates()
/third_party/libphonenumber/resources/geocoding/en/
D40.txt51 40263|Bistrița-Năsăud
92 40363|Bistrița-Năsăud
/third_party/libphonenumber/resources/geocoding/ro/
D40.txt52 40263|Bistrița-Năsăud
93 40363|Bistrița-Năsăud
/third_party/python/Lib/test/
Dmapping_tests.py443 ud = mydict.fromkeys('ab')
444 self.assertEqual(ud, {'a':None, 'b':None})
445 self.assertIsInstance(ud, collections.UserDict)
571 ud = mydict.fromkeys('ab')
572 self.assertEqual(ud, {'a':None, 'b':None})
573 self.assertIsInstance(ud, collections.UserDict)

1234