/third_party/backends/backend/genesys/ |
H A D | gl847.cpp | 298 dev.interface->write_ahb(0x01000a00, phase_table.size(), phase_table.data()); in gl847_write_motor_phase_table() 375 dist = scan_table.table.size(); in gl847_init_motor_regs_scan() 410 unsigned min_restep = scan_table.table.size() / (2 * step_multiplier) - 1; in gl847_init_motor_regs_scan() 422 scan_table.table.size(), in gl847_init_motor_regs_scan() 436 reg->set8(REG_STEPNO, scan_table.table.size() / step_multiplier); in gl847_init_motor_regs_scan() 437 reg->set8(REG_FASTNO, scan_table.table.size() / step_multiplier); in gl847_init_motor_regs_scan() 438 reg->set8(REG_FSHDEC, scan_table.table.size() / step_multiplier); in gl847_init_motor_regs_scan() 439 reg->set8(REG_FMOVNO, fast_table.table.size() / step_multiplier); in gl847_init_motor_regs_scan() 440 reg->set8(REG_FMOVDEC, fast_table.table.size() / step_multiplier); in gl847_init_motor_regs_scan() 883 std::uint8_t* data, int size) cons in send_shading_data() [all...] |
/third_party/googletest/googlemock/test/ |
H A D | gmock-matchers-misc_test.cc | 160 EXPECT_EQ("whose size is 1", Explain(m, container)); in TEST() 420 if (best_so_far_.size() == graph_->RhsSize()) break; in Compute() 432 if (matches_.size() > best_so_far_.size()) { in PushMatch() 456 if (best_so_far_.size() == graph_->RhsSize()) { in RecurseInto() 498 EXPECT_EQ(FindBacktrackingMaxBPM(graph).size(), matches.size()) in TEST_P() 505 for (size_t i = 0; i < matches.size(); ++i) { in TEST_P() 535 for (size_t i = 0; i < kEdges.size(); ++i) { in TEST_F() 549 EXPECT_EQ(FindBacktrackingMaxBPM(graph).size(), in TEST_P() [all...] |
/third_party/mesa3d/include/CL/ |
H A D | cl.h | 39 typedef cl_uint cl_bool; /* WARNING! Unlike cl_ types in cl_platform.h, cl_bool is not guaranteed to be the same size as the bool in kernels. */ 168 size_t size; member 1080 size_t size, 1125 size_t size, 1196 size_t size, 1499 size_t size, 1530 size_t size, 1564 size_t size, 1577 size_t size, 1680 size_t size, [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_tex.c | 598 nir_ssa_def *size = nir_i2f32(b, nir_get_texture_size(b, tex)); in lower_gradient_cube_map() local 722 /* size has textureSize() of LOD 0 */ in lower_gradient_cube_map() 723 nir_ssa_def *L = nir_channel(b, size, 0); in lower_gradient_cube_map() 764 nir_ssa_def *size = in lower_gradient() local 777 nir_ssa_def *dPdx = nir_fmul(b, ddx, size); in lower_gradient() 778 nir_ssa_def *dPdy = nir_fmul(b, ddy, size); in lower_gradient() 907 * size rather than [0.0, 1.0] in saturate_src() 1227 /* Make sure the component encoding the array size (if any) is not in nir_lower_txs_lod() 1256 nir_ssa_def *size = &tex->dest.ssa; in nir_lower_txs_cube_array() local 1257 size in nir_lower_txs_cube_array() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_pipe.h | 117 /* We only support the minimum allowed value (512), so that we can pack a 3D block size 681 /* Maximum and current size */ 1349 void si_init_resource_fields(struct si_screen *sscreen, struct si_resource *res, uint64_t size, 1353 unsigned usage, unsigned size, unsigned alignment); 1355 unsigned usage, unsigned size, unsigned alignment); 1374 uint32_t size; member 1386 uint32_t size, uint32_t clear_value); 1416 uint64_t offset, uint64_t size, uint32_t *clear_value, 1420 unsigned dst_offset, unsigned size, 1424 uint64_t size, unsigne [all...] |
/third_party/node/test/parallel/ |
H A D | test-whatwg-readablestream.js | 195 ['a', {}, false].forEach((size) => { 197 new ReadableStream({}, { size }); 239 assert.strictEqual(strategy.size(new ArrayBuffer(10)), 10); 241 const { size } = strategy; 242 assert.strictEqual(size(new ArrayBuffer(10)), 10); 248 assert.strictEqual(strategy.size(new ArrayBuffer(10)), 1); 250 const { size } = strategy; 251 assert.strictEqual(size(new ArrayBuffer(10)), 1); 305 get size() { throw new Error('boom2'); } 967 size() { retur [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_hd.c | 595 size_t size; in hd_ringbuf_init() local 596 for (size = 1; size < bufsize; size <<= 1) in hd_ringbuf_init() 598 ringbuf->buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size); in hd_ringbuf_init() 602 ringbuf->mask = size - 1; in hd_ringbuf_init() 617 size_t size; in hd_ringbuf_reserve() local 623 for (size = 1; size < bufsize; size << in hd_ringbuf_reserve() [all...] |
/third_party/mesa3d/src/mesa/vbo/ |
H A D | vbo_save_api.c | 180 uint32_t old_size = store->size; in realloc_prim_store() 181 store->size = prim_count; in realloc_prim_store() 182 assert (old_size < store->size); in realloc_prim_store() 183 store->prims = realloc(store->prims, store->size * sizeof(struct _mesa_prim)); in realloc_prim_store() 184 memset(&store->prims[old_size], 0, (store->size - old_size) * sizeof(struct _mesa_prim)); in realloc_prim_store() 289 const GLubyte size[VBO_ATTRIB_MAX], in compare_vao() 323 if (attrib->Format.Size != size[vbo_attr]) in compare_vao() 343 const GLubyte size[VBO_ATTRIB_MAX], in update_vao() 355 vao_enabled, size, type, offset)) in update_vao() 384 size[vbo_att in update_vao() 285 compare_vao(gl_vertex_processing_mode mode, const struct gl_vertex_array_object *vao, const struct gl_buffer_object *bo, GLintptr buffer_offset, GLuint stride, GLbitfield64 vao_enabled, const GLubyte size[VBO_ATTRIB_MAX], const GLenum16 type[VBO_ATTRIB_MAX], const GLuint offset[VBO_ATTRIB_MAX]) compare_vao() argument 338 update_vao(struct gl_context *ctx, gl_vertex_processing_mode mode, struct gl_vertex_array_object **vao, struct gl_buffer_object *bo, GLintptr buffer_offset, GLuint stride, GLbitfield64 vbo_enabled, const GLubyte size[VBO_ATTRIB_MAX], const GLenum16 type[VBO_ATTRIB_MAX], const GLuint offset[VBO_ATTRIB_MAX]) update_vao() argument [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_hd.c | 595 size_t size; in hd_ringbuf_init() local 596 for (size = 1; size < bufsize; size <<= 1) in hd_ringbuf_init() 598 ringbuf->buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size); in hd_ringbuf_init() 602 ringbuf->mask = size - 1; in hd_ringbuf_init() 617 size_t size; in hd_ringbuf_reserve() local 623 for (size = 1; size < bufsize; size << in hd_ringbuf_reserve() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | load-elimination.cc | 400 for (size_t i = 0; i < maps.size(); ++i) { in Print() 409 for (size_t i = 0u; i < this_fields.size(); ++i) { in FieldsEquals() 446 for (size_t i = 0; i < this_fields->size(); ++i) { in FieldsMerge() 613 if (i == fields_.size()) return this; in KillFields() 620 while (++i < fields_.size()) { in KillFields() 634 for (size_t i = 0; i < const_fields_.size(); ++i) { in KillAll() 692 if (state_->LookupMaps(other, &other_maps) && other_maps.size() == 1) { in MayAlias() 710 for (size_t i = 0; i < fields_.size(); ++i) { in Print() 716 for (size_t i = 0; i < const_fields_.size(); ++i) { in Print() 727 if (id < info_for_node_.size()) retur in Get() [all...] |
/third_party/python/Tools/c-analyzer/c_parser/ |
H A D | info.py | 1150 class Member(namedtuple('Member', 'name vartype size')): 1155 vartype = size = None 1157 size = raw.data 1159 size = int(raw.data) 1163 if 'size' in vartype: 1164 size = vartype.pop('size') 1165 if isinstance(size, str) and size.isdigit(): 1166 size [all...] |
/third_party/python/Lib/test/support/ |
H A D | __init__.py | 445 # A constant likely larger than the underlying OS pipe buffer size, to 448 # 64 KiB pipe buffer size or 16 * PAGE_SIZE: take a few megs to be sure. 452 # A constant likely larger than the underlying OS socket buffer size, to make 783 def check_sizeof(test, o, size): 789 # add GC header size 792 size += _testinternalcapi.SIZEOF_PYGC_HEAD 793 msg = 'wrong size for %s: got %d, expected %d' \ 794 % (type(o), result, size) 795 test.assertEqual(result, size, msg) 865 # as size [all...] |
/third_party/opencl-headers/CL/ |
H A D | cl.h | 39 typedef cl_uint cl_bool; /* WARNING! Unlike cl_ types in cl_platform.h, cl_bool is not guaranteed to be the same size as the bool in kernels. */ 177 size_t size; member 1089 size_t size, 1134 size_t size, 1205 size_t size, 1508 size_t size, 1539 size_t size, 1573 size_t size, 1586 size_t size, 1689 size_t size, [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktBasicDrawTests.cpp | 421 const vk::VkDeviceSize dataSize = m_data.vertices.size() * sizeof(PositionColorVertex); in initialize() 620 rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint32)vertices.size(), 0))); in generateRefImage() 912 deUint32 highestIndex = 0; // Store to highest index to calculate the vertices size in generateDrawData() 958 const deUint32 bufferSize = (deUint32)(m_data.indexes.size() * sizeof(deUint32)); in iterate() 965 bufferSize, // VkDeviceSize size; in iterate() 1122 if (m_data.commands.size() > 1 && !(features.multiDrawIndirect)) in draw() 1124 for (deUint32 cmdIdx = 0; cmdIdx < m_data.commands.size(); ++cmdIdx) in draw() 1132 m_vk.cmdDrawIndirect(cmdBuffer, indirectBuffer, indirectOffset, (deUint32)m_data.commands.size(), sizeof(vk::VkDrawIndirectCommand)); in draw() 1151 const vk::VkDeviceSize indirectInfoSize = m_data.commands.size() * sizeof(vk::VkDrawIndirectCommand); in iterate() 1158 indirectInfoSize, // VkDeviceSize size; in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiDisplayTests.cpp | 837 // Test the call correctly writes data in various size arrays in testGetPhysicalDeviceDisplayPropertiesKHR() 924 if (displaySet.size() != displayCountRetrieved) in testGetPhysicalDeviceDisplayPropertiesKHR() 987 // Test the call correctly writes data in various size arrays in testGetPhysicalDeviceDisplayPlanePropertiesKHR() 1123 // Test the call correctly writes data in various size arrays in testGetDisplayPlaneSupportedDisplaysKHR() 1213 // Test the call correctly writes data in various size arrays in testGetDisplayModePropertiesKHR() 1315 if (modes.size() < 1) in testCreateDisplayModeKHR() 1319 builtinModesCount = modes.size(); in testCreateDisplayModeKHR() 1376 if (builtinModesCount != modes.size()) in testCreateDisplayModeKHR() 1378 string(" to ") + de::toString(modes.size())); in testCreateDisplayModeKHR() 1443 displayIndex < displaysForPlane.size(); in testGetDisplayPlaneCapabilitiesKHR() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktBasicDrawTests.cpp | 419 const vk::VkDeviceSize dataSize = m_data.vertices.size() * sizeof(PositionColorVertex); in initialize() 594 rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint32)vertices.size(), 0))); in generateRefImage() 883 deUint32 highestIndex = 0; // Store to highest index to calculate the vertices size in generateDrawData() 929 const deUint32 bufferSize = (deUint32)(m_data.indexes.size() * sizeof(deUint32)); in iterate() 936 bufferSize, // VkDeviceSize size; in iterate() 1093 if (m_data.commands.size() > 1 && !(features.multiDrawIndirect)) in draw() 1095 for (deUint32 cmdIdx = 0; cmdIdx < m_data.commands.size(); ++cmdIdx) in draw() 1103 m_vk.cmdDrawIndirect(cmdBuffer, indirectBuffer, indirectOffset, (deUint32)m_data.commands.size(), sizeof(vk::VkDrawIndirectCommand)); in draw() 1122 const vk::VkDeviceSize indirectInfoSize = m_data.commands.size() * sizeof(vk::VkDrawIndirectCommand); in iterate() 1129 indirectInfoSize, // VkDeviceSize size; in iterate() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFContext.cpp | 140 uint64_t SectionSize = StringOffsetsSection.Data.size(); in dumpDWARFv5StringOffsetsSection() 173 // In DWARF v5 the contribution size in the descriptor does not equal in dumpDWARFv5StringOffsetsSection() 177 OS << "Contribution size = " << (Contribution->Size + (Version < 5 ? 0 : 4)) in dumpDWARFv5StringOffsetsSection() 204 // a header containing size and version number. Alternatively, it may be a 222 uint64_t size = StringOffsetsSection.Data.size(); in dumpStringOffsetsSection() local 223 // Ensure that size is a multiple of the size of an entry. in dumpStringOffsetsSection() 224 if (size & ((uint64_t)(sizeof(uint32_t) - 1))) { in dumpStringOffsetsSection() 225 OS << "error: size o in dumpStringOffsetsSection() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | Metadata.cpp | 507 : Metadata(ID, Storage), NumOperands(Ops1.size() + Ops2.size()), in MDNode() 828 return storeImpl(new (MDs.size()) MDTuple(Context, Storage, Hash, MDs), 887 if (N->getNumOperands() == Ops.size() && N == N->getOperand(0)) { 888 for (unsigned I = 1, E = Ops.size(); I != E; ++I) 953 unsigned Size = EndPoints.size(); 1024 unsigned Size = EndPoints.size(); 1038 if (EndPoints.size() == 2) { 1045 MDs.reserve(EndPoints.size()); 1079 return (unsigned)getNMDOps(Operands).size(); [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkNullDriver.cpp | 334 : m_size (pCreateInfo->size) in Buffer() 582 for (size_t ndx = 0; ndx < m_buffers.size(); ++ndx) in ~CommandPool() 609 for (size_t ndx = 0; ndx < m_buffers.size(); ++ndx) in free() 677 for (size_t ndx = 0; ndx < m_managedSets.size(); ++ndx) in free() 693 for (size_t ndx = 0; ndx < m_managedSets.size(); ++ndx) in reset() 1118 props->memoryHeaps[0].size = 1ull << 31; in getPhysicalDeviceMemoryProperties() 1186 requirements->size = buffer->getSize(); in getBufferMemoryRequirements() 1244 requirements->size = getCompressedImageDataSize(image->getFormat(), image->getExtent()); in getImageMemoryRequirements() 1246 requirements->size = getYCbCrImageDataSize(image->getFormat(), image->getExtent()); in getImageMemoryRequirements() 1248 requirements->size in getImageMemoryRequirements() 1275 mapMemory(VkDevice, VkDeviceMemory memHandle, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) mapMemory() argument [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | validation_state.cpp | 240 return unresolved_forward_ids_.size(); in unresolved_forward_id_count() 491 ordered_instructions_.back().SetLineNum(ordered_instructions_.size()); in AddOrderedInstruction() 527 for (uint16_t i = 0; i < inst->operands().size(); ++i) { in RegisterInstruction() 636 for (size_t index = 0; index < inst->operands().size(); ++index) { in RegisterUniqueTypeDeclaration() 643 assert(words_end <= static_cast<int>(inst->words().size())); in RegisterUniqueTypeDeclaration() 1050 if (inst->words().size() == 4) { in GetConstantValUint64() 1053 assert(inst->words().size() == 5); in GetConstantValUint64() 1081 assert(inst->words().size() == 4); in EvalInt32IfConst() 1232 if (lhs->operands().size() != rhs->operands().size()) { in LogicallyMatch() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | validation_state.cpp | 240 return unresolved_forward_ids_.size(); in unresolved_forward_id_count() 491 ordered_instructions_.back().SetLineNum(ordered_instructions_.size()); in AddOrderedInstruction() 527 for (uint16_t i = 0; i < inst->operands().size(); ++i) { in RegisterInstruction() 636 for (size_t index = 0; index < inst->operands().size(); ++index) { in RegisterUniqueTypeDeclaration() 643 assert(words_end <= static_cast<int>(inst->words().size())); in RegisterUniqueTypeDeclaration() 1050 if (inst->words().size() == 4) { in GetConstantValUint64() 1053 assert(inst->words().size() == 5); in GetConstantValUint64() 1081 assert(inst->words().size() == 4); in EvalInt32IfConst() 1232 if (lhs->operands().size() != rhs->operands().size()) { in LogicallyMatch() [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | pngwutil.c | 199 /* This is used below to find the size of an image to pass to png_deflate_claim, 200 * so it only needs to be accurate if the size is less than 16384 bytes (the 201 * point at which a lower LZ window size can be used.) 245 * size. Note that the second argument is the *uncompressed* size but the 368 * next windowBits size we need to fix up the value later. (Because even in png_deflate_claim() 499 * upper limit on the output size, but it is always bigger than the input in png_text_compress() 500 * size so it is likely to be more efficient to use this linked-list in png_text_compress() 510 * by the output buffer size, so there is no need to check that. Since this in png_text_compress() 512 * in size in png_text_compress() 994 uInt size = png_ptr->zbuffer_size; png_compress_IDAT() local 1044 uInt size = png_ptr->zbuffer_size - png_ptr->zstream.avail_out; png_compress_IDAT() local 1266 size_t size; png_write_sBIT() local [all...] |
/third_party/skia/third_party/externals/libwebp/src/mux/ |
H A D | anim_encode.c | 79 int64_t best_delta_; // min(canvas size - frame size) over the frames. 921 encoded_data->size = memory->size; in GetEncodedData() 1005 // Pick the candidate encoded frame with smallest size and release other 1017 const size_t candidate_size = candidates[i].mem_.size; in PickBestCandidate() 1190 return ((int64_t)encoded_frame->key_frame_.bitstream.size - in KeyFramePenalty() 1191 encoded_frame->sub_frame_.bitstream.size); in KeyFramePenalty() 1240 // Analyze size difference of the two variants. in CacheFrame() 1428 if (WebPGetFeatures(image->bytes, image->size, in DecodeFrameOntoCanvas() [all...] |
/third_party/python/Lib/test/ |
H A D | test_deque.py | 541 for size in (0, 1, 2, 100, 1000): 542 d = deque(range(size)) 544 for i in range(size, BIG): 547 if x != i - size: 548 self.assertEqual(x, i-size) 549 self.assertEqual(list(d), list(range(BIG-size, BIG))) 552 for size in (0, 1, 2, 100, 1000): 553 d = deque(reversed(range(size))) 555 for i in range(size, BIG): 558 if x != i - size [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
H A D | MachO.h | 134 /// S_SYMBOL_STUBS - Section with symbol stubs, byte size of stub in 559 uint32_t size; member 573 uint64_t size; member 839 uint64_t size; // length of data region member 883 uint32_t size; member 935 uint32_t size; member 943 uint64_t size; member 1011 sys::swapByteOrder(mh.size); in swapStruct() 1019 sys::swapByteOrder(mh.size); in swapStruct() 1087 sys::swapByteOrder(sect.size); in swapStruct() [all...] |