/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...] |
/third_party/toybox/toys/pending/ |
H A D | fdisk.c | 20 -b size sector size (512, 1024, 2048 or 4096) 138 int i, adjust = 0, size = ARRAY_LEN(sys_types); in list_types() local 140 if(size % 2) adjust = 1; in list_types() 141 for (i = 0; i < (size - adjust); i+=2) in list_types() 144 if (adjust) xprintf("%2x %-22s\n",sys_types[size-1].id, sys_types[size-1].type); in list_types() 156 help_exit("bad sector size"); in read_sec_sz() 167 sec64 = sec64 >> 9; //convert to 512 block size. in read_size() 374 total_number_sectors = read_size(); //Device size in read_mbr() 400 int i, size = ARRAY_LEN(sys_types); get_type() local 535 int size = 0; read_input() local [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | parser_unittest.cc | 2160 int size = descriptor_proto->nested_type_size(); in SortMessages() local 2162 for (int i = 0; i < size; ++i) { in SortMessages() 2167 std::sort(data, data + size, CompareDescriptorNames()); in SortMessages() 2172 int size = file_descriptor_proto->message_type_size(); in SortMessages() local 2174 for (int i = 0; i < size; ++i) { in SortMessages() 2179 std::sort(data, data + size, CompareDescriptorNames()); in SortMessages() 2249 // but the strings are too long for it, and if I increase its max size, in TEST_F() 2497 int size = reflection->FieldSize(root, field); in FollowPath() local 2499 if (index >= size) { in FollowPath() 2501 << " has size " << siz in FollowPath() [all...] |
/third_party/python/Python/ |
H A D | getargs.c | 1072 Py_ssize_t size; in convertsimple() local 1104 size = PyBytes_GET_SIZE(s); in convertsimple() 1108 size = PyByteArray_GET_SIZE(s); in convertsimple() 1121 size = PyBytes_GET_SIZE(s); in convertsimple() 1137 needed size is allocated and the data in convertsimple() 1145 set to the size of the buffer on input; in convertsimple() 1151 the size of the buffer /excluding/ the in convertsimple() 1166 *buffer = PyMem_NEW(char, size + 1); in convertsimple() 1179 if (size + 1 > *psize) { in convertsimple() 1184 (Py_ssize_t)size, (Py_ssize_ in convertsimple() [all...] |
H A D | pystate.c | 724 /* Minimum size of data stack chunk */ 736 res->size = size_in_bytes; in allocate_chunk() 1101 _PyObject_VirtualFree(chunk, chunk->size); in tstate_delete_common() 2062 /* Note that this means the size of shareable ints is bounded by in _long_shared() 2064 * size of maximum shareable ints on 64-bit. in _long_shared() 2178 push_chunk(PyThreadState *tstate, int size) in push_chunk() argument 2181 while (allocate_size < (int)sizeof(PyObject*)*(size + MINIMUM_OVERHEAD)) { in push_chunk() 2198 tstate->datastack_top = res + size; in push_chunk() 2203 _PyThreadState_BumpFramePointerSlow(PyThreadState *tstate, size_t size) in _PyThreadState_BumpFramePointerSlow() argument 2205 if (_PyThreadState_HasStackSpace(tstate, size)) { in _PyThreadState_BumpFramePointerSlow() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | map_test_util.h | 836 for (int i = 0; i < output.size(); ++i) { in RemoveLastMapsViaReflection() 849 for (int i = 0; i < output.size(); ++i) { in ReleaseLastMapsViaReflection() 865 for (int i = 0; i < output.size(); ++i) { in SwapMapsViaReflection() 1298 int size = 0; in ExpectMapFieldsSetViaReflectionIterator() local 1301 ++iter, ++size) { in ExpectMapFieldsSetViaReflectionIterator() 1311 EXPECT_EQ(size, 2); in ExpectMapFieldsSetViaReflectionIterator() 1438 int size = 0; in ExpectMapFieldsSetViaReflectionIterator() local 1442 ++iter, ++size) { in ExpectMapFieldsSetViaReflectionIterator() 1452 EXPECT_EQ(size, 2); in ExpectMapFieldsSetViaReflectionIterator() 1478 int size in ExpectMapFieldsSetViaReflectionIterator() local [all...] |
H A D | text_format_unittest.cc | 737 if (last_pos < val.size()) { 796 proto_debug_string_.size()); in TEST_F() 803 proto_debug_string_.size()); in TEST_F() 864 io::ArrayInputStream input_stream(parse_string.data(), parse_string.size()); in TEST_F() 875 io::ArrayInputStream input_stream1(parse_string.data(), parse_string.size()); in TEST_F() 886 io::ArrayInputStream input_stream2(parse_string.data(), parse_string.size()); in TEST_F() 900 io::ArrayInputStream input_stream(parse_string.data(), parse_string.size()); in TEST_F() 1037 io::ArrayInputStream input_stream(parse_string.data(), parse_string.size()); in TEST_F() 1052 io::ArrayInputStream input_stream(parse_string.data(), parse_string.size()); in TEST_F() 1871 ASSERT_EQ(1, errors.size()); in TEST_F() [all...] |
/third_party/skia/third_party/externals/angle2/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. */ 170 size_t size; member 1082 size_t size, 1127 size_t size, 1198 size_t size, 1501 size_t size, 1532 size_t size, 1566 size_t size, 1579 size_t size, 1682 size_t size, [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFramebufferBlitTests.cpp | 95 const IVec2& size = ndx ? m_dstSize : m_srcSize; in render() local 101 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, size.x(), size.y()); in render() 333 BlitColorConversionCase (Context& context, const char* name, const char* desc, deUint32 srcFormat, deUint32 dstFormat, const IVec2& size) in BlitColorConversionCase() argument 337 , m_size (size) in BlitColorConversionCase() 521 const IVec2& size = ndx ? m_dstSize : m_srcSize; in render() local 527 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, size.x(), size.y()); in render() 532 glRenderbufferStorage(GL_RENDERBUFFER, m_depthFormat, size.x(), size in render() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineFramebufferAttachmentTests.cpp | 100 return vec.size() * sizeof(vec[0]); in sizeInBytes() 188 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in makeRenderPass() 275 const IVec3& size, in makeImage() 287 makeExtent3D(size), // VkExtent3D extent; in makeImage() 524 // Render pass: this should render only to the area defined by renderSize (smaller than the size of the attachment) in test() 634 VK_WHOLE_SIZE, // VkDeviceSize size; in test() 925 VK_WHOLE_SIZE, // VkDeviceSize size; in testNoAtt() 1039 // Vary attachment sizes by adding an offset to the base size. in testMultiAttachments() 1182 // Render pass: this should render only to the area defined by renderSize (smaller than the size of the attachment) in testMultiAttachments() 1291 VK_WHOLE_SIZE, // VkDeviceSize size; in testMultiAttachments() 270 makeImage(const DeviceInterface& vk, const VkDevice device, const VkImageCreateFlags flags, const VkImageType imageType, const VkFormat format, const IVec3& size, const deUint32 numLayers, const VkImageUsageFlags usage, const bool multisample) makeImage() argument 1313 const IVec3 size = differentSizeTest ? attachmentSizes[renderTargetIdx] : caseDef.attachmentSize; testMultiAttachments() local [all...] |