HomeSort by relevance Sort by last modified time
    Searched full:leb128 (Results 1 - 25 of 335) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/compile/mclinker/unittests/
LEB128Test.cpp 9 #include "mcld/Support/LEB128.h"
42 leb128::ByteType buffer[2];
43 leb128::ByteType* result;
47 size = leb128::encode<uint32_t>(result, 2);
53 size = leb128::encode<uint32_t>(result, 127);
59 size = leb128::encode<uint32_t>(result, 128);
66 size = leb128::encode<uint32_t>(result, 129);
73 size = leb128::encode<uint32_t>(result, 130);
80 size = leb128::encode<uint32_t>(result, 12857);
88 leb128::ByteType buffer[2]
    [all...]
  /dalvik/dx/tests/116-leb128/com/android/dx/util/
Leb128UtilsTest.java 20 import com.android.dex.Leb128;
28 assertEquals(0, Leb128.readUnsignedLeb128(new ByteArrayByteInput((byte) 0)));
29 assertEquals(1, Leb128.readUnsignedLeb128(new ByteArrayByteInput((byte) 1)));
30 assertEquals(127, Leb128.readUnsignedLeb128(new ByteArrayByteInput((byte) 0x7f)));
31 assertEquals(16256, Leb128.readUnsignedLeb128(
47 assertEquals(0, Leb128.readSignedLeb128(new ByteArrayByteInput((byte) 0)));
48 assertEquals(1, Leb128.readSignedLeb128(new ByteArrayByteInput((byte) 1)));
49 assertEquals(-1, Leb128.readSignedLeb128(new ByteArrayByteInput((byte) 0x7f)));
50 assertEquals(0x3c, Leb128.readSignedLeb128(new ByteArrayByteInput((byte) 0x3c)));
51 assertEquals(-128, Leb128.readSignedLeb128
    [all...]
Leb128UtilsTest.class 
  /frameworks/compile/mclinker/lib/Support/
Android.bp 11 "LEB128.cpp",
LEB128.cpp 1 //===- LEB128.cpp ---------------------------------------------------------===//
9 #include "mcld/Support/LEB128.h"
13 namespace leb128 { namespace in namespace:mcld
15 //===---------------------- LEB128 Encoding APIs -------------------------===//
93 //===---------------------- LEB128 Decoding APIs -------------------------===//
179 * Signed LEB128 decoding is Similar to the unsigned version but setup the sign
223 } // namespace leb128
  /bionic/tools/relocation_packer/src/
sleb128.h 8 // integer values. Encoding these as LEB128 saves space.
10 // For more on LEB128 see http://en.wikipedia.org/wiki/LEB128.
23 // Encode packed words as a signed LEB128 byte stream.
44 // Growable vector holding the encoded LEB128 stream.
48 // Decode a LEB128 byte stream to produce packed words.
67 // Encoded LEB128 stream.
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
DebugInfoConstants.java 41 * <li>Unsigned LEB128 &mdash; amount to advance pc by
52 * <li>Signed LEB128 &mdash; amount to change line register by.
62 * <li>Unsigned LEB128 &mdash; register that will contain local.
63 * <li>Unsigned LEB128 &mdash; string index (shifted by 1) of local name.
64 * <li>Unsigned LEB128 &mdash; type index (shifted by 1) of type.
75 * <li>Unsigned LEB128 &mdash; register that will contain local.
76 * <li>Unsigned LEB128 &mdash; string index (shifted by 1) of local name.
77 * <li>Unsigned LEB128 &mdash; type index (shifted by 1) of type.
78 * <li>Unsigned LEB128 &mdash; string index (shifted by 1) of
90 * <li>Unsigned LEB128 &mdash; register that contained loca
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
DebugInfoConstants.java 41 * <li>Unsigned LEB128 &mdash; amount to advance pc by
52 * <li>Signed LEB128 &mdash; amount to change line register by.
62 * <li>Unsigned LEB128 &mdash; register that will contain local.
63 * <li>Unsigned LEB128 &mdash; string index (shifted by 1) of local name.
64 * <li>Unsigned LEB128 &mdash; type index (shifted by 1) of type.
75 * <li>Unsigned LEB128 &mdash; register that will contain local.
76 * <li>Unsigned LEB128 &mdash; string index (shifted by 1) of local name.
77 * <li>Unsigned LEB128 &mdash; type index (shifted by 1) of type.
78 * <li>Unsigned LEB128 &mdash; string index (shifted by 1) of
90 * <li>Unsigned LEB128 &mdash; register that contained loca
    [all...]
StringDataItem.java 19 import com.android.dex.Leb128;
53 return Leb128.unsignedLeb128Size(utf16Size)
76 out.annotate(Leb128.unsignedLeb128Size(utf16Size),
EncodedField.java 19 import com.android.dex.Leb128;
145 out.annotate(Leb128.unsignedLeb128Size(diff),
147 out.annotate(Leb128.unsignedLeb128Size(accessFlags),
  /frameworks/compile/mclinker/lib/Target/
ELFAttributeData.cpp 11 #include "mcld/Support/LEB128.h"
24 leb128::decode<uint64_t>(pBuf, size));
41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size);
68 leb128::encode<uint32_t>(pBuf, pTag);
72 leb128::encode<uint32_t>(pBuf, pValue.getIntValue());
  /frameworks/compile/mclinker/include/mcld/Support/
LEB128.h 1 //===- LEB128.h -----------------------------------------------------------===//
17 namespace leb128 { namespace in namespace:mcld
58 * Encoding functions for signed LEB128.
82 * Decoding functions for signed LEB128.
92 * rid of annoying type conversions when using the LEB128 encoding/decoding APIs
110 } // namespace leb128
  /dalvik/dexgen/src/com/android/dexgen/util/
Leb128Utils.java 20 * LEB128 (little-endian base 128) utilities.
31 * Gets the number of bytes in the unsigned LEB128 encoding of the
52 * Gets the number of bytes in the signed LEB128 encoding of the
  /external/llvm/lib/Support/
LEB128.cpp 1 //===- LEB128.cpp - LEB128 utility functions implementation -----*- C++ -*-===//
15 #include "llvm/Support/LEB128.h"
  /dalvik/libdex/
Leb128.cpp 18 * Functions for interpreting LEB128 (little endian base 128) values
21 #include "Leb128.h"
24 * Reads an unsigned LEB128 value, updating the given pointer to point
46 * Reads a signed LEB128 value, updating the given pointer to point
DexInlines.cpp 32 #include "Leb128.h"
Leb128.h 18 * Functions for interpreting LEB128 (little endian base 128) values
27 * Reads an unsigned LEB128 value, updating the given pointer to point
62 * Reads a signed LEB128 value, updating the given pointer to point
105 * Reads an unsigned LEB128 value, updating the given pointer to point
117 * Reads a signed LEB128 value, updating the given pointer to point
  /dalvik/dx/src/com/android/dex/
Leb128.java 26 public final class Leb128 {
27 private Leb128() {
31 * Gets the number of bytes in the unsigned LEB128 encoding of the
68 throw new DexException("invalid LEB128 sequence");
94 throw new DexException("invalid LEB128 sequence");
  /toolchain/binutils/binutils-2.27/gold/
int_encoding.cc 33 // Read an unsigned LEB128 number. Each byte contains 7 bits of
50 gold_warning(_("Unusually large LEB128 decoded, "
66 // Read a signed LEB128 number. These are like regular LEB128
83 gold_warning(_("Unusually large LEB128 decoded, "
  /art/tools/hiddenapi/
README.md 32 as unsigned LEB128 values in DEX and so as to not increase the size of the DEX,
42 LEB128 encoding. The following bits are used:
48 make the LEB128 encoding at least two bytes long
  /bionic/linker/
linker_sleb128.h 37 // Helper classes for decoding LEB128, used in packed relocation data.
38 // http://en.wikipedia.org/wiki/LEB128
  /external/capstone/
LEB128.h 1 //===- llvm/Support/LEB128.h - [SU]LEB128 utility functions -----*- C++ -*-===//
  /art/libartbase/base/
leb128.h 30 // Reads an unsigned LEB128 value, updating the given pointer to point
105 // Reads an unsigned LEB128 + 1 value. updating the given pointer to point
113 // Reads a signed LEB128 value, updating the given pointer to point
200 // Returns the number of bytes needed to encode the value in unsigned LEB128.
214 // Returns the first byte of a Leb128 value assuming that:
215 // (1) `end_ptr` points to the first byte after the Leb128 value, and
216 // (2) there is another Leb128 value before this one.
228 // Fail after reading five bytes in case there isn't another Leb128 value
238 // Returns the number of bytes needed to encode the value in unsigned LEB128.
271 // Overwrite encoded Leb128 with a new value. The new value must be less tha
    [all...]
  /external/google-breakpad/src/common/dwarf/
bytereader.h 55 // unsigned LEB128 numbers, and Linux C++ exception handling data's
79 // Read an unsigned LEB128 (Little Endian Base 128) number from
83 // The unsigned LEB128 representation of an integer N is a variable
86 // - If N is between 0 and 0x7f, then its unsigned LEB128
89 // - Otherwise, its unsigned LEB128 representation is (N & 0x7f) |
90 // 0x80, followed by the unsigned LEB128 representation of N /
98 // Read a signed LEB128 number from BUFFER and return it as an
101 // The signed LEB128 representation of an integer N is a variable
104 // - If N is between -0x40 and 0x3f, then its signed LEB128
108 // - Otherwise, its signed LEB128 representation is (N & 0x7f)
    [all...]
  /tools/dexter/slicer/export/slicer/
dex_leb128.h 21 // LEB128 encode/decode helpers:
26 // Reads an unsigned LEB128 value, updating the given pointer to
56 // Reads a signed LEB128 value, updating the given pointer to

Completed in 9535 milliseconds

1 2 3 4 5 6 7 8 91011>>