Home
last modified time | relevance | path

Searched refs:buffer (Results 6901 - 6925 of 9305) sorted by relevance

1...<<271272273274275276277278279280>>...373

/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_ipv6_client.cpp514 char buffer[ROUTE_BUFF_SIZE] = {0}; in getIpv6RouteAddr() local
515 fillRouteData(buffer, len); in getIpv6RouteAddr()
516 if (send(ipv6SocketFd, buffer, len, 0) < 0) { in getIpv6RouteAddr()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/
H A Djs_drawing_utils.h340 auto buffer = std::make_unique<char[]>(len + 1); in ConvertFromJsValue() local
342 if (napi_get_value_string_utf8(env, jsValue, buffer.get(), len + 1, &strLength) == napi_ok) { in ConvertFromJsValue()
343 value = buffer.get(); in ConvertFromJsValue()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_common.h249 auto buffer = std::make_unique<char[]>(len + 1); in ConvertFromJsValue() local
251 if (napi_get_value_string_utf8(env, jsValue, buffer.get(), len + 1, &strLength) == napi_ok) { in ConvertFromJsValue()
252 value = buffer.get(); in ConvertFromJsValue()
/third_party/ffmpeg/libavcodec/
H A Dargo.c72 const uint8_t *map = gb->buffer; in decode_avcf()
102 const uint8_t *map = gb->buffer; in decode_alcd()
455 bits = gb->buffer; in decode_mad1_24()
H A Dv4l2_context.c139 /* s5p-mfc requires the user to specify a buffer size */ in v4l2_save_to_context()
149 /* s5p-mfc requires the user to specify a buffer size */ in v4l2_save_to_context()
295 /* capture buffer initialization happens during decode hence in v4l2_dequeue_v4l2buf()
351 /* if re-init was successful drop the buffer (if there was one) in v4l2_dequeue_v4l2buf()
358 /* 2. dequeue the buffer */ in v4l2_dequeue_v4l2buf()
362 /* there is a capture buffer ready */ in v4l2_dequeue_v4l2buf()
367 * buffer to complete we return NULL so input can proceed (we are single threaded) in v4l2_dequeue_v4l2buf()
449 V4L2Buffer *buffer = &ctx->buffers[i]; in v4l2_release_buffers() local
451 for (j = 0; j < buffer->num_planes; j++) { in v4l2_release_buffers()
452 struct V4L2Plane_info *p = &buffer in v4l2_release_buffers()
[all...]
H A Dnvdec.c674 int ff_nvdec_simple_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, in ff_nvdec_simple_decode_slice() argument
687 ctx->bitstream = (uint8_t*)buffer; in ff_nvdec_simple_decode_slice()
689 ctx->slice_offsets[ctx->nb_slices] = buffer - ctx->bitstream; in ff_nvdec_simple_decode_slice()
H A Dvaapi_av1.c117 av_unused const uint8_t *buffer, in vaapi_av1_start_frame()
403 const uint8_t *buffer, in vaapi_av1_decode_slice()
426 buffer, in vaapi_av1_decode_slice()
116 vaapi_av1_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) vaapi_av1_start_frame() argument
402 vaapi_av1_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vaapi_av1_decode_slice() argument
/third_party/ffmpeg/libavcodec/x86/
H A Dvideodsp.asm131 %assign %%off 0 ; offset in source buffer
187 %assign %%off 0 ; offset in destination buffer
248 ; those out into the destination buffer
/third_party/curl/src/
H A Dtool_formparse.c113 /* If stdin is a regular file, do not buffer data but read it in tool_mime_new_filedata()
124 else { /* Not suitable for direct use, buffer stdin data. */ in tool_mime_new_filedata()
180 size_t tool_mime_stdin_read(char *buffer, in tool_mime_stdin_read() argument
197 memcpy(buffer, sip->data + curlx_sotouz(sip->curpos), nitems); in tool_mime_stdin_read()
201 nitems = fread(buffer, 1, nitems, stdin); in tool_mime_stdin_read()
/third_party/gn/src/base/win/
H A Dregistry.cc23 // written to the buffer, not how many there are. This constant is the maximum
24 // name size, such that a buffer with this size should read any name.
290 // Fail: buffer too small, returns the size required in ReadValue()
328 std::vector<char16_t> buffer(size / sizeof(char16_t)); in ReadValues()
329 result = ReadValue(name, &buffer[0], &size, NULL); in ReadValues()
336 const char16_t* entry = &buffer[0]; in ReadValues()
/third_party/backends/backend/
H A Dkvs40xx.c321 s->buffer = malloc (MAX_READ_DATA_SIZE + BULK_HEADER_SIZE); in sane_open()
322 if (!s->buffer) in sane_open()
410 free (s->buffer); in sane_close()
H A Dplustek-usbcalfile.c203 usb_ReadSamples( FILE *fp, char *which, u_long *dim, u_short *buffer ) in usb_ReadSamples()
260 buffer[c] = (u_short)val; in usb_ReadSamples()
273 * so we copy that back to the input buffer and in usb_ReadSamples()
277 sprintf( tmp, "%u", buffer[c] ); in usb_ReadSamples()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DICUBinary.java52 * Moves the buffer position from 0 to after the data header.
417 * The buffer contents is normally read-only, but its position etc. can be modified.
429 * The buffer contents is normally read-only, but its position etc. can be modified.
443 * The buffer contents is normally read-only, but its position etc. can be modified.
455 * The buffer contents is normally read-only, but its position etc. can be modified.
470 * The buffer contents is normally read-only, but its position etc. can be modified.
493 ByteBuffer buffer = null; in getData()
500 buffer = getByteBufferFromInputStreamAndCloseStream(is); in getData()
504 return buffer; in getData()
564 * The buffer byt
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
H A DXLikelySubtags.java83 ByteBuffer buffer = getValue(likelyTable, "trie", value).getBinary(); in load()
84 byte[] trie = new byte[buffer.remaining()]; in load()
85 buffer.get(trie); in load()
/third_party/icu/tools/unicode/c/genprops/
H A Dcorepropsbuilder.cpp693 char buffer[U_MAX_VERSION_STRING_LENGTH]; in setProps() local
694 u_versionToString(props.age, buffer); in setProps()
695 fprintf(stderr, "genprops error: age %s cannot be encoded\n", buffer); in setProps()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DICUBinary.java56 * Moves the buffer position from 0 to after the data header.
422 * The buffer contents is normally read-only, but its position etc. can be modified.
434 * The buffer contents is normally read-only, but its position etc. can be modified.
448 * The buffer contents is normally read-only, but its position etc. can be modified.
460 * The buffer contents is normally read-only, but its position etc. can be modified.
475 * The buffer contents is normally read-only, but its position etc. can be modified.
498 ByteBuffer buffer = null; in getData()
505 buffer = getByteBufferFromInputStreamAndCloseStream(is); in getData()
509 return buffer; in getData()
569 * The buffer byt
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
H A DXLikelySubtags.java90 ByteBuffer buffer = getValue(likelyTable, "trie", value).getBinary(); in load()
91 byte[] trie = new byte[buffer.remaining()]; in load()
92 buffer.get(trie); in load()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
H A DTestBidi.java371 char[] buffer = new char[length]; in getStringFromDirProps()
375 buffer[i] = charFromDirProp[dirProps[i]]; in getStringFromDirProps()
377 return new String(buffer); in getStringFromDirProps()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
H A DTestBidi.java374 char[] buffer = new char[length]; in getStringFromDirProps()
378 buffer[i] = charFromDirProp[dirProps[i]]; in getStringFromDirProps()
380 return new String(buffer); in getStringFromDirProps()
/third_party/icu/icu4c/source/i18n/
H A Dmeasfmt.cpp215 UChar *buffer = result.getBuffer(len); in loadNumericDateFormatterPattern() local
217 if (buffer[i] == 0x68) { // 'h' in loadNumericDateFormatterPattern()
218 buffer[i] = 0x48; // 'H' in loadNumericDateFormatterPattern()
/third_party/libsnd/src/
H A Dsd2.c352 read_rsrc_str (const SD2_RSRC *prsrc, int offset, char * buffer, int buffer_len) in read_rsrc_str() argument
356 memset (buffer, 0, buffer_len) ; in read_rsrc_str()
364 buffer [k] = data [offset + k] ; in read_rsrc_str()
/third_party/lame/include/
H A Dlame.h137 /* buffer considerations */
626 under the constrain of a provided buffer of size buffer_size */
974 * lame_get_lametag_frame copies the final LAME-tag into 'buffer'.
975 * The function returns the number of bytes copied into buffer, or
976 * the required buffer size, if the provided buffer is too small.
987 * file, you'll have to do some bookkeeping about where to write this buffer.
990 const lame_global_flags *, unsigned char* buffer, size_t size);
1245 /* lame_get_id3v1_tag copies ID3v1 tag into buffer.
1246 * Function returns number of bytes copied into buffer, o
[all...]
/third_party/node/deps/v8/third_party/zlib/google/
H A Dzip_reader.cc529 char buffer[internal::kZipBufSize]; in ExtractChunk() local
532 unzReadCurrentFile(zip_file_, buffer, internal::kZipBufSize); in ExtractChunk()
553 if (num_bytes_read != output_file.Write(offset, buffer, num_bytes_read)) { in ExtractChunk()
/third_party/node/deps/v8/src/wasm/
H A Ddecoder.h43 // a buffer of bytes.
341 // to the current buffer of the decoder.
359 // The offset of the current buffer in the module. Needed for streaming.
368 base::EmbeddedVector<char, kMaxErrorMsg> buffer; in verrorf() local
369 int len = base::VSNPrintF(buffer, format, args); in verrorf()
371 error_ = {offset, {buffer.begin(), static_cast<size_t>(len)}}; in verrorf()
/third_party/node/deps/zlib/google/
H A Dzip_reader.cc571 char buffer[internal::kZipBufSize]; in ExtractChunk() local
574 unzReadCurrentFile(zip_file_, buffer, internal::kZipBufSize); in ExtractChunk()
595 if (num_bytes_read != output_file.Write(offset, buffer, num_bytes_read)) { in ExtractChunk()

Completed in 28 milliseconds

1...<<271272273274275276277278279280>>...373