| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
| H A D | vktWsiSurfaceTests.cpp | 1209 deUint8 buffer [sizeof(VkDeviceGroupPresentCapabilitiesKHR) + GUARD_SIZE]; in queryDevGroupSurfacePresentCapabilitiesTest() local 1267 presentCapabilities = reinterpret_cast<VkDeviceGroupPresentCapabilitiesKHR*>(buffer); in queryDevGroupSurfacePresentCapabilitiesTest() 1268 deMemset(buffer, GUARD_VALUE, sizeof(buffer)); in queryDevGroupSurfacePresentCapabilitiesTest() 1276 if (buffer[ndx + sizeof(VkDeviceGroupPresentCapabilitiesKHR)] != GUARD_VALUE) in queryDevGroupSurfacePresentCapabilitiesTest() 1279 return tcu::TestStatus::fail("deviceGroupPresentCapabilities buffer overflow"); in queryDevGroupSurfacePresentCapabilitiesTest() 1314 deUint8 buffer [sizeof(VkDeviceGroupPresentModeFlagsKHR) + GUARD_SIZE]; in queryDevGroupSurfacePresentModesTest() local 1375 presentModeFlags = reinterpret_cast<VkDeviceGroupPresentModeFlagsKHR*>(buffer); in queryDevGroupSurfacePresentModesTest() 1376 deMemset(buffer, GUARD_VALUE, sizeof(buffer)); in queryDevGroupSurfacePresentModesTest() [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | h2645_parse.c | 421 bc.buffer, bytestream2_get_bytes_left(&bc), &i, logctx); in ff_h2645_packet_split() 435 buf_index = find_next_start_code(bc.buffer, buf + next_avc); in ff_h2645_packet_split() 474 nal->skipped_bytes_pos_size = FFMIN(1024, extract_length/3+1); // initial buffer size in ff_h2645_packet_split() 483 consumed = ff_h2645_extract_rbsp(bc.buffer, extract_length, &pkt->rbsp, nal, small_padding); in ff_h2645_packet_split()
|
| H A D | hapdec.c | 190 /* Check the compressed buffer is valid */ in hap_parse_frame_header() 202 bytestream2_init(&gbc_tmp, gbc->buffer + chunk->compressed_offset, in hap_parse_frame_header() 231 bytestream2_init(&gbc, ctx->gbc.buffer + chunk->compressed_offset, chunk->compressed_size); in decompress_chunks_thread() 299 ctx->dec[t].tex_data.in = ctx->gbc.buffer; in hap_decode()
|
| H A D | h264_sei.c | 151 memcpy(h->payload, gb->buffer + index / 8, size); in decode_picture_timing() 187 return ff_parse_a53_cc(&h->buf_ref, gb->buffer + get_bits_count(gb) / 8, size); in decode_registered_user_data_closed_caption() 492 ret = init_get_bits8(&gb_payload, gb->buffer + get_bits_count(gb) / 8, size); in ff_h264_sei_decode()
|
| H A D | hq_hqa.c | 122 const uint8_t *perm, *src = ctx->gbc.buffer; in hq_decode_frame() 250 const uint8_t *src = ctx->gbc.buffer; in hqa_decode_frame() 328 ff_canopus_parse_info_tag(avctx, ctx->gbc.buffer, info_size); in hq_hqa_decode_frame()
|
| H A D | nvdec_hevc.c | 71 const uint8_t *buffer, uint32_t size) in nvdec_hevc_start_frame() 270 static int nvdec_hevc_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, in nvdec_hevc_decode_slice() argument 289 memcpy(ctx->bitstream + ctx->bitstream_len + 3, buffer, size); in nvdec_hevc_decode_slice() 70 nvdec_hevc_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) nvdec_hevc_start_frame() argument
|
| H A D | rscc.c | 76 /* These needs to be set to estimate uncompressed buffer */ in rscc_init() 216 gbc->buffer, packed_tiles_size); in rscc_decode_frame() 289 /* Get pixels buffer, it may be deflated or just raw */ in rscc_decode_frame() 296 pixels = gbc->buffer; in rscc_decode_frame() 308 ret = uncompress(ctx->inflated_buf, &len, gbc->buffer, packed_size); in rscc_decode_frame()
|
| H A D | truespeech.c | 44 DECLARE_ALIGNED(16, uint8_t, buffer)[32]; 86 dec->bdsp.bswap_buf((uint32_t *) dec->buffer, (const uint32_t *) input, 8); in truespeech_read_frame() 87 init_get_bits(&gb, dec->buffer, 32 * 8); in truespeech_read_frame() 324 "Too small input buffer (%d bytes), need at least 32 bytes\n", buf_size); in truespeech_decode_frame() 328 /* get output buffer */ in truespeech_decode_frame()
|
| H A D | vaapi_h264.c | 89 * Append picture to the decoded picture buffer, in a VA API form that 91 * available. The decoded picture buffer's size must be large enough 227 av_unused const uint8_t *buffer, in vaapi_h264_start_frame() 329 const uint8_t *buffer, in vaapi_h264_decode_slice() 379 buffer, size); in vaapi_h264_decode_slice() 226 vaapi_h264_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) vaapi_h264_start_frame() argument 328 vaapi_h264_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vaapi_h264_decode_slice() argument
|
| /third_party/eudev/src/shared/ |
| H A D | util.h | 425 #define FOREACH_INOTIFY_EVENT(e, buffer, sz) \ 426 for ((e) = &buffer.ev; \ 427 (uint8_t*) (e) < (uint8_t*) (buffer.raw) + (sz); \
|
| /third_party/ffmpeg/libavformat/ |
| H A D | rdt.c | 89 char buffer[RTP_MAX_PACKET_LENGTH + AV_INPUT_BUFFER_PADDING_SIZE]; member 314 memcpy (rdt->buffer, buf + pos, len - pos); in rdt_parse_packet() 315 rdt->rmctx->pb = avio_alloc_context (rdt->buffer, len - pos, 0, in rdt_parse_packet() 416 if (av_strstart(p, "OpaqueData:buffer;", &p)) { in rdt_parse_sdp_line()
|
| /third_party/curl/lib/ |
| H A D | socks_sspi.c | 57 char buffer[STRERROR_LEN]; in check_sspi_err() local 59 Curl_sspi_strerror(status, buffer, sizeof(buffer))); in check_sspi_err()
|
| H A D | strerror.c | 675 p = "No buffer space"; in get_winsock_error() 882 * The glibc-style strerror_r() only *might* use the buffer we pass to in Curl_strerror() 887 char buffer[256]; in Curl_strerror() local 888 char *msg = strerror_r(err, buffer, sizeof(buffer)); in Curl_strerror()
|
| /third_party/alsa-lib/src/timer/ |
| H A D | timer.c | 38 The timer implementation uses ring buffer to store information about timing 39 events. In this buffer is recorded count of ticks and current tick resolution 941 * \param buffer buffer to store the input bytes 942 * \param size input buffer size in bytes 944 ssize_t snd_timer_read(snd_timer_t *timer, void *buffer, size_t size) in snd_timer_read() argument 948 assert(buffer || size == 0); in snd_timer_read() 949 return (timer->ops->read)(timer, buffer, size); in snd_timer_read()
|
| /third_party/backends/backend/ |
| H A D | kvs20xx.c | 221 s->buffer = malloc (MAX_READ_DATA_SIZE + BULK_HEADER_SIZE); in sane_open() 222 if (!s->buffer) in sane_open() 294 free (s->buffer); in sane_close()
|
| H A D | mustek_scsi_pp.c | 567 mustek_scsi_pp_read_data_block (int fd, u_char * buffer, int len) in mustek_scsi_pp_read_data_block() argument 585 buffer[i] = mustek_scsi_pp_read_response (fd); in mustek_scsi_pp_read_data_block() 586 checksum += buffer[i]; in mustek_scsi_pp_read_data_block() 831 /* check buffer is big enough to receive data */ in mustek_scsi_pp_cmd() 840 "mustek_scsi_pp_cmd: buffer (size %lu) not big enough for data (size %d)\n", in mustek_scsi_pp_cmd()
|
| /third_party/backends/testsuite/backend/genesys/ |
| H A D | session_config_test.cpp | 290 std::vector<std::uint8_t> buffer; in run_single_test_scan() local 291 buffer.resize(buffer_size); in run_single_test_scan() 300 auto status = sane_read(handle, buffer.data(), ask_len, &got_data); in run_single_test_scan()
|
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
| H A D | UCharacterCaseTest.java | 226 // uppercase with root locale and in the same buffer in TestUpper() 1783 StringBuffer buffer = new StringBuffer(); in getUnicodeStrings() 1790 buffer.append((char)Integer.parseInt( in getUnicodeStrings() 1796 v.add(buffer.toString()); in getUnicodeStrings()
|
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/tool/locale/ |
| H A D | LikelySubtagsBuilder.java | 118 ByteBuffer buffer = tb.buildByteBuffer(BytesTrieBuilder.Option.SMALL); in build() 121 byte[] bytes = new byte[buffer.remaining()]; in build() 122 buffer.get(bytes); in build()
|
| /third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
| H A D | UCharacterCaseTest.java | 225 // uppercase with root locale and in the same buffer in TestUpper() 1866 StringBuffer buffer = new StringBuffer(); in getUnicodeStrings() 1873 buffer.append((char)Integer.parseInt( in getUnicodeStrings() 1879 v.add(buffer.toString()); in getUnicodeStrings()
|
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/ |
| H A D | TestReorderingMode.java | 506 char[] buffer = new char[map.length]; in formatMap() 517 buffer[i] = c; in formatMap() 519 return new String(buffer); in formatMap()
|
| /third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/ |
| H A D | LikelySubtagsBuilder.java | 118 ByteBuffer buffer = tb.buildByteBuffer(BytesTrieBuilder.Option.SMALL); in build() 121 byte[] bytes = new byte[buffer.remaining()]; in build() 122 buffer.get(bytes); in build()
|
| /third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
| H A D | TestReorderingMode.java | 503 char[] buffer = new char[map.length]; in formatMap() 514 buffer[i] = c; in formatMap() 516 return new String(buffer); in formatMap()
|
| /third_party/libunwind/libunwind/src/x86_64/ |
| H A D | Gtrace.c | 398 tdep_trace (unw_cursor_t *cursor, void **buffer, int *size) in tdep_trace() argument 410 if (unlikely(! cursor || ! buffer || ! size || (maxdepth = *size) <= 0)) in tdep_trace() 552 buffer[depth++] = (void *) rip; in tdep_trace()
|
| /third_party/libuv/test/ |
| H A D | test-ref.c | 33 static char buffer[32767]; variable 85 uv_buf_t buf = uv_buf_init(buffer, sizeof buffer); in connect_and_write()
|