/third_party/skia/third_party/externals/tint/src/sem/ |
H A D | struct.cc | 33 uint32_t size, in Struct() 39 size_(size), in Struct() 87 uint32_t size) in StructMember() 94 size_(size) {} in StructMember() 29 Struct(const ast::Struct* declaration, Symbol name, StructMemberList members, uint32_t align, uint32_t size, uint32_t size_no_padding) Struct() argument 81 StructMember(const ast::StructMember* declaration, Symbol name, sem::Type* type, uint32_t index, uint32_t offset, uint32_t align, uint32_t size) StructMember() argument
|
/third_party/skia/tools/ |
H A D | random_parse_path.cpp | 51 size_t count = atom->size(); in add_comma() 58 } while (count == atom->size()); in add_comma() 62 size_t count = atom->size(); in add_some_white() 65 } while (count == atom->size()); in add_some_white()
|
/third_party/skia/tools/sk_app/win/ |
H A D | main_win.cpp | 20 int size = WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), NULL, 0, NULL, NULL); in tchar_to_utf8() local 21 char* str8 = (char*)sk_malloc_throw(size + 1); in tchar_to_utf8() 22 WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), str8, size, NULL, NULL); in tchar_to_utf8() 23 str8[size] = '\0'; in tchar_to_utf8()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | servnotf.cpp | 54 for (int i = 0, e = listeners->size(); i < e; ++i) { in addListener() 86 for (int i = 0, e = listeners->size(); i < e; ++i) { in removeListener() 90 if (listeners->size() == 0) { in removeListener() 108 for (int i = 0, e = listeners->size(); i < e; ++i) { in notifyChanged()
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
H A D | uobject.h | 12 * tab size: 8 (not used) 120 static void * NewArray(int size, int count); 134 static void * U_EXPORT2 operator new(size_t size) U_NOEXCEPT; 141 static void * U_EXPORT2 operator new[](size_t size) U_NOEXCEPT; 179 * @param size The requested memory size 183 static void * U_EXPORT2 operator new(size_t size, const char* file, int line) U_NOEXCEPT;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | LatencyPriorityQueue.h | 54 NumNodesSolelyBlocking.resize(SUnits->size(), 0); 58 NumNodesSolelyBlocking.resize(SUnits->size(), 0); 69 assert(NodeNum < (*SUnits).size()); in getLatency() 74 assert(NodeNum < NumNodesSolelyBlocking.size());
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_ref_counted_block.h | 48 header (uint32 size) in header() 51 , fSize (size) in header() 71 /// Construct memory buffer of size bytes using malloc. 72 /// \param size Number of bytes of memory needed. 75 dng_ref_counted_block (uint32 size); 89 /// Clear existing memory buffer and allocate new memory of size bytes. 90 /// \param size Number of bytes of memory needed. 93 void Allocate (uint32 size);
|
/third_party/python/PC/ |
H A D | validate_ucrtbase.py | 58 size = version.GetFileVersionInfoSizeW(name, None) variable 59 if not size: 60 print('Failed to get size of version info.') 63 ver_block = c_buffer(size) 64 if (not version.GetFileVersionInfoW(name, None, size, ver_block) or
|
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/ |
H A D | hash.h | 176 // * `H::combine_contiguous(state, data, size)` 178 // Combines a contiguous array of `size` elements into a hash state, 184 // state = H::combine_contiguous(std::move(state), data, size); 309 // Combines a contiguous array of `size` elements into a hash state, returning 312 const unsigned char* first, size_t size) { in combine_contiguous() 313 hash_state.combine_contiguous_(hash_state.state_, first, size); in combine_contiguous() 323 size_t size) { in CombineContiguousImpl() 325 state = T::combine_contiguous(std::move(state), first, size); in CombineContiguousImpl() 311 combine_contiguous(HashState hash_state, const unsigned char* first, size_t size) combine_contiguous() argument 322 CombineContiguousImpl(void* p, const unsigned char* first, size_t size) CombineContiguousImpl() argument
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/ |
H A D | test_util.cc | 86 TestZoneInfoSource(const char* data, std::size_t size) in TestZoneInfoSource() argument 87 : data_(data), end_(data + size) {} in TestZoneInfoSource() 89 std::size_t Read(void* ptr, std::size_t size) override { 90 const std::size_t len = std::min<std::size_t>(size, end_ - data_);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | output.h | 40 BufferRawSink(char* buffer, size_t size) : buffer_(buffer), size_(size) {} in BufferRawSink() argument 71 out->append(s.data(), s.size()); in AbslFormatFlush() 74 out->write(s.data(), s.size()); in AbslFormatFlush()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_replace_benchmark.cc | 60 memcpy(&(*big_string)[r % (big_string->size() - phrase.size())], in SetUpStrings() 61 phrase.data(), phrase.size()); in SetUpStrings() 86 if (next_pos > after_replacing_many->size()) break; in SetUpStrings()
|
H A D | str_replace.cc | 39 if (pos <= s.size()) { in ApplySubstitutions() 42 pos = sub.offset + sub.old.size(); in ApplySubstitutions() 51 size_t index = subs.size(); in ApplySubstitutions() 57 result_ptr->append(s.data() + pos, s.size() - pos); in ApplySubstitutions()
|
/third_party/skia/docs/examples/ |
H A D | SkImage_to_PPM_binary.cpp | 8 size_t s = data->size(); in REG_FIDDLE() 26 auto result = SkData::MakeUninitialized(s.size() + 3 * src.width() * src.height()); in REG_FIDDLE() 28 memcpy(ptr, s.c_str(), s.size()); in REG_FIDDLE() 29 ptr += s.size(); in REG_FIDDLE()
|
/third_party/skia/include/gpu/vk/ |
H A D | GrVkMemoryAllocator.h | 113 // must make sure that the offset + size passed in is less that or equal to the allocation size. 118 VkDeviceSize size) { in flushMemory() 119 this->flushMappedMemory(memory, offset, size); in flushMemory() 124 VkDeviceSize size) { in invalidateMemory() 125 this->invalidateMappedMemory(memory, offset, size); in invalidateMemory() 117 flushMemory(const GrVkBackendMemory& memory, VkDeviceSize offset, VkDeviceSize size) flushMemory() argument 123 invalidateMemory(const GrVkBackendMemory& memory, VkDeviceSize offset, VkDeviceSize size) invalidateMemory() argument
|
/third_party/skia/fuzz/oss_fuzz/ |
H A D | FuzzSKSL2Pipeline.cpp | 23 bytes->size()), in FuzzSKSL2Pipeline() 60 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 61 if (size > 3000) { in LLVMFuzzerTestOneInput() 64 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput()
|
/third_party/skia/gm/ |
H A D | discard.cpp | 51 SkISize size = this->getISize(); variable 52 size.fWidth /= 10; 53 size.fHeight /= 10; 54 SkImageInfo info = SkImageInfo::MakeN32Premul(size);
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_strpool.c | 51 size_t size; in cil_strpool_hash() local 55 size = strlen(key); in cil_strpool_hash() 56 for (p = key; ((size_t) (p - key)) < size; p++) in cil_strpool_hash() 59 return val & (h->size - 1); in cil_strpool_hash()
|
H A D | cil_stack.c | 44 new_stack->size = CIL_STACK_INIT_SIZE; in cil_stack_init() 79 if (stack->pos == stack->size) { in cil_stack_push() 80 stack->size *= 2; in cil_stack_push() 81 stack->stack = cil_realloc(stack->stack, sizeof(*stack->stack) * stack->size); in cil_stack_push()
|
/third_party/selinux/libsepol/cil/include/cil/ |
H A D | cil.h | 45 extern int cil_add_file(cil_db_t *db, const char *name, const char *data, size_t size); 49 extern int cil_userprefixes_to_string(cil_db_t *db, char **out, size_t *size); 50 extern int cil_selinuxusers_to_string(cil_db_t *db, char **out, size_t *size); 51 extern int cil_filecons_to_string(cil_db_t *db, char **out, size_t *size);
|
/third_party/spirv-tools/source/opt/ |
H A D | compact_ids_pass.cpp | 33 static_cast<uint32_t>(result_id_mapping->size()) + 1; in GetRemappedId() 58 assert(operand->words.size() == 1); in Process() 94 if (context()->module()->id_bound() != result_id_mapping.size() + 1) { in Process() 97 static_cast<uint32_t>(result_id_mapping.size() + 1)); in Process()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineSampleLocationsUtil.hpp | 66 const tcu::UVec2& size (void) const { return m_gridSize; } 70 deUint32 sampleLocationCount (void) const { return static_cast<deUint32>(m_sampleLocations.size()); } 93 vk::makeExtent2D(pixelGrid.size().x(), pixelGrid.size().y()), // VkExtent2D sampleLocationGridSize;
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
H A D | eventhistory.cpp | 34 if (index.row() >= timeList.size()) in data() 38 if (index.row() >= msgList.size()) in data() 69 beginInsertRows(QModelIndex(), msgList.size(), msgList.size() + 1); in addEvent()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuFactoryRegistry.cpp | 53 DE_ASSERT(index < m_factories.size()); in getFactoryByIndex() 59 DE_ASSERT(index < m_factories.size()); 65 for (size_t index = 0; index < m_factories.size(); index++) 76 for (size_t index = 0; index < m_factories.size(); index++)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
H A D | eventhistory.cpp | 34 if (index.row() >= timeList.size()) in data() 38 if (index.row() >= msgList.size()) in data() 69 beginInsertRows(QModelIndex(), msgList.size(), msgList.size() + 1); in addEvent()
|