Home
last modified time | relevance | path

Searched refs:stream_length (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/
Dunicode-decoder.cc14 const uint8_t* stream, size_t stream_length) { in Reset() argument
22 while (stream_length != 0) { in Reset()
24 uint32_t character = Utf8::ValueOf(stream, stream_length, &cursor); in Reset()
25 DCHECK(cursor > 0 && cursor <= stream_length); in Reset()
27 stream_length -= cursor; in Reset()
45 unbuffered_length_ = stream_length; in Reset()
55 unbuffered_length_ = stream_length + cursor; in Reset()
62 size_t stream_length, uint16_t* data, in WriteUtf16Slow() argument
66 uint32_t character = Utf8::ValueOf(stream, stream_length, &cursor); in WriteUtf16Slow()
70 DCHECK(stream_length >= cursor); in WriteUtf16Slow()
[all …]
Dunicode-decoder.h18 const uint8_t* stream, size_t stream_length);
25 size_t stream_length);
26 static void WriteUtf16Slow(const uint8_t* stream, size_t stream_length,
58 const uint8_t* stream, size_t stream_length) { in Utf8DecoderBase() argument
59 Reset(buffer, buffer_length, stream, stream_length); in Utf8DecoderBase()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dencode.c39 int16_t stream_length = 0; in WebRtcIsacfix_EncodeImpl() local
422 stream_length = WebRtcIsacfix_EncTerminate(&ISACenc_obj->bitstr_obj); in WebRtcIsacfix_EncodeImpl()
429 MinBytes = WebRtcIsacfix_GetMinBytes(&ISACenc_obj->rate_data_obj, (int16_t) stream_length, in WebRtcIsacfix_EncodeImpl()
435 usefulstr_len = stream_length; in WebRtcIsacfix_EncodeImpl()
456 while (stream_length < MinBytes) in WebRtcIsacfix_EncodeImpl()
458 assert(stream_length >= 0); in WebRtcIsacfix_EncodeImpl()
459 if (stream_length & 0x0001){ in WebRtcIsacfix_EncodeImpl()
461 ISACenc_obj->bitstr_obj.stream[stream_length / 2] |= in WebRtcIsacfix_EncodeImpl()
465 ISACenc_obj->bitstr_obj.stream[stream_length / 2] = in WebRtcIsacfix_EncodeImpl()
468 stream_length++; in WebRtcIsacfix_EncodeImpl()
[all …]
/external/flac/include/FLAC/
Dstream_decoder.h628 …oderLengthCallback)(const FLAC__StreamDecoder *decoder, FLAC__uint64 *stream_length, void *client_…
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dencode.c184 int stream_length = 0; in WebRtcIsac_EncodeLb() local
529 stream_length = WebRtcIsac_EncTerminate(&ISACencLB_obj->bitstr_obj); in WebRtcIsac_EncodeLb()
530 return stream_length; in WebRtcIsac_EncodeLb()
/external/flac/libFLAC/
Dstream_decoder.c111 static FLAC__bool seek_to_absolute_sample_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length
113 …ek_to_absolute_sample_ogg_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC__uint64 …
118 …le_length_callback_(const FLAC__StreamDecoder *decoder, FLAC__uint64 *stream_length, void *client_…
3002 FLAC__bool seek_to_absolute_sample_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC_… in seek_to_absolute_sample_() argument
3049 upper_bound = stream_length; in seek_to_absolute_sample_()
3212 FLAC__bool seek_to_absolute_sample_ogg_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, F… in seek_to_absolute_sample_ogg_() argument
3214 FLAC__uint64 left_pos = 0, right_pos = stream_length; in seek_to_absolute_sample_ogg_()
3387 …le_length_callback_(const FLAC__StreamDecoder *decoder, FLAC__uint64 *stream_length, void *client_… in file_length_callback_() argument
3397 *stream_length = (FLAC__uint64)filestats.st_size; in file_length_callback_()
/external/google-breakpad/src/processor/
Dminidump.cc4539 uint32_t* stream_length) { in SeekToStreamType() argument
4540 BPLOG_IF(ERROR, !stream_length) << "Minidump::SeekToStreamType requires " in SeekToStreamType()
4542 assert(stream_length); in SeekToStreamType()
4543 *stream_length = 0; in SeekToStreamType()
4572 *stream_length = directory_entry->location.data_size; in SeekToStreamType()
4612 uint32_t stream_length; in GetStream() local
4613 if (!SeekToStreamType(stream_type, &stream_length)) { in GetStream()
4620 if (!new_stream->Read(stream_length)) { in GetStream()
Dminidump_unittest.cc162 uint32_t stream_length; in TEST() local
163 ASSERT_TRUE(minidump.SeekToStreamType(0xfbb7fa2bU, &stream_length)); in TEST()
164 ASSERT_EQ(15U, stream_length); in TEST()
/external/google-breakpad/src/google_breakpad/processor/
Dminidump.h957 bool SeekToStreamType(uint32_t stream_type, uint32_t* stream_length);
/external/v8/src/heap/
Dheap.cc3613 size_t stream_length = vector.length(); in WriteTwoByteData() local
3614 while (stream_length != 0) { in WriteTwoByteData()
3616 uint32_t c = unibrow::Utf8::ValueOf(stream, stream_length, &consumed); in WriteTwoByteData()
3618 DCHECK(consumed <= stream_length); in WriteTwoByteData()
3619 stream_length -= consumed; in WriteTwoByteData()
3632 DCHECK(stream_length == 0); in WriteTwoByteData()