/external/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/ |
EnumEncodedValue.java | 63 byte[] bytes = EncodedValueUtils.encodeUnsignedIntegralValue(value.getIndex()); 66 out.annotate(1, "value_type=" + ValueType.VALUE_ENUM.name() + ",value_arg=" + (bytes.length - 1)); 67 out.annotate(bytes.length, "value: " + value.getFieldString()); 70 out.writeByte(ValueType.VALUE_ENUM.value | ((bytes.length - 1) << 5)); 71 out.write(bytes);
|
FieldEncodedValue.java | 63 byte[] bytes = EncodedValueUtils.encodeUnsignedIntegralValue(value.getIndex()); 66 out.annotate(1, "value_type=" + ValueType.VALUE_FIELD.name() + ",value_arg=" + (bytes.length - 1)); 67 out.annotate(bytes.length, "value: " + value.getFieldString()); 70 out.writeByte(ValueType.VALUE_FIELD.value | ((bytes.length - 1) << 5)); 71 out.write(bytes);
|
FloatEncodedValue.java | 60 byte[] bytes = EncodedValueUtils.encodeRightZeroExtendedValue(((long)Float.floatToRawIntBits(value)) << 32); 63 out.annotate(1, "value_type=" + ValueType.VALUE_FLOAT.name() + ",value_arg=" + (bytes.length - 1)); 64 out.annotate(bytes.length, "value: " + value); 67 out.writeByte(ValueType.VALUE_FLOAT.value | ((bytes.length - 1) << 5)); 68 out.write(bytes);
|
IntEncodedValue.java | 59 byte[] bytes = EncodedValueUtils.encodeSignedIntegralValue(value); 62 out.annotate(1, "value_type=" + ValueType.VALUE_INT.name() + ",value_arg=" + (bytes.length - 1)); 63 out.annotate(bytes.length, "value: 0x" + Integer.toHexString(value) + " (" + value + ")"); 66 out.writeByte(ValueType.VALUE_INT.value | ((bytes.length - 1) << 5)); 67 out.write(bytes);
|
LongEncodedValue.java | 59 byte[] bytes = EncodedValueUtils.encodeSignedIntegralValue(value); 62 out.annotate(1, "value_type=" + ValueType.VALUE_LONG.name() + ",value_arg=" + (bytes.length - 1)); 63 out.annotate(bytes.length, "value: 0x" + Long.toHexString(value) + " (" + value + ")"); 66 out.writeByte(ValueType.VALUE_LONG.value | ((bytes.length - 1) << 5)); 67 out.write(bytes);
|
MethodEncodedValue.java | 63 byte[] bytes = EncodedValueUtils.encodeUnsignedIntegralValue(value.getIndex()); 66 out.annotate(1, "value_type=" + ValueType.VALUE_METHOD.name() + ",value_arg=" + (bytes.length - 1)); 67 out.annotate(bytes.length, "value: " + value.getMethodString()); 70 out.writeByte(ValueType.VALUE_METHOD.value | ((bytes.length - 1) << 5)); 71 out.write(bytes);
|
ShortEncodedValue.java | 59 byte[] bytes = EncodedValueUtils.encodeSignedIntegralValue(value); 62 out.annotate(1, "value_type=" + ValueType.VALUE_SHORT.name() + ",value_arg=" + (bytes.length - 1)); 63 out.annotate(bytes.length, "value: 0x" + Integer.toHexString(value) + " (" + value + ")"); 66 out.writeByte(ValueType.VALUE_SHORT.value | ((bytes.length - 1) << 5)); 67 out.write(bytes);
|
StringEncodedValue.java | 64 byte[] bytes = EncodedValueUtils.encodeUnsignedIntegralValue(value.getIndex()); 67 out.annotate(1, "value_type=" + ValueType.VALUE_STRING.name() + ",value_arg=" + (bytes.length - 1)); 68 out.annotate(bytes.length, "value: \"" + Utf8Utils.escapeString(value.getStringValue()) + "\""); 71 out.writeByte(ValueType.VALUE_STRING.value | ((bytes.length - 1) << 5)); 72 out.write(bytes);
|
TypeEncodedValue.java | 63 byte[] bytes = EncodedValueUtils.encodeUnsignedIntegralValue(value.getIndex()); 66 out.annotate(1, "value_type=" + ValueType.VALUE_TYPE.name() + ",value_arg=" + (bytes.length - 1)); 67 out.annotate(bytes.length, "value: " + value.getTypeDescriptor()); 70 out.writeByte(ValueType.VALUE_TYPE.value | ((bytes.length - 1) << 5)); 71 out.write(bytes);
|
/external/tremolo/Tremolo/ |
misc.c | 58 long bytes; member in struct:__anon15869 64 static void *_insert(void *ptr,long bytes,char *file,long line){ 68 ((head *)ptr)->bytes=bytes-HEAD_ALIGN; 113 file_bytes[i]+=bytes-HEAD_ALIGN; 122 file_bytes[i]-(bytes-HEAD_ALIGN)); 132 global_bytes+(bytes-HEAD_ALIGN)); 137 global_bytes+=(bytes-HEAD_ALIGN); 152 long bytes =((head *)ptr)->bytes; local [all...] |
/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/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/tests/CoreTests/android/core/ |
Sha1Test.java | 56 private static String encodeHex(byte[] bytes) { 57 StringBuffer hex = new StringBuffer(bytes.length * 2); 59 for (int i = 0; i < bytes.length; i++) { 60 if (((int) bytes[i] & 0xff) < 0x10) { 63 hex.append(Integer.toString((int) bytes[i] & 0xff, 16));
|
/sdk/emulator/opengl/host/tools/emugen/ |
VarType.h | 23 VarConverter(size_t bytes) : m_bytes(bytes) {} 24 size_t bytes() const { return m_bytes; } function in class:VarConverter 67 size_t bytes() const { return m_converter->bytes(); } function in class:VarType
|
/bionic/libc/bionic/ |
malloc_debug_leak.cpp | 217 extern "C" void* fill_malloc(size_t bytes) { 218 void* buffer = dlmalloc(bytes); 220 memset(buffer, CHK_SENTINEL_VALUE, bytes); 226 size_t bytes = dlmalloc_usable_size(mem); local 227 memset(mem, CHK_FILL_FREE, bytes); 231 extern "C" void* fill_realloc(void* mem, size_t bytes) { 232 void* buffer = fill_malloc(bytes); 238 size_t size = (bytes < old_size)?(bytes):(old_size); 245 extern "C" void* fill_memalign(size_t alignment, size_t bytes) { [all...] |
/external/elfutils/tests/ |
run-show-ciefde.sh | 37 CIE[0]: bytes = 0c 04 04 88 01 00 00 39 FDE[0]: bytes = 18 00 00 00 18 00 00 00 2c 84 04 08 29 00 00 00 41 0e 08 85 02 42 0d 05 41 83 03 00 52 CIE[0]: bytes = 0c 04 04 88 01 57 CIE[1]: bytes = 0c 04 04 88 01 00 00 62 CIE[2]: bytes = 0c 04 04 88 01 00 00 67 CIE[3]: bytes = 0c 04 04 88 01 72 CIE[4]: bytes = 0c 04 04 88 01 00 00 74 FDE[0]: bytes = 2c 00 00 00 1c 00 00 00 fc 93 04 08 9a 00 00 00 41 0e 08 85 02 42 0d 05 53 2e 08 50 2e 10 48 2e 00 58 2e 10 62 2e 00 63 2e 10 45 2e 00 00 00 00 78 FDE[1]: bytes = 18 00 00 00 4c 00 00 00 98 94 04 08 31 00 00 00 41 0e 08 85 02 42 0d 05 4c 2e 10 00 82 FDE[2]: bytes = 18 00 00 00 18 00 00 00 d4 94 04 08 17 00 00 00 41 0e 08 85 02 42 0d 05 41 83 03 0 [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 336 byte[] bytes = encode(text, charset); 339 encoding = determineEncoding(bytes, usage); 343 return encodeB(prefix, text, usedCharacters, charset, bytes); 346 return encodeQ(prefix, text, usage, usedCharacters, charset, bytes); 354 * @param bytes 358 public static String encodeB(byte[] bytes) { 362 final int end = bytes.length; 364 int data = (bytes[idx] & 0xff) << 16 | (bytes[idx + 1] & 0xff) << 8 365 | bytes[idx + 2] & 0xff [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...] |
/external/chromium/net/base/ |
bandwidth_metrics.h | 48 // tracker.RecordSample(bytes); 104 // Add a sample of the number of bytes read from the network into the tracker. 105 void RecordBytes(int bytes) { 107 bytes_since_last_start_ += static_cast<int64>(bytes); 115 int64 bytes_since_last_start_; // Bytes tracked during this "session". 129 void RecordBytes(int bytes);
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
LineNumber_info.java | 87 LineNumber_info (final UDataInputStream bytes) throws IOException 89 m_start_pc = bytes.readU2 (); 90 m_line_number = bytes.readU2 ();
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
Platform.java | 39 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 41 ObjectOutputStream out = new ObjectOutputStream(bytes); 44 new ByteArrayInputStream(bytes.toByteArray()));
|
/external/llvm/tools/llvm-objdump/ |
llvm-objdump.h | 33 void DumpBytes(StringRef bytes); 40 StringRef Bytes; 42 StringRefMemoryObject(StringRef bytes) : Bytes(bytes) {} 45 uint64_t getExtent() const { return Bytes.size(); } 50 *Byte = Bytes[Addr];
|
/external/webkit/Source/WebCore/svg/ |
SVGPathByteStream.h | 33 unsigned char bytes[sizeof(bool)]; member in union:WebCore::__anon17914 38 unsigned char bytes[sizeof(float)]; member in union:WebCore::__anon17915 43 unsigned char bytes[sizeof(unsigned short)]; member in union:WebCore::__anon17916
|
/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;
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1BitString.java | 79 byte[] bytes = new byte[in.length - 1]; 80 System.arraycopy(in.buffer, in.contentOffset + 1, bytes, 0, 82 return new BitString(bytes, in.buffer[in.contentOffset]); 90 out.length = ((BitString) out.content).bytes.length + 1; 172 byte[] bytes = new byte[index / 8 + 1]; 175 index = bytes.length - 1; 179 bytes[i] = (byte) (bytes[i] | SET_MASK[k]); 187 bytes[index] = (byte) (bytes[index] | SET_MASK[k]) [all...] |