/third_party/ffmpeg/libavutil/ |
H A D | mem.h | 158 * Function attribute used on a function that allocates memory, whose size is 162 * void *av_malloc(size_t size) av_alloc_size(1); 163 * void *av_calloc(size_t nmemb, size_t size) av_alloc_size(1, 2); 196 * @param size Size in bytes for the memory block to be allocated 201 void *av_malloc(size_t size) av_malloc_attrib av_alloc_size(1); 208 * @param size Size in bytes for the memory block to be allocated 212 void *av_mallocz(size_t size) av_malloc_attrib av_alloc_size(1); 217 * The allocated memory will have size `size * nmemb` bytes. 220 * @param size Siz [all...] |
/third_party/gn/src/gn/ |
H A D | string_output_buffer_unittest.cc | 14 // Create a test string of |size| characters with pseudo-random ASCII content. 15 std::string CreateTestString(size_t size, size_t seed = 0) { in CreateTestString() argument 17 result.resize(size); in CreateTestString() 18 for (size_t n = 0; n < size; ++n) { in CreateTestString() 19 int offset = (size + seed + n * 1337); in CreateTestString() 39 size_t end_offset = std::min(start_offset + span_size, data.size()); in TEST() 43 EXPECT_EQ(data.size(), buffer.size()); in TEST() 60 EXPECT_EQ(data.size(), buffer.size()); in TEST() [all...] |
H A D | string_utils.cc | 25 size_t size, in ErrInsideStringToken() 34 static_cast<int>(size)); in ErrInsideStringToken() 122 token, identifier.data() - token.value().data() - 1, identifier.size(), in AppendInterpolatedIdentifier() 143 size_t size, in AppendStringInterpolation() 159 while (*i < size && input[*i] != '}') { in AppendStringInterpolation() 163 if (*i == size) { in AppendStringInterpolation() 192 while (*i < size && Tokenizer::IsIdentifierContinuingChar(input[*i])) in AppendStringInterpolation() 211 size_t size, in AppendHexByte() 217 if (*i + 3 >= size || input[*i + 1] != 'x' || !std::isxdigit(input[*i + 2]) || in AppendHexByte() 242 DCHECK(literal.value().size() > in ExpandStringLiteral() 23 ErrInsideStringToken(const Token& token, size_t offset, size_t size, const std::string& msg, const std::string& help = std::string()) ErrInsideStringToken() argument 140 AppendStringInterpolation(Scope* scope, const Token& token, const char* input, size_t size, size_t* i, std::string* output, Err* err) AppendStringInterpolation() argument 208 AppendHexByte(Scope* scope, const Token& token, const char* input, size_t size, size_t* i, std::string* output, Err* err) AppendHexByte() argument 247 size_t size = literal.value().size() - 2; ExpandStringLiteral() local [all...] |
/third_party/mesa3d/src/glx/ |
H A D | vertarr.c | 50 __indirect_glColorPointerEXT(GLint size, GLenum type, GLsizei stride, in __indirect_glColorPointerEXT() argument 54 __indirect_glColorPointer(size, type, stride, pointer); in __indirect_glColorPointerEXT() 82 __indirect_glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, in __indirect_glTexCoordPointerEXT() argument 86 __indirect_glTexCoordPointer(size, type, stride, pointer); in __indirect_glTexCoordPointerEXT() 90 __indirect_glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, in __indirect_glVertexPointerEXT() argument 94 __indirect_glVertexPointer(size, type, stride, pointer); in __indirect_glVertexPointerEXT() 127 * \c size parameter) to the appropriate gl*Pointer function. in __indirect_glInterleavedArrays() 132 * True size of a single element in the subarray, as would be passed in __indirect_glInterleavedArrays() 136 GLubyte size; in __indirect_glInterleavedArrays() member 159 GLint trueStride, size; in __indirect_glInterleavedArrays() local [all...] |
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | span_test.cc | 24 EXPECT_EQ(0u, empty.size()); in TYPED_TEST() 33 EXPECT_EQ(1u, singular.size()); in TYPED_TEST() 43 EXPECT_EQ(5u, five_items.size()); in TYPED_TEST() 52 EXPECT_EQ(3u, three_items.size()); in TYPED_TEST() 57 EXPECT_EQ(2u, two_items.size()); in TYPED_TEST() 65 EXPECT_EQ(0u, SpanFrom(nullptr).size()); in TEST() 69 EXPECT_EQ(0u, SpanFrom(kEmpty).size()); in TEST() 73 EXPECT_EQ(3u, SpanFrom(kFoo).size()); in TEST() 75 EXPECT_EQ(3u, SpanFrom("foo").size()); in TEST() 81 EXPECT_EQ(foo.size(), foo_spa in TEST() [all...] |
/third_party/lz4/ossfuzz/ |
H A D | round_trip_frame_uncompressed_fuzzer.c | 43 static void compress_round_trip(const uint8_t *data, size_t size, in compress_round_trip() argument 47 // data size that will be used for compression later and use the seeds to actually calculate the offsets in compress_round_trip() 50 size = FUZZ_dataProducer_remainingBytes(producer); in compress_round_trip() 52 size_t const uncompressedOffset = FUZZ_getRange_from_uint32(uncompressedOffsetSeed, 0, size); in compress_round_trip() 53 size_t const uncompressedEndOffset = FUZZ_getRange_from_uint32(uncompressedEndOffsetSeed, uncompressedOffset, size); in compress_round_trip() 56 FUZZ_ASSERT(uncompressedEndOffset <= size); in compress_round_trip() 61 LZ4F_compressFrameBound(LZ4_compressBound(size), &prefs) + in compress_round_trip() 94 size - uncompressedEndOffset, NULL); in compress_round_trip() 114 FUZZ_ASSERT_MSG(!memcmp(data, rt, size), "Corruption!"); in compress_round_trip() 123 static void compress_independent_block_mode(const uint8_t *data, size_t size) { in compress_independent_block_mode() argument 131 LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) LLVMFuzzerTestOneInput() argument [all...] |
/third_party/mesa3d/src/util/ |
H A D | ralloc.h | 98 * simply allocates storage for \p size bytes and returns the pointer, 101 void *ralloc_size(const void *ctx, size_t size) MALLOCLIKE; 106 * This is similar to \c calloc with a size of 1. 108 void *rzalloc_size(const void *ctx, size_t size) MALLOCLIKE; 113 * Similar to \c realloc. Unlike C89, passing 0 for \p size does not free the 120 * \param size The amount of memory to allocate, in bytes. 122 void *reralloc_size(const void *ctx, void *ptr, size_t size); 128 * Similar to \c realloc. Unlike C89, passing 0 for \p size does not free the 181 * Similar to \c realloc. Unlike C89, passing 0 for \p size does not free the 202 * Similar to \c realloc. Unlike C89, passing 0 for \p size doe [all...] |
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A D | memorypool.c | 36 * Align to 2x word size (as GNU libc does). 61 size_t size; member 83 * @param max maximum size of the pool 124 pool->size = max; in MHD_pool_create() 143 munmap (pool->memory, pool->size); in MHD_pool_destroy() 154 * Allocate size bytes from the pool. 157 * @param size number of bytes to allocate 161 * @return NULL if the pool cannot support size more 166 size_t size, int from_end) in MHD_pool_allocate() 171 asize = ROUND_TO_ALIGN (size); in MHD_pool_allocate() 165 MHD_pool_allocate(struct MemoryPool *pool, size_t size, int from_end) MHD_pool_allocate() argument 262 MHD_pool_reset(struct MemoryPool *pool, void *keep, size_t size) MHD_pool_reset() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
H A D | StringMatcher.cpp | 31 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) { in FindFirstNonCommonLetter() 35 for (unsigned str = 0, e = Matches.size(); str != e; ++str) in FindFirstNonCommonLetter() 40 return Matches[0]->first.size(); in FindFirstNonCommonLetter() 56 if (CharNo == Matches[0]->first.size()) { in EmitStringMatcherForChar() 57 if (Matches.size() > 1 && !IgnoreDuplicates) in EmitStringMatcherForChar() 78 for (unsigned i = 0, e = Matches.size(); i != e; ++i) in EmitStringMatcherForChar() 84 if (MatchesByLetter.size() == 1) { in EmitStringMatcherForChar() 117 << LI->second.size() << " string"; in EmitStringMatcherForChar() 118 if (LI->second.size() != 1) OS << 's'; in EmitStringMatcherForChar() 138 for (unsigned i = 0, e = Matches.size(); in Emit() [all...] |
/foundation/ability/dmsfwk/test/fuzztest/distributedwantparams_fuzzer/ |
H A D | distributedwantparams_fuzzer.cpp | 57 bool DoSomethingInterestingWithMyAPI_DistributedWantParams_001(const char* data, size_t size) in DoSomethingInterestingWithMyAPI_DistributedWantParams_001() argument 60 std::string key(data, size); in DoSomethingInterestingWithMyAPI_DistributedWantParams_001() 80 bool DoSomethingInterestingWithMyAPI_DistributedWantParams_002(const char* data, size_t size) in DoSomethingInterestingWithMyAPI_DistributedWantParams_002() argument 112 std::string key(data, size); in DoSomethingInterestingWithMyAPI_DistributedWantParams_002() 120 bool DoSomethingInterestingWithMyAPI_DistributedWantParams_003(const char* data, size_t size) in DoSomethingInterestingWithMyAPI_DistributedWantParams_003() argument 125 std::string key(data, size); in DoSomethingInterestingWithMyAPI_DistributedWantParams_003() 172 bool DoSomethingInterestingWithMyAPI_DistributedWantParams_004(const char* data, size_t size) in DoSomethingInterestingWithMyAPI_DistributedWantParams_004() argument 177 std::string value(data, size); in DoSomethingInterestingWithMyAPI_DistributedWantParams_004() 194 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 202 /* Validate the length of size */ in LLVMFuzzerTestOneInput() [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/librawplugin/src/ |
H A D | raw_decoder.cpp | 119 "colorSpace=%{public}d, size=(%{public}u, %{public}u), state=%{public}d", in SetDecodeOptions() 157 uint32_t RawDecoder::GetImageSize(uint32_t index, Size &size) in GetImageSize() argument 168 IMAGE_LOGE("[GetImageSize] get image size failed for state %{public}d.", state_); in GetImageSize() 173 size = info_.size; in GetImageSize() 174 IMAGE_LOGD("GetImageSize OUT size=(%{public}u, %{public}u)", size.width, size.height); in GetImageSize() 181 IMAGE_LOGD("[GetImageSize]decode header error on get image size, ret:%{public}u.", ret); in GetImageSize() 186 ret = DoGetImageSize(index, size); in GetImageSize() 278 uint32_t size = piexImage.length; DoDecodeHeaderByPiex() local 327 DoGetImageSize(uint32_t index, Size &size) DoGetImageSize() argument [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/ |
H A D | camera_output_capability.cpp | 47 Profile::Profile(CameraFormat format, Size size) : format_(format), size_(size), specId_(0) {} in Profile() argument 48 Profile::Profile(CameraFormat format, Size size, int32_t specId) : format_(format), size_(size), specId_(specId) {} in Profile() argument 49 Profile::Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId) in Profile() argument 50 : format_(format), size_(size), fps_(fps), abilityId_(abilityId), specId_(0) {} in Profile() 51 Profile::Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId, int32_t specId) in Profile() argument 52 : format_(format), size_(size), fps_(fps), abilityId_(abilityId), specId_(specId) {} in Profile() 94 VideoProfile::VideoProfile(CameraFormat format, Size size, std::vector<int32_t> framerates) : Profile(format, size) in VideoProfile() argument 99 VideoProfile( CameraFormat format, Size size, std::vector<int32_t> framerates, int32_t specId) VideoProfile() argument 127 DepthProfile(CameraFormat format, DepthDataAccuracy dataAccuracy, Size size) DepthProfile() argument [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_cloud_data_translate.cpp | 35 auto size = DistributedData::HostToNet((uint16_t)data.length()); in AssetToBlob() local 39 rawData.insert(rawData.end(), reinterpret_cast<uint8_t *>(&size), in AssetToBlob() 40 reinterpret_cast<uint8_t *>(&size) + sizeof(size)); in AssetToBlob() 48 auto num = DistributedData::HostToNet((uint16_t)assets.size()); in AssetsToBlob() 63 if (ParserRawData(blob.data(), blob.size(), asset) == 0) { in BlobToAsset() 72 if (ParserRawData(blob.data(), blob.size(), assets) == 0) { in BlobToAssets() 81 uint16_t size = 0; in ParserRawData() local 93 if (sizeof(size) > length - used) { in ParserRawData() 96 alignData.assign(data + used, data + used + sizeof(size)); in ParserRawData() [all...] |
/third_party/backends/sanei/ |
H A D | sanei_config.c | 251 int size=0; in sanei_configure_attach() local 316 size=config->descriptors[i]->size; in sanei_configure_attach() 317 value = malloc (size); in sanei_configure_attach() 319 count = config->descriptors[i]->size / sizeof (SANE_Word); in sanei_configure_attach() 334 size=config->descriptors[i]->size; in sanei_configure_attach() 335 value = malloc (size); in sanei_configure_attach() 337 count = config->descriptors[i]->size / sizeof (SANE_Bool); in sanei_configure_attach() 368 size in sanei_configure_attach() [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | assembler.cc | 99 explicit DefaultAssemblerBuffer(int size) in DefaultAssemblerBuffer() argument 101 std::max(AssemblerBase::kMinimalBufferSize, size))) { in DefaultAssemblerBuffer() 103 ZapCode(reinterpret_cast<Address>(buffer_.start()), buffer_.size()); in DefaultAssemblerBuffer() 109 int size() const override { return static_cast<int>(buffer_.size()); } 112 DCHECK_LT(size(), new_size); 122 ExternalAssemblerBufferImpl(byte* start, int size) in ExternalAssemblerBufferImpl() argument 123 : start_(start), size_(size) {} in ExternalAssemblerBufferImpl() 127 int size() const override { return size_; } 168 int size) { in ExternalAssemblerBuffer() 167 ExternalAssemblerBuffer(void* start, int size) ExternalAssemblerBuffer() argument 173 NewAssemblerBuffer(int size) NewAssemblerBuffer() argument 318 int size = pc_offset() - offset; WriteCodeComments() local [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | memcopy.h | 34 V8_EXPORT_PRIVATE void MemMove(void* dest, const void* src, size_t size); 35 using MemMoveFunction = void (*)(void* dest, const void* src, size_t size); 39 V8_INLINE void MemCopy(void* dest, const void* src, size_t size) { in MemCopy() argument 40 MemMove(dest, src, size); in MemCopy() 44 size_t size); 52 V8_INLINE void MemCopy(void* dest, const void* src, size_t size) { in MemCopy() argument 54 reinterpret_cast<const uint8_t*>(src), size); in MemCopy() local 57 size_t size) { in MemMove() 58 memmove(dest, src, size); in MemMove() 65 size_t size); 56 MemMove(void* dest, const void* src, size_t size) MemMove() argument 73 MemCopy(void* dest, const void* src, size_t size) MemCopy() argument 75 reinterpret_cast<const uint8_t*>(src), size); MemCopy() local 77 MemMove(void* dest, const void* src, size_t size) MemMove() argument 83 MemCopy(void* dest, const void* src, size_t size) MemCopy() argument 114 MemMove(void* dest, const void* src, size_t size) MemMove() argument [all...] |
/third_party/libcoap/src/ |
H A D | coap_mem.c | 37 * The maximum size of a string on platforms that allocate fixed-size 46 * fixed-size memory blocks. 54 * fixed-size memory blocks. 62 * fixed-size memory blocks. 70 * fixed-size memory blocks. Default is #COAP_MAX_RESOURCES * 4. 79 * and values on platforms that allocate fixed-size memory blocks. 88 * The maximum size of attribute names or values and values on 89 * platforms that allocate fixed-size memory blocks. 97 * fixed-size memor 409 coap_malloc_type(coap_memory_tag_t type, size_t size) coap_malloc_type() argument 435 coap_realloc_type(coap_memory_tag_t type, void *p, size_t size) coap_realloc_type() argument 465 coap_malloc_type(coap_memory_tag_t type, size_t size) coap_malloc_type() argument 471 coap_realloc_type(coap_memory_tag_t type, void *p, size_t size) coap_realloc_type() argument 492 coap_malloc_type(coap_memory_tag_t type, size_t size) coap_malloc_type() argument 497 coap_realloc_type(coap_memory_tag_t type, void *p, size_t size) coap_realloc_type() argument [all...] |
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | utils.c | 120 static void AddMem(void* ptr, size_t size) { in AddMem() argument 127 b->size_ = size; in AddMem() 128 total_mem += size; in AddMem() 129 total_mem_allocated += size; in AddMem() 135 fprintf(stderr, "Mem: %u (+%u)\n", (uint32_t)total_mem, (uint32_t)size); in AddMem() 170 // Returns 0 in case of overflow of nmemb * size. 171 static int CheckSizeArgumentsOverflow(uint64_t nmemb, size_t size) { in CheckSizeArgumentsOverflow() argument 172 const uint64_t total_size = nmemb * size; in CheckSizeArgumentsOverflow() 174 if ((uint64_t)size > WEBP_MAX_ALLOCABLE_MEMORY / nmemb) return 0; in CheckSizeArgumentsOverflow() 194 void* WebPSafeMalloc(uint64_t nmemb, size_t size) { in WebPSafeMalloc() argument 204 WebPSafeCalloc(uint64_t nmemb, size_t size) WebPSafeCalloc() argument 224 WebPMalloc(size_t size) WebPMalloc() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/ |
H A D | GPUTestExpectationsParser_unittest.cpp | 208 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P() 209 if (parser.getErrorMessages().size() >= 1) in TEST_P() 225 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P() 226 if (parser.getErrorMessages().size() >= 1) in TEST_P() 240 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P() 241 if (parser.getErrorMessages().size() >= 1) in TEST_P() 270 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P() 271 if (parser.getErrorMessages().size() >= 1) in TEST_P() 285 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P() 286 if (parser.getErrorMessages().size() > in TEST_P() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os.h | 259 * @size: Number of bytes to allocate 264 void * os_zalloc(size_t size); 269 * @size: Number of bytes in each member 272 * This function can be used as a wrapper for os_zalloc(nmemb * size) when an 278 static inline void * os_calloc(size_t nmemb, size_t size) in os_calloc() argument 280 if (size && nmemb > (~(size_t) 0) / size) in os_calloc() 282 return os_zalloc(nmemb * size); in os_calloc() 306 * @size: Size of the buffer to allocate 311 void * os_malloc(size_t size); 560 os_snprintf_error(size_t size, int res) os_snprintf_error() argument 566 os_realloc_array(void *ptr, size_t nmemb, size_t size) os_realloc_array() argument 580 os_remove_in_array(void *ptr, size_t nmemb, size_t size, size_t idx) os_remove_in_array() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | os.h | 259 * @size: Number of bytes to allocate 264 void * os_zalloc(size_t size); 269 * @size: Number of bytes in each member 272 * This function can be used as a wrapper for os_zalloc(nmemb * size) when an 278 static inline void * os_calloc(size_t nmemb, size_t size) in os_calloc() argument 280 if (size && nmemb > (~(size_t) 0) / size) in os_calloc() 282 return os_zalloc(nmemb * size); in os_calloc() 306 * @size: Size of the buffer to allocate 311 void * os_malloc(size_t size); 560 os_snprintf_error(size_t size, int res) os_snprintf_error() argument 566 os_realloc_array(void *ptr, size_t nmemb, size_t size) os_realloc_array() argument 580 os_remove_in_array(void *ptr, size_t nmemb, size_t size, size_t idx) os_remove_in_array() argument [all...] |
/third_party/backends/backend/ |
H A D | gt68xx_mid.c | 224 size_t size; in line_read_gray_8() local 227 size = reader->params.scan_bpl; in line_read_gray_8() 229 RIE (gt68xx_device_read (reader->dev, reader->pixel_buffer, &size)); in line_read_gray_8() 243 size_t size; in line_read_gray_double_8() local 247 size = reader->params.scan_bpl; in line_read_gray_double_8() 249 RIE (gt68xx_device_read (reader->dev, reader->pixel_buffer, &size)); in line_read_gray_double_8() 269 size_t size; in line_read_gray_12() local 272 size = reader->params.scan_bpl; in line_read_gray_12() 273 RIE (gt68xx_device_read (reader->dev, reader->pixel_buffer, &size)); in line_read_gray_12() 287 size_t size; in line_read_gray_double_12() local 313 size_t size; line_read_gray_16() local 331 size_t size; line_read_gray_double_16() local 358 size_t size; line_read_rgb_8_line_mode() local 392 size_t size; line_read_rgb_double_8_line_mode() local 438 size_t size; line_read_bgr_8_line_mode() local 471 size_t size; line_read_rgb_12_line_mode() local 507 size_t size; line_read_rgb_double_12_line_mode() local 556 size_t size; line_read_rgb_16_line_mode() local 592 size_t size; line_read_rgb_double_16_line_mode() local 641 size_t size; line_read_bgr_12_line_mode() local 677 size_t size; line_read_bgr_16_line_mode() local 713 size_t size; line_read_rgb_8_pixel_mode() local 747 size_t size; line_read_rgb_12_pixel_mode() local 775 size_t size; line_read_rgb_16_pixel_mode() local 811 size_t size; line_read_bgr_8_pixel_mode() local 845 size_t size; line_read_bgr_12_pixel_mode() local 873 size_t size; line_read_bgr_16_pixel_mode() local [all...] |
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
H A D | radv_amdgpu_bo.c | 49 uint64_t size, uint64_t addr, uint32_t bo_flags, uint64_t internal_flags, in radv_amdgpu_bo_va_op() 63 size = align64(size, getpagesize()); in radv_amdgpu_bo_va_op() 65 return amdgpu_bo_va_op_raw(ws->dev, bo, offset, size, addr, flags, ops); in radv_amdgpu_bo_va_op() 112 uint64_t offset, uint64_t size, struct radeon_winsys_bo *_bo, in radv_amdgpu_winsys_bo_virtual_bind() 131 r = radv_amdgpu_bo_va_op(ws, bo->bo, bo_offset, size, parent->base.va + offset, 0, 0, in radv_amdgpu_winsys_bo_virtual_bind() 134 r = radv_amdgpu_bo_va_op(ws, NULL, 0, size, parent->base.va + offset, 0, AMDGPU_VM_PAGE_PRT, in radv_amdgpu_winsys_bo_virtual_bind() 176 parent->ranges[first].offset + parent->ranges[first].size < offset) in radv_amdgpu_winsys_bo_virtual_bind() 180 while (last + 1 < parent->range_count && parent->ranges[last + 1].offset <= offset + size) in radv_amdgpu_winsys_bo_virtual_bind() 188 bool remove_last = parent->ranges[last].offset + parent->ranges[last].size in radv_amdgpu_winsys_bo_virtual_bind() 48 radv_amdgpu_bo_va_op(struct radv_amdgpu_winsys *ws, amdgpu_bo_handle bo, uint64_t offset, uint64_t size, uint64_t addr, uint32_t bo_flags, uint64_t internal_flags, uint32_t ops) radv_amdgpu_bo_va_op() argument 111 radv_amdgpu_winsys_bo_virtual_bind(struct radeon_winsys *_ws, struct radeon_winsys_bo *_parent, uint64_t offset, uint64_t size, struct radeon_winsys_bo *_bo, uint64_t bo_offset) radv_amdgpu_winsys_bo_virtual_bind() argument 262 uint64_t size; global() member 371 radv_amdgpu_winsys_bo_create(struct radeon_winsys *_ws, uint64_t size, unsigned alignment, enum radeon_bo_domain initial_domain, enum radeon_bo_flag flags, unsigned priority, uint64_t replay_address, struct radeon_winsys_bo **out_bo) radv_amdgpu_winsys_bo_create() argument 583 radv_amdgpu_get_optimal_vm_alignment(struct radv_amdgpu_winsys *ws, uint64_t size, unsigned alignment) radv_amdgpu_get_optimal_vm_alignment() argument 605 radv_amdgpu_winsys_bo_from_ptr(struct radeon_winsys *_ws, void *pointer, uint64_t size, unsigned priority, struct radeon_winsys_bo **out_bo) radv_amdgpu_winsys_bo_from_ptr() argument [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 410 ReportCreateImageSourceFault(opts.size.width, opts.size.height, traceName, "stream failed"); in DoImageSourceCreate() 417 ReportCreateImageSourceFault(opts.size.width, opts.size.height, traceName, "failed to create ImageSource"); in DoImageSourceCreate() 441 unique_ptr<ImageSource> ImageSource::CreateImageSource(const uint8_t *data, uint32_t size, const SourceOptions &opts, in CreateImageSource() argument 444 if (size > MAX_SOURCE_SIZE) { in CreateImageSource() 445 IMAGE_LOGE("%{public}s input size %{public}u is too large.", __func__, size); in CreateImageSource() 451 if (data == nullptr || size == 0) { in CreateImageSource() 457 [&data, &size]() { in CreateImageSource() [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_graph_share_manager.cpp | 48 PLUGIN_ASSERT_MSG(ref.resources.size() < A_BIG_TEST_NUMBER, in SetGlobalRenderNodeResources() 83 if ((outputs.size() > 0) && (rngOutputResources_.size() > 0) && (outputs.size() != rngOutputResources_.size())) { in BeginFrame() 86 "RENDER_VALIDATION: given output size missmatch with render node graph outputs."); in BeginFrame() 89 const uint32_t outputCount = static_cast<uint32_t>(Math::max(rngOutputResources_.size(), outputs.size())); in BeginFrame() 91 inOut_.inputView = { inOut_.inputs, inputs.size() }; in BeginFrame() 93 inOut_.namedInputView = { inOut_.namedInputs, inputs.size() }; in BeginFrame() [all...] |