/frameworks/base/core/java/android/security/ |
KeystoreArguments.java | 57 out.writeInt(args.length); 65 int length = in.readInt(); local 66 args = new byte[length][]; 67 for (int i = 0; i < length; i++) {
|
/frameworks/base/core/java/com/android/internal/util/ |
CharSequences.java | 36 public int length() { method in class:CharSequences 37 return bytes.length; 59 * is greater than length(), or if start is greater than end 63 validate(start, end, bytes.length); 69 public int length() { 76 validate(newStart, newEnd, length()); 81 return new String(bytes, start, length()); 86 static void validate(int start, int end, int length) { 89 if (end > length) throw new IndexOutOfBoundsException(); 97 if (a.length() != b.length()) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ScrollBarUtils.java | 24 int length = Math.round((float) size * extent / range); local 25 if (length < minLength) { 26 length = minLength; 28 return length;
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
ListOfFadedTextAnimation.cpp | 34 int length = dp(100); variable 35 canvas.saveLayer(0, 0, length, itemHeight, nullptr, SaveFlags::HasAlphaLayer); 50 matrix.setScale(1, length); 55 canvas.drawRect(0, 0, length, itemHeight, fadingPaint);
|
/frameworks/base/tests/SmokeTestApps/src/com/android/smoketest/triggers/ |
CrashyApp.java | 35 ((String) null).length(); method
|
/frameworks/base/tests/net/jni/ |
UidRangeTest.cpp | 50 const int length = env->GetArrayLength(parcelData); local 52 std::unique_ptr<uint8_t> bytes(new uint8_t[length]); 53 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); 56 p.setData(bytes.get(), length); 73 const int length = p.dataSize(); local 75 jbyteArray parcelData = env->NewByteArray(length); 76 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data()));
|
/frameworks/rs/rsov/compiler/spirit/ |
file_utils.h | 39 int length = ifs.tellg(); local 42 std::vector<T> ret(length / sizeof(T)); 44 ifs.read((char *)ret.data(), length);
|
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
keymaster_utils.h | 36 inline static hidl_vec<uint8_t> blob2hidlVec(const uint8_t* data, const size_t length, 39 result.setToExternal(const_cast<unsigned char*>(data), length, !inPlace); local
|
/hardware/qcom/msm8998/json-c/ |
arraylist.h | 26 int length; member in struct:array_list
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
Chunk.java | 25 * The "offset" and "length" fields are present so handlers can over-allocate 35 public int offset, length; // position within "data" field in class:Chunk 45 public Chunk(int type, byte[] data, int offset, int length) { 49 this.length = length; 61 this.length = buf.position();
|
/libcore/luni/src/main/native/ |
ExecStrings.cpp | 33 jsize length = env_->GetArrayLength(java_array_); local 34 array_ = new char*[length + 1]; 35 array_[length] = NULL; 36 for (jsize i = 0; i < length; ++i) { 55 jsize length = env_->GetArrayLength(java_array_); local 56 for (jsize i = 0; i < length; ++i) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/util/ |
NumberUtils.java | 35 int length = bytes.length; local 36 if (length == 0) { 40 for (int i = length - 1; i >= 0; i--) {
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
StreamUtils.java | 32 int length = input.length - (input.length % 4); local 33 if (output.length * 4 < length) { 37 for (int i = 0, j = 0; i < output.length; i++, j += 4) { 42 for (int i = 0, j = 0; i < output.length; i++, j += 4) { 47 return input.length % 4 != 0; 51 int[] output = new int[input.length / 4];
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
jsoncheckertest.cpp | 21 static char* ReadFile(const char* filename, size_t& length) {
42 length = (size_t)ftell(fp);
44 char* json = (char*)malloc(length + 1);
45 size_t readLength = fread(json, 1, length, fp);
62 size_t length;
local 63 char* json = ReadFile(filename, length);
83 size_t length;
local 84 char* json = ReadFile(filename, length);
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/text/ |
TextUtils.java | 23 * Returns true if the string is null or 0-length. 25 * @return true if str is null or zero length 28 return (str == null || str.length() == 0); 41 int length; local 42 if (a != null && b != null && (length = a.length()) == b.length()) { 46 for (int i = 0; i < length; i++) {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
af_vfs.h | 40 AFfileoffset (*length) (AFvirtualfile *vfile); member in struct:_AFvirtualfile
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
reiserfs_xattr.h | 21 size_t length; member in struct:reiserfs_security_handle
|
/system/bt/btif/include/ |
btif_debug_btsnoop.h | 34 uint16_t length; member in struct:btsnooz_header_t
|
/system/bt/device/include/ |
interop_database.h | 26 size_t length; member in struct:__anon1818 144 size_t length; member in struct:__anon1819
|
/system/nfc/src/include/ |
debug_nfcsnoop.h | 36 uint16_t length; member in struct:nfcsnooz_header_t
|
/toolchain/binutils/binutils-2.27/gold/ |
int_encoding.cc | 1 // int_encoding.cc -- variable length and unaligned integer encoding support. 119 size_t length = 0; local 128 length++; 131 return length;
|
/toolchain/binutils/binutils-2.27/include/ |
dyn-string.h | 32 int length; /* The actual length of the string. */ member in struct:dyn_string 36 /* The length STR, in bytes, not including the terminating NUL. */ 38 ((STR)->length)
|
/toolchain/binutils/binutils-2.27/include/opcode/ |
np1.h | 27 int length; member in struct:gld_opcode 31 is the most any of them need. The actual length of an instruction 32 is always at least 2 bytes, and at most four. The length of the
|
pn.h | 27 int length; member in struct:gld_opcode 31 is the most any of them need. The actual length of an instruction 32 is always at least 2 bytes, and at most four. The length of the
|
/toolchain/binutils/binutils-2.27/include/vms/ |
dmt.h | 45 /* Length of the psect. */ 46 unsigned char length[4]; member in struct:vms_dmt_psect
|