Searched defs:byte (Results 151 - 175 of 252) sorted by relevance

1234567891011

/external/mesa3d/src/gallium/drivers/trace/
H A Dtr_dump.c488 uint8_t byte = *p++; local
490 hex[0] = hex_table[byte >> 4];
491 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/pdfium/core/fpdfapi/edit/
H A Dcpdf_creator.cpp34 bool WriteByte(uint8_t byte) override;
98 bool CFX_FileBufferArchive::WriteByte(uint8_t byte) { argument
99 return WriteBlock(&byte, 1);
/external/perf_data_converter/src/
H A Dperf_data_handler.cc41 // however, if the byte's value -8 it should be turned to 0x00f8 as an
43 const auto& byte = static_cast<unsigned char>(bytes[i]); local
45 << static_cast<int>(byte);
/external/protobuf/conformance/
H A Dconformance_test.cc113 uint8_t byte = val & 0x7fU; local
115 if (val) byte |= 0x80U;
116 buf[i++] = byte;
127 // TODO: proper byte-swapping for big-endian machines.
/external/skia/src/core/
H A DSkScalerContext.cpp291 static inline int convert_8_to_1(unsigned byte) { argument
292 SkASSERT(byte <= 0xFF);
293 return byte >> 7;
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp240 uint8_t byte = 0; local
246 byte = *src_row++;
249 *dst_row++ = byte & 0x80 ? 0xff : 0x00;
251 byte <<= 1;
280 inline int convert_8_to_1(unsigned byte) { argument
281 SkASSERT(byte <= 0xFF);
283 return (byte >> 6) != 0;
H A DSkScalerContext_win_dw.cpp676 unsigned byte = 0; local
677 byte |= src[0] & (1 << 7);
678 byte |= src[1] & (1 << 6);
679 byte |= src[2] & (1 << 5);
680 byte |= src[3] & (1 << 4);
681 byte |= src[4] & (1 << 3);
682 byte |= src[5] & (1 << 2);
683 byte |= src[6] & (1 << 1);
684 byte |= src[7] & (1 << 0);
685 dst[i] = byte;
690 unsigned byte = 0; local
[all...]
/external/skqp/src/core/
H A DSkScalerContext.cpp297 static inline int convert_8_to_1(unsigned byte) { argument
298 SkASSERT(byte <= 0xFF);
299 return byte >> 7;
/external/skqp/src/ports/
H A DSkFontHost_FreeType_common.cpp240 uint8_t byte = 0; local
246 byte = *src_row++;
249 *dst_row++ = byte & 0x80 ? 0xff : 0x00;
251 byte <<= 1;
280 inline int convert_8_to_1(unsigned byte) { argument
281 SkASSERT(byte <= 0xFF);
283 return (byte >> 6) != 0;
H A DSkScalerContext_win_dw.cpp676 unsigned byte = 0; local
677 byte |= src[0] & (1 << 7);
678 byte |= src[1] & (1 << 6);
679 byte |= src[2] & (1 << 5);
680 byte |= src[3] & (1 << 4);
681 byte |= src[4] & (1 << 3);
682 byte |= src[5] & (1 << 2);
683 byte |= src[6] & (1 << 1);
684 byte |= src[7] & (1 << 0);
685 dst[i] = byte;
690 unsigned byte = 0; local
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.c51 * the ModR/M byte is required to decode a particular instruction.
56 * @param opcode - The last byte of the instruction's opcode, not counting
58 * @return - TRUE if the ModR/M byte is required, FALSE otherwise.
99 * @param modRM - The ModR/M byte if required, or any value if not.
162 * byte from the instruction's memory and advance the cursor.
166 * @param byte - A pointer to a pre-allocated memory buffer to be populated
170 static int consumeByte(struct InternalInstruction* insn, uint8_t* byte) { argument
171 int ret = insn->reader(insn->readerArg, byte, insn->readerCursor);
183 * @param byte - See consumeByte().
186 static int lookAtByte(struct InternalInstruction* insn, uint8_t* byte) { argument
305 uint8_t byte = 0; local
[all...]
/external/syslinux/core/fs/ntfs/
H A Dntfs.c340 uint8_t *buf; /* Pointer to the zero-terminated byte stream */
341 uint8_t count; /* The count byte */
345 uint8_t *byte; local
372 byte = (uint8_t *)buf + v;
377 res = (res << byte_shift) | *byte--;
381 byte = (uint8_t *)buf + v + l;
386 if (*byte & 0x80)
390 res = (res << byte_shift) | *byte--;
/external/tcpdump/
H A Dprint-esp.c296 u_int byte; local
298 byte = (hexdigit(ndo, hexstring[0]) << 4) + hexdigit(ndo, hexstring[1]);
299 return byte;
H A Dutil-print.c650 int byte; local
653 for (byte = 0; byte < 16; byte++) {
657 if (mask[byte] == bitmasks[bits]) {
663 if (mask[byte] != 0xff)
/external/v8/src/regexp/
H A Dregexp-macro-assembler-irregexp.cc19 Vector<byte> buffer,
364 int byte = 0; local
366 if (table->get(i + j) != 0) byte |= 1 << j;
368 Emit8(byte);
450 Vector<byte> old_buffer = buffer_;
451 buffer_ = Vector<byte>::New(old_buffer.length() * 2);
/external/ImageMagick/coders/
H A Dmat.c662 byte;
667 byte=ReadBlobByte(image);
668 if (byte == EOF)
660 byte; local
H A Dps.c1235 " currentfile byte readhexstring pop 0 get",
1294 " currentfile byte readhexstring pop 0 get",
1313 " currentfile byte readhexstring pop 0 get",
1326 " currentfile byte readhexstring pop 0 get",
1345 " currentfile byte readhexstring pop 0 get",
1353 " currentfile byte readhexstring pop 0 get",
1436 " /byte 1 string def",
1529 byte,
1767 byte=0;
1770 byte<<
1521 byte, local
[all...]
/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/curl/lib/
H A Dconfig-win32.h450 #undef byte macro
/external/elfutils/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[i >> 1];
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.c658 WORD32 i4, byte; local
672 byte = 0;
677 byte |= 1;
685 byte |= (ps_proc->au1_intra_luma_mb_4x4_modes[i4] << 1);
689 byte |= (ps_proc->au1_intra_luma_mb_4x4_modes[i4] - 1) << 1;
698 byte |= 16;
706 byte |= (ps_proc->au1_intra_luma_mb_4x4_modes[i4] << 5);
710 byte |= (ps_proc->au1_intra_luma_mb_4x4_modes[i4] - 1) << 5;
714 ps_mb_hdr->au1_sub_blk_modes[i4 >> 1] = byte;
1251 buffer as chroma trans functions access one extra byte du
[all...]
/external/libpcap/
H A Dpcap-sita.c760 char byte; local
764 recv(fd, &byte, 1, 0); /* read another byte in */
766 *errbuf++ = byte; /* stick it in */
769 if (byte == '\0') {

Completed in 659 milliseconds

1234567891011