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

12

/external/pdfium/core/fxcrt/
H A Dfx_basic_memmgr.cpp11 void* FXMEM_DefaultAlloc(size_t byte_size, int flags) { argument
12 return (void*)malloc(byte_size);
H A Dfx_memory.h17 void* FXMEM_DefaultAlloc(size_t byte_size, int flags);
/external/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...]
/external/syslinux/gpxe/src/crypto/axtls/
H A Drsa.c132 int byte_size = ctx->num_octets; local
137 memset(out_data, 0, byte_size); /* initialise */
140 dat_bi = bi_import(ctx->bi_ctx, in_data, byte_size);
149 block = (uint8_t *)malloc(byte_size);
150 bi_export(ctx->bi_ctx, decrypted_bi, block, byte_size);
157 while (block[i++] == 0xff && i < byte_size);
160 i = byte_size; /*ensure size is 0 */
165 while (block[i++] && i < byte_size);
167 size = byte_size - i;
258 int byte_size local
[all...]
/external/elfutils/tests/
H A 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
H A 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 encodin
[all...]
H A 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/
H A Dmessage_lite.cc292 int byte_size = ByteSize(); local
293 if (byte_size < 0) {
299 STLStringResizeUninitialized(output, old_size + byte_size);
303 if (end - start != byte_size) {
304 ByteSizeConsistencyError(byte_size, ByteSize(), end - start, *this);
325 int byte_size = ByteSize(); local
326 if (size < byte_size) return false;
329 if (end - start != byte_size) {
330 ByteSizeConsistencyError(byte_size, ByteSize(), end - start, *this);
/external/llvm/lib/Support/
H A DDataExtractor.cpp92 DataExtractor::getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const {
93 switch (byte_size) {
107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const {
108 switch (byte_size) {
/external/pdfium/third_party/libjpeg/
H A Dfpdfapi_jmemnobs.c28 void* FXMEM_DefaultAlloc(int byte_size, int);
/external/swiftshader/third_party/LLVM/lib/Support/
H A DDataExtractor.cpp92 DataExtractor::getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const {
93 switch (byte_size) {
107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const {
108 switch (byte_size) {
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DDataExtractor.h59 /// Extract an unsigned integer of size \a byte_size from \a
64 /// is specified by the \a byte_size argument. \a byte_size should
67 /// \a byte_size values less than 1 or greater than 8 will result in
77 /// @param[in] byte_size
83 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
85 /// Extract an signed integer of size \a byte_size from \a *offset_ptr.
89 /// the extracted integer is specified by the \a byte_size argument.
90 /// \a byte_size should have a value greater than or equal to one
92 /// bits wide. Any \a byte_size value
[all...]
/external/mesa3d/src/amd/vulkan/
H A Dradv_pipeline_cache.c54 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]); local
55 cache->hash_table = malloc(byte_size);
63 memset(cache->hash_table, 0, byte_size);
214 const size_t byte_size = table_size * sizeof(cache->hash_table[0]); local
218 table = malloc(byte_size);
227 memset(cache->hash_table, 0, byte_size);
/external/llvm/include/llvm/Support/
H A DDataExtractor.h61 /// Extract an unsigned integer of size \a byte_size from \a
66 /// is specified by the \a byte_size argument. \a byte_size should
69 /// \a byte_size values less than 1 or greater than 8 will result in
79 /// @param[in] byte_size
85 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
87 /// Extract an signed integer of size \a byte_size from \a *offset_ptr.
91 /// the extracted integer is specified by the \a byte_size argument.
92 /// \a byte_size should have a value greater than or equal to one
94 /// bits wide. Any \a byte_size value
[all...]
/external/mesa3d/src/gallium/state_trackers/nine/
H A Dpixelshader9.c72 This->byte_code.tokens = mem_dup(pFunction, info.byte_size);
75 This->byte_code.size = info.byte_size;
H A Dnine_shader.h49 DWORD byte_size; /* out, size of data at byte_code */ member in struct:nine_shader_info
H A Dvertexshader9.c88 This->byte_code.tokens = mem_dup(pFunction, info.byte_size);
91 This->byte_code.size = info.byte_size;
/external/pdfium/third_party/agg23/
H A Dagg_array.h59 unsigned byte_size() const function in class:agg::pod_array
261 unsigned byte_size() const;
407 unsigned pod_deque<T, S>::byte_size() const function in class:agg::pod_deque
/external/flatbuffers/js/
H A Dflatbuffers.js292 * @param {number} byte_size
294 flatbuffers.Builder.prototype.pad = function(byte_size) {
295 for (var i = 0; i < byte_size; i++) {
819 * @param {number} byte_size
822 flatbuffers.ByteBuffer.allocate = function(byte_size) {
823 return new flatbuffers.ByteBuffer(new Uint8Array(byte_size));
/external/pdfium/third_party/libpng16/
H A Dpngmem.c22 void* FXMEM_DefaultAlloc(int byte_size, int);
/external/flatbuffers/java/com/google/flatbuffers/
H A DFlatBufferBuilder.java154 * @param byte_size Number of bytes to add.
156 public void pad(int byte_size) { argument
157 for (int i = 0; i < byte_size; i++) bb.put(--space, (byte)0);
/external/libchrome/base/strings/
H A Dstring_util.cc351 const size_t byte_size,
354 if (byte_size > input.length()) {
358 DCHECK_LE(byte_size,
361 int32_t truncation_length = static_cast<int32_t>(byte_size);
350 TruncateUTF8ToByteSize(const std::string& input, const size_t byte_size, std::string* output) argument
H A Dstring_util.h233 const size_t byte_size,
/external/flatbuffers/php/
H A DFlatbufferBuilder.php123 * @param $byte_size
125 public function pad($byte_size)
127 for ($i = 0; $i < $byte_size; $i++) {
/external/pdfium/third_party/freetype/src/sfnt/
H A Dttsbit.c1017 FT_UInt byte_size = height * ( ( width + 7 ) >> 3 ); local
1020 if ( bit_size < byte_size &&
1021 byte_size == (FT_UInt)( p_limit - p ) )

Completed in 1100 milliseconds

12