/external/llvm/test/FrontendC/ |
2005-07-26-UnionInitCrash.c | 3 union { char bytes[8]; double alignment; }EQ1 = {0,0,0,0,0,0,0,0}; member in union:__anon8323
|
/external/valgrind/main/helgrind/tests/ |
tc16_byterace.c | 7 char bytes[10]; variable 13 bytes[2*i + 0] ++; /* child accesses: 0 2 4 6 8 */ 28 bytes accessed */ 30 bytes[2*i + 1] ++; /* accesses: 1 3 5 7 9 */ 32 /* Unprotected relative to child, but harmful; same bytes */ 34 bytes[3*i + 1] ++; /* accesses: 1 4(race!) 7 */
|
/external/chromium/chrome/common/ |
guid_unittest.cc | 13 uint64 bytes[] = { 0, 0 }; local 14 std::string clientid = guid::RandomDataToGUIDString(bytes); 19 uint64 bytes[] = { 0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL }; local 20 std::string clientid = guid::RandomDataToGUIDString(bytes);
|
/external/dhcpcd/compat/ |
getline.c | 44 size_t bytes, newlen; local 54 bytes = 0; 58 if (*buf == NULL || bytes != 0) { 66 p = *buf + bytes; 70 bytes += strlen(p); 71 } while (bytes == 0 || *(*buf + (bytes - 1)) != '\n'); 72 if (bytes == 0) 74 return bytes;
|
/external/elfutils/libdw/ |
dwarf_nextcu.c | 50 char *bytes = (char *) dwarf->sectiondata[IDX_debug_info]->d_buf + off; local 73 4. A 1-byte unsigned integer representing the size in bytes of 77 uint64_t length = read_4ubyte_unaligned_inc (dwarf, bytes); 96 length = read_8ubyte_unaligned_inc (dwarf, bytes); 100 read_2ubyte_unaligned_inc (dwarf, bytes); 106 abbrev_offset = read_4ubyte_unaligned_inc (dwarf, bytes); 108 abbrev_offset = read_8ubyte_unaligned_inc (dwarf, bytes); 113 uint8_t address_size = *bytes++; 123 *header_sizep = (bytes
|
/external/flac/libFLAC/include/private/ |
md5.h | 15 * To compute the message digest of a chunk of bytes, declare an 17 * needed on buffers full of bytes, and then call MD5Final, which 34 FLAC__uint32 bytes[2]; member in struct:__anon5604
|
/external/libffi/src/ |
prep_cif.c | 91 unsigned bytes = 0; local 123 bytes = STACK_ARG_SIZE(sizeof(void*)); 143 bytes += sizeof(void*); 148 if (((*ptr)->alignment - 1) & bytes) 149 bytes = ALIGN(bytes, (*ptr)->alignment); 151 bytes += STACK_ARG_SIZE((*ptr)->size); 156 cif->bytes = bytes;
|
/external/libvpx/ |
md5_utils.h | 12 * To compute the message digest of a chunk of bytes, declare an 14 * needed on buffers full of bytes, and then call MD5Final, which 33 UWORD32 bytes[2]; member in struct:MD5Context
|
/libcore/luni/src/main/java/java/io/ |
OutputStreamWriter.java | 30 * the target input stream is converted into bytes by either a default or a 33 * of bytes to be written to target stream and converts these into characters as 44 private ByteBuffer bytes = ByteBuffer.allocate(8192); field in class:OutputStreamWriter 52 * the non-null target stream to write converted bytes to. 65 * the target stream to write converted bytes to. 95 * the target stream to write converted bytes to. 113 * the target stream to write converted bytes to. 143 bytes = null; 149 * Flushes this writer. This implementation ensures that all buffered bytes 150 * are written to the target stream. After writing the bytes, the targe [all...] |
InputStreamReader.java | 35 * of bytes read from the source stream and converts these into characters as 47 private final ByteBuffer bytes = ByteBuffer.allocate(8192); field in class:InputStreamReader 64 * character converter that is used to decode bytes into characters is 92 bytes.limit(0); 109 bytes.limit(0); 127 bytes.limit(0); 153 * bytes, or null if this writer has been closed. Most callers should probably keep 166 * with the two higher-order bytes set to 0. Returns -1 if the end of the 168 * converting bytes in this reader's buffer or by first filling the buffer 191 * been reached. The bytes are either obtained from converting bytes in thi [all...] |
/dalvik/dx/src/com/android/dx/util/ |
ByteArrayByteInput.java | 21 private final byte[] bytes; field in class:ByteArrayByteInput 24 public ByteArrayByteInput(byte... bytes) { 25 this.bytes = bytes; 29 return bytes[position++];
|
/external/chromium/base/memory/ |
ref_counted_memory.cc | 30 RefCountedBytes* bytes = new RefCountedBytes; local 31 bytes->data.swap(*to_destroy); 32 return bytes;
|
/external/netcat/data/ |
xor.c | 4 file to read xor-bytes out of. Any zero in the xor-bytes array is treated 20 char bytes[256]; variable 23 /* do the xor, in place. Uses global ptr "py" to maintain "bytes" state */ 38 py = bytes; 52 memset (bytes, 0, sizeof (bytes)); 53 bytes[0] = 0xff; 76 read (x, bytes, 250); /* nothin' fancy here */ 79 py = bytes; [all...] |
/external/qemu/hw/ |
msmouse.c | 38 unsigned char bytes[4] = { 0x40, 0x00, 0x00, 0x00 }; local 41 bytes[0] |= (MSMOUSE_HI2(dy) << 2) | MSMOUSE_HI2(dx); 42 bytes[1] |= MSMOUSE_LO6(dx); 43 bytes[2] |= MSMOUSE_LO6(dy); 46 bytes[0] |= (buttons_state & 0x01 ? 0x20 : 0x00); 47 bytes[0] |= (buttons_state & 0x02 ? 0x10 : 0x00); 48 bytes[3] |= (buttons_state & 0x04 ? 0x20 : 0x00); 53 qemu_chr_read(chr, bytes, 4);
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
CString.cpp | 78 char* bytes = result.m_buffer->mutableData(); local 79 bytes[length] = '\0'; 80 characterBuffer = bytes;
|
/external/webkit/Source/WebCore/platform/cf/ |
KURLCFNet.cpp | 45 char* bytes = &buffer[5]; local 46 CFURLGetBytes(url, reinterpret_cast<UInt8*>(bytes), bytesLength); 47 bytes[bytesLength] = '\0'; 48 if (bytes[0] != '/') { 49 parse(bytes, 0); 65 // Currently it throws away the high bytes of the characters in the string in that case, 73 // could either be a malformed string or bytes in a different encoding, like Shift-JIS, so we fall back
|
/external/webkit/Source/WebCore/platform/haiku/ |
PlatformKeyboardEventHaiku.cpp | 335 BString bytes = message->FindString("bytes"); local 339 m_text = String::fromUTF8(bytes.String(), bytes.Length()); 340 m_unmodifiedText = String(bytes.String(), bytes.Length()); 341 m_keyIdentifier = keyIdentifierForHaikuKeyCode(bytes.ByteAt(0), m_nativeVirtualKeyCode); 343 m_windowsVirtualKeyCode = windowsKeyCodeForKeyEvent(bytes.ByteAt(0), m_nativeVirtualKeyCode);
|
/external/webkit/Source/WebCore/platform/image-decoders/wx/ |
ImageDecoderWx.cpp | 51 const unsigned char* bytes = (const unsigned char*)m_bytes; local 57 p.Red() = bytes[i + 2]; 58 p.Green() = bytes[i + 1]; 59 p.Blue() = bytes[i + 0]; 60 p.Alpha() = bytes[i + 3];
|
/frameworks/base/cmds/keystore/ |
keystore_cli.cpp | 59 uint8_t bytes[65536]; local 62 bytes[0] = length >> 8; 63 bytes[1] = length; 64 send(sock, &bytes, 2, 0); 76 while ((i = recv(sock, &bytes[0], 1, 0)) == 1) { 79 if ((i = recv(sock, &bytes[1], 1, 0)) != 1) { 83 length = bytes[0] << 8 | bytes[1]; 85 i = recv(sock, &bytes[offset], length - offset, 0); 91 fwrite(bytes, 1, length, stdout) [all...] |
keystore_get.h | 38 * KEYSTORE_MESSAGE_SIZE bytes. This function returns the length of the value or 42 uint8_t bytes[2] = {length >> 8, length}; local 54 if (send(sock, &code, 1, 0) == 1 && send(sock, bytes, 2, 0) == 2 && 57 recv(sock, &bytes[0], 1, 0) == 1 && recv(sock, &bytes[1], 1, 0) == 1) { 59 length = bytes[0] << 8 | bytes[1];
|
/dalvik/dexgen/src/com/android/dexgen/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);
|
/dalvik/dx/src/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);
|
/libcore/luni/src/main/java/libcore/io/ |
IoUtils.java | 116 UnsafeByteSequence bytes = new UnsafeByteSequence((int) f.length()); local 121 return bytes; 123 bytes.write(buffer, 0, byteCount);
|
/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);
|