/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/ |
H A D | LanaiAsmParser.cpp | 586 Op->Tok.Length = Str.size(); in CreateToken() 670 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction() 1043 Mnemonic = Name.substr(0, Name.size() - 2); in splitMnemonic() 1075 size_t Next = Mnemonic.rfind('.', Name.size()); in splitMnemonic() 1111 if (Operands.size() < 5) in IsMemoryAssignmentError() 1143 if (Operands.size() < 4 || !IsRegister(*Operands[1]) || in MaybePredicatedInst() 1176 Operands.size() == 2) { in ParseInstruction() 1189 Operands.size() == 3) { in ParseInstruction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
H A D | PartialInlining.cpp | 118 "min-region-size-ratio", cl::init(0.1), cl::Hidden, 163 unsigned GetNumInlinedBlocks() const { return Entries.size() + 1; } in GetNumInlinedBlocks() 217 // outline function due to code size. 333 // - The second value is the estimated size of the new call sequence in 338 // approximate both the size and runtime cost (Note that in the current 417 return BlockList.size() > 1 && Dom->hasNPredecessors(1); in computeOutliningColdRegionsInfo() 848 // to esimate the size cost as well as runtime cost of the BB. 912 2 * InlineConstants::InstrCost * Cloner.OutlinedFunctions.size(); in computeOutliningCosts() 1051 unsigned NumPredsFromEntries = ClonedOI->ReturnBlockPreds.size(); in NormalizeReturnBlock() 1143 dbgs() << "inputs: " << Inputs.size() << "\ in doMultiRegionFunctionOutlining() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizerInfo.h | 183 /// by \p Other (The alignment is sufficient for the size and result type). 229 /// size. 233 /// size. 237 /// that's narrower than the given size. 241 /// type that's wider than the given size. 244 /// True iff the specified type index is a scalar whose size is not a power of 248 /// True iff the specified type index is a scalar or vector whose element size 252 /// True iff the specified type indices are both the same bit size. 254 /// True iff the specified MMO index has a size that is not a power of 2 500 /// size an [all...] |
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | descriptor_containers.cc | 235 return PyString_FromStringAndSize(name.c_str(), name.size()); in _NewKey_ByIndex() 241 return PyString_FromStringAndSize(name.c_str(), name.size()); in _NewKey_ByIndex() 349 int size = Length(self); in DescriptorSequence_Equal() local 350 if (size != PyList_Size(other)) { in DescriptorSequence_Equal() 353 for (int index = 0; index < size; index++) { in DescriptorSequence_Equal() 393 int size = Length(self); in DescriptorMapping_Equal() local 394 if (size != PyDict_Size(other)) { in DescriptorMapping_Equal() 397 for (int index = 0; index < size; index++) { in DescriptorMapping_Equal()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | command_line_interface_unittest.cc | 303 for (int i = 0; i < mock_generators_to_delete_.size(); i++) { in TearDown() 356 std::unique_ptr<const char*[]> argv(new const char*[args.size()]); in RunWithArgs() 358 for (int i = 0; i < args.size(); i++) { in RunWithArgs() 371 return_code_ = cli_.Run(args.size(), argv.get()); in RunWithArgs() 2555 for (int i = 0; i < text.size(); i++) { in StripCR() 2583 std::unique_ptr<const char*[]> argv(new const char*[args.size()]); in Run() 2584 for (int i = 0; i < args.size(); i++) { in Run() 2593 int result = cli.Run(args.size(), argv.get()); in Run()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | struct.pb.cc | 234 void Struct::SetCachedSize(int size) const { in SetCachedSize() 235 _cached_size_.Set(size); in SetCachedSize() 317 this->_internal_fields().size() > 1) { in _InternalSerialize() 319 new SortItem[this->_internal_fields().size()]); in _InternalSerialize() 553 void Value::SetCachedSize(int size) const { in SetCachedSize() 554 _cached_size_.Set(size); in SetCachedSize() 929 void ListValue::SetCachedSize(int size) const { in SetCachedSize() 930 _cached_size_.Set(size); in SetCachedSize()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_split_test.cc | 205 EXPECT_EQ(2, m.size()); in TEST() 214 EXPECT_EQ(3, m.size()); in TEST() 270 std::string(it->data(), it->size())); // tests dereference as ptr in TEST() 295 std::string(it->data(), it->size())); // tests dereference as ptr in TEST() 581 EXPECT_EQ(2, m.size()); in TEST() 584 EXPECT_EQ(2, hm.size()); in TEST() 806 return found.data() != text.data() + text.size() && in IsFoundAtStartingPos() 950 EXPECT_EQ(2, v.size()); in TEST()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fVertexArrayTest.cpp | 724 << spec.arrays.size(); in getTestName() 794 << spec.arrays.size(); in getTestName() 796 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName() 812 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in addStorageCases() 897 << spec.arrays.size(); in getTestName() 899 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName() 988 << spec.arrays.size(); in getTestName() 990 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
H A D | vktRayQueryMiscTests.cpp | 174 deUint32 getRndIndex (de::Random& rng, deUint32 size) in getRndIndex() argument 176 DE_ASSERT(size > 0u); in getRndIndex() 177 DE_ASSERT(size <= static_cast<deUint32>(std::numeric_limits<int>::max())); in getRndIndex() 180 const int iMax = static_cast<int>(size) - 1; in getRndIndex() 849 const deUint32 count = deUint32(vertices.size()); in makeAttribBuff() 850 DE_ASSERT( count && (count == coords.size()) && (count == centers.size()) ); in makeAttribBuff() 988 vk.cmdDraw(*cmdBuffer, uint32_t(vertices.size()), 1u, 0u, 0u); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
H A D | vktRobustnessVertexAccessTests.cpp | 450 getNumUsedChannels(mapVkFormat(inputFormat).order) * (deUint32)s_indexConfigs[indexConfig].size() * 2, // numVertexValues in DrawIndexedAccessTest() 452 (deUint32)s_indexConfigs[indexConfig].size(), // numVertices in DrawIndexedAccessTest() 592 m_vertexRateBufferSize, // VkDeviceSize size; in VertexAccessInstance() 601 m_vertexRateBufferAllocSize = bufferMemoryReqs.size; in VertexAccessInstance() 620 m_instanceRateBufferSize, // VkDeviceSize size; in VertexAccessInstance() 629 m_instanceRateBufferAllocSize = bufferMemoryReqs.size; in VertexAccessInstance() 646 m_vertexNumBufferSize, // VkDeviceSize size; in VertexAccessInstance() 662 m_indexBufferSize = sizeof(deUint32) * indices.size(); in VertexAccessInstance() 669 m_indexBufferSize, // VkDeviceSize size; in VertexAccessInstance() 695 m_outBufferSize, // VkDeviceSize size; in VertexAccessInstance() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/ |
H A D | vktSubgroupsSizeControlTests.cpp | 114 default: TCU_THROW(NotSupportedError, "Unsupported Subgroup size"); in getRequiredSubgroupSizeFromMode() 146 log << TestLog::Message << "gl_SubgroupSize (" << data[i] << ") is not equal to the required subgroup size value (" << checkInternalData->requiredSubgroupSize << ")" << TestLog::EndMessage; in checkVertexPipelineStages() 188 log << TestLog::Message << "gl_SubgroupSize (" << data[ndx] << ") is not equal to the required subgroup size value (" << checkInternalData->requiredSubgroupSize << ")" << TestLog::EndMessage; in checkFragmentPipelineStages() 232 << "gl_SubgroupSize (" << data[i] << ") is not equal to the required subgroup size value (" << checkInternalData->requiredSubgroupSize << ")" << TestLog::EndMessage; in checkCompute() 437 result.reserve(result.size() + 1); in getPerStageHeadDeclarations() 439 for (size_t i = 0; i < result.size(); ++i) in getPerStageHeadDeclarations() 499 << " result[offset].x = gl_SubgroupSize;" // save the subgroup size value in initProgramsRequireFull() 548 TCU_THROW(NotSupportedError, "Device does not support varying subgroup sizes nor required subgroup size"); in supportedCheckFeatures() 559 TCU_THROW(NotSupportedError, "Device does not support setting required subgroup size for the stages selected"); in supportedCheckFeatures() 805 // For full subgroups and allow varying subgroup size, localsiz in testRequireFullSubgroups() 1015 const deUint32& size = requiredSubgroupSize; noSSBOtestRequireSubgroupSize() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationNoneStageTests.cpp | 125 void create (Context& context, SimpleAllocator& alloc, VkDeviceSize size, VkBufferUsageFlags usage); 132 void BufferWrapper::create(Context& context, SimpleAllocator& alloc, VkDeviceSize size, VkBufferUsageFlags usage) in create() argument 136 const VkBufferCreateInfo bufferCreateInfo = makeBufferCreateInfo(size, usage); in create() 465 m_vertexBuffer.create(m_context, m_alloc, sizeof(float) * vertices.size(), VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in buildVertexBuffer() 467 deMemcpy(m_vertexBuffer.memory->getHostPtr(), vertices.data(), vertices.size() * sizeof(float)); in buildVertexBuffer() 606 (deUint32)attachmentDescriptions.size(), // deUint32 attachmentCount in buildComplexRenderPass() 608 (deUint32)subpassDescriptions.size(), // deUint32 subpassCount in buildComplexRenderPass() 654 (deUint32)imageViews.size(), // deUint32 attachmentCount in buildFramebuffer() 937 imageSizeInBytes // VkDeviceSize size in iterate() 1073 imageSizeInBytes // VkDeviceSize size in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
H A D | vktTestPackage.cpp | 512 if (m_testsForSubprocess.size() >= std::size_t(currentSubprocessCount)) in deinit() 560 message.resize(message.size() - 1); in logUnusedShaders() 777 argPos.push_back(originalCmdLine.size()); in runTestsInSubprocess() 780 for (std::size_t i = 0; i < argPos.size()-1; ++i) in runTestsInSubprocess() 790 for (std::size_t i = 0; i < args.size(); ++i) in runTestsInSubprocess() 820 deFile_write(exportFile, subprocessTestList.c_str(), subprocessTestList.size(), &numWritten); in runTestsInSubprocess() 890 std::string subQpaCopy = "\n" + std::string(subQpaText.begin() + beginPos, subQpaText.begin() + endPos + endText.size()) + "\n"; in runTestsInSubprocess() 923 std::string subQpaStat (subQpaText.begin() + beginPos + beginStat.size(), subQpaText.end()); in runTestsInSubprocess()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | hs20_supplicant.c | 338 const char *file_name, size_t offset, size_t size, in hs20_get_icon() 349 (unsigned int) size, (unsigned int) buf_len); in hs20_get_icon() 354 if (size > icon->image_len - offset) in hs20_get_icon() 355 size = icon->image_len - offset; in hs20_get_icon() 357 if (size * 4 > out_size * 3) in hs20_get_icon() 358 size = out_size * 3 / 4; in hs20_get_icon() 359 if (size == 0) in hs20_get_icon() 362 b64 = base64_encode(&icon->image[offset], size, &b64_size); in hs20_get_icon() 337 hs20_get_icon(struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name, size_t offset, size_t size, char *reply, size_t buf_len) hs20_get_icon() argument
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureUnitTests.cpp | 69 // \note Cube map texture size is larger in order to make minifications possible - otherwise would need to display different faces at same time. 301 DE_ASSERT((int)m_unitTypes.size() == m_numUnits); in MultiTexShader() 414 DE_ASSERT((int)textureSizes.size() == m_numUnits); in makeSafeLods() 466 DE_ASSERT((int)m_unitTypes.size() == m_numUnits); in shadeFragments() 467 DE_ASSERT((int)m_transformations.size() == m_numUnits); in shadeFragments() 468 DE_ASSERT((int)m_lodDerivateParts.size() == m_numUnits); in shadeFragments() 676 m_ndx2dOrCube.push_back((int)m_textures2d.size()); // Remember the index this texture has in the 2d array. in init() 681 m_ndx2dOrCube.push_back((int)m_texturesCube.size()); // Remember the index this texture has in the cube array. in init() 716 int curCellSize = deMax32(1, GRID_CELL_SIZE >> levelNdx); // \note Scale grid cell size for mipmaps. in init() 733 while ((int)m_unitTextures.size() < m_numUnit in init() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | hs20_supplicant.c | 339 const char *file_name, size_t offset, size_t size, in hs20_get_icon() 350 (unsigned int) size, (unsigned int) buf_len); in hs20_get_icon() 355 if (size > icon->image_len - offset) in hs20_get_icon() 356 size = icon->image_len - offset; in hs20_get_icon() 358 if (size * 4 > out_size * 3) in hs20_get_icon() 359 size = out_size * 3 / 4; in hs20_get_icon() 360 if (size == 0) in hs20_get_icon() 363 b64 = base64_encode(&icon->image[offset], size, &b64_size); in hs20_get_icon() 338 hs20_get_icon(struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name, size_t offset, size_t size, char *reply, size_t buf_len) hs20_get_icon() argument
|
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/include/ |
H A D | appevent_packageholder_impl.h | 37 void SetSize(int size);
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/ |
H A D | get_hardware_info.h | 32 void GetGroupOfPaths(const size_t &index, const size_t &size, const std::vector<std::string> &paths,
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/ |
H A D | hisysevent_manager_c.h | 53 void (*OnQuery)(HiSysEventRecordC records[], size_t size);
62 * @param ruleSize rules size of query.
91 * @param ruleSize size of watch rules.
|
/base/hiviewdfx/hilog/frameworks/libhilog/param/include/ |
H A D | properties.h | 58 int SetBufferSize(uint16_t type, bool persist, size_t size);
|
/base/hiviewdfx/hiview/base/include/ |
H A D | event_priority_queue.h | 40 if ((this->c.capacity() / this->c.size()) > 10) { // 10 times, begin to shrink in ShrinkIfNeedLocked()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_data_storage.cpp | 33 ACCOUNT_LOGD("start, allEntries size is: %{public}zu", allEntries.size()); in SaveEntries()
|
/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/ |
H A D | date_time_matched.cpp | 45 size_t length = matches.size(); in GetMatchedDateTime()
|
/base/hiviewdfx/faultloggerd/common/trace/include/ |
H A D | dfx_trace_dlsym.h | 45 void FormatTraceName(char *name, size_t size, const char *fmt, ...) __attribute__((format(printf, 3, 4)));
|
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/ |
H A D | elf_benchmark.cpp | 30 if (maps.size() == 0) {
in InitializeBuildId()
|