/third_party/skia/src/sksl/ |
H A D | SkSLPool.cpp | 63 void* Pool::AllocMemory(size_t size) { in AllocMemory() argument 67 void* ptr = memPool->allocate(size); in AllocMemory() 73 void* ptr = ::operator new(size); in AllocMemory()
|
/third_party/skia/src/utils/ |
H A D | SkTextUtils.cpp | 13 void SkTextUtils::Draw(SkCanvas* canvas, const void* text, size_t size, SkTextEncoding encoding, in Draw() argument 17 SkScalar width = font.measureText(text, size, encoding); in Draw() 24 canvas->drawTextBlob(SkTextBlob::MakeFromText(text, size, font, encoding), x, y, paint); in Draw()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLConstructorCompound.cpp | 26 if (type.isScalar() && args.size() == 1 && args.front()->type() == type) { in Make() 55 ? arg->as<ConstructorCompound>().arguments().size() in Make() 61 if (fields > args.size()) { in Make()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | BufferD3D12.h | 49 uint64_t size); 61 MaybeError MapAsyncImpl(wgpu::MapMode mode, size_t offset, size_t size) override; 78 uint64_t size = 0);
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/ |
H A D | ServerQueue.cpp | 52 uint64_t size) { in DoQueueWriteBuffer() 61 if (size > std::numeric_limits<size_t>::max()) { in DoQueueWriteBuffer() 68 "Data size too large for write texture."); in DoQueueWriteBuffer() 72 static_cast<size_t>(size)); in DoQueueWriteBuffer() 96 "Data size too large for write texture."); in DoQueueWriteTexture() 48 DoQueueWriteBuffer(ObjectId queueId, ObjectId bufferId, uint64_t bufferOffset, const uint8_t* data, uint64_t size) DoQueueWriteBuffer() argument
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | QueueGL.cpp | 45 size_t size) { in WriteBufferImpl() 48 ToBackend(buffer)->EnsureDataInitializedAsDestination(bufferOffset, size); in WriteBufferImpl() 51 gl.BufferSubData(GL_ARRAY_BUFFER, bufferOffset, size, data); in WriteBufferImpl() 42 WriteBufferImpl(BufferBase* buffer, uint64_t bufferOffset, const void* data, size_t size) WriteBufferImpl() argument
|
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/client/ |
H A D | ClientHandlers.cpp | 56 const volatile char* Client::HandleCommandsImpl(const volatile char* commands, size_t size) { in HandleCommandsImpl() argument 57 DeserializeBuffer deserializeBuffer(commands, size); in HandleCommandsImpl() 64 return commands + size; in HandleCommandsImpl()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | CommandEncoder.h | 49 uint64_t size); 62 void APIClearBuffer(BufferBase* destination, uint64_t destinationOffset, uint64_t size); 77 uint64_t size);
|
/third_party/skia/third_party/externals/angle2/util/ |
H A D | random_utils.h | 45 return elements[randomIntBetween(0, static_cast<int>(elements.size()) - 1)]; in randomSelect() 51 return elements.at(randomIntBetween(0, static_cast<int>(elements.size()) - 1)); in randomSelect() 61 for (size_t i = 0; i < data->size(); ++i) in FillVectorWithRandomUBytes()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | ityp_span.h | 26 // It stores the size and pointer to first element. It has the restriction that 36 constexpr span(Value* data, Index size) : mData(data), mSize(size) { in span() argument 92 Index size() const { in size() function in ityp::span
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/ |
H A D | Queue.cpp | 57 size_t size) { in WriteBuffer() 65 cmd.size = size; in WriteBuffer() 54 WriteBuffer(WGPUBuffer cBuffer, uint64_t bufferOffset, const void* data, size_t size) WriteBuffer() argument
|
/third_party/openssl/util/perl/TLSProxy/ |
H A D | CertificateRequest.pm | 55 my ($type, $size) = unpack("nn", $extension_data); 56 my $extdata = substr($extension_data, 4, $size); 57 $extension_data = substr($extension_data, 4 + $size);
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/ |
H A D | merger.cc | 38 int32_t num_fonts = fonts->size(); in Merger() 81 font_info->chars_to_glyph_ids()->size(), in MergeFontInfos() 82 font_info->resolved_glyph_ids()->size()); in MergeFontInfos()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/ |
H A D | StringToOffsetTable.h | 33 StringOffset.insert(std::make_pair(Str, AggregateString.size())); in GetOrAddStringOffset() 52 for (unsigned i = 0, e = AggregateString.size(); i != e; ++i) { in EmitString() 64 assert(i + 1 < AggregateString.size() && "Incomplete escape sequence!"); in EmitString()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | UnifyFunctionExitNodes.cpp | 66 } else if (UnreachableBlocks.size() == 1) { in runOnFunction() 83 } else if (ReturningBlocks.size() == 1) { in runOnFunction() 100 PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(), in runOnFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Program.cpp | 35 assert(Redirects.empty() || Redirects.size() == 3); in ExecuteAndWait() 56 assert(Redirects.empty() || Redirects.size() == 3); in ExecuteNoWait() 70 StringRefArgs.reserve(Args.size()); in commandLineFitsWithinSystemLimits()
|
H A D | StringExtras.cpp | 22 size_t N = s2.size(), M = s1.size(); in StrInStrNoCase() 61 for (unsigned i = 0, e = Name.size(); i != e; ++i) { in printEscapedString()
|
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | array.cc | 27 // Returns the string representation of an array size expression. 28 std::string SizeExprToString(const Expression* size, in SizeExprToString() argument 30 if (auto* ident = size->As<IdentifierExpression>()) { in SizeExprToString() 33 if (auto* literal = size->As<IntLiteralExpression>()) { in SizeExprToString() 37 // expression for array size. in SizeExprToString()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_case_body_test.cc | 29 EXPECT_EQ(e->statements.size(), 0u); in TEST_F() 41 ASSERT_EQ(e->statements.size(), 2u); in TEST_F() 61 ASSERT_EQ(e->statements.size(), 1u); in TEST_F()
|
H A D | parser_impl_struct_body_decl_test.cc | 30 ASSERT_EQ(m.value.size(), 1u); in TEST_F() 35 EXPECT_EQ(mem->decorations.size(), 0u); in TEST_F() 43 ASSERT_EQ(m.value.size(), 0u); in TEST_F() 61 [[size(nan)]] a : i32; in TEST_F() 67 "3:10: expected signed integer literal for size decoration"); in TEST_F()
|
H A D | parser_impl_struct_member_decoration_decl_test.cc | 28 EXPECT_EQ(decos.value.size(), 0u); in TEST_F() 37 EXPECT_EQ(decos.value.size(), 0u); in TEST_F() 42 auto p = parser("[[size(4)]]"); in TEST_F() 47 ASSERT_EQ(decos.value.size(), 1u); in TEST_F() 54 auto p = parser("[[size(nan)]]"); in TEST_F() 60 "1:8: expected signed integer literal for size decoration"); in TEST_F() 64 auto p = parser("[[size(4)"); in TEST_F() 73 auto p = parser("[[size(4)"); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | fold_trivial_single_use_lets.cc | 58 for (size_t stmt_idx = 0; stmt_idx < stmts.size(); stmt_idx++) { in Run() 64 if (users.size() != 1) { in Run() 71 for (size_t i = stmt_idx; i < stmts.size(); i++) { in Run()
|
/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/ |
H A D | streaming_inflate_fuzzer.cc | 22 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { in LLVMFuzzerTestOneInput() argument 31 size_t comp_buf_cap = deflateBound(&comp_strm, size); in LLVMFuzzerTestOneInput() 37 comp_strm.avail_in = size; in LLVMFuzzerTestOneInput()
|
/third_party/skia/tools/gdb/ |
H A D | bitmap.py | 67 size = (width, height) 72 image = Image.frombytes("RGBA", size, memory_data, 76 image = Image.frombytes("RGBA", size, memory_data,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | CallGraphSCCPass.h | 54 /// non-recursive (or only self-recursive) functions will have an SCC size of 55 /// 1, where recursive portions of the call graph will have SCC size > 1. 99 bool isSingular() const { return Nodes.size() == 1; } in isSingular() 100 unsigned size() const { return Nodes.size(); } in size() function in llvm::CallGraphSCC
|