/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_gcm.cpp | 375 cnt_ready[sq] = bu_ready[sq].size(); in bu_sched_bb() 408 if (n->is_fetch_inst() && n->src.size() == 12) { in bu_sched_bb() 431 (bu_ready[SQ_TEX].size() || bu_ready[SQ_VTX].size() || bu_ready[SQ_GDS].size())) { in bu_sched_bb() 501 if (ucs_level == nuc_stk.size()) { in push_uc_stack()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_vbo_translate.c | 48 ctx->vertex_size = nvc0->vertex->size; in nvc0_push_context_init() 225 const unsigned size = count * nvc0->vertex->size; in nvc0_push_setup_vertex_array() local 227 void *const dest = nouveau_scratch_get(&nvc0->base, size, &va, &bo); in nvc0_push_setup_vertex_array() 237 PUSH_DATAh(push, va + size - 1); in nvc0_push_setup_vertex_array() 238 PUSH_DATA (push, va + size - 1); in nvc0_push_setup_vertex_array()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
H A D | RangeTree.java | 182 for (int n = 0; n < edges.size(); n++) { in Node() 634 // Add this digit to a new entry in the input map (and increase the map size). in recurse() 660 for (idx = 0; idx < out.size(); idx++) { in recurse() 669 if (idx == out.size()) { in recurse() 987 * {@code 0 <= index < size()}). Note that this method makes no promises about the specific 1001 if (index < 0 || index >= size()) { in sample() 1003 String.format("index (%d) out of bounds [0...%d]", index, size())); in sample() 1050 public long size() { in size() method in RangeTree
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/mips64/ |
H A D | mod.rs | 198 size: [ 206 size: [ 214 size: [ 222 size: [ 230 size: [ 238 size: [
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/loongarch64/ |
H A D | mod.rs | 203 size: [ 211 size: [ 219 size: [ 227 size: [ 235 size: [ 243 size: [
|
/third_party/python/Lib/ |
H A D | ftplib.py | 343 connection and the expected size of the transfer. The 344 expected size may be None if it could not be determined. 351 size = None 388 size = parse150(resp) 389 return conn, size 488 blocksize: The maximum data size to read from fp and send over 575 of information desired (e.g. ["type", "size", "perm"]). 627 def size(self, filename): member in FTP 628 '''Retrieve the size of a file.''' 793 conn, size [all...] |
/third_party/python/Lib/asyncio/ |
H A D | sslproto.py | 169 """Return the current size of the write buffers.""" 199 """Return the current size of the read buffer.""" 261 max_size = 256 * 1024 # Buffer size passed to read() 817 size = self._get_write_buffer_size() 818 if size >= self._outgoing_high_water and not self._app_writing_paused: 831 elif size <= self._outgoing_low_water and self._app_writing_paused: 875 size = self._get_read_buffer_size() 876 if size >= self._incoming_high_water and not self._ssl_reading_paused: 879 elif size <= self._incoming_low_water and self._ssl_reading_paused:
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkPrograms.cpp | 141 const bool ok = optimizer.Run(binary.data(), binary.size(), &binary, optimizer_options); in optimizeCompiledBinary() 152 return new ProgramBinary(PROGRAM_FORMAT_SPIRV, binary.size()*sizeof(deUint32), (const deUint8*)&binary[0]); in createProgramBinaryFromSpirV() 163 if (!validateSpirV(binary.size(), &binary[0], &validationLog, options)) in validateCompiledBinary() 176 if (!validateSpirV(binary.size(), &binary[0], &validationLog, options)) in validateCompiledBinary() 488 if (ok) ok = fread(&temp, 1, 4, file) == 4; // Chunk size (skip) in shadercacheLoad() 551 if (ok) ok = fread(&temp, 1, 4, file) == 4; // Chunk size (skip) in shadercacheSave() 704 stripSpirVDebugInfo(nonStrippedBinary.size(), &nonStrippedBinary[0], &binary); in buildProgram() 792 stripSpirVDebugInfo(nonStrippedBinary.size(), &nonStrippedBinary[0], &binary); in buildProgram()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryBasicGeometryShaderTests.cpp | 117 bufferSize, // VkDeviceSize size; in uploadImage() 524 const VkDeviceSize indexBufferSize = m_indices.size() * sizeof(deUint16); in createIndicesBuffer() 530 indexBufferSize, // VkDeviceSize size; in createIndicesBuffer() 551 vk.cmdDrawIndexed(cmdBuffer, static_cast<deUint32>(m_indices.size()), 1, 0, 0, 0); in drawCommand() 601 const int max_vertices = m_pattern.size() == 2 ? std::max(m_pattern[0], m_pattern[1]) : m_pattern[0]; in initPrograms() 617 << " const highp float rowHeight = 2.0 / float(" << m_pattern.size() << ");\n" in initPrograms() 620 if (m_pattern.size() == 2) in initPrograms() 654 return new GeometryOutputCountTestInstance (context, VK_PRIMITIVE_TOPOLOGY_POINT_LIST, static_cast<int>(m_pattern.size()), getName()); in createInstance()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingOpacityMicromapTests.cpp | 350 while (opacityMicromapData.size() < opacityMicromapBytes) { in iterate() 368 // Fill out VkMicromapUsageEXT with size information in iterate() 377 deMemset(data, 0, size_t(micromapDataBufferCreateInfo.size)); in iterate() 389 for (size_t i = 0; i < opacityMicromapData.size(); i++) { in iterate() 398 // Query the size from the build info in iterate() 441 sizeInfo.micromapSize, // VkDeviceSize size; in iterate() 707 std::vector<deUint32> outputData(expectedOutputModes.size()); in iterate() 714 for (size_t i = 0; i < outputData.size(); ++i) in iterate() 764 for (deUint32 bit = 0; bit < testFlagBitNames.size(); bit++) in createOpacityMicromapTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/ |
H A D | vktShaderObjectCreateTests.cpp | 265 std::vector<vk::VkShaderEXT> shadersSeparate (shaderCreateInfos.size()); in iterate() 266 std::vector<vk::VkShaderEXT> shadersTogether (shaderCreateInfos.size()); in iterate() 267 for (deUint32 i = 0; i < (deUint32)shaderCreateInfos.size(); ++i) in iterate() 271 vk.createShadersEXT(device, (deUint32)shaderCreateInfos.size(), &shaderCreateInfos[0], DE_NULL, &shadersTogether[0]); in iterate() 274 for (deUint32 i = 0; i < (deUint32)shaderCreateInfos.size(); ++i) in iterate() 282 log << tcu::TestLog::Message << "Data size of shader created separately is " << dataSizeSeparate << ", but data size of shader created in the same call with others is " << dataSizeTogether << tcu::TestLog::EndMessage; in iterate() 522 stage = stages[random.getUint32() % stages.size()]; in iterate() 589 log << tcu::TestLog::Message << "Shader at index " << failIndex << "was created with size 0, but vkCreateShadersEXT returned " << result << tcu::TestLog::EndMessage; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryBasicGeometryShaderTests.cpp | 117 bufferSize, // VkDeviceSize size; in uploadImage() 524 const VkDeviceSize indexBufferSize = m_indices.size() * sizeof(deUint16); in createIndicesBuffer() 530 indexBufferSize, // VkDeviceSize size; in createIndicesBuffer() 551 vk.cmdDrawIndexed(cmdBuffer, static_cast<deUint32>(m_indices.size()), 1, 0, 0, 0); in drawCommand() 602 const int max_vertices = m_pattern.size() == 2 ? std::max(m_pattern[0], m_pattern[1]) : m_pattern[0]; in initPrograms() 618 << " const highp float rowHeight = 2.0 / float(" << m_pattern.size() << ");\n" in initPrograms() 621 if (m_pattern.size() == 2) in initPrograms() 655 return new GeometryOutputCountTestInstance (context, VK_PRIMITIVE_TOPOLOGY_POINT_LIST, static_cast<int>(m_pattern.size()), getName()); in createInstance()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 181 for (unsigned i = 0, e = CInfos.size(); i != e; ++i) { in hasInlineAsmMemConstraint() 183 for (unsigned j = 0, ee = CI.Codes.size(); j != ee; ++j) { in hasInlineAsmMemConstraint() 272 /// will record the smallest size attained. 322 if (ValLoc.size() >= InsertLoc.size() && in getNoopInput() 327 ValLoc.resize(ValLoc.size() - InsertLoc.size()); in getNoopInput()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypes.cpp | 178 for (unsigned i = 0, e = NewNodes.size(); i != e; ++i) { in PerformExpensiveChecks() 483 // to see if they are new also. The depth of this walk is bounded by the size in AnalyzeNewNode() 840 /// Convert to an integer of the same size. 847 /// Convert to a vector of integers of the same size. 895 if (Results.size() == N->getNumValues() + 1 && LegalizeResult) { in CustomLowerNode() 905 assert(Results.size() == N->getNumValues() && in CustomLowerNode() 907 for (unsigned i = 0, e = Results.size(); i != e; ++i) { in CustomLowerNode() 929 assert(Results.size() == N->getNumValues() && in CustomWidenLowerNode() 931 for (unsigned i = 0, e = Results.size(); i != e; ++i) { in CustomWidenLowerNode() 1011 /// size o [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | ConstantsContext.h | 245 GetElementPtrConstantExpr *Result = new (IdxList.size() + 1) in Create() 393 if (Operands.size() != C->getNumOperands()) in operator ==() 395 for (unsigned I = 0, E = Operands.size(); I != E; ++I) in operator ==() 408 return new (Operands.size()) ConstantClass(Ty, Operands); in create() 510 if (Ops.size() != CE->getNumOperands()) in operator ==() 514 for (unsigned I = 0, E = Ops.size(); I != E; ++I) in operator ==()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/ |
H A D | unroll_simple.cpp | 1755 EXPECT_EQ(outer_loop.GetBlocks().size(), 9u); in TEST_F() 1757 EXPECT_EQ(inner_loop.GetBlocks().size(), 4u); in TEST_F() 1768 EXPECT_EQ(outer_loop.GetBlocks().size(), 25u); in TEST_F() 1799 EXPECT_EQ(outer_loop.GetBlocks().size(), 9u); in TEST_F() 1801 EXPECT_EQ(inner_loop.GetBlocks().size(), 4u); in TEST_F() 1812 EXPECT_EQ(outer_loop.GetBlocks().size(), 18u); in TEST_F()
|
/third_party/skia/src/codec/ |
H A D | SkJpegCodec.cpp | 433 bool SkJpegCodec::onDimensionsSupported(const SkISize& size) { in onDimensionsSupported() argument 439 const unsigned int dstWidth = size.width(); in onDimensionsSupported() 440 const unsigned int dstHeight = size.height(); in onDimensionsSupported() 708 // block size. If this is the case, it will decrease the value of in onStartScanlineDecode() 802 // allocate memory as if the size of the Y plane is always the size of the in is_yuv_supported() 989 SkISize* size, in SkGetJpegInfo() 1020 if (size) { in SkGetJpegInfo() 1021 *size = {SkToS32(dinfo->image_width), SkToS32(dinfo->image_height)}; in SkGetJpegInfo() 988 SkGetJpegInfo(const void* data, size_t len, SkISize* size, SkEncodedInfo::Color* colorType, SkEncodedOrigin* orientation) SkGetJpegInfo() argument
|
/third_party/skia/src/gpu/ |
H A D | GrDataUtils.cpp | 119 static int num_4x4_blocks(int size) { in num_4x4_blocks() argument 120 return ((size + 3) & ~3) >> 2; in num_4x4_blocks() 123 static int num_6x6_blocks(int size) { in num_6x6_blocks() argument 124 // Divide the image size by 6, rounding down in num_6x6_blocks() 125 return (size + 5) / 6; in num_6x6_blocks() 128 static int num_8x8_blocks(int size) { in num_8x8_blocks() argument 129 // Divide the image size by 8, rounding down in num_8x8_blocks() 130 return ((size + 7) & ~7) >> 3; in num_8x8_blocks() 215 // The evil number 16 here is the constant size of ASTC 4x4 block in GrCompressedRowBytes() 221 // The evil number 16 here is the constant size o in GrCompressedRowBytes() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | loop_unroller.cpp | 478 for (size_t index = 0; index < new_inductions.size(); ++index) { in PartiallyUnrollResidualFactor() 563 for (size_t index = 0; index < inductions.size(); ++index) { in ReplaceInductionUseWithFinalValue() 696 for (size_t index = 0; index < inductions.size(); ++index) { in CopyBody() 944 for (size_t i = 0; i < inductions.size(); ++i) { in LinkLastPhisToStart() 1015 if (merge_block_preds.size() != 1) { in CanPerformUnroll() 1022 if (continue_block_preds.size() != 1) { in CanPerformUnroll() 1054 // If the unrolling factor is larger than or the same size as the loop just in PartiallyUnroll()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | loop_unroller.cpp | 478 for (size_t index = 0; index < new_inductions.size(); ++index) { in PartiallyUnrollResidualFactor() 563 for (size_t index = 0; index < inductions.size(); ++index) { in ReplaceInductionUseWithFinalValue() 696 for (size_t index = 0; index < inductions.size(); ++index) { in CopyBody() 944 for (size_t i = 0; i < inductions.size(); ++i) { in LinkLastPhisToStart() 1015 if (merge_block_preds.size() != 1) { in CanPerformUnroll() 1022 if (continue_block_preds.size() != 1) { in CanPerformUnroll() 1054 // If the unrolling factor is larger than or the same size as the loop just in PartiallyUnroll()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
H A D | unroll_simple.cpp | 1755 EXPECT_EQ(outer_loop.GetBlocks().size(), 9u); in TEST_F() 1757 EXPECT_EQ(inner_loop.GetBlocks().size(), 4u); in TEST_F() 1768 EXPECT_EQ(outer_loop.GetBlocks().size(), 25u); in TEST_F() 1799 EXPECT_EQ(outer_loop.GetBlocks().size(), 9u); in TEST_F() 1801 EXPECT_EQ(inner_loop.GetBlocks().size(), 4u); in TEST_F() 1812 EXPECT_EQ(outer_loop.GetBlocks().size(), 18u); in TEST_F()
|
/third_party/skia/third_party/externals/imgui/misc/freetype/ |
H A D | imgui_freetype.cpp | 59 static void* ImGuiFreeTypeDefaultAllocFunc(size_t size, void* user_data) { IM_UNUSED(user_data); return IM_ALLOC(size); } in ImGuiFreeTypeDefaultAllocFunc() argument 63 static void* (*GImGuiFreeTypeAllocFunc)(size_t size, void* user_data) = ImGuiFreeTypeDefaultAllocFunc; 132 void SetPixelHeight(int pixel_height); // Change font pixel size. All following calls to RasterizeGlyph() will use this size 215 FT_Size_Metrics metrics = Face->size->metrics; in SetPixelHeight() 371 stbrp_rect* Rects; // Rectangle to pack. We first fill in their size and the packer will give us their position. 503 // We could not find a way to retrieve accurate glyph size without rendering them. in ImFontAtlasBuildWithFreeTypeEx() 566 // The exact width doesn't really matter much, but some API/GPU have texture size limitations and increasing width can decrease height. in ImFontAtlasBuildWithFreeTypeEx() 704 static void* FreeType_Alloc(FT_Memory /*memory*/, long size) in FreeType_Alloc() argument [all...] |
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | anim_util.c | 47 static int CheckSizeForOverflow(uint64_t size) { in CheckSizeForOverflow() argument 48 return (size == (size_t)size); in CheckSizeForOverflow() 209 return (WebPGetInfo(webp_data->bytes, webp_data->size, NULL, NULL) != 0); in IsWebP() 295 return data->size > GIF_STAMP_LEN && in IsGIF() 555 fprintf(stderr, "Invalid canvas size in GIF.\n"); in ReadAnimatedGIF() 709 if (!ImgIoUtilReadFile(filename, &webp_data.bytes, &webp_data.size)) { in ReadAnimatedImage()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | dec_mips_dsp_r2.c | 161 int hstride, int vstride, int size, in FilterLoop26() 172 "addiu %[size], %[size], -1 \n\t" in FilterLoop26() 282 "bgtz %[size], 1b \n\t" in FilterLoop26() 290 [size]"+&r"(size), [p]"+&r"(p) in FilterLoop26() 299 int hstride, int vstride, int size, in FilterLoop24() 310 "bltz %[size], 3f \n\t" in FilterLoop24() 409 "subu %[size], %[size], in FilterLoop24() 160 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop26() argument 298 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop24() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | collationfastlatinbuilder.cpp | 350 int32_t contractionIndex = contractionCEs.size(); in getCEsFromContractionCE32() 415 int32_t i = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in addUniqueCE() 424 int32_t index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE() 433 miniCEs = (uint16_t *)uprv_malloc(uniqueCEs.size() * 2); in encodeUniqueCEs() 447 for(int32_t i = 0; i < uniqueCEs.size(); ++i) { in encodeUniqueCEs() 556 for(int32_t i = 0; i < uniqueCEs.size(); ++i) { in encodeUniqueCEs()
|