Searched refs:first_byte (Results 1 - 22 of 22) sorted by relevance

/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/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/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/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/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;
H A Dwebsocket_frame_parser.cc112 uint8 first_byte = *current++;
115 bool final = (first_byte & kFinalBit) != 0;
116 bool reserved1 = (first_byte & kReserved1Bit) != 0;
117 bool reserved2 = (first_byte & kReserved2Bit) != 0;
118 bool reserved3 = (first_byte & kReserved3Bit) != 0;
119 OpCode opcode = first_byte & kOpCodeMask;
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A Dmux_client_for_testing.py157 first_byte = ord(data[pos])
159 opcode = (first_byte >> 5) & 0x7
164 block.encode = (first_byte >> 2) & 3
165 block.rejected = (first_byte >> 4) & 1
171 size_of_size = (first_byte & 3) + 1
178 block.mux_error = (first_byte >> 4) & 1
184 size_of_size = first_byte & 3
194 size_of_quota = (first_byte & 3) + 1
199 size_of_slots = ((first_byte >> 2) & 3) + 1
200 size_of_quota = (first_byte
[all...]
H A Dclient_for_testing.py231 first_byte = ord(received[0])
232 fin = (first_byte >> 7) & 1
233 rsv1 = (first_byte >> 6) & 1
234 rsv2 = (first_byte >> 5) & 1
235 rsv3 = (first_byte >> 4) & 1
236 opcode = first_byte & 0xf
/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-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
H A Dmux.py181 first_byte = (opcode << 5) | (flags << 2) | bytes_of_length
185 return (chr(first_byte) + _encode_channel_id(channel_id) +
218 first_byte = ((_MUX_OPCODE_FLOW_CONTROL << 5) |
220 payload = (_encode_channel_id(_CONTROL_CHANNEL_ID) + chr(first_byte) +
234 first_byte = ((_MUX_OPCODE_NEW_CHANNEL_SLOT << 5) |
236 payload = (_encode_channel_id(_CONTROL_CHANNEL_ID) + chr(first_byte) +
385 def _read_add_channel_request(self, first_byte, control_block):
386 reserved = (first_byte >> 4) & 0x1
387 encoding = (first_byte >> 2) & 0x3
388 size_of_handshake_size = (first_byte
[all...]
H A D_stream_hybi.py120 first_byte = ((fin << 7)
123 header += chr(first_byte)
194 first_byte = ord(received[0])
195 fin = (first_byte >> 7) & 1
196 rsv1 = (first_byte >> 6) & 1
197 rsv2 = (first_byte >> 5) & 1
198 rsv3 = (first_byte >> 4) & 1
199 opcode = first_byte & 0xf
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
H A Dmux.py168 first_byte = ((_MUX_OPCODE_ADD_CHANNEL_RESPONSE << 5) |
170 block = (chr(first_byte) +
181 first_byte = _MUX_OPCODE_DROP_CHANNEL << 5
182 block = chr(first_byte) + _encode_channel_id(channel_id)
194 first_byte = _MUX_OPCODE_FLOW_CONTROL << 5
195 block = (chr(first_byte) +
204 first_byte = _MUX_OPCODE_NEW_CHANNEL_SLOT << 5
205 block = (chr(first_byte) +
212 first_byte = (_MUX_OPCODE_NEW_CHANNEL_SLOT << 5) | 1 # Set the F flag
213 block = (chr(first_byte)
[all...]
H A D_stream_hybi.py120 first_byte = ((fin << 7)
123 header += chr(first_byte)
194 first_byte = ord(received[0])
195 fin = (first_byte >> 7) & 1
196 rsv1 = (first_byte >> 6) & 1
197 rsv2 = (first_byte >> 5) & 1
198 rsv3 = (first_byte >> 4) & 1
199 opcode = first_byte & 0xf
/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/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/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/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/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/tools/testserver/
H A Dtestserver.py1584 first_byte = 0
1594 first_byte = int(mo.group(1))
1600 if last_byte < first_byte:
1613 'bytes %d-%d/%d' % (first_byte, last_byte, size))
1617 self.send_header('Content-Length', last_byte - first_byte + 1)
1630 self.wfile.write(DataForRange(first_byte, first_byte + 1))
1631 first_byte = first_byte + 1
1637 possible_rst = ((first_byte / rst_boundar
[all...]
/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);
/external/pcre/dist/
H A Dpcregexp.pas406 var first_byte : integer ) : integer; external;

Completed in 519 milliseconds