/third_party/flatbuffers/python/flatbuffers/ |
D | flexbuffers.py | 83 def B(byte_width): argument 89 }[byte_width] 102 byte_width = len(buf) // length 103 return struct.unpack('%d%s' % (length, fmt[byte_width]), buf) 106 def _Pack(fmt, value, byte_width): argument 107 return struct.pack(fmt[byte_width], value) 110 def _PackVector(fmt, values, byte_width): argument 111 return struct.pack('%d%s' % (len(values), fmt[byte_width]), *values) 114 def _Mutate(fmt, buf, value, byte_width, value_bit_width): argument 115 if (1 << value_bit_width) <= byte_width: [all …]
|
/third_party/flatbuffers/include/flatbuffers/ |
D | flexbuffers.h | 136 R ReadSizedScalar(const uint8_t *data, uint8_t byte_width) { in ReadSizedScalar() argument 137 return byte_width < 4 in ReadSizedScalar() 138 ? (byte_width < 2 in ReadSizedScalar() 141 : (byte_width < 8 in ReadSizedScalar() 146 inline int64_t ReadInt64(const uint8_t *data, uint8_t byte_width) { in ReadInt64() argument 148 data, byte_width); in ReadInt64() 151 inline uint64_t ReadUInt64(const uint8_t *data, uint8_t byte_width) { in ReadUInt64() argument 161 reinterpret_cast<const uint8_t *>(data), byte_width); in ReadUInt64() 165 data, byte_width); in ReadUInt64() 170 inline double ReadDouble(const uint8_t *data, uint8_t byte_width) { in ReadDouble() argument [all …]
|
/third_party/pixman/pixman/ |
D | pixman-mips-dspr2.c | 178 uint32_t byte_width; in mips_dspr2_fill() local 184 byte_width = width * 2; in mips_dspr2_fill() 191 pixman_fill_buff16_mips (dst, byte_width, _xor & 0xffff); in mips_dspr2_fill() 197 byte_width = width * 4; in mips_dspr2_fill() 204 pixman_fill_buff32_mips (dst, byte_width, _xor); in mips_dspr2_fill() 232 uint32_t byte_width; in mips_dspr2_blt() local 243 byte_width = width * 2; in mips_dspr2_blt() 253 pixman_mips_fast_memcpy (dst, src, byte_width); in mips_dspr2_blt() 263 byte_width = width * 4; in mips_dspr2_blt() 273 pixman_mips_fast_memcpy (dst, src, byte_width); in mips_dspr2_blt()
|
D | pixman-mmx.c | 2081 uint32_t byte_width; in mmx_fill() local 2095 byte_width = width; in mmx_fill() 2103 byte_width = 2 * width; in mmx_fill() 2111 byte_width = 4 * width; in mmx_fill() 2138 w = byte_width; in mmx_fill() 3270 int byte_width; in mmx_blt() local 3281 byte_width = 2 * width; in mmx_blt() 3291 byte_width = 4 * width; in mmx_blt() 3307 w = byte_width; in mmx_blt()
|
D | pixman-vmx.c | 2434 uint32_t byte_width; in vmx_fill() local 2446 byte_width = width; in vmx_fill() 2457 byte_width = 2 * width; in vmx_fill() 2466 byte_width = 4 * width; in vmx_fill() 2481 w = byte_width; in vmx_fill()
|
D | pixman-sse2.c | 3330 uint32_t byte_width; in sse2_fill() local 3342 byte_width = width; in sse2_fill() 3353 byte_width = 2 * width; in sse2_fill() 3362 byte_width = 4 * width; in sse2_fill() 3377 w = byte_width; in sse2_fill() 4708 int byte_width; in sse2_blt() local 4719 byte_width = 2 * width; in sse2_blt() 4729 byte_width = 4 * width; in sse2_blt() 4745 w = byte_width; in sse2_blt()
|
/third_party/flatbuffers/tests/ |
D | py_flexbuffers_test.py | 76 def int_bytes(value, byte_width): argument 77 return struct.pack({1: 'b', 2: 'h', 4: 'i', 8: 'q'}[byte_width], value) 80 def uint_bytes(value, byte_width): argument 81 return struct.pack({1: 'B', 2: 'H', 4: 'I', 8: 'Q'}[byte_width], value) 84 def float_bytes(value, byte_width): argument 85 return struct.pack({4: 'f', 8: 'd'}[byte_width], value) 88 def min_value(type_, byte_width): argument 89 assert byte_width > 0 92 return -(1 << (8 * byte_width - 1)) 99 def max_value(type_, byte_width): argument [all …]
|
/third_party/flutter/skia/third_party/skcms/ |
D | skcms.cc | 470 static bool init_a2b_tables(const uint8_t* table_base, uint64_t max_tables_len, uint32_t byte_width, in init_a2b_tables() argument 474 uint32_t byte_len_per_input_table = input_table_entries * byte_width; in init_a2b_tables() 475 uint32_t byte_len_per_output_table = output_table_entries * byte_width; in init_a2b_tables() 481 uint64_t grid_size = a2b->output_channels * byte_width; in init_a2b_tables() 492 if (byte_width == 1) { in init_a2b_tables() 501 if (byte_width == 1) { in init_a2b_tables() 512 if (byte_width == 1) { in init_a2b_tables()
|
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
D | xm_api.c | 1493 int line, byte_width; in XMesaBindTexImage() local 1520 byte_width = w * ((img->bits_per_pixel + 7) / 8); in XMesaBindTexImage() 1525 byte_width); in XMesaBindTexImage()
|
/third_party/skia/third_party/skcms/ |
D | skcms.cc | 658 static bool init_tables(const uint8_t* table_base, uint64_t max_tables_len, uint32_t byte_width, in init_tables() argument 662 uint32_t byte_len_per_input_table = input_table_entries * byte_width; in init_tables() 663 uint32_t byte_len_per_output_table = output_table_entries * byte_width; in init_tables() 669 uint64_t grid_size = out->output_channels * byte_width; in init_tables() 680 if (byte_width == 1) { in init_tables() 689 if (byte_width == 1) { in init_tables() 700 if (byte_width == 1) { in init_tables()
|