/external/icu4c/test/intltest/ |
tscoll.cpp | 382 const uint8_t *bytes = source.getByteArray(byteCount); local 392 appendHex(bytes[i], 2, target);
|
uobjtest.cpp | 491 char *bytes = stackMemory.bytes_; local 495 p=new(bytes) UnicodeString(len, (UChar32)0x20ac, len); 496 if((void *)p!=(void *)bytes) { 537 UnicodeString::operator delete(p, bytes);
|
/external/icu4c/tools/toolutil/ |
ucm.h | 41 * b if bLen<=4: up to 4 bytes 42 * else index to bLen bytes 44 * bLen number of words containing left-justified bytes 45 * bIsMultipleChars indicates that the bytes contain more than one sequence 54 uint8_t bytes[4]; member in union:UCMapping::__anon6289 74 uint8_t *bytes; member in struct:UCMTable 77 /* index map for mapping by bytes first */ 114 (((m)->bLen<=4) ? (m)->b.bytes : (t)->bytes+(m)->b.idx) 128 /* @return -1 illegal bytes 0 suitable for base table 1 needs to go into extension table * [all...] |
/external/libffi/src/powerpc/ |
ffi_darwin.c | 85 const unsigned bytes = ecif->cif->bytes; local 89 unsigned *const stacktop = stack + (bytes / sizeof(unsigned)); 111 FFI_ASSERT((bytes & 0xF) == 0); 193 /* Structures that match the basic modes (QI 1 byte, HI 2 bytes, 194 SI 4 bytes) are aligned as if they were those modes. 277 unsigned bytes; local 282 /* All the machine-independent calculation of cif->bytes will be wrong. 296 bytes = (6 + ASM_NEEDS_REGISTERS) * sizeof(long); 300 - Structures of size <= 4 bytes also returned in gpr3 [all...] |
/external/libffi/src/x86/ |
ffi64.c | 46 extern void ffi_call_unix64 (void *args, unsigned long bytes, unsigned flags, 79 of this code is to classify each 8bytes of incoming argument by the register 174 /* If the struct is larger than 16 bytes, pass it on the stack. */ 280 size_t bytes; local 315 for (bytes = 0, i = 0, avn = cif->nargs; i < avn; i++) 326 bytes = ALIGN(bytes, align); 327 bytes += cif->arg_types[i]->size; 338 cif->bytes = bytes; [all...] |
/external/liblzf/ |
lzf.c | 226 ssize_t rc, cs, us, bytes, over = 0; local 271 bytes = cs == -1 ? us : cs; 277 if (l > bytes) 279 over = l - bytes; 280 memmove (header, &p[bytes], over); 284 rd = bytes - l;
|
/external/libpng/contrib/gregbook/ |
wpng.c | 704 ulg bytes; local 717 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile); 718 if (bytes != image_bytes) { 719 fprintf(stderr, PROGNAME ": expected %lu bytes, got %lu bytes\n", 720 image_bytes, bytes); 733 ulg bytes; local 744 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); 745 if (bytes != rowbytes) { 747 ": expected %lu bytes, got %lu bytes (row %ld)\n", rowbytes [all...] |
/external/llvm/lib/Target/MBlaze/Disassembler/ |
MBlazeDisassembler.cpp | 504 uint8_t bytes[4]; local 509 // We want to read exactly 4 bytes of data. 510 if (region.readBytes(address, 4, (uint8_t*)bytes, &read) == -1 || read < 4) 514 insn = (bytes[0]<<24) | (bytes[1]<<16) | (bytes[2]<< 8) | (bytes[3]<<0); 693 // We always consume 4 bytes of data on success
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Pipeline.java | 35 * Input class for the pipelined parser. Buffer all bytes read from the socket 87 byte[] bytes; field in class:Pipeline.Buffer 93 public Buffer(byte[] bytes, int length) { 96 this.bytes = bytes; 100 int retval = bytes[ptr++] & 0xFF; 131 public void write(byte[] bytes, int start, int length) throws IOException { 134 Buffer buff = new Buffer(bytes, length); 142 public void write(byte[] bytes) throws IOException { 145 Buffer buff = new Buffer(bytes, bytes.length) [all...] |
/external/proguard/src/proguard/classfile/constant/ |
Utf8Constant.java | 54 // Initially, we're storing the UTF-8 bytes in a byte array. 59 private byte[] bytes; field in class:Utf8Constant 78 this.bytes = null; 84 * Initializes the UTF-8 data with an array of bytes. 86 public void setBytes(byte[] bytes) 88 this.bytes = bytes; 94 * Returns the UTF-8 data as an array of bytes. 107 return bytes; 116 this.bytes = null [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
TextFormatTest.java | 207 * characters. The characters are converted directly to bytes, *not* 210 private ByteString bytes(String str) throws Exception { method in class:TextFormatTest 215 * Helper to construct a ByteString from a bunch of bytes. The inputs are 219 private ByteString bytes(int... bytesAsInts) { method in class:TextFormatTest 220 byte[] bytes = new byte[bytesAsInts.length]; 222 bytes[i] = (byte) bytesAsInts[i]; 224 return ByteString.copyFrom(bytes); 258 // Strings and bytes that needing escaping. 260 .addRepeatedBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"\u00fe")) 465 TextFormat.escapeBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\""))) [all...] |
/external/protobuf/src/google/protobuf/io/ |
coded_stream_unittest.cc | 145 uint8 bytes[10]; // Encoded bytes. member in struct:google::protobuf::io::__anon9095::VarintCase 146 int size; // Encoded size, in bytes. 180 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 195 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 215 memcpy(buffer_ + 1, kVarintCases_case.bytes, kVarintCases_case.size); 246 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 264 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); 297 memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size)); 314 memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size)) 370 uint8 bytes[12]; member in struct:google::protobuf::io::__anon9095::VarintErrorCase 461 uint8 bytes[sizeof(uint32)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon9095::Fixed32Case 466 uint8 bytes[sizeof(uint64)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon9095::Fixed64Case [all...] |
zero_copy_stream_impl.cc | 242 int bytes; local 244 bytes = write(file_, buffer_base + total_written, size - total_written); 245 } while (bytes < 0 && errno == EINTR); 247 if (bytes <= 0) { 258 if (bytes < 0) { 263 total_written += bytes; 387 // Hit the end of the stream. Figure out how many more bytes we still have
|
/external/qemu/audio/ |
wavaudio.c | 66 int64_t bytes = local 69 if (bytes > INT_MAX) { 73 samples = bytes >> hw->info.shift; 154 dolog ("Could not allocate buffer (%d bytes)\n", 298 dolog("unsupported bytes per sample (%d) in '%s'\n", 354 int64_t bytes = muldiv64(ticks, hw->info.bytes_per_second, get_ticks_per_sec()); local 356 if (bytes > INT_MAX) { 360 samples = bytes >> hw->info.shift;
|
/external/valgrind/main/coregrind/ |
launcher-darwin.c | 146 ssize_t bytes; local 152 bytes = read(fd, buf, sizeof(buf)); 154 if (bytes != sizeof(buf)) {
|
/external/webkit/Source/WebCore/html/ |
FTPDirectoryDocument.cpp | 167 int64_t bytes = size.toUInt64(&valid); local 171 if (bytes < 1000000) 172 return String::format("%.2f KB", static_cast<float>(bytes)/1000); 174 if (bytes < 1000000000) 175 return String::format("%.2f MB", static_cast<float>(bytes)/1000000); 177 return String::format("%.2f GB", static_cast<float>(bytes)/1000000000);
|
/external/webkit/Source/WebCore/loader/ |
DocumentThreadableLoader.cpp | 386 const char* bytes = static_cast<const char*>(data.data()); local 388 didReceiveData(0, bytes, len);
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
SharedBitmap.h | 51 void* bytes() { return m_pixels; } function in class:WebCore::SharedBitmap 52 const void* bytes() const { return m_pixels; } function in class:WebCore::SharedBitmap
|
/external/webkit/Source/WebCore/platform/network/ |
FormData.cpp | 288 Vector<char> bytes; local 289 flatten(bytes); 290 return Latin1Encoding().decode(reinterpret_cast<const char*>(bytes.data()), bytes.size());
|
/external/wpa_supplicant_8/src/crypto/ |
random.c | 123 * length (32) and return 16 bytes from instead of only half. 162 u8 *bytes = buf; local 183 *bytes++ ^= tmp[i]; 235 wpa_printf(MSG_DEBUG, "random: Got %u/%u bytes from " 248 wpa_printf(MSG_INFO, "random: Only %u/%u bytes of strong " 307 wpa_printf(MSG_DEBUG, "random: Got %u/%u bytes from /dev/random",
|
/external/yaffs2/yaffs2/utils/ |
mkyaffs2image.c | 252 __u8 bytes[chunkSize]; local 255 yaffs_ObjectHeader *oh = (yaffs_ObjectHeader *)bytes; 257 memset(bytes,0xff,sizeof(bytes)); 298 return write_chunk(bytes,objId,0,0xffff); 387 __u8 bytes[chunkSize]; local 394 memset(bytes,0xff,sizeof(bytes)); 395 while((nBytes = read(h,bytes,sizeof(bytes))) > 0 [all...] |
mkyaffsimage.c | 209 yaffs_TagsUnion * tags = (yaffs_TagsUnion* )tagsPtr; // Work in bytes. 333 __u8 bytes[512]; local 336 yaffs_ObjectHeader *oh = (yaffs_ObjectHeader *)bytes; 338 memset(bytes,0xff,512); 379 return write_chunk(bytes,objId,0,0xffff); 459 __u8 bytes[512]; local 466 memset(bytes,0xff,512); 467 while((nBytes = read(h,bytes,512)) > 0) 470 write_chunk(bytes,newObj,chunk,nBytes); 471 memset(bytes,0xff,512) [all...] |
/frameworks/base/core/jni/ |
android_emoji_EmojiFactory.cpp | 168 const char *bytes = factory->GetImageBinaryFromAndroidPua(pua, &size); local 169 if (bytes == NULL) { 174 if (!SkImageDecoder::DecodeMemory(bytes, size, bitmap)) {
|
android_util_EventLog.cpp | 210 jbyte *bytes = env->GetByteArrayElements(array, NULL); local 211 memcpy(bytes, buf, len); 212 env->ReleaseByteArrayElements(array, bytes, 0);
|
/frameworks/base/libs/utils/ |
String8.cpp | 100 const ssize_t bytes = utf16_to_utf8_length(in, len); local 101 if (bytes < 0) { 105 SharedBuffer* buf = SharedBuffer::alloc(bytes+1); 122 const ssize_t bytes = utf32_to_utf8_length(in, len); local 123 if (bytes < 0) { 127 SharedBuffer* buf = SharedBuffer::alloc(bytes+1); 274 const size_t otherLen = other.bytes(); 275 if (bytes() == 0) { 292 if (bytes() == 0) { 330 const size_t myLen = bytes(); [all...] |