Home
last modified time | relevance | path

Searched refs:first_byte (Results 1 – 24 of 24) sorted by relevance

/external/llvm-project/libcxxabi/test/
Dguard_test_basic.pass.cpp29 uint8_t first_byte() { in first_byte() function
51 assert(first_byte() == 0); in test_acquire()
53 assert(first_byte() == 0); in test_acquire()
57 assert(first_byte() == 0); in test_acquire()
60 assert(first_byte() == 1); in test_acquire()
68 assert(first_byte() == 0); in test_release()
70 assert(first_byte() == 0); in test_release()
72 assert(first_byte() == 1); in test_release()
79 assert(first_byte() == 0); in test_abort()
81 assert(first_byte() == 0); in test_abort()
[all …]
Dguard_threaded_test.pass.cpp90 uint8_t *first_byte = reinterpret_cast<uint8_t*>(g); in check_guard() local
91 if (std::__libcpp_atomic_load(first_byte, std::_AO_Acquire) == 0) { in check_guard()
/external/libwebm/webm_parser/src/
Did_parser.cc42 std::uint8_t first_byte; in Feed() local
43 const Status status = ReadByte(reader, &first_byte); in Feed()
52 if (!(first_byte & 0xf0)) { in Feed()
56 num_bytes_remaining_ = CountLeadingZeros(first_byte); in Feed()
58 id_ = static_cast<Id>(first_byte); in Feed()
Dvar_int_parser.cc34 std::uint8_t first_byte; in Feed() local
35 const Status status = ReadByte(reader, &first_byte); in Feed()
43 if (first_byte == 0) { in Feed()
47 total_data_bytes_ = CountLeadingZeros(first_byte); in Feed()
50 value_ = first_byte; in Feed()
/external/webrtc/modules/rtp_rtcp/source/
Dvideo_rtp_depacketizer_vp9.cc216 uint8_t first_byte; in ParseRtpPayload() local
217 if (!parser.ReadUInt8(&first_byte)) { in ParseRtpPayload()
221 bool i_bit = first_byte & 0b1000'0000; // PictureId present . in ParseRtpPayload()
222 bool p_bit = first_byte & 0b0100'0000; // Inter-picture predicted. in ParseRtpPayload()
223 bool l_bit = first_byte & 0b0010'0000; // Layer indices present. in ParseRtpPayload()
224 bool f_bit = first_byte & 0b0001'0000; // Flexible mode. in ParseRtpPayload()
225 bool b_bit = first_byte & 0b0000'1000; // Begins frame flag. in ParseRtpPayload()
226 bool e_bit = first_byte & 0b0000'0100; // Ends frame flag. in ParseRtpPayload()
227 bool v_bit = first_byte & 0b0000'0010; // Scalability structure present. in ParseRtpPayload()
228 bool z_bit = first_byte & 0b0000'0001; // Not used for inter-layer prediction in ParseRtpPayload()
/external/rust/crates/ring/src/io/
Dder_writer.rs19 let first_byte = value.first_byte(); in write_positive_integer() localVariable
22 if (first_byte & 0x80) != 0 { in write_positive_integer()
Dder.rs139 let first_byte = input.read_byte()?; in nonnegative_integer() localVariable
140 if input.at_end() && first_byte < min_value { in nonnegative_integer()
152 let first_byte = input.read_byte()?; in nonnegative_integer() localVariable
154 if first_byte == 0 { in nonnegative_integer()
179 if (first_byte & 0x80) != 0 { in nonnegative_integer()
Dpositive.rs49 pub fn first_byte(&self) -> u8 { in first_byte() method
/external/pdfium/core/fxcodec/fax/
Dfaxmodule.cpp119 int first_byte = startpos / 8; in FaxFillBits() local
121 if (first_byte == last_byte) { in FaxFillBits()
123 dest_buf[first_byte] -= 1 << (7 - i); in FaxFillBits()
128 dest_buf[first_byte] -= 1 << (7 - i); in FaxFillBits()
132 if (last_byte > first_byte + 1) in FaxFillBits()
133 memset(dest_buf + first_byte + 1, 0, last_byte - first_byte - 1); in FaxFillBits()
/external/libjpeg-turbo/
Dwrgif.c85 boolean first_byte; /* if TRUE, waiting_code is not valid */ member
198 dinfo->first_byte = TRUE; /* no waiting symbol yet */ in compress_init()
216 if (!dinfo->first_byte) in compress_term()
373 if (dest->first_byte) { /* need to initialize waiting_code */ in put_LZW_pixel_rows()
375 dest->first_byte = FALSE; in put_LZW_pixel_rows()
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.cc337 ::std::pair<bool, const uint8*> ReadVarint32FromArray(uint32 first_byte,
341 uint32 first_byte, const uint8* buffer, uint32* value) { in ReadVarint32FromArray() argument
344 GOOGLE_DCHECK_EQ(*buffer, first_byte); in ReadVarint32FromArray()
345 GOOGLE_DCHECK_EQ(first_byte & 0x80, 0x80) << first_byte; in ReadVarint32FromArray()
348 uint32 result = first_byte - 0x80; in ReadVarint32FromArray()
/external/boringssl/src/crypto/bytestring/
Dcbs.c631 uint8_t first_byte, second_byte; in CBS_is_valid_asn1_integer() local
632 if (!CBS_get_u8(&copy, &first_byte)) { in CBS_is_valid_asn1_integer()
636 *out_is_negative = (first_byte & 0x80) != 0; in CBS_is_valid_asn1_integer()
641 if ((first_byte == 0x00 && (second_byte & 0x80) == 0) || in CBS_is_valid_asn1_integer()
642 (first_byte == 0xff && (second_byte & 0x80) != 0)) { in CBS_is_valid_asn1_integer()
/external/tensorflow/tensorflow/core/lib/strings/
Dordered_code.cc491 const unsigned char first_byte = (*src)[0] ^ (xor_mask & 0xff); in ReadSignedNumIncreasing() local
496 if (first_byte != 0xff) { in ReadSignedNumIncreasing()
497 len = 7 - Log2Floor64(first_byte ^ 0xff); in ReadSignedNumIncreasing()
/external/rust/crates/percent-encoding/
Dlib.rs250 if let Some((&first_byte, remaining)) = self.bytes.split_first() { in next()
251 if self.ascii_set.should_percent_encode(first_byte) { in next()
253 Some(percent_encode_byte(first_byte)) in next()
/external/oss-fuzz/projects/giflib/
DProtoToGif.cpp251 uint16_t first_byte = (a & 0xFF); in extractWordFromUInt32() local
253 return first_byte | second_byte; in extractWordFromUInt32()
/external/python/asn1crypto/asn1crypto/
Dkeys.py172 first_byte = data[0:1]
175 if first_byte == b'\x04':
182 if first_byte not in set([b'\x02', b'\x03']):
/external/rust/crates/proc-macro2/src/
Dfallback.rs494 fn first_byte(self) -> Self { in first_byte() method
499 fn first_byte(self) -> Self { in first_byte() method
572 self.span.first_byte() in span_open()
/external/mesa3d/src/broadcom/cle/
Dgen_pack_header.py217 first_byte = field.start // 8
220 for b in range(first_byte, last_byte + 1):
/external/scapy/scapy/layers/
Dntp.py178 first_byte = orb(payload[0])
180 mode = first_byte & 7
/external/openscreen/tools/cddl/
Dcodegen.cc883 uint8_t first_byte = in GetEncodedTypeKey() local
885 ss << "{0x" << std::hex << uint32_t{first_byte}; in GetEncodedTypeKey()
/external/libwebm/mkvparser/
Dmkvparser.cc295 signed char first_byte = 0; in UnserializeInt() local
296 const long status = pReader->Read(pos, 1, (unsigned char*)&first_byte); in UnserializeInt()
301 unsigned long long result = first_byte; in UnserializeInt()
/external/libvpx/libvpx/third_party/libwebm/mkvparser/
Dmkvparser.cc295 signed char first_byte = 0; in UnserializeInt() local
296 const long status = pReader->Read(pos, 1, (unsigned char*)&first_byte); in UnserializeInt()
301 unsigned long long result = first_byte; in UnserializeInt()
/external/libaom/libaom/third_party/libwebm/mkvparser/
Dmkvparser.cc295 signed char first_byte = 0; in UnserializeInt() local
296 const long status = pReader->Read(pos, 1, (unsigned char*)&first_byte); in UnserializeInt()
301 unsigned long long result = first_byte; in UnserializeInt()
/external/libvpx/libwebm/mkvparser/
Dmkvparser.cc295 signed char first_byte = 0; in UnserializeInt() local
296 const long status = pReader->Read(pos, 1, (unsigned char*)&first_byte); in UnserializeInt()
301 unsigned long long result = first_byte; in UnserializeInt()