Home
last modified time | relevance | path

Searched refs:buffer (Results 4101 - 4125 of 13714) sorted by relevance

1...<<161162163164165166167168169170>>...549

/test/xts/device_attest_lite/services/core/mini/utils/
H A Dattest_utils_file_detail.c105 int32_t ReadFile(const char* path, const char* fileName, char* buffer, uint32_t bufferLen) in ReadFile() argument
107 if (path == NULL || fileName == NULL || buffer == NULL || bufferLen == 0) { in ReadFile()
125 ret = UtilsFileRead(fd, buffer, bufferLen); in ReadFile()
/test/xts/acts/startup/startup_standard/init_ndkTest/entry/src/main/cpp/
H A Dnapi_helper.cpp29 char *buffer = new char[bufferSize + 1]{0}; in GetString() local
30 napi_get_value_string_utf8(env, value, buffer, bufferSize + 1, &strLength); in GetString()
31 return buffer; in GetString()
/test/xts/hats/kernel/syscalls/process/prctl/
H A DPrctlApiTest.cpp63 char buffer[BUFFER_SIZE] = { 0 }; in HWTEST_F() local
69 ret = prctl(PR_GET_NAME, buffer); in HWTEST_F()
71 EXPECT_STREQ(buffer, name); in HWTEST_F()
/test/xts/hats/useriam/common/src/
H A Diam_hat_test.cpp41 auto buffer = parcel.ReadBuffer(len); in FillTestBuffer() local
42 if (buffer == nullptr) { in FillTestBuffer()
47 if (memcpy_s(p, len, buffer, len) != EOK) { in FillTestBuffer()
/third_party/ffmpeg/libavcodec/
H A Dmlp_parse.c93 header_size = mlp_get_major_sync_size(gb->buffer, gb->size_in_bits >> 3); in ff_mlp_read_major_sync()
99 checksum = ff_mlp_checksum16(gb->buffer, header_size - 2); in ff_mlp_read_major_sync()
100 if (checksum != AV_RL16(gb->buffer+header_size-2)) { in ff_mlp_read_major_sync()
H A Dnvdec_mpeg4.c30 static int nvdec_mpeg4_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) in nvdec_mpeg4_start_frame() argument
96 // We need to pass the full frame buffer and not just the slice in nvdec_mpeg4_start_frame()
97 return ff_nvdec_simple_decode_slice(avctx, buffer, size); in nvdec_mpeg4_start_frame()
100 static int nvdec_mpeg4_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) in nvdec_mpeg4_decode_slice() argument
H A Dvideotoolbox_vp9.c104 const uint8_t *buffer, in videotoolbox_vp9_start_frame()
111 const uint8_t *buffer, in videotoolbox_vp9_decode_slice()
116 return ff_videotoolbox_buffer_copy(vtctx, buffer, size); in videotoolbox_vp9_decode_slice()
103 videotoolbox_vp9_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) videotoolbox_vp9_start_frame() argument
110 videotoolbox_vp9_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) videotoolbox_vp9_decode_slice() argument
/third_party/ffmpeg/libavfilter/
H A Df_cue.c34 int64_t buffer; member
67 if (!(pts - s->first_pts < s->buffer && (av_gettime() - s->cue) < 0)) in activate()
95 { "buffer", "buffer duration in seconds", OFFSET(buffer), AV_OPT_TYPE_DURATION, { .i64 = 0 }, 0, INT64_MAX, FLAGS },
/third_party/gn/src/gn/
H A Descape_unittest.cc88 StringOutputBuffer buffer; in TEST() local
89 std::ostream out(&buffer); in TEST()
92 EXPECT_EQ("foo\\\\\\\" bar", buffer.str()); in TEST()
/third_party/astc-encoder/Source/
H A Dastcenccli_image_external.cpp102 std::vector<uint8_t> buffer(size); in load_png_with_wuffs()
103 file.read((char*)buffer.data(), size); in load_png_with_wuffs()
112 wuffs_base__io_buffer src = wuffs_base__ptr_u8__reader(buffer.data(), size, true); in load_png_with_wuffs()
134 // Configure the work buffer in load_png_with_wuffs()
/third_party/backends/backend/
H A Dmustek_pp_decl.h19 static void debug_drv_read (SANE_Handle hndl, SANE_Byte *buffer);
54 static void cis_drv_read (SANE_Handle hndl, SANE_Byte *buffer);
80 static void ccd300_read (SANE_Handle hndl, SANE_Byte *buffer);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCharsetMatch.java93 char[] buffer = new char[1024]; in getString()
98 while ((bytesRead = reader.read(buffer, 0, Math.min(max, 1024))) >= 0) { in getString()
99 sb.append(buffer, 0, bytesRead); in getString()
/third_party/icu/icu4c/source/common/
H A Dservlk.cpp77 UChar buffer[64]; in prefix() local
78 uprv_itou(buffer, 64, _kind, 10, 0); in prefix()
79 UnicodeString temp(buffer); in prefix()
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_busdma.h60 void *buffer; /* non Kernel Virtual Address */ member
70 void *buffer; member
88 void *buffer; /* virtual buffer pointer */ member
/third_party/alsa-lib/include/
H A Dhwdep.h118 ssize_t snd_hwdep_write(snd_hwdep_t *hwdep, const void *buffer, size_t size);
119 ssize_t snd_hwdep_read(snd_hwdep_t *hwdep, void *buffer, size_t size);
162 void snd_hwdep_dsp_image_set_image(snd_hwdep_dsp_image_t *obj, void *buffer);
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
H A DInputFile.java96 public int read(char[] buffer) in read() argument
101 charsRead = inputStream.read(buffer, 0, buffer.length); in read()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DCharsetMatch.java88 char[] buffer = new char[1024]; in getString()
93 while ((bytesRead = reader.read(buffer, 0, Math.min(max, 1024))) >= 0) { in getString()
94 sb.append(buffer, 0, bytesRead); in getString()
/third_party/libuv/src/unix/
H A Dhaiku.c36 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument
41 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath()
49 abspath_len = uv__strscpy(buffer, abspath, *size); in uv_exepath()
/third_party/libsnd/examples/
H A Dgenerate.cs181 float[] buffer = new float[BUFFER_LEN]; in Main()
235 while ( (rcnt = sf_read_float (infile, buffer, BUFFER_LEN)) > 0) { in Main()
237 sf_write_float (outfile, buffer, BUFFER_LEN); in Main()
/third_party/mesa3d/include/GL/
H A Dosmesa.h30 * Mesa which allows one to render images into a client-supplied buffer in
36 * OSMesaMakeCurrent - bind an OSMesaContext to a client's image buffer
40 * OSMesaPixelStore - controls how pixels are stored in image buffer
44 * The limits on the width and height of an image buffer can be retrieved
131 * size of depth buffer, stencil buffer and accumulation buffer.
182 * Bind an OSMesaContext to an image buffer. The image buffer is just a
200 * buffer
[all...]
/third_party/mesa3d/src/egl/main/
H A Deglarray.c178 * them in a buffer.
181 _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size, in _eglFlattenArray() argument
190 if (buffer) { in _eglFlattenArray()
194 /* do not exceed buffer size */ in _eglFlattenArray()
199 (void *) ((char *) buffer + elem_size * i)); in _eglFlattenArray()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-custom-headers/
H A Dminimal-http-client-custom-headers.c98 char buffer[1024 + LWS_PRE]; in callback_http() local
99 char *px = buffer + LWS_PRE; in callback_http()
100 int lenx = sizeof(buffer) - LWS_PRE; in callback_http()
/third_party/node/test/js-native-api/test_dataview/
H A Dtest_dataview.c75 napi_value buffer; in CreateDataViewFromJSDataView() local
78 &buffer, &byte_offset)); in CreateDataViewFromJSDataView()
82 napi_create_dataview(env, length, buffer, in CreateDataViewFromJSDataView()
/third_party/node/test/parallel/
H A Dtest-http-keep-alive-pipeline-max-requests.js64 let buffer = '';
67 buffer += data;
69 const responseParts = buffer.trim().split('\r\n\r\n');
H A Dtest-zlib-bytes-read.js9 function createWriter(target, buffer) {
12 target.write(Buffer.from([buffer[writer.size++]]), () => {
13 if (writer.size < buffer.length) {

Completed in 14 milliseconds

1...<<161162163164165166167168169170>>...549