/foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/include/ |
H A D | avbuffer_queue_impl.h | 24 #include "buffer/avbuffer_queue.h" 42 std::shared_ptr<AVBuffer> buffer; member 68 bool IsBufferInQueue(const std::shared_ptr<AVBuffer>& buffer) override; 71 virtual Status RequestBuffer(std::shared_ptr<AVBuffer>& buffer, 74 virtual Status PushBuffer(const std::shared_ptr<AVBuffer>& buffer, bool available); 76 virtual Status ReturnBuffer(const std::shared_ptr<AVBuffer>& buffer, bool available); 78 virtual Status AttachBuffer(std::shared_ptr<AVBuffer>& buffer, bool isFilled); 80 virtual Status DetachBuffer(const std::shared_ptr<AVBuffer>& buffer); 82 virtual Status AcquireBuffer(std::shared_ptr<AVBuffer>& buffer); 83 virtual Status ReleaseBuffer(const std::shared_ptr<AVBuffer>& buffer); [all...] |
/kernel/linux/linux-5.10/arch/sparc/prom/ |
H A D | tree_64.c | 114 * 'buffer' which has a size of 'bufsize'. If the acquisition 118 char *buffer, int bufsize) in prom_getproperty() 132 args[5] = (unsigned long) buffer; in prom_getproperty() 186 * buffer. 237 * buffer should be at least 32B in length 239 char *prom_firstprop(phandle node, char *buffer) in prom_firstprop() argument 243 *buffer = 0; in prom_firstprop() 245 return buffer; in prom_firstprop() 252 args[5] = (unsigned long) buffer; in prom_firstprop() 257 return buffer; in prom_firstprop() 117 prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize) prom_getproperty() argument 265 prom_nextprop(phandle node, const char *oprop, char *buffer) prom_nextprop() argument 378 prom_ihandle2path(int handle, char *buffer, int bufsize) prom_ihandle2path() argument [all...] |
/kernel/linux/linux-6.6/arch/sparc/prom/ |
H A D | tree_64.c | 114 * 'buffer' which has a size of 'bufsize'. If the acquisition 118 char *buffer, int bufsize) in prom_getproperty() 132 args[5] = (unsigned long) buffer; in prom_getproperty() 186 * buffer. 237 * buffer should be at least 32B in length 239 char *prom_firstprop(phandle node, char *buffer) in prom_firstprop() argument 243 *buffer = 0; in prom_firstprop() 245 return buffer; in prom_firstprop() 252 args[5] = (unsigned long) buffer; in prom_firstprop() 257 return buffer; in prom_firstprop() 117 prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize) prom_getproperty() argument 265 prom_nextprop(phandle node, const char *oprop, char *buffer) prom_nextprop() argument 378 prom_ihandle2path(int handle, char *buffer, int bufsize) prom_ihandle2path() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dirac_parser.c | 51 uint8_t *buffer; member 113 start = pc->buffer + offset; in unpack_parse_unit() 145 memmove(pc->buffer, pc->buffer + pc->overread_index, in dirac_combine_frame() 149 if (*buf_size == 0 && pc->buffer[4] == 0x10) { in dirac_combine_frame() 150 *buf = pc->buffer; in dirac_combine_frame() 159 av_fast_realloc(pc->buffer, &pc->buffer_size, in dirac_combine_frame() 163 pc->buffer = new_buffer; in dirac_combine_frame() 164 memcpy(pc->buffer + pc->index, (*buf + pc->sync_offset), in dirac_combine_frame() 171 void *new_buffer = av_fast_realloc(pc->buffer, in dirac_combine_frame() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | takdec.c | 58 uint8_t *buffer = NULL; in tak_read_header() local 91 buffer = av_malloc(size - 3 + AV_INPUT_BUFFER_PADDING_SIZE); in tak_read_header() 92 if (!buffer) in tak_read_header() 94 memset(buffer + size - 3, 0, AV_INPUT_BUFFER_PADDING_SIZE); in tak_read_header() 97 if (avio_read(pb, buffer, size - 3) != size - 3) { in tak_read_header() 98 av_freep(&buffer); in tak_read_header() 104 av_freep(&buffer); in tak_read_header() 148 ret = avpriv_tak_parse_streaminfo(&ti, buffer, size -3); in tak_read_header() 164 st->codecpar->extradata = buffer; in tak_read_header() 166 buffer in tak_read_header() [all...] |
/third_party/node/src/tracing/ |
H A D | node_trace_buffer.cc | 44 // Either the chunk belongs to the other buffer, or is outside the current in GetEventByHandle() 124 // If the buffer is full, attempt to perform a flush. in AddTraceEvent() 145 // Attempts to set current_buf_ such that it references a buffer that can 165 NodeTraceBuffer* buffer = static_cast<NodeTraceBuffer*>(signal->data); in NonBlockingFlushSignalCb() local 166 if (buffer->buffer1_.IsFull() && !buffer->buffer1_.IsFlushing()) { in NonBlockingFlushSignalCb() 167 buffer->buffer1_.Flush(false); in NonBlockingFlushSignalCb() 169 if (buffer->buffer2_.IsFull() && !buffer->buffer2_.IsFlushing()) { in NonBlockingFlushSignalCb() 170 buffer in NonBlockingFlushSignalCb() 176 NodeTraceBuffer* buffer = ExitSignalCb() local 182 NodeTraceBuffer* buffer = ExitSignalCb() local 188 NodeTraceBuffer* buffer = ExitSignalCb() local [all...] |
/third_party/skia/src/effects/ |
H A D | Sk2DPathEffect.cpp | 61 void flatten(SkWriteBuffer& buffer) const override { 62 this->INHERITED::flatten(buffer); 63 buffer.writeMatrix(fMatrix); 139 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() argument 141 buffer.readMatrix(&matrix); in CreateProc() 142 SkScalar width = buffer.readScalar(); in CreateProc() 146 void flatten(SkWriteBuffer &buffer) const override { 147 buffer.writeMatrix(this->getMatrix()); 148 buffer.writeScalar(fWidth); 170 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_link.c | 1863 uint8_t address, uint8_t *buffer, uint32_t length) in i2c_write() 1876 payload.data = buffer; in i2c_write() 1895 uint8_t buffer[2]; in write_i2c_retimer_setting() local 1903 memset(&buffer, 0, sizeof(buffer)); in write_i2c_retimer_setting() 1911 buffer[0] = settings->reg_settings[i].i2c_reg_index; in write_i2c_retimer_setting() 1912 buffer[1] = settings->reg_settings[i].i2c_reg_val; in write_i2c_retimer_setting() 1914 buffer, sizeof(buffer)); in write_i2c_retimer_setting() 1917 slave_address, buffer[ in write_i2c_retimer_setting() 1862 i2c_write(struct pipe_ctx *pipe_ctx, uint8_t address, uint8_t *buffer, uint32_t length) i2c_write() argument 2056 uint8_t buffer[2]; write_i2c_default_retimer_setting() local 2178 uint8_t buffer[16]; write_i2c_redriver_setting() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_dpms.c | 310 uint8_t address, uint8_t *buffer, uint32_t length) in write_i2c() 323 payload.data = buffer; in write_i2c() 342 uint8_t buffer[2]; in write_i2c_retimer_setting() local 350 memset(&buffer, 0, sizeof(buffer)); in write_i2c_retimer_setting() 358 buffer[0] = settings->reg_settings[i].i2c_reg_index; in write_i2c_retimer_setting() 359 buffer[1] = settings->reg_settings[i].i2c_reg_val; in write_i2c_retimer_setting() 361 buffer, sizeof(buffer)); in write_i2c_retimer_setting() 364 slave_address, buffer[ in write_i2c_retimer_setting() 309 write_i2c(struct pipe_ctx *pipe_ctx, uint8_t address, uint8_t *buffer, uint32_t length) write_i2c() argument 503 uint8_t buffer[2]; write_i2c_default_retimer_setting() local 625 uint8_t buffer[16]; write_i2c_redriver_setting() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-shape-complex-indic.cc | 168 hb_buffer_t *buffer); 172 hb_buffer_t *buffer); 176 hb_buffer_t *buffer); 341 hb_buffer_t *buffer, in setup_masks_indic() 344 HB_BUFFER_ALLOCATE_VAR (buffer, indic_category); in setup_masks_indic() 345 HB_BUFFER_ALLOCATE_VAR (buffer, indic_position); in setup_masks_indic() 350 unsigned int count = buffer->len; in setup_masks_indic() 351 hb_glyph_info_t *info = buffer->info; in setup_masks_indic() 359 hb_buffer_t *buffer) in setup_syllables_indic() 361 find_syllables_indic (buffer); in setup_syllables_indic() 340 setup_masks_indic(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_buffer_t *buffer, hb_font_t *font HB_UNUSED) setup_masks_indic() argument 357 setup_syllables_indic(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_font_t *font HB_UNUSED, hb_buffer_t *buffer) setup_syllables_indic() argument 378 update_consonant_positions_indic(const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) update_consonant_positions_indic() argument 407 initial_reordering_consonant_syllable(const hb_ot_shape_plan_t *plan, hb_face_t *face, hb_buffer_t *buffer, unsigned int start, unsigned int end) initial_reordering_consonant_syllable() argument 903 initial_reordering_standalone_cluster(const hb_ot_shape_plan_t *plan, hb_face_t *face, hb_buffer_t *buffer, unsigned int start, unsigned int end) initial_reordering_standalone_cluster() argument 925 initial_reordering_syllable_indic(const hb_ot_shape_plan_t *plan, hb_face_t *face, hb_buffer_t *buffer, unsigned int start, unsigned int end) initial_reordering_syllable_indic() argument 950 initial_reordering_indic(const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) initial_reordering_indic() argument 971 final_reordering_syllable_indic(const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer, unsigned int start, unsigned int end) final_reordering_syllable_indic() argument 1435 final_reordering_indic(const hb_ot_shape_plan_t *plan, hb_font_t *font HB_UNUSED, hb_buffer_t *buffer) final_reordering_indic() argument 1454 preprocess_text_indic(const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer, hb_font_t *font) preprocess_text_indic() argument [all...] |
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/ |
H A D | conv2d_transpose_builder.cpp | 88 void* buffer = tensor->GetBuffer(); in SetStrides() local 89 if (buffer == nullptr) { in SetStrides() 93 const int64_t* pStrides = reinterpret_cast<const int64_t*>(buffer); in SetStrides() 109 void* buffer = tensor->GetBuffer(); in SetDilation() local 110 if (buffer == nullptr) { in SetDilation() 114 const int64_t* pDilation = reinterpret_cast<const int64_t*>(buffer); in SetDilation() 133 void* buffer = tensor->GetBuffer(); in SetPad() local 134 if (buffer == nullptr) { in SetPad() 146 int8_t* pPad = static_cast<int8_t*>(buffer); in SetPad() 158 const int64_t* pPadList = reinterpret_cast<const int64_t*>(buffer); in SetPad() 180 void* buffer = tensor->GetBuffer(); SetGroup() local 199 void* buffer = tensor->GetBuffer(); SetOutPadding() local 225 void* buffer = tensor->GetBuffer(); SetActivation() local [all...] |
/foundation/graphic/graphic_surface/surface/test/systemtest/ |
H A D | surface_ipc_with_pts_test.cpp | 37 OHOS::GSError SetData(sptr<SurfaceBuffer> &buffer, sptr<Surface> &pSurface); 38 bool GetData(sptr<SurfaceBuffer> &buffer); 77 static inline GSError OnBufferRelease(sptr<SurfaceBuffer> &buffer) in OnBufferRelease() argument 82 OHOS::GSError SurfaceIPCWithPTSTest::SetData(sptr<SurfaceBuffer> &buffer, sptr<Surface> &pSurface) in SetData() argument 84 buffer->GetExtraData()->ExtraSet("123", 0x123); in SetData() 85 buffer->GetExtraData()->ExtraSet("345", (int64_t)0x345); in SetData() 86 buffer->GetExtraData()->ExtraSet("567", "567"); in SetData() 97 bool SurfaceIPCWithPTSTest::GetData(sptr<SurfaceBuffer> &buffer) in GetData() argument 102 buffer->GetExtraData()->ExtraGet("123", int32); in GetData() 103 buffer in GetData() 160 sptr<SurfaceBuffer> buffer; ChildProcessMain() local [all...] |
/foundation/multimedia/av_codec/test/unittest/filter_test/ |
H A D | surface_decoder_unit_test.cpp | 196 std::shared_ptr<AVBuffer> buffer = AVBuffer::CreateAVBuffer();
in HWTEST_F() local 197 buffer->meta_ = std::make_shared<Meta>();
in HWTEST_F() 199 surfaceDecoderAdapter_->OnInputBufferAvailable(index, buffer);
in HWTEST_F() 201 surfaceDecoderAdapter_->OnInputBufferAvailable(index, buffer);
in HWTEST_F() 206 surfaceDecoderAdapter_->OnInputBufferAvailable(index, buffer);
in HWTEST_F() 207 EXPECT_NE(surfaceDecoderAdapter_->inputBufferQueueConsumer_->ReleaseBuffer(buffer),
in HWTEST_F() 218 std::shared_ptr<AVBuffer> buffer = std::make_shared<AVBuffer>();
in HWTEST_F() local 219 buffer->flag_ = 1;
in HWTEST_F() 220 surfaceDecoderAdapter_->OnOutputBufferAvailable(index, buffer);
in HWTEST_F() 221 buffer in HWTEST_F() 238 std::shared_ptr<AVBuffer> buffer = std::make_shared<AVBuffer>(); HWTEST_F() local [all...] |
/foundation/communication/dsoftbus/tests/core/connection/ble/ |
H A D | connection_ble_test.cpp | 106 ConnBleReadBuffer buffer; in HWTEST_F() local 110 value = ConnGattTransRecv(connectionId, data, dataLen, &buffer, outLen); in HWTEST_F() 114 value = ConnGattTransRecv(connectionId, data, len, &buffer, outLen); in HWTEST_F() 120 outLen = (uint32_t *)SoftBusCalloc(buffer.total); in HWTEST_F() 121 value = ConnGattTransRecv(connectionId, data, dataLen, &buffer, outLen); in HWTEST_F() 129 buffer.seq = 1; in HWTEST_F() 130 outLen = (uint32_t *)SoftBusCalloc(buffer.total); in HWTEST_F() 131 value = ConnGattTransRecv(connectionId, data, dataLen, &buffer, outLen); in HWTEST_F() 147 LimitedBuffer buffer; in HWTEST_F() local 153 buffer in HWTEST_F() [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_input/dsoftbus_input_audio/ |
H A D | dsoftbus_input_audio_plugin.cpp | 260 auto buffer = CreateBuffer(metaType, data, resMsg); in OnStreamReceived() local 261 DataEnqueue(buffer); in OnStreamReceived() 272 auto buffer = Buffer::CreateDefaultBuffer(static_cast<BufferMetaType>(metaType), data->bufLen); in CreateBuffer() local 273 auto bufData = buffer->GetMemory(); in CreateBuffer() 277 AVTRANS_LOGE("write buffer data failed."); in CreateBuffer() 278 return buffer; in CreateBuffer() 286 buffer->pts = meta->pts_; in CreateBuffer() 287 buffer->GetBufferMeta()->SetMeta(Tag::USER_FRAME_PTS, meta->pts_); in CreateBuffer() 288 buffer->GetBufferMeta()->SetMeta(Tag::USER_FRAME_NUMBER, meta->frameNum_); in CreateBuffer() 289 AVTRANS_LOGI("buffer pt in CreateBuffer() 294 DataEnqueue(std::shared_ptr<Buffer> &buffer) DataEnqueue() argument 312 std::shared_ptr<Buffer> buffer; HandleData() local 339 PushData(const std::string &inPort, std::shared_ptr<Buffer> buffer, int32_t offset) PushData() argument [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-gt683r.c | 143 u8 *buffer; in gt683r_leds_set() local 145 buffer = kzalloc(GT683R_BUFFER_SIZE, GFP_KERNEL); in gt683r_leds_set() 146 if (!buffer) in gt683r_leds_set() 149 buffer[0] = 0x01; in gt683r_leds_set() 150 buffer[1] = 0x02; in gt683r_leds_set() 151 buffer[2] = 0x30; in gt683r_leds_set() 152 buffer[3] = leds; in gt683r_leds_set() 153 ret = gt683r_led_snd_msg(led, buffer); in gt683r_leds_set() 155 kfree(buffer); in gt683r_leds_set() 162 u8 *buffer; in gt683r_mode_set() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-gt683r.c | 143 u8 *buffer; in gt683r_leds_set() local 145 buffer = kzalloc(GT683R_BUFFER_SIZE, GFP_KERNEL); in gt683r_leds_set() 146 if (!buffer) in gt683r_leds_set() 149 buffer[0] = 0x01; in gt683r_leds_set() 150 buffer[1] = 0x02; in gt683r_leds_set() 151 buffer[2] = 0x30; in gt683r_leds_set() 152 buffer[3] = leds; in gt683r_leds_set() 153 ret = gt683r_led_snd_msg(led, buffer); in gt683r_leds_set() 155 kfree(buffer); in gt683r_leds_set() 162 u8 *buffer; in gt683r_mode_set() local [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | normalizer2impl.cpp | 139 char buffer[U8_MAX_LENGTH]; 144 buffer[0] = (uint8_t)(*cpStart + delta); 152 do { buffer[length++] = *cpStart++; } while (cpStart < cpLimit); 153 buffer[length++] = (uint8_t)trail; 158 U8_APPEND_UNSAFE(buffer, length, c); 164 sink.Append(buffer, length); 530 ReorderingBuffer *buffer, 543 if(buffer!=NULL) { 544 buffer->appendZeroCC(prevSrc, src, errorCode); 576 ReorderingBuffer buffer(*thi [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | normalizer2impl.cpp | 139 char buffer[U8_MAX_LENGTH]; 144 buffer[0] = (uint8_t)(*cpStart + delta); 152 do { buffer[length++] = *cpStart++; } while (cpStart < cpLimit); 153 buffer[length++] = (uint8_t)trail; 158 U8_APPEND_UNSAFE(buffer, length, c); 164 sink.Append(buffer, length); 530 ReorderingBuffer *buffer, 543 if(buffer!=nullptr) { 544 buffer->appendZeroCC(prevSrc, src, errorCode); 576 ReorderingBuffer buffer(*thi [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | normalizer2impl.cpp | 139 char buffer[U8_MAX_LENGTH]; 144 buffer[0] = (uint8_t)(*cpStart + delta); 152 do { buffer[length++] = *cpStart++; } while (cpStart < cpLimit); 153 buffer[length++] = (uint8_t)trail; 158 U8_APPEND_UNSAFE(buffer, length, c); 164 sink.Append(buffer, length); 530 ReorderingBuffer *buffer, 543 if(buffer!=NULL) { 544 buffer->appendZeroCC(prevSrc, src, errorCode); 576 ReorderingBuffer buffer(*thi [all...] |
/third_party/skia/src/core/ |
H A D | SkStream.cpp | 76 char buffer[kSkStrAppendS32_MaxSize]; in writeDecAsText() local 77 char* stop = SkStrAppendS32(buffer, dec); in writeDecAsText() 78 return this->write(buffer, stop - buffer); in writeDecAsText() 83 char buffer[kSkStrAppendU64_MaxSize]; in writeBigDecAsText() local 84 char* stop = SkStrAppendU64(buffer, dec, minDigits); in writeBigDecAsText() 85 return this->write(buffer, stop - buffer); in writeBigDecAsText() 97 char buffer[kSkStrAppendScalar_MaxSize]; in writeScalarAsText() local 98 char* stop = SkStrAppendScalar(buffer, valu in writeScalarAsText() 198 read(void* buffer, size_t size) read() argument 335 read(void* buffer, size_t size) read() argument 348 peek(void* buffer, size_t size) const peek() argument 423 write(const void* buffer, size_t size) write() argument 532 write(const void* buffer, size_t count) write() argument 606 read(void* buffer, size_t offset, size_t count) read() argument 795 char* buffer = static_cast<char*>(buff); global() variable 931 char buffer[bufferSize]; SkCopyStreamToData() local [all...] |
/foundation/graphic/graphic_surface/surface/src/ |
H A D | consumer_surface.cpp | 91 GSError ConsumerSurface::AcquireBuffer(sptr<SurfaceBuffer>& buffer, sptr<SyncFence>& fence, in AcquireBuffer() argument 95 GSError ret = AcquireBuffer(buffer, fence, timestamp, damages); in AcquireBuffer() 107 GSError ConsumerSurface::AcquireBuffer(sptr<SurfaceBuffer>& buffer, sptr<SyncFence>& fence, in AcquireBuffer() argument 113 return consumer_->AcquireBuffer(buffer, fence, timestamp, damages); in AcquireBuffer() 125 GSError ConsumerSurface::ReleaseBuffer(sptr<SurfaceBuffer>& buffer, const sptr<SyncFence>& fence) in ReleaseBuffer() argument 127 if (buffer == nullptr || consumer_ == nullptr) { in ReleaseBuffer() 130 return consumer_->ReleaseBuffer(buffer, fence); in ReleaseBuffer() 133 GSError ConsumerSurface::AcquireBuffer(sptr<SurfaceBuffer>& buffer, int32_t& fence, in AcquireBuffer() argument 137 auto ret = AcquireBuffer(buffer, syncFence, timestamp, damage); in AcquireBuffer() 146 GSError ConsumerSurface::ReleaseBuffer(sptr<SurfaceBuffer>& buffer, int32_ argument 152 AttachBufferToQueue(sptr<SurfaceBuffer> buffer) AttachBufferToQueue() argument 161 DetachBufferFromQueue(sptr<SurfaceBuffer> buffer) DetachBufferFromQueue() argument 170 AttachBuffer(sptr<SurfaceBuffer>& buffer) AttachBuffer() argument 178 AttachBuffer(sptr<SurfaceBuffer>& buffer, int32_t timeOut) AttachBuffer() argument 186 DetachBuffer(sptr<SurfaceBuffer>& buffer) DetachBuffer() argument 642 GetSurfaceBufferTransformType(sptr<SurfaceBuffer> buffer, GraphicTransformType *transformType) GetSurfaceBufferTransformType() argument 660 AcquireLastFlushedBuffer(sptr<SurfaceBuffer> &buffer, sptr<SyncFence> &fence, float matrix[16], uint32_t matrixSize, bool isUseNewMatrix) AcquireLastFlushedBuffer() argument 666 ReleaseLastFlushedBuffer(sptr<SurfaceBuffer> buffer) ReleaseLastFlushedBuffer() argument [all...] |
/foundation/multimedia/av_codec/test/unittest/plugins_source_test/ |
H A D | file_fd_source_plugin_unit_test.cpp | 190 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); in HWTEST_F() local 191 fileFdSourcePlugin_->ringBuffer_ = buffer; in HWTEST_F() 214 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); in HWTEST_F() local 215 fileFdSourcePlugin_->ringBuffer_ = buffer; in HWTEST_F() 250 std::shared_ptr<Buffer> buffer = std::make_shared<Buffer>(); in HWTEST_F() local 251 EXPECT_NE(Status::OK, fileFdSourcePlugin_->Read(buffer, 0, 1024)); in HWTEST_F() 260 std::shared_ptr<Buffer> buffer = nullptr; in HWTEST_F() local 261 EXPECT_NE(Status::OK, fileFdSourcePlugin_->Read(buffer, 0, 1024)); in HWTEST_F() 271 std::shared_ptr<Buffer> buffer = std::make_shared<Buffer>(); in HWTEST_F() local 273 EXPECT_NE(Status::OK, fileFdSourcePlugin_->Read(buffer, in HWTEST_F() 282 std::shared_ptr<Buffer> buffer = nullptr; HWTEST_F() local 356 std::shared_ptr<Buffer> buffer; HWTEST_F() local 367 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local 381 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local 398 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local 426 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local 472 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local 508 std::shared_ptr<RingBufferMock> buffer = std::make_shared<RingBufferMock>(0); HWTEST_F() local 599 std::shared_ptr<Buffer> buffer = std::make_shared<Buffer>(); HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | mount.c | 293 * @buffer: buffer to be used to lookup mntpath 305 const struct path *mntpath, char *buffer, in match_mnt_path_str() 318 AA_BUG(!buffer); in match_mnt_path_str() 323 error = aa_path_name(mntpath, path_flags(profile, mntpath), buffer, in match_mnt_path_str() 355 * @buffer: buffer to be used to lookup mntpath 357 * @devbuffer: buffer to be used to lookup devname/src_name 367 char *buffer, const struct path *devpath, char *devbuffer, in match_mnt() 390 return match_mnt_path_str(subj_cred, profile, path, buffer, devnam in match_mnt() 303 match_mnt_path_str(const struct cred *subj_cred, struct aa_profile *profile, const struct path *mntpath, char *buffer, const char *devname, const char *type, unsigned long flags, void *data, bool binary, const char *devinfo) match_mnt_path_str() argument 365 match_mnt(const struct cred *subj_cred, struct aa_profile *profile, const struct path *path, char *buffer, const struct path *devpath, char *devbuffer, const char *type, unsigned long flags, void *data, bool binary) match_mnt() argument 399 char *buffer = NULL; aa_remount() local 425 char *buffer = NULL, *old_buffer = NULL; aa_bind_mount() local 463 char *buffer = NULL; aa_mount_change_type() local 540 char *buffer = NULL, *dev_buffer = NULL; aa_new_mount() local 601 profile_umount(const struct cred *subj_cred, struct aa_profile *profile, const struct path *path, char *buffer) profile_umount() argument 640 char *buffer = NULL; aa_umount() local [all...] |
/third_party/cups-filters/utils/ |
H A D | driverless.c | 68 char buffer[8192], /* Copy buffer */ in listPrintersInArray() local 109 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray() 116 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray() 122 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray() 141 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray() 380 buffer[MAX_OUTPUT_LEN], /* Copy buffer */ list_printers() local 607 char buffer[65536], ppdname[1024]; generate_ppd() local [all...] |