Searched defs:first_byte (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/third_party/libyuv/unit_test/
H A Dbasictypes_test.cc18 uint8 first_byte = *reinterpret_cast<uint8*>(&v16); local
20 EXPECT_EQ(0x34u, first_byte);
22 EXPECT_EQ(0x12u, first_byte);
/external/chromium_org/third_party/webrtc/base/
H A Dbasictypes_unittest.cc19 uint8 first_byte = *reinterpret_cast<uint8*>(&v16); local
21 EXPECT_EQ(0x34u, first_byte);
23 EXPECT_EQ(0x12u, first_byte);
/external/chromium_org/android_webview/browser/net/
H A Dinput_stream_reader_unittest.cc46 int SeekRange(int first_byte, int last_byte) { argument
48 byte_range.set_first_byte_position(first_byte);
H A Dandroid_stream_reader_url_request_job_unittest.cc200 void SetRange(net::URLRequest* req, int first_byte, int last_byte) { argument
204 first_byte, last_byte).GetHeaderValue());
/external/chromium_org/media/midi/
H A Dusb_midi_output_stream.cc25 uint8 first_byte = Get(data, current); local
26 if (first_byte == kSysExByte || is_sending_sysex_) {
30 } else if ((first_byte & kSysMessageBitMask) == kSysMessageBitPattern) {
31 if (first_byte & 0x08) {
39 } else if (first_byte & 0x80) {
44 DVLOG(1) << "Unknown byte: " << static_cast<unsigned int>(first_byte);
121 uint8 first_byte = Get(data, index); local
122 DCHECK_LE(0xf1, first_byte);
123 DCHECK_LE(first_byte, 0xf7);
127 size_t message_size = message_size_table[first_byte
163 uint8 first_byte = Get(data, index); local
[all...]
/external/chromium_org/sdch/open-vcdiff/src/
H A Drolling_hash.h152 unsigned char first_byte) {
153 return RollingHashUtil::ModBase(full_hash + remove_table_[first_byte]);
151 RemoveFirstByteFromHash(uint32_t full_hash, unsigned char first_byte) argument
/external/chromium_org/net/base/
H A Descape.cc153 unsigned char first_byte; local
154 if (UnescapeUnsignedCharAtIndex(escaped_text, i, &first_byte)) {
178 if ((first_byte == 0xD8) &&
187 if ((first_byte == 0xE2) &&
202 if (first_byte >= 0x80 || // Unescape all high-bit characters.
204 (kUrlUnescape[first_byte] ||
206 (first_byte == ' ' && (rules & UnescapeRule::SPACES)) ||
209 (first_byte > ' ' && (rules & UnescapeRule::URL_SPECIAL_CHARS)) ||
211 (first_byte < ' ' && (rules & UnescapeRule::CONTROL_CHARS)))) {
215 result.push_back(first_byte);
[all...]
/external/chromium_org/net/websockets/
H A Dwebsocket_frame.cc109 uint8 first_byte = 0u; local
110 first_byte |= header.final ? kFinalBit : 0u;
111 first_byte |= header.reserved1 ? kReserved1Bit : 0u;
112 first_byte |= header.reserved2 ? kReserved2Bit : 0u;
113 first_byte |= header.reserved3 ? kReserved3Bit : 0u;
114 first_byte |= header.opcode & kOpCodeMask;
115 buffer[buffer_index++] = first_byte;
/external/chromium_org/sandbox/win/src/
H A Dcrosscall_server.cc174 const char* first_byte = &backing_mem[min_declared_size]; local
186 (address < first_byte) || // Start cannot point too low.
/external/chromium_org/v8/src/
H A Dscanner-character-streams.cc235 static bool IsUtf8MultiCharacterStart(byte first_byte) { argument
236 return (first_byte & kUtf8MultiByteMask) == kUtf8MultiByteCharStart;
/external/chromium_org/net/server/
H A Dweb_socket.cc299 unsigned char first_byte = *p++; local
302 bool final = (first_byte & kFinalBit) != 0;
303 bool reserved1 = (first_byte & kReserved1Bit) != 0;
304 bool reserved2 = (first_byte & kReserved2Bit) != 0;
305 bool reserved3 = (first_byte & kReserved3Bit) != 0;
306 int op_code = first_byte & kOpCodeMask;
/external/pdfium/core/src/fxcodec/codec/
H A Dfx_codec_fax.cpp82 int first_byte = startpos / 8; local
84 if (first_byte == last_byte) {
86 dest_buf[first_byte] -= 1 << (7 - i);
92 dest_buf[first_byte] -= 1 << (7 - i);
97 if (last_byte > first_byte + 1) {
98 FXSYS_memset32(dest_buf + first_byte + 1, 0, last_byte - first_byte - 1);
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_leveldb_coding.cc1194 unsigned char first_byte; local
1195 if (!DecodeByte(slice, &first_byte))
1198 size_t database_id_bytes = ((first_byte >> 5) & 0x7) + 1;
1199 size_t object_store_id_bytes = ((first_byte >> 2) & 0x7) + 1;
1200 size_t index_id_bytes = (first_byte & 0x3) + 1;
1255 unsigned char first_byte = local
1262 sizeof(first_byte) * 8,
1266 ret.push_back(first_byte);

Completed in 364 milliseconds