/foundation/graphic/graphic_surface/interfaces/inner_api/surface/ |
H A D | window.h | 60 int32_t NativeWindowSetMetaData(OHNativeWindow *window, uint32_t sequence, int32_t size,
63 int32_t size, const uint8_t *metaData);
82 int32_t size, uint8_t *metadata);
84 int32_t *size, uint8_t **metadata);
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | render_handle_component_manager.cpp | 65 return componentMetaData_.size(); 70 if (index < componentMetaData_.size()) { 91 if (index < components_.size()) { 107 if (index < components_.size()) {
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/ |
H A D | audio_policy_manager_listener_proxy.cpp | 92 size_t size = deviceChangeAction.deviceDescriptors.size(); in OnAvailableDeviceChange() local 95 data.WriteInt32(deviceChangeAction.flag) && data.WriteInt32(static_cast<int32_t>(size)); in OnAvailableDeviceChange() 98 for (size_t i = 0; i < size; i++) { in OnAvailableDeviceChange()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/memory/ |
H A D | rs_memory_track.h | 39 size_t size = 0; member 52 MemoryNodeOfPid(size_t size, NodeId id); 88 bool RemoveNodeFromMap(const NodeId id, pid_t& pid, size_t& size); 89 void RemoveNodeOfPidFromMap(const pid_t pid, const size_t size, const NodeId id);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_node_create_gpu_buffers.cpp | 56 descs_.reserve(jsonInputs_.gpuBufferDescs.size()); in InitNode() 80 for (size_t idx = 0; idx < resourceHandles_.size(); ++idx) { in InitNode() 89 for (size_t idx = 0; idx < resourceHandles_.size(); ++idx) { in PreExecuteFrame() 104 for (size_t idx = 0; idx < resourceHandles_.size(); ++idx) { in PreExecuteFrame()
|
/foundation/multimedia/audio_framework/services/audio_policy/client/src/ |
H A D | audio_policy_manager_listener_stub.cpp | 52 int32_t size = data.ReadInt32(); in ReadAudioDeviceChangeData() local 53 CHECK_AND_RETURN_LOG(size < DEVICE_CHANGE_VALID_SIZE, "get invalid size : %{public}d", size); in ReadAudioDeviceChangeData() 55 for (int32_t i = 0; i < size; i++) { in ReadAudioDeviceChangeData()
|
/foundation/graphic/graphic_surface/surface/test/fuzztest/bufferutils_fuzzer/ |
H A D | bufferutils_fuzzer.cpp | 31 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 83 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 87 g_size = size; in LLVMFuzzerTestOneInput() 89 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_surface/surface/test/fuzztest/surfacebuffer_fuzzer/ |
H A D | surfacebuffer_fuzzer.cpp | 37 * describe: get data from outside untrusted data(g_data) which size is according to sizeof(T) 74 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 82 g_size = size; in DoSomethingInterestingWithMyAPI() 127 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 130 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscolorextract_fuzzer/ |
H A D | rscolorextract_fuzzer.cpp | 56 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 64 g_size = size;
in DoSomethingInterestingWithMyAPI() 110 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 113 OHOS::Rosen::DoSomethingInterestingWithMyAPI(data, size);
in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsdirtyregionmanager_fuzzer/ |
H A D | rsdirtyregionmanager_fuzzer.cpp | 54 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 62 g_size = size;
in DoSomethingInterestingWithMyAPI() 131 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 134 OHOS::Rosen::DoSomethingInterestingWithMyAPI(data, size);
in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrendernodemap_fuzzer/ |
H A D | rsrendernodemap_fuzzer.cpp | 55 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 63 g_size = size;
in DoSomethingInterestingWithMyAPI() 99 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 102 OHOS::Rosen::DoSomethingInterestingWithMyAPI(data, size);
in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rssurfaceohos_fuzzer/ |
H A D | rssurfaceohos_fuzzer.cpp | 54 bool RSSurfaceOhosFuzzTest(const uint8_t* data, size_t size) in RSSurfaceOhosFuzzTest() argument 61 g_size = size; in RSSurfaceOhosFuzzTest() 102 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 105 OHOS::Rosen::RSSurfaceOhosFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_particle_noise_field.h | 64 const Vector2f& position, const Vector2f& direction, const Vector2f& center, const Vector2f& size); 96 if (index < fields_.size()) { in RemoveField() 103 if (index < fields_.size()) { in GetField() 111 return fields_.size(); in GetFieldCount()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_capturedata.cpp | 122 size_t size = properties_.size(); in Serialize() local 123 archive.Serialize(size); in Serialize() 129 for (size_t i = 0; i < size; i++) { in Serialize()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsuisurface_fuzzer/ |
H A D | rsuisurface_fuzzer.cpp | 35 * describe: get data from outside untrusted data(g_data) which size is according to sizeof(T) 75 bool RSUIDirectorFuzzTest(const uint8_t* data, size_t size) in RSUIDirectorFuzzTest() argument 83 g_size = size; in RSUIDirectorFuzzTest() 119 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 122 OHOS::Rosen::RSUIDirectorFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_3d/lume/LumeDotfield/src/render/ |
H A D | render_data_store_default_dotfield.cpp | 56 const uint32_t dotfieldCount = primitive.size.x * primitive.size.y; in AddDotfieldPrimitive() 73 return { primitives_.data(), primitives_.size() }; in GetDotfieldPrimitives() 79 return { primitives_.data(), primitives_.size() }; in GetDotfieldPrimitives()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/ |
H A D | test_base.cpp | 33 opts.size.width = width_; in CreateBitmapCanvas() 34 opts.size.height = height_; in CreateBitmapCanvas() 47 Drawing::ImageInfo drawingImageInfo { imageInfo.size.width, imageInfo.size.height, in CreateBitmapCanvas()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rspropertydrawable_fuzzer/ |
H A D | rspropertydrawable_fuzzer.cpp | 57 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 65 g_size = size;
in DoSomethingInterestingWithMyAPI() 116 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 119 OHOS::Rosen::DoSomethingInterestingWithMyAPI(data, size);
in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/lume/log/ |
H A D | Logger.cpp | 144 size_t size = sRegisteredOnce.size();
in checkOnce() local 147 // Something was inserted if the size changed.
in checkOnce() 148 return size != sRegisteredOnce.size();
in checkOnce()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test/fuzztest/vsyncconnection_fuzzer/ |
H A D | vsyncconnection_fuzzer.cpp | 33 * describe: get data from outside untrusted data(data_) which size is according to sizeof(T) 52 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 60 size_ = size; in DoSomethingInterestingWithMyAPI() 101 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 104 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/test/fuzztest/rswindowanimation_fuzzer/ |
H A D | rswindowanimation_fuzzer.cpp | 36 * describe: get data from outside untrusted data(g_data) which size is according to sizeof(T)
109 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 117 g_size = size;
in DoSomethingInterestingWithMyAPI() 129 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 132 OHOS::DoSomethingInterestingWithMyAPI(data, size);
in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdiscreen_fuzzer/ |
H A D | hdiscreen_fuzzer.cpp | 33 * describe: get data from outside untrusted data(data_) which size is according to sizeof(T) 83 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 91 size_ = size; in DoSomethingInterestingWithMyAPI() 143 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 146 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/ |
H A D | tiff_parser_test.cpp | 66 uint32_t size; in HWTEST_F() local 67 parser.EncodeJpegExif(&dataPtr, size, exifData_); in HWTEST_F() 103 uint32_t size; in HWTEST_F() local 104 parser.Encode(&dataPtr, size, exifData_); in HWTEST_F()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hardware/imagecodec/ |
H A D | image_codec_buffer.h | 37 void GetBufferCirculateInfo(int64_t& pts, uint32_t& flag, uint32_t& size, uint32_t& offset) const in GetBufferCirculateInfo() argument 41 size = size_; in GetBufferCirculateInfo() 44 void SetBufferCirculateInfo(int64_t pts, uint32_t flag, uint32_t size, uint32_t offset) in SetBufferCirculateInfo() argument 48 size_ = size; in SetBufferCirculateInfo()
|
/foundation/multimedia/media_foundation/test/scenetest/helper/ |
H A D | media_data_source_imp.cpp | 74 return data_.size() * 4; // 4 in ReadDataFromFile() 94 int32_t IMediaDataSourceImpl::GetSize(int64_t &size) in GetSize() argument 97 size = -1; in GetSize() 100 size = size_; in GetSize()
|