/third_party/skia/src/images/ |
H A D | SkWebpEncoder.cpp | 128 WebPData encoded = { encodedData->bytes(), encodedData->size() }; in Encode() 129 WebPData iccChunk = { icc->bytes(), icc->size() }; in Encode() 145 stream->write(assembled.bytes, assembled.size); in Encode()
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnTexture.cpp | 37 textureDesc.size.width = dimensions.fWidth; in Make() 38 textureDesc.size.height = dimensions.fHeight; in Make() 39 textureDesc.size.depthOrArrayLayers = 1; in Make()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | Memory.cpp | 80 size_t size = bytes + sizeof(Allocation) + alignment; in allocate() local 81 unsigned char *block = (unsigned char *)malloc(size); in allocate() 88 memset(block, 0, size); in allocate()
|
H A D | Synchronization.hpp | 147 lock.wait(added, [this]() REQUIRES(mutex) { return queue.size() > 0; }); in take() 157 if(queue.size() == 0) in tryTake() 178 return queue.size(); in count()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkObject.hpp | 47 size_t size = T::ComputeRequiredAllocationSize(pCreateInfo); in Create() local 49 if(size) in Create() 51 memory = vk::allocateHostMemory(size, REQUIRED_MEMORY_ALIGNMENT, pAllocator, T::GetAllocationScope()); in Create()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/ |
H A D | Device.hpp | 46 VkResult CreateStorageBuffer(VkDeviceMemory memory, VkDeviceSize size, 104 // AllocateMemory allocates size bytes from a memory heap that has all the 108 VkResult AllocateMemory(size_t size, VkMemoryPropertyFlags flags, VkDeviceMemory *out) const; 115 VkDeviceSize size, VkMemoryMapFlags flags, void **ppData) const;
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/ |
H A D | ScriptTable.java | 97 int size = super.subDataSizeToSerialize(); in subDataSizeToSerialize() 99 size += defLangSysBuilder.subDataSizeToSerialize(); in subDataSizeToSerialize() 101 return size; in subDataSizeToSerialize()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | replayer.cpp | 60 "exceed the size of the transformation sequence."); in Run() 74 if (!tools.Validate(&binary_in_[0], binary_in_.size(), validator_options_)) { in Run() 83 BuildModule(target_env_, consumer_, binary_in_.data(), binary_in_.size()); in Run() 149 if (!tools.Validate(&binary_to_validate[0], binary_to_validate.size(), in Run()
|
H A D | transformation_add_constant_composite.cpp | 95 if (constituent_type_ids.size() != in IsApplicable() 96 static_cast<uint32_t>(message_.constituent_id().size())) { in IsApplicable() 102 for (uint32_t index = 0; index < constituent_type_ids.size(); index++) { in IsApplicable()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | replayer.cpp | 60 "exceed the size of the transformation sequence."); in Run() 74 if (!tools.Validate(&binary_in_[0], binary_in_.size(), validator_options_)) { in Run() 83 BuildModule(target_env_, consumer_, binary_in_.data(), binary_in_.size()); in Run() 149 if (!tools.Validate(&binary_to_validate[0], binary_to_validate.size(), in Run()
|
H A D | transformation_add_constant_composite.cpp | 95 if (constituent_type_ids.size() != in IsApplicable() 96 static_cast<uint32_t>(message_.constituent_id().size())) { in IsApplicable() 102 for (uint32_t index = 0; index < constituent_type_ids.size(); index++) { in IsApplicable()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/link/ |
H A D | linker.cpp | 131 std::vector<std::vector<uint32_t>> contents(inFiles.size()); in main() 132 for (size_t i = 0u; i < inFiles.size(); ++i) { in main() 165 linkingResult.size())) in main()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | brktrans.cpp | 128 if (boundaries->size() != 0) { // if we found something, adjust in handleTransliterate() 129 delta = boundaries->size() * fInsertion.length(); in handleTransliterate() 134 while (boundaries->size() > 0) { in handleTransliterate()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | filestrm.cpp | 168 int32_t size = 0; in T_FileStream_size() local 173 size = (int32_t)ftell((FILE*)fileStream); in T_FileStream_size() 175 return size; in T_FileStream_size()
|
/third_party/skia/third_party/externals/libwebp/src/mux/ |
H A D | muxi.h | 99 uint32_t size; member 148 // Returns size of the chunk including chunk header and padding byte (if any). 156 const size_t data_size = chunk->data_.size; in ChunkDiskSize() 160 // Total size of a list of chunks. 207 // Total size of the given image. 219 // Write out RIFF header into 'data', given total data size 'size'. 220 uint8_t* MuxEmitRiffHeader(uint8_t* const data, size_t size);
|
/third_party/skia/third_party/externals/microhttpd/doc/examples/ |
H A D | simplepost.c | 69 size_t size) in iterate_post() 75 if ((size > 0) && (size <= MAXNAMESIZE)) in iterate_post() 66 iterate_post(void *coninfo_cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, const char *transfer_encoding, const char *data, uint64_t off, size_t size) iterate_post() argument
|
/third_party/skia/src/utils/ |
H A D | SkCharToGlyphCache.cpp | 111 SkASSERT(fK32.size() == fV16.size()); in insertCharAndGlyph() 112 SkASSERT((unsigned)index < fK32.size()); in insertCharAndGlyph()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLConstructor.h | 132 clonedArgs.reserve_back(this->arguments().size()); in cloneArguments() 140 return {&fArguments.front(), fArguments.size()}; 144 return {&fArguments.front(), fArguments.size()};
|
/third_party/skia/tests/ |
H A D | RTreeTest.cpp | 37 if (expected.size() != found.size()) { in verify_query() 40 if (0 == expected.size()) { in verify_query()
|
H A D | ColorFilterTest.cpp | 28 size_t size = wb.bytesWritten(); in reincarnate_colorfilter() local 29 SkAutoSMalloc<1024> storage(size); in reincarnate_colorfilter() 33 SkReadBuffer rb(storage.get(), size); in reincarnate_colorfilter()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | Queue.h | 50 size_t size); 64 size_t size); 90 size_t size);
|
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/server/ |
H A D | ServerHandlers.cpp | 109 const volatile char* Server::HandleCommandsImpl(const volatile char* commands, size_t size) { 110 DeserializeBuffer deserializeBuffer(commands, size); 117 return commands + size;
|
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftadvanc.c | 38 if ( !face->size ) in _ft_face_scale_advances() 42 scale = face->size->metrics.y_scale; in _ft_face_scale_advances() 44 scale = face->size->metrics.x_scale; in _ft_face_scale_advances()
|
H A D | ftpfr.c | 76 if ( face->size ) in FT_EXPORT_DEF() 78 x_scale = face->size->metrics.x_scale; in FT_EXPORT_DEF() 79 y_scale = face->size->metrics.y_scale; in FT_EXPORT_DEF()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/ |
H A D | chrome_subsetter.cc | 94 return glyph_ids->size() > 0; in StringToGlyphId() 123 input_buffer.size(), in main() 125 glyph_ids.size(), in main()
|