Home
last modified time | relevance | path

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

12

/external/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 …]
/external/syslinux/gpxe/src/crypto/axtls/
Drsa.c132 int byte_size = ctx->num_octets; in RSA_decrypt() local
137 memset(out_data, 0, byte_size); /* initialise */ in RSA_decrypt()
140 dat_bi = bi_import(ctx->bi_ctx, in_data, byte_size); in RSA_decrypt()
149 block = (uint8_t *)malloc(byte_size); in RSA_decrypt()
150 bi_export(ctx->bi_ctx, decrypted_bi, block, byte_size); in RSA_decrypt()
157 while (block[i++] == 0xff && i < byte_size); in RSA_decrypt()
160 i = byte_size; /*ensure size is 0 */ in RSA_decrypt()
165 while (block[i++] && i < byte_size); in RSA_decrypt()
167 size = byte_size - i; in RSA_decrypt()
258 int byte_size = ctx->num_octets; in RSA_encrypt() local
[all …]
/external/elfutils/tests/
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
Drun-readelf-dwz-multi.sh98 byte_size (data1) 8
135 byte_size (data1) 8
159 byte_size (data1) 8
196 byte_size (data1) 8
/external/protobuf/src/google/protobuf/
Dmessage_lite.cc292 int byte_size = ByteSize(); in AppendPartialToString() local
293 if (byte_size < 0) { in AppendPartialToString()
299 STLStringResizeUninitialized(output, old_size + byte_size); in AppendPartialToString()
303 if (end - start != byte_size) { in AppendPartialToString()
304 ByteSizeConsistencyError(byte_size, ByteSize(), end - start, *this); in AppendPartialToString()
325 int byte_size = ByteSize(); in SerializePartialToArray() local
326 if (size < byte_size) return false; in SerializePartialToArray()
329 if (end - start != byte_size) { in SerializePartialToArray()
330 ByteSizeConsistencyError(byte_size, ByteSize(), end - start, *this); in SerializePartialToArray()
/external/swiftshader/third_party/LLVM/lib/Support/
DDataExtractor.cpp92 DataExtractor::getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getUnsigned()
93 switch (byte_size) { in getUnsigned()
107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned()
108 switch (byte_size) { in getSigned()
/external/pdfium/core/fxcrt/
Dfx_basic_memmgr.cpp11 void* FXMEM_DefaultAlloc(size_t byte_size, int flags) { in FXMEM_DefaultAlloc() argument
12 return (void*)malloc(byte_size); in FXMEM_DefaultAlloc()
Dfx_memory.h17 void* FXMEM_DefaultAlloc(size_t byte_size, int flags);
/external/llvm/lib/Support/
DDataExtractor.cpp92 DataExtractor::getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getUnsigned()
93 switch (byte_size) { in getUnsigned()
107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned()
108 switch (byte_size) { in getSigned()
/external/flatbuffers/js/
Dflatbuffers.js294 flatbuffers.Builder.prototype.pad = function(byte_size) { argument
295 for (var i = 0; i < byte_size; i++) {
822 flatbuffers.ByteBuffer.allocate = function(byte_size) { argument
823 return new flatbuffers.ByteBuffer(new Uint8Array(byte_size));
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jmemnobs.c28 void* FXMEM_DefaultAlloc(int byte_size, int);
/external/pdfium/third_party/agg23/
Dagg_array.h59 unsigned byte_size() const in byte_size() function
261 unsigned byte_size() const;
407 unsigned pod_deque<T, S>::byte_size() const in byte_size() function
/external/pdfium/third_party/libpng16/
D0000-build-config.patch8 +void* FXMEM_DefaultAlloc(int byte_size, int);
Dpngmem.c22 void* FXMEM_DefaultAlloc(int byte_size, int);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DDataExtractor.h83 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
/external/llvm/include/llvm/Support/
DDataExtractor.h85 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
/external/libchrome/base/strings/
Dstring_util.cc351 const size_t byte_size, in TruncateUTF8ToByteSize() argument
354 if (byte_size > input.length()) { in TruncateUTF8ToByteSize()
358 DCHECK_LE(byte_size, in TruncateUTF8ToByteSize()
361 int32_t truncation_length = static_cast<int32_t>(byte_size); in TruncateUTF8ToByteSize()
Dstring_util.h233 const size_t byte_size,
/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java156 public void pad(int byte_size) { in pad() argument
157 for (int i = 0; i < byte_size; i++) bb.put(--space, (byte)0); in pad()
/external/flatbuffers/php/
DFlatbufferBuilder.php125 public function pad($byte_size) argument
127 for ($i = 0; $i < $byte_size; $i++) {
/external/pdfium/third_party/freetype/src/sfnt/
Dttsbit.c1017 FT_UInt byte_size = height * ( ( width + 7 ) >> 3 ); in tt_sbit_decoder_load_bitmap() local
1020 if ( bit_size < byte_size && in tt_sbit_decoder_load_bitmap()
1021 byte_size == (FT_UInt)( p_limit - p ) ) in tt_sbit_decoder_load_bitmap()
/external/libxml2/
DparserInternals.c2025 unsigned int byte_size; in xmlParserAddNodeInfo() local
2029 byte_size = (sizeof(*ctxt->node_seq.buffer) * in xmlParserAddNodeInfo()
2033 tmp_buffer = (xmlParserNodeInfo *) xmlMalloc(byte_size); in xmlParserAddNodeInfo()
2037 byte_size); in xmlParserAddNodeInfo()
/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c927 struct dir_ent *dir_ent, int type, long long byte_size, in create_inode() argument
942 byte_size >= (1LL << 32) || in create_inode()
994 reg->file_size = byte_size; in create_inode()
1001 "%d, fragment %d, offset %d, size %d\n", byte_size, in create_inode()
1030 reg->file_size = byte_size; in create_inode()
1034 if(sparse && sparse >= byte_size) in create_inode()
1035 sparse = byte_size - 1; in create_inode()
1042 "\n", byte_size, start_block, offset, fragment->index, in create_inode()
1065 if(byte_size >= 1 << 27) in create_inode()
1071 dir->file_size = byte_size; in create_inode()
[all …]
/external/freetype/src/sfnt/
Dttsbit.c1176 FT_UInt byte_size = height * ( ( width + 7 ) >> 3 ); in tt_sbit_decoder_load_bitmap() local
1179 if ( bit_size < byte_size && in tt_sbit_decoder_load_bitmap()
1180 byte_size == (FT_UInt)( p_limit - p ) ) in tt_sbit_decoder_load_bitmap()

12