Searched defs:byte_size (Results 1 - 14 of 14) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
H A Dcommon.py81 def byte_size(number): function
89 >>> byte_size(1 << 1023)
91 >>> byte_size((1 << 1024) - 1)
93 >>> byte_size(1 << 1024)
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/tests/
H A Dtest_common.py7 from rsa.common import byte_size, bit_size, _bit_size namespace
21 self.assertEqual(byte_size(1 << 1023), 128)
22 self.assertEqual(byte_size((1 << 1024) - 1), 128)
23 self.assertEqual(byte_size(1 << 1024), 129)
24 self.assertEqual(byte_size(255), 1)
25 self.assertEqual(byte_size(256), 2)
26 self.assertEqual(byte_size(0xffff), 2)
27 self.assertEqual(byte_size(0xffffff), 3)
28 self.assertEqual(byte_size(0xffffffff), 4)
29 self.assertEqual(byte_size(
[all...]
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_memmgr.cpp11 void* FXMEM_DefaultAlloc(size_t byte_size, int flags) { argument
12 return (void*)malloc(byte_size);
/external/protobuf/src/google/protobuf/
H A Dmessage_lite.cc279 int byte_size = ByteSize(); local
280 STLStringResizeUninitialized(output, old_size + byte_size);
284 if (end - start != byte_size) {
285 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);
306 int byte_size = ByteSize(); local
307 if (size < byte_size) return false;
310 if (end - start != byte_size) {
311 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);
/external/libchrome/base/strings/
H A Dstring_util_unittest.cc63 const size_t byte_size,
66 TruncateUTF8ToByteSize(input, byte_size, output);
75 // Empty strings and invalid byte_size arguments
62 Truncated(const std::string& input, const size_t byte_size, std::string* output) argument
H A Dstring_util.cc352 const size_t byte_size,
355 if (byte_size > input.length()) {
359 DCHECK_LE(byte_size,
362 int32_t truncation_length = static_cast<int32_t>(byte_size);
351 TruncateUTF8ToByteSize(const std::string& input, const size_t byte_size, std::string* output) argument
/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/freetype/src/sfnt/
H A Dttsbit.c1147 FT_UInt byte_size = height * ( ( width + 7 ) >> 3 ); local
1150 if ( bit_size < byte_size &&
1151 byte_size == (FT_UInt)( p_limit - p ) )
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/
H A Dttsbit.c1103 FT_UInt byte_size = height * ( ( width + 7 ) >> 3 ); local
1106 if ( bit_size < byte_size &&
1107 byte_size == (FT_UInt)( p_limit - p ) )
/external/libxml2/
H A DparserInternals.c2025 unsigned int byte_size; local
2029 byte_size = (sizeof(*ctxt->node_seq.buffer) *
2033 tmp_buffer = (xmlParserNodeInfo *) xmlMalloc(byte_size);
2037 byte_size);
/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 ) )
/external/v8/src/heap/
H A Dheap-inl.h474 void Heap::CopyBlock(Address dst, Address src, int byte_size) { argument
476 static_cast<size_t>(byte_size / kPointerSize));
/external/v8/src/x64/
H A Ddisasm-x64.cc177 void SetTableRange(InstructionType type, byte start, byte end, bool byte_size,
229 bool byte_size,
236 id->byte_size_operation = byte_size;
226 SetTableRange(InstructionType type, byte start, byte end, bool byte_size, const char* mnem) argument
/external/squashfs-tools/squashfs-tools/
H A Dmksquashfs.c885 struct dir_ent *dir_ent, int type, long long byte_size,
900 byte_size >= (1LL << 32) ||
952 reg->file_size = byte_size;
959 "%d, fragment %d, offset %d, size %d\n", byte_size,
988 reg->file_size = byte_size;
992 if(sparse && sparse >= byte_size)
993 sparse = byte_size - 1;
1000 "\n", byte_size, start_block, offset, fragment->index,
1023 if(byte_size >= 1 << 27)
1029 dir->file_size = byte_size;
884 create_inode(squashfs_inode *i_no, struct dir_info *dir_info, struct dir_ent *dir_ent, int type, long long byte_size, long long start_block, unsigned int offset, unsigned int *block_list, struct fragment *fragment, struct directory *dir_in, long long sparse) argument
[all...]

Completed in 482 milliseconds