/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
StringDataItem.java | 47 * @return {@code >= 2}; the write size, in bytes 72 ByteArray bytes = value.getBytes(); local 78 out.annotate(bytes.size() + 1, value.toQuoted()); 82 out.write(bytes);
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
ImageRequestTest.java | 90 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 94 bytes.write(buffer, 0, count); 97 return bytes.toByteArray();
|
/libcore/luni/src/test/etc/loading-test-jar/ |
TestMethods.java | 69 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 73 return bytes.toByteArray(); 75 bytes.write(buffer, 0, byteCount);
|
/cts/tests/jni/ |
android_net_cts_NetlinkSocket.cpp | 45 void *bytes = (void *)e->GetByteArrayElements(packet, NULL); local 48 struct iovec iov = {bytes, length}; 57 e->ReleaseByteArrayElements(packet, (jbyte*)bytes, 0);
|
/external/bison/lib/ |
bitsetv.c | 33 size_t bytes; local 37 /* Determine number of bytes for each set. */ 38 bytes = bitset_bytes (type, n_bits); 41 if (BITSET_SIZE_MAX / (sizeof (bitset) + bytes) <= n_vecs) 45 vector_bytes = (n_vecs + 1) * sizeof (bitset) + bytes - 1; 46 vector_bytes -= vector_bytes % bytes; 47 bsetv = xcalloc (1, vector_bytes + bytes * n_vecs); 51 bsetv[i] = (bitset) (void *) ((char *) bsetv + vector_bytes + i * bytes);
|
/external/chromium/net/base/ |
ip_endpoint.cc | 89 const char* bytes = reinterpret_cast<const char*>(&addr->sin_addr); local 90 address_.assign(&bytes[0], &bytes[kIPv4AddressSize]); 97 const char* bytes = reinterpret_cast<const char*>(&addr->sin6_addr); local 98 address_.assign(&bytes[0], &bytes[kIPv6AddressSize]);
|
/external/clang/lib/Frontend/ |
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() const { return m_columnToByte.back(); [all...] |
/external/dhcpcd/ |
signals.c | 70 ssize_t bytes; local 73 bytes = read(signal_pipe[0], buf, sizeof(buf)); 74 if (bytes >= 0 && (size_t)bytes >= sizeof(sig))
|
/external/elfutils/libcpu/ |
i386_parse.y | 100 struct bitvalue *bytes; 187 static void fillin_arg (struct bitvalue *bytes, struct argname *name, 234 %type <bit> bit byte bytes 282 instr: bytes ':' bitfieldopt kID bitfieldopt optargs 304 newp->bytes = $1; 387 bytes: bytes ',' byte label 769 fillin_arg (struct bitvalue *bytes, struct argname *name, 819 struct bitvalue *b = bytes; 1248 /* First count the number of bytes. * [all...] |
/external/elfutils/libdw/ |
libdw_findcu.c | 120 const char *bytes = (dbg->sectiondata[IDX_debug_info]->d_buf + oldoff local 122 uint16_t version = read_2ubyte_unaligned (dbg, bytes);
|
/external/icu4c/common/unicode/ |
bytestriebuilder.h | 57 * The bytes will be copied; the builder does not keep 170 char *bytes; member in class:BytesTrieBuilder
|
/external/llvm/include/llvm/Support/ |
StreamableMemoryObject.h | 43 /// getExtent - Returns the size of the region in bytes. (The region is 46 /// May block until all bytes in the stream have been read 52 /// May block until (address - base) bytes have been read 59 /// readBytes - Tries to read a contiguous range of bytes from the 61 /// May block until (address - base + size) bytes have 63 /// not do partial reads - if size bytes cannot be read, 68 /// @param size - The maximum number of bytes to copy. 70 /// and large enough to hold size bytes. 72 /// of bytes actually read. May be NULL. 83 /// May block until (address - base + size) bytes have been rea 159 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local [all...] |
/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));
|
ExtensionProfileLevelDescriptor.java | 33 byte[] bytes;
field in class:ExtensionProfileLevelDescriptor 38 bytes = new byte[getSize()];
39 bb.get(bytes);
47 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
|
/external/openssl/crypto/rand/ |
rand.h | 84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st 110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes); 112 int RAND_egd_bytes(const char *path,int bytes);
|
/external/openssl/include/openssl/ |
rand.h | 84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st 110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes); 112 int RAND_egd_bytes(const char *path,int bytes);
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
SDL_macmouse.c | 56 int row, bytes; local 72 bytes = (w+7)/8; 75 SDL_memcpy(&cursor->curs.data[row], data, bytes); 76 data += bytes; 79 SDL_memcpy(&cursor->curs.mask[row], mask, bytes); 80 mask += bytes;
|
/external/strace/ |
sock.c | 90 unsigned char *bytes; local 205 bytes = (unsigned char *) &ifr.ifr_hwaddr.sa_data; 207 bytes[0], bytes[1], bytes[2], 208 bytes[3], bytes[4], bytes[5]);
|
/external/webkit/Source/WebCore/platform/text/ |
TextCodecUTF16.cpp | 69 String TextCodecUTF16::decode(const char* bytes, size_t length, bool, bool, bool&) 76 const unsigned char* p = reinterpret_cast<const unsigned char*>(bytes); 124 // character buffer, each character is two bytes, and we know 130 char* bytes; local 131 CString string = CString::newUninitialized(length * 2, bytes); 138 bytes[i * 2] = c; 139 bytes[i * 2 + 1] = c >> 8; 144 bytes[i * 2] = c >> 8; 145 bytes[i * 2 + 1] = c;
|
/external/webkit/Source/WebKit2/Shared/win/ |
PlatformCertificateInfo.cpp | 135 Vector<uint8_t> bytes; local 136 if (!decoder->decodeBytes(bytes)) { 141 PCCERT_CONTEXT certificateContext = ::CertCreateCertificateContext(PKCS_7_ASN_ENCODING | X509_ASN_ENCODING, bytes.data(), bytes.size());
|
/external/webp/include/webp/ |
mux_types.h | 40 const uint8_t* bytes; member in struct:WebPData 55 free((void*)webp_data->bytes); 65 if (src->bytes != NULL && src->size != 0) { 66 dst->bytes = (uint8_t*)malloc(src->size); 67 if (dst->bytes == NULL) return 0; 68 memcpy((void*)dst->bytes, src->bytes, src->size);
|
/frameworks/av/drm/common/ |
ReadWriteUtils.cpp | 46 char* bytes = new char[length]; local 47 if (length == read(fd, (void*) bytes, length)) { 48 string.append(bytes, length); 50 delete[] bytes;
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
ByteArrayPartSource.java | 50 private byte[] bytes; field in class:ByteArrayPartSource 55 * @param fileName the name of the file these bytes represent 56 * @param bytes the content of this part 58 public ByteArrayPartSource(String fileName, byte[] bytes) { 61 this.bytes = bytes; 69 return bytes.length; 83 return new ByteArrayInputStream(bytes);
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_vertex_frame.cpp | 76 jbyte* bytes = env->GetByteArrayElements(data, NULL); local 77 if (bytes) { 78 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), 80 env->ReleaseByteArrayElements(data, bytes, JNI_ABORT);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
GsmCodec.cpp | 62 unsigned char *bytes = (unsigned char *)payload; local 65 gsm_decode(mDecode, bytes, &samples[n]) == 0) { 68 bytes += 33;
|