/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) macro 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/dalvik/dx/src/com/android/dx/command/dump/ |
BlockDumper.java | 73 * @param bytes {@code non-null;} bytes of the (alleged) class file 80 public static void dump(byte[] bytes, PrintStream out, 82 BlockDumper bd = new BlockDumper(bytes, out, filePath, 91 BlockDumper(byte[] bytes, PrintStream out, String filePath, 93 super(bytes, out, filePath, args); 106 byte[] bytes = getBytes(); 107 ByteArray ba = new ByteArray(bytes); 135 public void parsed(ByteArray bytes, int offset, int len, String human) { 137 super.parsed(bytes, offset, len, human) 211 ByteArray bytes = code.getBytes(); local 287 ByteArray bytes = code.getBytes(); local [all...] |
/external/chromium_org/build/mac/ |
change_mach_o_flags.py | 114 """Reads |count| bytes from the file-like |file| object, raising a 115 MachOError if any other number of bytes is read.""" 117 bytes = file.read(count) 118 if len(bytes) != count: 120 'read: expected length %d, observed %d' % (count, len(bytes)) 122 return bytes 131 bytes = CheckedRead(file, 4) 133 (uint32,) = struct.unpack(endian + 'I', bytes) 144 bytes = CheckedRead(file, 28) 147 struct.unpack(endian + '7I', bytes) [all...] |
/external/bison/lib/ |
mbuiter.h | 73 relocates iterator when the string is moved by ptrdiff bytes. 122 size_t cur.bytes number of bytes of current character 141 iter->cur.bytes = 1; 150 iter->cur.bytes = mbrtowc (&iter->cur.wc, iter->cur.ptr, 153 if (iter->cur.bytes == (size_t) -1) 156 iter->cur.bytes = 1; 161 else if (iter->cur.bytes == (size_t) -2) 164 iter->cur.bytes = strlen (iter->cur.ptr); 171 if (iter->cur.bytes == 0 [all...] |
/external/openssl/crypto/rand/ |
rand_egd.c | 66 * RAND_query_egd_bytes(path, buf, bytes) 67 * will actually query "bytes" bytes of entropy form the egd-socket located 70 * The number of bytes is not limited by the maximum chunk size of EGD, 71 * which is 255 bytes. If more than 255 bytes are wanted, several chunks 72 * of entropy bytes are requested. The connection is left open until the 76 * num the number of bytes read from the EGD socket. This number is either 77 * the number of bytes requested or smaller, if the EGD pool is 82 * RAND_egd_bytes(path, bytes) will query "bytes" bytes and have the [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
SecureClassLoader2Test.java | 47 public Class define(String name, byte[] bytes) { 48 return defineClass(name, bytes, 0, bytes.length, 66 byte[] bytes = InputStreamHelper.readFullyAndClose(in); 67 Class c = myloader.define("packA.SecurityTest", bytes);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/ |
BcDigestCalculatorProvider.java | 55 public void write(byte[] bytes, int off, int len) 58 dig.update(bytes, off, len); 61 public void write(byte[] bytes) 64 dig.update(bytes, 0, bytes.length);
|
/external/chromium_org/base/memory/ |
discardable_memory_emulated.cc | 33 DiscardableMemoryEmulated::DiscardableMemoryEmulated(size_t bytes) 34 : bytes_(bytes), 36 g_shared_state.Pointer()->manager.Register(this, bytes); 52 size_t bytes) { 53 g_shared_state.Pointer()->manager.ReduceMemoryUsageUntilWithinLimit(bytes);
|
/external/chromium_org/gpu/command_buffer/service/ |
memory_tracking.h | 60 void TrackMemAlloc(size_t bytes) { 61 mem_represented_ += bytes; 65 void TrackMemFree(size_t bytes) { 66 DCHECK(bytes <= mem_represented_); 67 mem_represented_ -= bytes;
|
/external/chromium_org/third_party/skia/src/pipe/utils/ |
SamplePipeControllers.h | 22 virtual void notifyWritten(size_t bytes) SK_OVERRIDE; 40 virtual void notifyWritten(size_t bytes) SK_OVERRIDE; 61 virtual void notifyWritten(size_t bytes) SK_OVERRIDE; 75 PipeBlock(void* block, size_t bytes) { fBlock = block, fBytes = bytes; } 79 // Number of bytes that were written to fBlock.
|
/external/chromium_org/ui/base/text/ |
bytes_formatting_unittest.cc | 13 int64 bytes; member in struct:ui::__anon21287 29 EXPECT_EQ(cases[i].expected, GetByteDisplayUnits(cases[i].bytes)); 34 int64 bytes; member in struct:ui::__anon21288 41 // sense (zero or bytes). 43 // the display of file sizes or bytes consistently around three 73 FormatBytesWithUnits(cases[i].bytes, cases[i].units, false)); 75 FormatBytesWithUnits(cases[i].bytes, cases[i].units, true));
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
Exception_info.java | 114 Exception_info (final UDataInputStream bytes) throws IOException 116 m_start_pc = bytes.readU2 (); 117 m_end_pc = bytes.readU2 (); 118 m_handler_pc = bytes.readU2 (); 119 m_catch_type = bytes.readU2 ();
|
InnerClass_info.java | 79 InnerClass_info (final UDataInputStream bytes) throws IOException 81 m_inner_class_index = bytes.readU2 (); 82 m_outer_class_index = bytes.readU2 (); 83 m_inner_name_index = bytes.readU2 (); 84 m_inner_access_flags = bytes.readU2 ();
|
/external/fio/os/ |
os-hpux.h | 50 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) 58 *bytes = lba * dext.lgblksz; 62 *bytes = 0; 66 static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) 68 return blockdev_size(f, bytes);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ExtensionDescriptor.java | 36 byte[] bytes;
field in class:ExtensionDescriptor 60 bytes = new byte[sizeOfInstance];
61 bb.get(bytes);
69 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
|
/bionic/libc/arch-x86_64/string/ |
sse4-memcmp-slm.S | 753 jnc L(16bytes) 758 jnc L(16bytes) 763 jnc L(16bytes) 767 jmp L(16bytes) 772 jmp L(16bytes) 776 jmp L(16bytes) 780 jmp L(16bytes) 784 jmp L(16bytes) 788 jmp L(16bytes) 792 jmp L(16bytes) [all...] |
/external/chromium_org/sync/internal_api/public/base/ |
ordinal.h | 32 // An Ordinal<T> is internally represented as an array of bytes, so it 77 // Creates an Ordinal from the given string of bytes. The Ordinal 79 explicit Ordinal(const std::string& bytes); 127 // Returns the string of bytes representing the Ordinal. It is 157 static bool IsValidOrdinalBytes(const std::string& bytes); 159 // Returns the length that bytes.substr(0, length) would be with 162 const std::string& bytes, 167 static uint8 GetDigit(const std::string& bytes, size_t i); 170 static int GetDigitValue(const std::string& bytes, size_t i); 172 // Adds the given value to |bytes| at position i, carrying whe [all...] |
/external/chromium_org/remoting/base/ |
compound_buffer.cc | 93 void CompoundBuffer::CropFront(int bytes) { 96 if (total_bytes_ <= bytes) { 101 total_bytes_ -= bytes; 102 while (!chunks_.empty() && chunks_.front().size <= bytes) { 103 bytes -= chunks_.front().size; 106 if (!chunks_.empty() && bytes > 0) { 107 chunks_.front().start += bytes; 108 chunks_.front().size -= bytes; 110 bytes = 0; 112 DCHECK_EQ(bytes, 0) [all...] |
/external/llvm/utils/ |
codegen-diff | 13 my ($addr, $bytes, $instr) = ($1, $2, $4); 15 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace 17 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr}); 18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG; 33 my ($addr, $bytes, $instr) = ($1, $3, $2); 34 $bytes =~ s/0x//g; 35 $bytes =~ s/\s+/ /g; # regularize whitespace 36 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespac [all...] |
/art/compiler/utils/ |
arena_allocator.h | 74 void RecordAlloc(size_t bytes, ArenaAllocKind kind) { UNUSED(bytes); UNUSED(kind); } 90 void RecordAlloc(size_t bytes, ArenaAllocKind kind); 98 size_t alloc_stats_[kNumArenaAllocKinds]; // Bytes used by various allocation kinds. 168 void* Alloc(size_t bytes, ArenaAllocKind kind) ALWAYS_INLINE { 170 return AllocValgrind(bytes, kind); 172 bytes = RoundUp(bytes, 8); 173 if (UNLIKELY(ptr_ + bytes > end_)) { 175 ObtainNewArenaForAllocation(bytes); variable [all...] |
/external/chromium_org/components/rappor/ |
bloom_filter.cc | 32 // Note that the "bytes" are uint8_t, so they are always 8-bits. 39 void BloomFilter::SetBytesForTesting(const ByteVector& bytes) { 40 DCHECK_EQ(bytes_.size(), bytes.size()); 42 bytes_[i] = bytes[i];
|
/external/chromium_org/content/child/npapi/ |
plugin_stream_win.cc | 26 DWORD bytes; local 28 if (!WriteFile(temp_file_handle_, buf, length, &bytes, 0)) 31 return static_cast<size_t>(bytes);
|
/external/chromium_org/net/base/ |
bandwidth_metrics.h | 47 // tracker.RecordSample(bytes); 103 // Add a sample of the number of bytes read from the network into the tracker. 104 void RecordBytes(int bytes) { 106 bytes_since_last_start_ += static_cast<int64>(bytes); 114 int64 bytes_since_last_start_; // Bytes tracked during this "session". 128 void RecordBytes(int bytes);
|
test_data_stream.cc | 13 // Fill |buffer| with |length| bytes of data from the stream. 59 void TestDataStream::Consume(int bytes) { 60 bytes_remaining_ -= bytes; 62 buffer_ptr_ += bytes;
|
/external/chromium_org/printing/ |
image_mac.cc | 24 size_t bytes = row_length_ * size_.height(); local 25 DCHECK(bytes); 27 data_.resize(bytes);
|