Home
last modified time | relevance | path

Searched refs:byte_size (Results 1 – 25 of 56) sorted by relevance

123

/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dwire_format_test.py201 def __init__(self, byte_size): argument
202 self.byte_size = byte_size
204 return self.byte_size
207 mock_message = MockMessage(byte_size=message_byte_size)
218 self.assertEqual(2 + mock_message.byte_size,
221 self.assertEqual(3 + mock_message.byte_size,
224 mock_message.byte_size = 128
225 self.assertEqual(4 + mock_message.byte_size,
232 mock_message.byte_size = 10
233 self.assertEqual(mock_message.byte_size + 6,
[all …]
/third_party/protobuf/python/google/protobuf/internal/
Dwire_format_test.py205 def __init__(self, byte_size): argument
206 self.byte_size = byte_size
208 return self.byte_size
211 mock_message = MockMessage(byte_size=message_byte_size)
222 self.assertEqual(2 + mock_message.byte_size,
225 self.assertEqual(3 + mock_message.byte_size,
228 mock_message.byte_size = 128
229 self.assertEqual(4 + mock_message.byte_size,
236 mock_message.byte_size = 10
237 self.assertEqual(mock_message.byte_size + 6,
[all …]
/third_party/elfutils/tests/
Drun-readelf-dw-form-indirect.sh81 byte_size (data1) 1
85 byte_size (data1) 2
89 byte_size (data1) 4
93 byte_size (data1) 8
97 byte_size (data1) 1
101 byte_size (data1) 2
105 byte_size (data1) 4
115 byte_size (data1) 8
131 byte_size (data1) 8
133 byte_size (data1) 8
[all …]
Drun-readelf-const-values.sh100 byte_size (data1) 4
178 byte_size (data1) 4
184 byte_size (data1) 1
190 byte_size (data1) 1
196 byte_size (data1) 2
202 byte_size (data1) 2
208 byte_size (data1) 4
214 byte_size (data1) 8
218 byte_size (data1) 8
Drun-show-die-info.sh47 Attrs : name byte_size encoding
71 Attrs : name byte_size encoding
115 Attrs : name byte_size encoding
145 Attrs : name byte_size encoding
156 Attrs : name byte_size encoding
177 Attrs : name byte_size encoding
183 Attrs : sibling name byte_size decl_file decl_line
209 Attrs : name byte_size encoding
215 Attrs : byte_size
231 Attrs : name byte_size encoding
[all …]
Drun-readelf-zdebug-rel.sh102 byte_size (data1) 4
106 byte_size (data1) 8
109 byte_size (data1) 8
112 byte_size (data1) 1
116 byte_size (data1) 8
206 byte_size (data1) 4
210 byte_size (data1) 8
213 byte_size (data1) 8
216 byte_size (data1) 1
220 byte_size (data1) 8
Drun-exprlocs.sh55 byte_size (data1)
60 byte_size (data1)
77 byte_size (data1)
79 byte_size (data1)
108 byte_size (data1)
111 byte_size (data1)
Drun-readelf-discr.sh91 byte_size (exprloc)
205 byte_size (data1) 4
210 byte_size (data1) 1
247 byte_size (data1) 2
252 byte_size (exprloc)
312 byte_size (data1) 1
316 byte_size (data1) 4
Drun-readelf-variant.sh77 grep -A6 byte_size testfile.temp | grep -A6 exprloc > testfile2.temp
80 byte_size (exprloc)
Drun-readelf-types.sh49 byte_size (data1) 4
94 byte_size (data1) 1
107 byte_size (data1) 1
Drun-readelf-dwz-multi.sh98 byte_size (data1) 8
135 byte_size (data1) 8
159 byte_size (data1) 8
196 byte_size (data1) 8
Drun-readelf-loc.sh982 byte_size (data1) 4
986 byte_size (data1) 8
989 byte_size (data1) 8
992 byte_size (data1) 1
1042 byte_size (data1) 4
1046 byte_size (data1) 1
/third_party/cef/libcef/common/
Dstring_util.cc47 const size_t byte_size = string.length(); in CreateSharedMemoryRegion() local
50 const size_t byte_size = in CreateSharedMemoryRegion()
53 auto mapped_region = base::ReadOnlySharedMemoryRegion::Create(byte_size); in CreateSharedMemoryRegion()
55 memcpy(mapped_region.mapping.memory(), string.data(), byte_size); in CreateSharedMemoryRegion()
/third_party/protobuf/src/google/protobuf/
Dmessage_lite.cc455 size_t byte_size = ByteSizeLong(); in AppendPartialToString() local
456 if (byte_size > INT_MAX) { in AppendPartialToString()
458 << " exceeded maximum protobuf size of 2GB: " << byte_size; in AppendPartialToString()
462 STLStringResizeUninitialized(output, old_size + byte_size); in AppendPartialToString()
465 SerializeToArrayImpl(*this, start, byte_size); in AppendPartialToString()
485 const size_t byte_size = ByteSizeLong(); in SerializePartialToArray() local
486 if (byte_size > INT_MAX) { in SerializePartialToArray()
488 << " exceeded maximum protobuf size of 2GB: " << byte_size; in SerializePartialToArray()
491 if (size < byte_size) return false; in SerializePartialToArray()
493 SerializeToArrayImpl(*this, start, byte_size); in SerializePartialToArray()
/third_party/ffmpeg/libavcodec/
Dget_bits.h678 int byte_size) in init_get_bits8() argument
680 if (byte_size > INT_MAX / 8 || byte_size < 0) in init_get_bits8()
681 byte_size = -1; in init_get_bits8()
682 return init_get_bits(s, buffer, byte_size * 8); in init_get_bits8()
686 int byte_size) in init_get_bits8_le() argument
688 if (byte_size > INT_MAX / 8 || byte_size < 0) in init_get_bits8_le()
689 byte_size = -1; in init_get_bits8_le()
690 return init_get_bits_xe(s, buffer, byte_size * 8, 1); in init_get_bits8_le()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_ubo_loads.c47 unsigned byte_size = bit_size / 8; in lower_ubo_load_instr() local
54 assert(offset % byte_size == 0); in lower_ubo_load_instr()
87 unsigned load_size = byte_size * load->num_components; in lower_ubo_load_instr()
/third_party/gstreamer/gstreamer/libs/gst/controller/
Dgstdirectcontrolbinding.c252 self->byte_size = sizeof (g##type); in gst_direct_control_binding_constructor()
283 self->byte_size = sizeof (gboolean); in gst_direct_control_binding_constructor()
288 self->byte_size = sizeof (gint); in gst_direct_control_binding_constructor()
435 gint byte_size; in gst_direct_control_binding_get_value_array() local
445 byte_size = self->byte_size; in gst_direct_control_binding_get_value_array()
458 values += byte_size; in gst_direct_control_binding_get_value_array()
Dgstdirectcontrolbinding.h84 gint byte_size; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DDataExtractor.cpp124 uint64_t DataExtractor::getUnsigned(uint64_t *offset_ptr, uint32_t byte_size, in getUnsigned() argument
126 switch (byte_size) { in getUnsigned()
140 DataExtractor::getSigned(uint64_t *offset_ptr, uint32_t byte_size) const { in getSigned()
141 switch (byte_size) { in getSigned()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_mem_access_bit_sizes.c187 const unsigned byte_size = bit_size / 8; in lower_mem_store_bit_size() local
188 assert(byte_size <= sizeof(uint64_t)); in lower_mem_store_bit_size()
195 BITSET_SET_RANGE_INSIDE_WORD(mask, i * byte_size, ((i + 1) * byte_size) - 1); in lower_mem_store_bit_size()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c88 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]); in radv_pipeline_cache_init() local
89 cache->hash_table = malloc(byte_size); in radv_pipeline_cache_init()
97 memset(cache->hash_table, 0, byte_size); in radv_pipeline_cache_init()
272 const size_t byte_size = table_size * sizeof(cache->hash_table[0]); in radv_pipeline_cache_grow() local
276 table = malloc(byte_size); in radv_pipeline_cache_grow()
285 memset(cache->hash_table, 0, byte_size); in radv_pipeline_cache_grow()
/third_party/exfatprogs/mkfs/
Dmkfs.c579 unsigned long long byte_size = strtoull(size, &data_unit, 0); in parse_size() local
584 byte_size <<= 20; in parse_size()
588 byte_size <<= 10; in parse_size()
598 return byte_size; in parse_size()
/third_party/mesa3d/src/gallium/frontends/nine/
Dpixelshader9.c77 This->byte_code.tokens = mem_dup(pFunction, info.byte_size); in NinePixelShader9_ctor()
80 This->byte_code.size = info.byte_size; in NinePixelShader9_ctor()
Dvertexshader9.c92 This->byte_code.tokens = mem_dup(pFunction, info.byte_size); in NineVertexShader9_ctor()
95 This->byte_code.size = info.byte_size; in NineVertexShader9_ctor()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir.c40 unsigned byte_size = bit_size / 8; in ir3_nir_should_vectorize_mem() local
43 return bit_size <= 32 && align_mul >= byte_size && in ir3_nir_should_vectorize_mem()
44 align_offset % byte_size == 0 && in ir3_nir_should_vectorize_mem()
52 int size = num_components * byte_size; in ir3_nir_should_vectorize_mem()

123