/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | scalar_analysis_nodes.h | 99 inline SENode* GetChild(size_t index) { return children_[index]; } in GetChild() 100 inline const SENode* GetChild(size_t index) const { return children_[index]; } in GetChild() 210 size_t operator()(const std::unique_ptr<SENode>& node) const; 211 size_t operator()(const SENode* node) const;
|
/third_party/skia/third_party/externals/libpng/contrib/visupng/ |
H A D | PngFile.c | 239 if ((*piHeight) > ((size_t)(-1))/ulRowBytes) { 413 png_read_data(png_structp png_ptr, png_bytep data, size_t length) 415 size_t check; 417 /* fread() returns 0 on error, so it is OK to store this in a size_t 429 png_write_data(png_structp png_ptr, png_bytep data, size_t length)
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | quant_levels_dec_utils.c | 220 const size_t size_scratch_m = (R + 1) * width * sizeof(*p->start_); in InitParams() 221 const size_t size_m = width * sizeof(*p->average_); in InitParams() 222 const size_t size_lut = (1 + 2 * LUT_SIZE) * sizeof(*p->correction_); in InitParams() 223 const size_t total_size = size_scratch_m + size_m + size_lut; in InitParams()
|
/third_party/skia/tests/ |
H A D | PathOpsLineIntersectionTest.cpp | 44 static const size_t tests_count = SK_ARRAY_COUNT(tests); 57 static const size_t noIntersect_count = SK_ARRAY_COUNT(noIntersect); 85 static const size_t coincidentTests_count = SK_ARRAY_COUNT(coincidentTests); 203 size_t index; in DEF_TEST()
|
H A D | SkResourceCacheTest.cpp | 115 static SkDiscardableMemory* pool_factory(size_t bytes) { in pool_factory() 128 const size_t byteLimit = 100 * 1024; in DEF_TEST() 189 for (size_t i = 0; i < SK_ARRAY_COUNT(xforms); ++i) { in DEF_TEST() 234 size_t bytesUsed() const override { return 1024; /* just need a value */ }
|
H A D | PDFDocumentTest.cpp | 142 static bool contains(const uint8_t* result, size_t size, const char expectation[]) { in contains() 143 size_t len = strlen(expectation); in contains() 144 size_t N = 1 + size - len; in contains() 145 for (size_t i = 0; i < N; ++i) { in contains()
|
/third_party/openssl/test/ |
H A D | fake_rsaprov.c | 212 static void *fake_rsa_keymgmt_load(const void *reference, size_t reference_sz) in fake_rsa_keymgmt_load() 327 size_t *siglen, size_t sigsize, in fake_rsa_sig_sign() 328 const unsigned char *tbs, size_t tbslen) in fake_rsa_sig_sign()
|
/third_party/openssl/crypto/bio/ |
H A D | bss_file.c | 221 if ((size_t)ptr >= (size_t)stdin && in file_ctrl() 222 (size_t)ptr < (size_t)(stdin + _IOB_ENTRIES)) in file_ctrl()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb.hh | 226 extern "C" void* hb_malloc_impl(size_t size); 227 extern "C" void* hb_calloc_impl(size_t nmemb, size_t size); 228 extern "C" void* hb_realloc_impl(void *ptr, size_t size);
|
/third_party/pulseaudio/src/modules/ |
H A D | module-pipe-source.c | 105 size_t n = 0; in source_process_msg() 111 n = (size_t) l; in source_process_msg() 165 u->memchunk.length = (size_t) l; in thread_func() 167 u->memchunk.index += (size_t) l; in thread_func()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
H A D | MCAssembler.h | 339 size_t size() const { return Sections.size(); } in size() 355 size_t symbol_size() const { return Symbols.size(); } in symbol_size() 382 size_t indirect_symbol_size() const { return IndirectSymbols.size(); } in indirect_symbol_size() 411 size_t data_region_size() const { return DataRegions.size(); } in data_region_size()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | Compiler.h | 557 inline void *allocate_buffer(size_t Size, size_t Alignment) { in allocate_buffer() 573 inline void deallocate_buffer(void *Ptr, size_t Size, size_t Alignment) { in deallocate_buffer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceAssembler.h | 185 size_t BytesUsed); 254 uintptr_t allocateBytes(size_t bytes) { in allocateBytes() 261 const size_t Alignment = 16; in allocateBytes() 313 size_t BytesUsed) { in createTextFixup()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | SpecialCaseList.cpp | 44 for (size_t pos = 0; (pos = Regexp.find('*', pos)) != std::string::npos; in insert() 101 StringMap<size_t> Sections; in createInternal() 120 StringMap<size_t> Sections; in createInternal() 127 StringMap<size_t> &SectionsMap, in parse()
|
/third_party/skia/tools/ |
H A D | remote_demo.cpp | 70 size_t size = data.size(); in write_SkData() 87 size_t size; in read_SkData() 99 size_t totalRead = 0; in read_SkData() 152 auto decode = [](const void* data, size_t length, void* ctx) -> sk_sp<SkTypeface> { in final_draw()
|
/third_party/toybox/toys/pending/ |
H A D | wget.c | 186 static size_t wget_read(void *buf, size_t len) in wget_read() 203 static void wget_write(void *buf, size_t len) in wget_write() 276 size_t len, c_len = 0; in wget_main()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_safe_arithmetic.cpp | 176 std::size_t SafeSizetMult(std::size_t arg1, std::size_t arg2) { in SafeSizetMult() 177 return SafeUnsignedMult<std::size_t>(arg1, arg2); in SafeSizetMult()
|
/third_party/python/Python/ |
H A D | bootstrap_hash.c | 357 n = _Py_read(fd, buffer, (size_t)size); in dev_urandom() 380 n = read(fd, buffer, (size_t)size); in dev_urandom() 415 lcg_urandom(unsigned int x0, unsigned char *buffer, size_t size) in lcg_urandom() 417 size_t index; in lcg_urandom()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | hashtablez_sampler.cc | 74 hashes_bitwise_and.store(~size_t{}, std::memory_order_relaxed); in PrepareForSampling() 228 void RecordInsertSlow(HashtablezInfo* info, size_t hash, in RecordInsertSlow() 229 size_t distance_from_desired) { in RecordInsertSlow() 232 size_t probe_length = distance_from_desired; in RecordInsertSlow()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | str_join_internal.h | 232 size_t result_size = start->size(); in JoinAlgorithm() 262 template <size_t I, size_t N> 272 template <size_t N>
|
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/ |
H A D | hash_testing.h | 163 size_t index; 193 size_t index; in VerifyTypeImplementsAbslHashCorrectly() 204 size_t i = 0; in VerifyTypeImplementsAbslHashCorrectly() 319 template <size_t... I>
|
/third_party/skia/include/core/ |
H A D | SkSurface.h | 74 size_t rowBytes, 107 size_t rowBytes, 131 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 725 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/third_party/skia/modules/skottie/src/effects/ |
H A D | FractalNoiseEffect.cpp | 222 static_assert(static_cast<size_t>(FILTER) < SK_ARRAY_COUNT(gFilters)); in noise_effect() 223 static_assert(static_cast<size_t>(FRACTAL) < SK_ARRAY_COUNT(gFractals)); in noise_effect() 227 gFilters[static_cast<size_t>(FILTER)], in noise_effect() 228 gFractals[static_cast<size_t>(FRACTAL)]) in noise_effect()
|
/third_party/skia/modules/skresources/src/ |
H A D | SkResources.cpp | 130 static constexpr size_t kMaxArea = 2048 * 2048; in generateFrame() 280 const size_t prefixLen = strlen(prefix); in decode_datauri() 291 size_t b64DataLen = strlen(b64Data); in decode_datauri() 292 size_t dataLen; in decode_datauri()
|
/third_party/skia/bench/ |
H A D | RectBench.cpp | 231 size_t sizes = SK_ARRAY_COUNT(gSizes); 242 for (size_t i = 0; i < sizes; i++) { 282 size_t sizes = SK_ARRAY_COUNT(gSizes); 301 for (size_t i = 0; i < sizes; i++) {
|