Home
last modified time | relevance | path

Searched refs:byte_size (Results 1 - 25 of 37) sorted by relevance

12

/third_party/protobuf/python/google/protobuf/internal/
H A Dwire_format_test.py205 def __init__(self, byte_size):
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
[all...]
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
H A Dwire_format_test.py201 def __init__(self, byte_size):
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
[all...]
/third_party/ffmpeg/tests/checkasm/
H A Dsw_gbrp.c69 int dstW, byte_size, luma_filter_size, chr_filter_size; in check_output_yuv2gbrp() local
156 byte_size = 4; in check_output_yuv2gbrp()
158 byte_size = 2; in check_output_yuv2gbrp()
160 byte_size = 1; in check_output_yuv2gbrp()
177 if (memcmp(dst0[0], dst1[0], dstW * byte_size) || in check_output_yuv2gbrp()
178 memcmp(dst0[1], dst1[1], dstW * byte_size) || in check_output_yuv2gbrp()
179 memcmp(dst0[2], dst1[2], dstW * byte_size) || in check_output_yuv2gbrp()
180 memcmp(dst0[3], dst1[3], dstW * byte_size) ) in check_output_yuv2gbrp()
201 int dstW, byte_size; in check_input_planar_rgb_to_y() local
238 byte_size in check_input_planar_rgb_to_y()
268 int dstW, byte_size; check_input_planar_rgb_to_uv() local
341 int dstW, byte_size; check_input_planar_rgb_to_a() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dget_bits.h664 * @param byte_size the size of the buffer in bytes
668 int byte_size)
670 if (byte_size > INT_MAX / 8 || byte_size < 0)
671 byte_size = -1;
672 return init_get_bits(s, buffer, byte_size * 8);
676 int byte_size)
678 if (byte_size > INT_MAX / 8 || byte_size < 0)
679 byte_size
[all...]
H A Dav3a_parser.c208 static int read_av3a_frame_header(AVS3AHeaderInfo *hdf, const uint8_t *buf, const int32_t byte_size) in read_av3a_frame_header() argument
/third_party/protobuf/src/google/protobuf/
H A 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()
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A 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/mesa3d/src/intel/compiler/
H A 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()
H A Dbrw_nir.c1662 unsigned byte_size = bit_size / 8; in brw_nir_load_global_const() local
1671 assert(offset % byte_size == 0); in brw_nir_load_global_const()
1691 sysval = nir_load_global_constant(b, addr, byte_size, in brw_nir_load_global_const()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A 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/amd/vulkan/
H A 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/
H A 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/
H A 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()
H A 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()
H A Dnine_shader.h53 DWORD byte_size; /* out, size of data at byte_code */ member
/third_party/mesa3d/src/freedreno/ir3/
H A 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()
/third_party/node/deps/v8/src/heap/
H A Dheap-inl.h332 void Heap::CopyBlock(Address dst, Address src, int byte_size) { in CopyBlock() argument
333 DCHECK(IsAligned(byte_size, kTaggedSize)); in CopyBlock()
334 CopyTagged(dst, src, static_cast<size_t>(byte_size / kTaggedSize)); in CopyBlock()
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dcbor.cc360 uint64_t byte_size = out->size() - (byte_size_pos_ + sizeof(uint32_t)); in EncodeStop() local
363 if (byte_size > std::numeric_limits<uint32_t>::max()) in EncodeStop()
367 (*out)[byte_size_pos_++] = 0xff & (byte_size >> (shift_bytes * 8)); in EncodeStop()
/third_party/gn/src/base/strings/
H A Dstring_util.cc308 const size_t byte_size, in TruncateUTF8ToByteSize()
311 if (byte_size > input.length()) { in TruncateUTF8ToByteSize()
315 DCHECK_LE(byte_size, in TruncateUTF8ToByteSize()
318 int32_t truncation_length = static_cast<int32_t>(byte_size); in TruncateUTF8ToByteSize()
307 TruncateUTF8ToByteSize(const std::string& input, const size_t byte_size, std::string* output) TruncateUTF8ToByteSize() argument
H A Dstring_util.h179 const size_t byte_size,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DDataExtractor.h144 /// Extract an unsigned integer of size \a byte_size from \a
149 /// is specified by the \a byte_size argument. \a byte_size should
152 /// \a byte_size values less than 1 or greater than 8 will result in
162 /// @param[in] byte_size
174 uint64_t getUnsigned(uint64_t *offset_ptr, uint32_t byte_size,
184 /// Extract an signed integer of size \a byte_size from \a *offset_ptr.
188 /// the extracted integer is specified by the \a byte_size argument.
189 /// \a byte_size should have a value greater than or equal to one
191 /// bits wide. Any \a byte_size value
[all...]
/third_party/gn/src/base/win/
H A Dregistry.cc28 // char16_t is truncated. This function converts the reported |byte_size| to
30 inline DWORD to_wchar_size(DWORD byte_size) { in to_wchar_size() argument
31 return (byte_size + sizeof(char16_t) - 1) / sizeof(char16_t); in to_wchar_size()
/third_party/ltp/tools/sparse/sparse-src/
H A Dcompile-i386.c901 unsigned long alignment, unsigned int byte_size) in emit_object_pre()
909 printf("\t.size\t%s, %d\n", name, byte_size); in emit_object_pre()
942 unsigned long alignment, unsigned int byte_size) in emit_global_noinit()
951 sprintf(s, "\t.comm\t%s,%d,%lu\n", name, byte_size, alignment); in emit_global_noinit()
953 sprintf(s, "\t.comm\t%s,%d\n", name, byte_size); in emit_global_noinit()
900 emit_object_pre(const char *name, unsigned long modifiers, unsigned long alignment, unsigned int byte_size) emit_object_pre() argument
941 emit_global_noinit(const char *name, unsigned long modifiers, unsigned long alignment, unsigned int byte_size) emit_global_noinit() argument
/third_party/node/deps/v8/src/codegen/
H A Dsafepoint-table.h104 int byte_size() const { in byte_size() function in v8::internal::SafepointTable
H A Dsafepoint-table.cc77 os << "Safepoints (entries = " << length_ << ", byte size = " << byte_size() in Print()

Completed in 25 milliseconds

12