/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
H A D | evp_pkey.c | 219 const unsigned char *bytes, int len) 222 type, bytes, len)) return 1; 228 const unsigned char *bytes, int len) 231 type, bytes, len)) return 1; 237 const unsigned char *bytes, int len) 240 type, bytes, len)) return 1; 217 EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len) argument 226 EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, int nid, int type, const unsigned char *bytes, int len) argument 235 EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, const char *attrname, int type, const unsigned char *bytes, int len) argument
|
/external/chromium_org/third_party/openssl/openssl/crypto/rand/ |
H A D | randfile.c | 108 int RAND_load_file(const char *file, long bytes) argument 110 /* If bytes >= 0, read up to 'bytes' bytes. 111 * if bytes == -1, read complete file. */ 134 if (bytes == 0) return(ret); 145 * of bytes from a random device, nor do we want to use buffered 148 bytes = (bytes == -1) ? 2048 : bytes; /* o [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
H A D | BoundedByteString.java | 56 * @param bytes array to wrap 57 * @param offset index to first byte to use in bytes 58 * @param length number of bytes to use from bytes 61 * bytes.length}. 63 BoundedByteString(byte[] bytes, int offset, int length) { argument 64 super(bytes); 71 if ((long) offset + length > bytes.length) { 102 return bytes[bytesOffset + index]; 121 System.arraycopy(bytes, getOffsetIntoByte [all...] |
H A D | LazyField.java | 55 private ByteString bytes; field in class:LazyField 60 ExtensionRegistryLite extensionRegistry, ByteString bytes) { 63 this.bytes = bytes; 78 bytes = null; 85 * bytes, which will make the serialized size changed after LazyField 92 return bytes.size(); 97 return bytes; 101 return bytes; 103 bytes 59 LazyField(MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes) argument [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
H A D | CodedOutputStreamTest.java | 51 * Helper to construct a byte array from a bunch of bytes. The inputs are 55 private byte[] bytes(int... bytesAsInts) { method in class:CodedOutputStreamTest 56 byte[] bytes = new byte[bytesAsInts.length]; 58 bytes[i] = (byte) bytesAsInts[i]; 60 return bytes; 64 private List<Byte> toList(byte[] bytes) { argument 66 for (byte b : bytes) { 78 * checks that the result matches the given bytes. 131 assertWriteVarint(bytes(0x00), 0); 132 assertWriteVarint(bytes( [all...] |
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkChecksum.h | 46 * @param size Size of the data block in bytes. Must be a multiple of 4. 50 static uint32_t Murmur3(const uint32_t* data, size_t bytes, uint32_t seed=0) { argument 51 SkASSERT(SkIsAlign4(bytes)); 52 const size_t words = bytes/4; 66 hash ^= bytes; 85 * @param size Size of the data block in bytes. Must be a multiple of 4.
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkChunkAlloc.cpp | 72 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) { argument 73 size_t size = bytes; 94 void* SkChunkAlloc::alloc(size_t bytes, AllocFailType ftype) { argument 95 fTotalUsed += bytes; 97 bytes = SkAlign4(bytes); 101 if (block == NULL || bytes > block->fFreeSize) { 102 block = this->newBlock(bytes, ftype); 110 SkASSERT(block && bytes <= block->fFreeSize); 113 block->fFreeSize -= bytes; 119 size_t bytes = 0; local [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrAllocPool.cpp | 32 bool canAlloc(size_t bytes) const { 33 return bytes <= fBytesFree; 36 void* alloc(size_t bytes) { argument 37 GrAssert(bytes <= fBytesFree); 38 fBytesFree -= bytes; 40 fPtr += bytes; 44 size_t release(size_t bytes) { argument 45 GrAssert(bytes > 0); 46 size_t free = GrMin(bytes, fBytesTotal - fBytesFree); 49 return bytes 91 release(size_t bytes) argument [all...] |
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkJpegUtility.cpp | 46 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); local 49 if (bytes == 0) { 54 src->current_offset += bytes; 57 src->bytes_in_buffer = bytes; 67 long bytes = (long)src->fStream->skip(bytesToSkip); local 68 if (bytes <= 0 || bytes > bytesToSkip) { 69 // SkDebugf("xxxxxxxxxxxxxx failure to skip request %d returned %d\n", bytesToSkip, bytes); 74 src->current_offset += bytes; 76 bytesToSkip -= bytes; [all...] |
/external/chromium_org/third_party/skia/src/pipe/utils/ |
H A D | SamplePipeControllers.cpp | 35 void PipeController::notifyWritten(size_t bytes) { argument 36 fStatus = fReader.playback(this->getData(), bytes); 38 fBytesWritten += bytes; 76 void TiledPipeController::notifyWritten(size_t bytes) { argument 78 fReaders[i].playback(this->getData(), bytes); 80 this->INHERITED::notifyWritten(bytes); 105 void ThreadSafePipeController::notifyWritten(size_t bytes) { argument 106 fBytesWritten += bytes;
|
H A D | 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; } argument 79 // Number of bytes that were written to fBlock.
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkBase64.cpp | 45 unsigned char bytes[4]; local 56 bytes[byte] = decoded; 80 int one = (uint8_t) (bytes[0] << 2); 81 two = bytes[1]; 84 three = bytes[2]; 87 three |= bytes[3];
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | common.cc | 64 // We need an alignment of at least 16 bytes to satisfy 190 // Metadata allocator -- keeps stats about how many bytes allocated. 192 void* MetaDataAlloc(size_t bytes) { argument 193 void* result = TCMalloc_SystemAlloc(bytes, NULL); 195 metadata_system_bytes_ += bytes;
|
/external/chromium_org/ui/gl/ |
H A D | gl_context_egl.cc | 201 bool GLContextEGL::GetTotalGpuMemory(size_t* bytes) { argument 202 DCHECK(bytes); 203 *bytes = 0;
|
/external/chromium_org/webkit/child/ |
H A D | webkitplatformsupport_child_impl.cc | 95 WebKitPlatformSupportChildImpl::allocateAndLockDiscardableMemory(size_t bytes) { argument 100 if (discardable->InitializeAndLock(bytes))
|
/external/clang/lib/Frontend/ |
H A D | TextDiagnostic.cpp | 68 int bytes = 0; local 72 ++bytes; 74 return bytes; 173 /// This function takes a raw source line and produces a mapping from the bytes 182 /// If a byte is the first in a sequence of bytes that together map to a single 184 /// column while the subsequent bytes will be -1. 193 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns to 221 /// The last element in the array is the number of bytes in the source string 227 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns to 267 int bytes() cons [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
H A D | Output.java | 27 * bytes written to this instance. 76 * @return {@code 1..5;} the number of bytes actually written 86 * @return {@code 1..5;} the number of bytes actually written 93 * @param bytes {@code non-null;} the array to write 95 public void write(ByteArray bytes); argument 100 * @param bytes {@code non-null;} the array to write 101 * @param offset {@code >= 0;} offset into {@code bytes} for the first 103 * @param length {@code >= 0;} number of bytes to write 105 public void write(byte[] bytes, int offset, int length); argument 109 * a convenient shorthand for {@code write(bytes, 113 write(byte[] bytes) argument [all...] |
/external/dhcpcd/ |
H A D | bpf.c | 167 ssize_t bytes; local 180 bytes = read(fd, iface->buffer, iface->buffer_size); 181 if (bytes == -1) 183 else if ((size_t)bytes < sizeof(packet)) 185 iface->buffer_len = bytes; 188 bytes = -1; 197 bytes = packet.bh_caplen - ETHER_HDR_LEN; 198 if (bytes > len) 199 bytes = len; 200 memcpy(data, payload, bytes); [all...] |
H A D | control.c | 76 ssize_t bytes; local 81 bytes = read(l->fd, buffer, sizeof(buffer) - 1); 82 if (bytes == -1 || bytes == 0) { 86 buffer[bytes] = '\0'; 88 e = buffer + bytes;
|
/external/e2fsprogs/lib/blkid/ |
H A D | getsize.c | 54 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ 73 * Returns the number of bytes in a partition 189 long long bytes; local 201 bytes = blkid_get_dev_size(fd); 203 (unsigned long long) bytes >> 10);
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
H A D | Field_info.java | 75 final UDataInputStream bytes) 78 m_access_flags = bytes.readU2 (); 80 m_name_index = bytes.readU2 (); 81 m_descriptor_index = bytes.readU2 (); 84 final int attributes_count = bytes.readU2 (); 89 final Attribute_info attribute_info = Attribute_info.new_Attribute_info (constants, bytes); 74 Field_info(final IConstantCollection constants, final UDataInputStream bytes) argument
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
H A D | ConstantValueAttribute_info.java | 121 final UDataInputStream bytes) 126 m_value_index = bytes.readU2 (); 120 ConstantValueAttribute_info(final int attribute_name_index, final long attribute_length, final UDataInputStream bytes) argument
|
H A D | InnerClassesAttribute_info.java | 142 final UDataInputStream bytes) 147 final int class_count = bytes.readU2 (); 152 classes.add (new InnerClass_info (bytes)); 141 InnerClassesAttribute_info(final int attribute_name_index, final long attribute_length, final UDataInputStream bytes) argument
|
H A D | LineNumberTableAttribute_info.java | 165 final UDataInputStream bytes) 170 final int lines_count = bytes.readU2 (); 175 m_lines.add (new LineNumber_info (bytes)); 164 LineNumberTableAttribute_info(final int attribute_name_index, final long attribute_length, final UDataInputStream bytes) argument
|
/external/emma/core/java12/com/vladium/jcd/cls/constant/ |
H A D | CONSTANT_NameAndType_info.java | 93 protected CONSTANT_NameAndType_info (final UDataInputStream bytes) throws IOException argument 95 m_name_index = bytes.readU2 (); 96 m_descriptor_index = bytes.readU2 ();
|