/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
H A D | fd5_query.c | 134 .size = sizeof(struct fd5_query_sample), 142 .size = sizeof(struct fd5_query_sample), 150 .size = sizeof(struct fd5_query_sample), 226 .size = sizeof(struct fd5_query_sample), 242 .size = sizeof(struct fd5_query_sample), 431 /* sample buffer size is based on # of queries: */ in fd5_create_batch_query() 432 aq->size = num_queries * sizeof(struct fd5_query_sample); in fd5_create_batch_query()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_const.c | 34 * sizedwords: size of const value buffer 44 * the size of the user buffer to 16 bytes. And we want to in fd6_emit_const_user() 116 int size = MIN2(1 + regid, v->constlen) - regid; in emit_stage_tess_consts() local 117 if (size > 0) in emit_stage_tess_consts() 130 * size is dwords, since that's what LDG/STG use. in fd6_build_tess_consts() 246 unsigned packets, size; in user_consts_cmdstream_size() local 248 /* pre-calculate size required for userconst stateobj: */ in user_consts_cmdstream_size() 249 ir3_user_consts_size(ubo_state, &packets, &size); in user_consts_cmdstream_size() 253 size += 2 * const_state->num_ubos; in user_consts_cmdstream_size() 255 unsigned sizedwords = (4 * packets) + size; in user_consts_cmdstream_size() [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_screen.c | 581 static const unsigned size[4] = {10, 10, 10, 2}; in util_format_is_rgba1010102_variant() local 593 if (desc->channel[chan].size != size[chan]) in util_format_is_rgba1010102_variant() 615 desc->channel[c].size == 16 && in r300_is_blending_supported() 621 desc->channel[c].size >= 4 && in r300_is_blending_supported() 622 desc->channel[c].size <= 10) { in r300_is_blending_supported()
|
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | bio_ssl.c | 19 static int ssl_write(BIO *h, const char *buf, size_t size, size_t *written); 20 static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes); 28 /* re-negotiate every time the total number of bytes is this size */ 91 static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes) in ssl_read() argument 106 ret = ssl_read_internal(ssl, buf, size, readbytes); in ssl_read() 161 static int ssl_write(BIO *b, const char *buf, size_t size, size_t *written) in ssl_write() argument 175 ret = ssl_write_internal(ssl, buf, size, written); in ssl_write()
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | engine.c | 55 static int append_buf(char **buf, int *size, const char *s) in append_buf() argument 62 *size = ((len + expand - 1) / expand) * expand; in append_buf() 63 p = *buf = app_malloc(*size, "engine buffer"); in append_buf() 70 if (len > *size) { in append_buf() 71 *size = ((len + expand - 1) / expand) * expand; in append_buf() 72 p = OPENSSL_realloc(p, *size); in append_buf()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/x86_64/ |
H A D | not_x32.rs | 30 size: [ 38 size: [ 46 size: [ 54 size: [ 62 size: [ 70 size: [
|
/third_party/protobuf/conformance/ |
H A D | ConformanceJava.java | 111 ByteBuffer buffer = ByteBuffer.allocate(bytes.size()); in decode() 129 ByteBuffer buffer = ByteBuffer.allocateDirect(bytes.size()); in decode() 139 ByteBuffer buffer = ByteBuffer.allocateDirect(bytes.size()); in decode() 211 for (int i = 1; i < messages.size(); ++i) { in parseBinary() 221 for (int i = 0; i < messages.size() - 1; ++i) { in parseBinary() 222 for (int j = i + 1; j < messages.size(); ++j) { in parseBinary()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
H A D | UnittestSelfreferentialOptions.cs | 248 int size = 0; in CalculateSize() 250 size += 1 + pb::CodedOutputStream.ComputeInt32Size(IntOpt); in CalculateSize() 253 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo); in CalculateSize() 256 size += _extensions.CalculateSize(); in CalculateSize() 259 size += _unknownFields.CalculateSize(); in CalculateSize() 261 return size; in CalculateSize()
|
/third_party/python/Include/ |
H A D | object.h | 32 the same size and address. Objects that must hold variable-size data 33 can contain pointers to variable-size parts of the object. Not all 34 objects of the same type have the same size; but the size cannot change 37 updating all the pointers, and changing an object's size would require 51 whose size is determined when the object is allocated. 83 #define PyVarObject_HEAD_INIT(type, size) \ 84 { PyObject_HEAD_INIT(type) size }, 86 /* PyObject_VAR_HEAD defines the initial segment of all variable-size 173 Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) Py_SET_SIZE() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
H A D | vktSubgroupsBallotTests.cpp | 820 TCU_THROW(NotSupportedError, "Device does not support varying subgroup sizes nor required subgroup size"); in supportedCheck() 826 TCU_THROW(NotSupportedError, "Required subgroup size is not supported for shader stage"); in supportedCheck() 908 log << TestLog::Message << "Testing required subgroup size range [" << subgroupSizeControlProperties.minSubgroupSize << ", " in test() 912 for (deUint32 size = subgroupSizeControlProperties.minSubgroupSize; size <= subgroupSizeControlProperties.maxSubgroupSize; size *= 2) in test() 917 result = subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComputeOrMesh, size); in test() 919 result = subgroups::makeMeshTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComputeOrMesh, size); in test() 923 log << TestLog::Message << "subgroupSize " << size << " failed" << TestLog::EndMessage; in test()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationCommonEdgeTests.cpp | 319 std::reverse(gridIndices.begin() + (gridIndices.size() - 4), in test() 320 gridIndices.begin() + gridIndices.size()); in test() 326 DE_ASSERT(static_cast<int>(gridPosComps.size()) == totalNumPosComps); in test() 327 DE_ASSERT(static_cast<int>(gridTessParams.size()) == numVertices); in test() 328 DE_ASSERT(static_cast<int>(gridIndices.size()) == numIndices); in test() 422 vk.cmdDrawIndexed(*cmdBuffer, static_cast<deUint32>(gridIndices.size()), 1u, 0u, 0, 0u); in test()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Renderbuffer.cpp | 311 // Assume allocated size is around width * height * samples * pixelBytes in getMemorySize() 312 angle::CheckedNumeric<GLint> size = 1; in getMemorySize() local 313 size *= mState.mFormat.info->pixelBytes; in getMemorySize() 314 size *= mState.mWidth; in getMemorySize() 315 size *= mState.mHeight; in getMemorySize() 316 size *= std::max(mState.mSamples, 1); in getMemorySize() 317 return size.ValueOrDefault(std::numeric_limits<GLint>::max()); in getMemorySize()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | FixedVector.h | 7 // A vector class with a maximum size and fixed storage. 66 size_type size() const; 98 return a.size() == b.size() && std::equal(a.begin(), a.end(), b.begin()); in operator ==() 132 ASSERT(init.size() <= N); in FixedVector() 149 ASSERT(init.size() <= N); in operator =() 233 typename FixedVector<T, N, Storage>::size_type FixedVector<T, N, Storage>::size() const
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | ResourcePriorityQueue.cpp | 165 NumNodesSolelyBlocking.resize(SUnits->size(), 0); in initNodes() 167 for (unsigned i = 0, e = SUnits->size(); i != e; ++i) { in initNodes() 267 for (unsigned i = 0, e = Packet.size(); i != e; ++i) in isResourceAvailable() 313 if (Packet.size() >= InstrItins->SchedModel.IssueWidth) { in reserveResources() 530 HorizontalVerticalBalance += (SU->Succs.size() - numberCtrlDepsInSU(SU)); in scheduledNode() 531 HorizontalVerticalBalance -= (SU->Preds.size() - numberCtrlPredInSU(SU)); in scheduledNode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/ |
H A D | ResourceManager.cpp | 161 assert(Index < Resources.size() && "Invalid processor resource index!"); in setCustomStrategyImpl() 179 assert(Index < Resources.size() && "Invalid resource use!"); in selectPipe() 302 if (!CS.size()) { in issueInstruction() 311 BusyResources[Pipe] += CS.size(); in issueInstruction() 313 Pipe, ResourceCycles(CS.size()))); in issueInstruction() 319 BusyResources[ResourceRef(R.first, R.first)] += CS.size(); in issueInstruction()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
H A D | esextcTessellationShaderIsolines.cpp | 290 n_unique_line_segments_found = (unsigned int)found_line_segments.size(); in checkSecondOuterTessellationLevelEffect() 441 test_result.n_isolines = (unsigned int)found_ys.size(); in countIsolines() 702 result.rendered_data.resize(rendered_data.size() / sizeof(float)); in iterate() 703 if (0 != rendered_data.size()) in iterate() 705 memcpy(&result.rendered_data[0], &rendered_data[0], rendered_data.size()); in iterate() 707 if (result.rendered_data.size() > 0) in iterate()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/ |
H A D | nested_loops.cpp | 40 spv_const_binary_t binary = {bin.data(), bin.size()}; in Validate() 204 EXPECT_EQ(expected_ids->size(), 0u); in CheckLoopBlocks() 733 EXPECT_EQ(pred_set.size(), 2u); in TEST_F() 747 EXPECT_EQ(pred_set.size(), 2u); in TEST_F() 764 EXPECT_EQ(cfg->preds(loop.GetPreHeaderBlock()->id()).size(), 1u); in TEST_F() 775 EXPECT_EQ(pred_set.size(), 2u); in TEST_F()
|
/third_party/skia/src/core/ |
H A D | SkResourceCache.cpp | 134 static void make_size_str(size_t size, SkString* str) { in make_size_str() argument 137 while (suffix[i] && (size > 1024)) { in make_size_str() 139 size >>= 10; in make_size_str() 141 str->printf("%zu%c", size, suffix[i]); in make_size_str() 505 size_t SkResourceCache::SetSingleAllocationByteLimit(size_t size) { in SetSingleAllocationByteLimit() argument 507 return get_cache()->setSingleAllocationByteLimit(size); in SetSingleAllocationByteLimit() 599 // The discardable memory size will be calculated by dumper, but we also dump what we think in sk_trace_dump_visitor() 600 // the size of object in memory is irrespective of whether object is live or dead. in sk_trace_dump_visitor() 603 dump->dumpNumericValue(dumpName.c_str(), "size", "bytes", rec.bytesUsed()); in sk_trace_dump_visitor()
|
H A D | SkGlyph.cpp | 72 auto size = this->imageSize(); in allocImage() local 73 fImage = alloc->makeBytesAlignedTo(size, this->formatAlignment()); in allocImage() 75 return size; in allocImage() 135 size_t size = this->rowBytes() * fHeight; in imageSize() local 138 size *= 3; in imageSize() 141 return size; in imageSize()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Program.h | 57 int size() const; 109 LinkedVarying(const std::string &name, GLenum type, GLsizei size, int reg, int col); 115 GLsizei size; member 188 void getActiveAttribute(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) const; 192 void getActiveUniform(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) const; 202 void getTransformFeedbackVarying(GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) const;
|
/third_party/openssl/ssl/ |
H A D | bio_ssl.c | 19 static int ssl_write(BIO *h, const char *buf, size_t size, size_t *written); 20 static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes); 28 /* re-negotiate every time the total number of bytes is this size */ 91 static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes) in ssl_read() argument 106 ret = ssl_read_internal(ssl, buf, size, readbytes); in ssl_read() 161 static int ssl_write(BIO *b, const char *buf, size_t size, size_t *written) in ssl_write() argument 175 ret = ssl_write_internal(ssl, buf, size, written); in ssl_write()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | loop_dependence_helpers.cpp | 221 if (loops.size() != 1) { in GetLoopForSubscriptPair() 222 PrintDebug("GetLoopForSubscriptPair found loops.size() != 1."); in GetLoopForSubscriptPair() 235 for (size_t loop_index = 0; loop_index < loops_.size(); ++loop_index) { in GetDistanceEntryForLoop() 345 return static_cast<int64_t>(loops.size()); in CountInductionVariables() 374 return static_cast<int64_t>(loops.size()); in CountInductionVariables() 446 for (size_t i = 0; i < loops_.size(); ++i) { in MarkUnsusedDistanceEntriesAsIrrelevant() 457 if (inductions.size() != 1) { in IsSupportedLoop()
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | text_handler.cpp | 229 void AssemblyContext::seekForward(uint32_t size) { in seekForward() argument 230 current_position_.index += size; in seekForward() 231 current_position_.column += size; in seekForward() 301 const size_t oldWordCount = pInst->words.size(); in binaryEncodeString() 331 if (pInst->words.size() != 4) in recordTypeDefinition() 336 if (pInst->words.size() != 3) in recordTypeDefinition()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | loop_dependence_helpers.cpp | 221 if (loops.size() != 1) { in GetLoopForSubscriptPair() 222 PrintDebug("GetLoopForSubscriptPair found loops.size() != 1."); in GetLoopForSubscriptPair() 235 for (size_t loop_index = 0; loop_index < loops_.size(); ++loop_index) { in GetDistanceEntryForLoop() 345 return static_cast<int64_t>(loops.size()); in CountInductionVariables() 374 return static_cast<int64_t>(loops.size()); in CountInductionVariables() 446 for (size_t i = 0; i < loops_.size(); ++i) { in MarkUnsusedDistanceEntriesAsIrrelevant() 457 if (inductions.size() != 1) { in IsSupportedLoop()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | text_handler.cpp | 229 void AssemblyContext::seekForward(uint32_t size) { in seekForward() argument 230 current_position_.index += size; in seekForward() 231 current_position_.column += size; in seekForward() 301 const size_t oldWordCount = pInst->words.size(); in binaryEncodeString() 331 if (pInst->words.size() != 4) in recordTypeDefinition() 336 if (pInst->words.size() != 3) in recordTypeDefinition()
|