| /third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
| H A D | RobustResourceInitTest.cpp | 374 GLBuffer buffer; in TEST_P() local 375 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P() 398 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P() 414 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P() 419 // Regression test for passing a zero size init buffer with the extension. 424 GLBuffer buffer; in TEST_P() local 425 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P() 939 GLBuffer buffer; in TEST_P() local 940 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer); in TEST_P() 1043 // Test drawing with the resolved depth buffer in TEST_P() [all...] |
| /third_party/skia/third_party/externals/libwebp/src/enc/ |
| H A D | vp8l_enc.c | 1427 // Allocates the memory for argb (W x H) buffer, 2 rows of context for 1559 // using 'row' as a temporary buffer of size 'width'. 1566 // TODO(skal): this tmp buffer is not needed if VP8LBundleColorMap() can be in ApplyPalette() 1577 uint16_t buffer[PALETTE_INV_SIZE]; in ApplyPalette() local 1587 // Set each element in buffer to max uint16_t. in ApplyPalette() 1588 memset(buffer, 0xff, sizeof(buffer)); in ApplyPalette() 1591 if (buffer[ind] != 0xffffu) { in ApplyPalette() 1595 buffer[ind] = j; in ApplyPalette() 1602 APPLY_PALETTE_FOR(buffer[ApplyPaletteHash in ApplyPalette() [all...] |
| /third_party/selinux/libsepol/cil/src/ |
| H A D | cil.c | 515 char *buffer = NULL; in cil_add_file() local 520 buffer = cil_malloc(size + 2); in cil_add_file() 521 memcpy(buffer, data, size); in cil_add_file() 522 memset(buffer + size, 0, 2); in cil_add_file() 524 rc = cil_parser(name, buffer, size + 2, &db->parse); in cil_add_file() 530 free(buffer); in cil_add_file() 531 buffer = NULL; in cil_add_file() 536 free(buffer); in cil_add_file()
|
| /base/hiviewdfx/hiview/base/utility/include/ |
| H A D | file_util.h | 71 bool WriteBufferToFd(int fd, const char* buffer, size_t size);
|
| /base/web/webview/ohos_adapter/camera_adapter/include/ |
| H A D | camera_manager_adapter_impl.h | 41 explicit CameraSurfaceBufferAdapterImpl(sptr<SurfaceBuffer> buffer);
|
| /foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
| H A D | zip_file.h | 284 bool ReadZStreamFromMMap(const BytePtr &buffer, void* &dataPtr,
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
| H A D | canvas_rendering_context_2d_model_ng.h | 105 void GetImageDataModel(const ImageSize& imageSize, uint8_t* buffer) override;
|
| H A D | offscreen_canvas_rendering_context_2d_model_ng.h | 102 void GetImageDataModel(const ImageSize& imageSize, uint8_t* buffer) override;
|
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/ |
| H A D | offscreen_canvas_rendering_context_2d_model_impl.h | 101 void GetImageDataModel(const ImageSize& imageSize, uint8_t* buffer) override;
|
| H A D | canvas_rendering_context_2d_model_impl.h | 101 void GetImageDataModel(const ImageSize& imageSize, uint8_t* buffer) override;
|
| /foundation/arkui/ace_engine/frameworks/core/components/camera/standard_system/ |
| H A D | camera.h | 83 int32_t SaveData(char *buffer, int32_t size, std::string& path);
|
| /foundation/arkui/ace_engine/interfaces/native/ |
| H A D | native_gesture.h | 566 * @param buffer Indicates the buffer. 567 * @param bufferSize Indicates the buffer size. 568 * @param result Indicates the length of the string to be written to the buffer. 571 * Returns {@link ARKUI_ERROR_CODE_BUFFER_SIZE_NOT_ENOUGH} if the buffer is not large enough. 574 int32_t OH_ArkUI_GetGestureTag(ArkUI_GestureRecognizer* recognizer, char* buffer, int32_t bufferSize, int32_t* result); 581 * @param size Indicates the buffer size. 582 * @param result Indicates the length of the string to be written to the buffer. 585 * Returns {@link ARKUI_ERROR_CODE_BUFFER_SIZE_NOT_ENOUGH} if the buffer is not large enough.
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
| H A D | service_collaboration_menu_ace_helper.h | 101 RefPtr<PixelMap> CreatePixelMap(void *buffer, uint32_t code, uint32_t dataLength);
|
| /foundation/arkui/napi/interfaces/inner_api/napi/ |
| H A D | native_node_api.h | 60 NAPI_EXTERN napi_status napi_run_actor(napi_env env, uint8_t* buffer, size_t bufferSize,
|
| /foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocapturer/include/ |
| H A D | audio_capturer.h | 102 * Called when buffer to be enqueued. 104 * @param length Indicates requested buffer length. 311 * @param buffer Indicates the pointer to the buffer into which the audio data is to be written. 312 * @param userSize Indicates the size of the buffer into which the audio data is to be written, in bytes. 323 virtual int32_t Read(uint8_t &buffer, size_t userSize, bool isBlockingRead) const = 0; 376 * @brief Obtains a reasonable minimum buffer size for capturer, however, the capturer can 441 * @brief set the buffer duration for capturer, minimum buffer duration is 5msec 444 * @param bufferDuration Indicates a buffer duratio [all...] |
| /foundation/multimedia/audio_framework/services/audio_service/server/include/ |
| H A D | pro_renderer_stream_impl.h | 84 void ConvertSrcToFloat(uint8_t *buffer, size_t bufLength, float volume);
|
| /foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/ |
| H A D | napi_audio_capturer.h | 54 uint8_t *buffer = nullptr; member
|
| /foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/example/ |
| H A D | audio_inner_capturer_test.cpp | 80 ret = fwrite(reinterpret_cast<void *>(bufferDesc.buffer), 1, bufferDesc.bufLength, pfd_); in OnReadData()
|
| /foundation/multimedia/audio_lite/services/impl/audio_source/ |
| H A D | audio_source.cpp | 260 int32_t ret = audioCapture_->CaptureFrame(audioCapture_, frame.buffer, frame.bufferLen, &readlen); in ReadFrame()
|
| /foundation/multimedia/av_codec/services/media_engine/modules/demuxer/ |
| H A D | demuxer_plugin_manager.h | 25 #include "buffer/avbuffer.h"
53 Status ReadAt(int64_t offset, std::shared_ptr<Buffer>& buffer, size_t expectedLen) override;
|
| /foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/mock/ |
| H A D | vcodec_mock.h | 120 virtual int32_t SetCustomBuffer(std::shared_ptr<AVBufferMock> buffer) = 0;
|
| /foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
| H A D | napi_test.cpp | 262 ASSERT_EQ(resource.buffer, nullptr); in HWTEST_F()
|
| /foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_decoder/ |
| H A D | video_decoder.cpp | 180 int32_t ret = OH_AVBuffer_SetBufferAttr(reinterpret_cast<OH_AVBuffer *>(info.buffer), &info.attr);
in PushInput() 185 "Push input buffer failed, ret: %{public}d", ret);
in PushInput() 205 "Free output buffer failed, ret: %{public}d", ret);
in FreeOutput() 215 "Render output buffer failed, ret: %{public}d", ret);
in FreeOutput()
|
| /foundation/multimedia/image_effect/frameworks/native/effect/pipeline/core/ |
| H A D | filter_base.cpp | 129 ErrorCode FilterBase::PushData(const std::string &inPort, const std::shared_ptr<EffectBuffer> &buffer, in PushData() argument
|
| /foundation/communication/ipc/interfaces/innerkits/c/ipc/include/ |
| H A D | serializer.h | 54 void IpcIoInit(IpcIo* io, void* buffer, size_t bufferSize, size_t maxobjects);
|