Searched defs:byte (Results 76 - 100 of 139) sorted by relevance

123456

/external/libcxxabi/src/
H A Dcxa_personality.cpp126 not a byte count, if positive. It is a negative index offset of
128 But if ttypeIndex is negative, it is a positive 1-based byte offset into the
183 unsigned char byte; local
187 byte = *p++;
188 result |= static_cast<uintptr_t>(byte & 0x7F) << shift;
190 } while (byte & 0x80);
206 unsigned char byte; local
210 byte = *p++;
211 result |= static_cast<uintptr_t>(byte & 0x7F) << shift;
213 } while (byte
[all...]
/external/libnl/lib/
H A Daddr.c39 uint8_t byte[2]; member in union:__anon8968
45 return ((uint16_t) u.byte[0]) | (((uint16_t) u.byte[1]) << 8);
/external/libvpx/libvpx/third_party/libwebm/
H A Dmkvmuxerutil.cpp197 const uint8 byte = static_cast<uint8>(value.u32 >> bit_count); local
199 const int32 status = writer->Write(&byte, 1);
368 // integer representation of only 1 byte.
431 // We use a single byte for the track number of the block, which
448 if (WriteID(writer, kMkvBlockGroup)) // 1-byte ID size
456 if (WriteID(writer, kMkvBlock)) // 1-byte ID size
486 if (WriteID(writer, kMkvBlockDuration)) // 1-byte ID size
695 for (int i = 0; i < 7; ++i) { // avoid problems with 8-byte values
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_temporal_filter.c103 int byte = 0; local
108 int src_byte = frame1[byte];
129 byte++;
132 byte += stride - block_width;
195 int byte; local
306 byte = mb_y_offset;
313 dst1[byte] = (uint8_t)pval;
316 byte++;
318 byte += stride - 16;
324 byte
[all...]
/external/lldb/source/Core/
H A DStream.cpp76 uint8_t byte = sval & 0x7fu; local
78 /* sign bit of byte is 2nd high order bit (0x40) */
79 if ((sval == 0 && !(byte & 0x40)) ||
80 (sval == -1 && (byte & 0x40)) )
84 byte |= 0x80u;
85 bytes_written += Write(&byte, 1);
110 uint8_t byte = uval & 0x7fu; local
115 byte |= 0x80u;
117 bytes_written += Write(&byte, 1);
218 // Include the NULL termination byte fo
[all...]
/external/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.cpp25 /// Specifies whether a ModR/M byte is needed and (if so) which
26 /// instruction each possible value of the ModR/M byte corresponds to. Once
71 * the ModR/M byte is required to decode a particular instruction.
76 * @param opcode - The last byte of the instruction's opcode, not counting
78 * @return - true if the ModR/M byte is required, false otherwise.
120 * @param modRM - The ModR/M byte if required, or any value if not.
190 * byte from the instruction's memory and advance the cursor.
194 * @param byte - A pointer to a pre-allocated memory buffer to be populated
198 static int consumeByte(struct InternalInstruction* insn, uint8_t* byte) { argument
199 int ret = insn->reader(insn->readerArg, byte, ins
214 lookAtByte(struct InternalInstruction* insn, uint8_t* byte) argument
330 uint8_t byte = 0; local
[all...]
/external/mesa3d/src/gallium/drivers/trace/
H A Dtr_dump.c451 uint8_t byte = *p++; local
453 hex[0] = hex_table[byte >> 4];
454 hex[1] = hex_table[byte & 0xf];
/external/nanopb-c/
H A Dpb_decode.c128 /* Read a single byte from input stream. buf may not be NULL.
170 uint8_t byte; local
173 if (!pb_readbyte(stream, &byte))
176 if ((byte & 0x80) == 0)
178 /* Quick case, 1 byte value */
179 result = byte;
185 result = byte & 0x7F;
192 if (!pb_readbyte(stream, &byte))
195 result |= (uint32_t)(byte & 0x7F) << bitpos;
197 } while (byte
206 uint8_t byte; local
228 uint8_t byte; local
[all...]
/external/skia/src/core/
H A DSkScalerContext.cpp326 static inline int convert_8_to_1(unsigned byte) { argument
327 SkASSERT(byte <= 0xFF);
328 return byte >> 7;
H A DSkStream.cpp54 uint8_t byte; local
55 if (!this->read(&byte, 1)) {
58 if (SK_BYTE_SENTINEL_FOR_U16 == byte) {
60 } else if (SK_BYTE_SENTINEL_FOR_U32 == byte) {
63 return byte;
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp212 uint8_t byte = 0; local
218 byte = *src_row++;
221 *dst_row++ = byte & 0x80 ? 0xff : 0x00;
223 byte <<= 1;
252 static inline int convert_8_to_1(unsigned byte) { argument
253 SkASSERT(byte <= 0xFF);
255 return (byte >> 6) != 0;
H A DSkScalerContext_win_dw.cpp550 unsigned byte = 0; local
551 byte |= src[0] & (1 << 7);
552 byte |= src[1] & (1 << 6);
553 byte |= src[2] & (1 << 5);
554 byte |= src[3] & (1 << 4);
555 byte |= src[4] & (1 << 3);
556 byte |= src[5] & (1 << 2);
557 byte |= src[6] & (1 << 1);
558 byte |= src[7] & (1 << 0);
559 dst[i] = byte;
564 unsigned byte = 0; local
[all...]
/external/v8/src/
H A Dregexp-macro-assembler-irregexp.cc19 RegExpMacroAssemblerIrregexp::RegExpMacroAssemblerIrregexp(Vector<byte> buffer,
363 int byte = 0; local
365 if (table->get(i + j) != 0) byte |= 1 << j;
367 Emit8(byte);
444 Vector<byte> old_buffer = buffer_;
445 buffer_ = Vector<byte>::New(old_buffer.length() * 2);
/external/android-clat/
H A Dclatd_test.cpp376 // Hex dump, 20 bytes per line, one space between bytes (1 byte = 3 chars), indented by 4.
600 uint8_t *byte = ((uint8_t*) data) + pos; local
602 onebits += (*byte >> shift) & 1;
/external/elfutils/src/libcpu/
H A Di386_data.h396 //uint_fast8_t byte = d->data[d->opoff2 / 8] & 7;
397 uint_fast8_t byte = modrm & 7; local
404 needed = snprintf (buf, avail, "%%%s", dregs[byte]);
406 needed = snprintf (buf, avail, "%%mm%" PRIxFAST8, byte);
426 //uint_fast8_t byte = data[opoff2 / 8] & 7;
427 uint_fast8_t byte = modrm & 7; local
432 byte);
782 int8_t byte = *(*d->param_start)++;
785 (int64_t) byte);
788 (int32_t) byte);
919 uint_fast8_t byte = d->data[d->opoff1 / 8]; local
1115 uint_fast8_t byte = modrm & 7; local
1140 uint_fast8_t byte = modrm & 7; local
1163 uint_fast8_t byte = d->data[d->opoff1 / 8]; local
1217 uint_fast8_t byte = d->data[d->opoff1 / 8]; local
1357 uint_fast8_t byte = d->data[d->opoff1 / 8]; local
1377 uint_fast8_t byte = d->data[d->opoff1 / 8]; local
1407 uint_fast8_t byte = d->data[d->opoff1 / 8]; local
[all...]
H A Di386_disasm.c402 /* We match a prefix byte. This is exactly one byte and
520 uint_fast8_t byte; local
523 byte = *begin;
524 /* This is a prefix byte. Print it. */
525 switch (byte)
563 if (byte != 0x40)
566 if (byte & 0x8)
568 if (byte & 0x4)
570 if (byte
[all...]
/external/libavc/encoder/
H A Dih264e_cabac_encode.c300 /* generate stream when a byte is ready */
338 WORD8 byte; local
342 byte = *pu1_intra_4x4_modes++;
343 if (byte & 0x1)
353 ih264e_encode_decision_bins(byte & 0xF,
362 byte >>= 4;
363 if (byte & 0x1)
372 ih264e_encode_decision_bins(byte & 0xF,
H A Dih264e_process.c656 WORD32 i4, byte; local
670 byte = 0;
675 byte |= 1;
683 byte |= (ps_proc->au1_intra_luma_mb_4x4_modes[i4] << 1);
687 byte |= (ps_proc->au1_intra_luma_mb_4x4_modes[i4] - 1) << 1;
696 byte |= 16;
704 byte |= (ps_proc->au1_intra_luma_mb_4x4_modes[i4] << 5);
708 byte |= (ps_proc->au1_intra_luma_mb_4x4_modes[i4] - 1) << 5;
712 *pu1_ptr++ = byte;
1243 buffer as chroma trans functions access one extra byte du
[all...]
/external/libmtp/src/
H A Dlibusb-glue.c795 * 3. REPEAT send 0x10000 byte chunks UNTIL remaining bytes < 0x10000
872 // want to discard extra byte
876 printf("<==USB IN\nDiscarding extra byte\n");
1356 /* Ignore reading one extra byte if device flags have been set */
1389 printf("Reading in extra terminating byte\n");
1391 // need to read in extra byte and discard it
1393 char byte = 0; local
1394 result = USB_BULK_READ(ptp_usb->handle, ptp_usb->inep, &byte, 1, ptp_usb->timeout);
1397 printf("Could not read in extra byte for PTP_USB_BULK_HS_MAX_PACKET_LEN_READ long file, return value 0x%04x\n", result);
/external/libpcap/
H A Dpcap-sita.c755 char byte; local
759 recv(fd, &byte, 1, 0); /* read another byte in */
761 *errbuf++ = byte; /* stick it in */
764 if (byte == '\0') {
/external/ltrace/
H A Dltrace-elf.c274 debug(1, "Not enough data to read %"PRId64"-byte value"
335 uint8_t byte; local
336 if (elf_read_next_u8(data, offset, &byte) < 0)
339 uint8_t payload = byte & 0x7f;
342 if (shift > size && byte != 0x1)
344 if ((byte & 0x80) == 0)
/external/lzma/xz-embedded/
H A Dxz_dec_lzma2.c180 * If 1, the repeated match has length of one byte. Otherwise
308 /* Return true if at least one byte can be written into the dictionary. */
315 * Get a byte from the dictionary at the given distance. The distance is
331 * Put one byte into the dictionary. It is assumed that there is space for it.
333 static inline void dict_put(struct dictionary *dict, uint8_t byte) argument
335 dict->buf[dict->pos++] = byte;
447 * read already. (Yes, the first byte gets completely ignored.)
477 /* Read the next input byte if needed. */
580 /* Decode a literal (one 8-bit byte) */
940 * LZMA2 control byte
[all...]
/external/tcpdump/
H A Daddrtoname.c176 register u_int byte; local
186 byte = addr & 0xff;
187 *--cp = byte % 10 + '0';
188 byte /= 10;
189 if (byte > 0) {
190 *--cp = byte % 10 + '0';
191 byte /= 10;
192 if (byte > 0)
193 *--cp = byte + '0';
207 * is assumed to be in network byte orde
[all...]
/external/valgrind/VEX/priv/
H A Dguest_s390_helpers.c652 /* The function looks at the first byte of an UTF-8 character and returns
664 s390_do_cu12_cu14_helper1(UInt byte, UInt etf3_and_m3_is_1) argument
666 vassert(byte <= 0xff);
669 if (byte >= 0x80 && byte <= 0xbf) return 1;
670 if (byte >= 0xf8) return 1;
673 if (byte == 0xc0 || byte == 0xc1) return 1;
674 if (byte >= 0xf5 && byte <
[all...]
/external/valgrind/coregrind/m_debuginfo/
H A Dreadexidx.c309 // |extra| has no meaning here; instead that byte is an unwind-info byte
503 UChar byte, shift = 0; local
505 GET_BUF_U8(byte);
506 offset |= (byte & 0x7f) << shift;
508 } while ((byte & 0x80) && buf < end);
982 // this one. Instead use the address of the last byte of the

Completed in 1044 milliseconds

123456