HomeSort by relevance Sort by last modified time
    Searched refs:LENGTH (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /hardware/qcom/gps/msm8960/utils/
loc_target.cpp 56 #define LENGTH(s) (sizeof(s) - 1)
101 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){
102 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1))
103 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) )
109 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID))
110 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) ||
111 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF))
112 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) ||
113 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP))
114 && IS_STR_END(rd_hw_platform[LENGTH(STR_MTP)])))
    [all...]
  /hardware/qcom/gps/utils/
loc_target.cpp 56 #define LENGTH(s) (sizeof(s) - 1)
147 /*The character array passed to this function should have length
156 LOC_LOGE("%s:%d]: NULL parameter or array length less than PROPERTY_VALUE_MAX\n",
161 /*The character array passed to this function should have length
170 LOC_LOGE("%s:%d]: Null parameter or array length less than PROPERTY_VALUE_MAX\n",
210 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){
211 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1))
212 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) )
218 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID))
219 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) |
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
SHA1PRNG_SecureRandomTest.java 33 private static final int LENGTH = 20; // constant defining loop limit
72 for (int i = 0; i < LENGTH; i++) {
75 assertFalse("unexpected: myBytes.length != i :: i==" + i +
76 " myBytes.length=" + myBytes.length, myBytes.length != i);
91 for (int i = 0; i < LENGTH; i += INCR) {
132 // case1: sequencies are of the same length
133 for (int i = 1; i < LENGTH; i += INCR) {
143 for (int k = 1; k < LENGTH; k += INCR)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/provider/crypto/
SHA1PRNG_SecureRandomTest.java 34 private static final int LENGTH = 20; // constant defining loop limit
73 for (int i = 0; i < LENGTH; i++) {
75 assertFalse("unexpected: myBytes.length != i :: i==" + i + " myBytes.length="
76 + myBytes.length, myBytes.length != i);
89 for (int i = 0; i < LENGTH; i += INCR) {
126 // case1: sequencies are of the same length
127 for (int i = 1; i < LENGTH; i += INCR) {
136 for (int k = 1; k < LENGTH; k += INCR)
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/
cdata.i 22 %typemap(in) (const void *indata, int inlen) = (char *STRING, int LENGTH);
28 %typemap(in) (const void *indata, int inlen) = (char *STRING, int LENGTH);
33 %typemap(in) (const void *indata, int inlen) = (char *STRING, int LENGTH);
  /external/clang/test/CodeGen/
ms-inline-asm.cpp 44 __asm mov eax, LENGTH Foo::ptr
46 __asm mov eax, LENGTH Foo::Bar::ptr
48 __asm mov eax, LENGTH Foo::arr
50 __asm mov eax, LENGTH Foo::Bar::arr
ms-inline-asm.c 183 __asm mov eax, LENGTH foo
184 __asm mov eax, LENGTH bar
185 __asm mov eax, LENGTH _foo
186 __asm mov eax, LENGTH _bar
307 __asm mov olen, LENGTH arr
  /external/chromium_org/third_party/zlib/
inflate.h 25 EXLEN, /* i: waiting for extra length (gzip) */
34 STORED, /* i: waiting for stored size (length and complement) */
38 LENLENS, /* i: waiting for code length code lengths */
39 CODELENS, /* i: waiting for length/lit and distance code lengths */
41 LEN, /* i: waiting for length/lit/eob code */
42 LENEXT, /* i: waiting for length extra bits */
48 LENGTH, /* i: waiting for 32-bit length (gzip) */
77 CHECK -> LENGTH -> DONE
101 unsigned length; /* literal or length of data to copy * member in struct:inflate_state
    [all...]
  /external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
inflate.h 25 EXLEN, /* i: waiting for extra length (gzip) */
34 STORED, /* i: waiting for stored size (length and complement) */
38 LENLENS, /* i: waiting for code length code lengths */
39 CODELENS, /* i: waiting for length/lit and distance code lengths */
41 LEN, /* i: waiting for length/lit/eob code */
42 LENEXT, /* i: waiting for length extra bits */
48 LENGTH, /* i: waiting for 32-bit length (gzip) */
77 CHECK -> LENGTH -> DONE
101 unsigned length; /* literal or length of data to copy * member in struct:inflate_state
    [all...]
  /external/qemu/distrib/zlib-1.2.8/
inflate.h 25 EXLEN, /* i: waiting for extra length (gzip) */
34 STORED, /* i: waiting for stored size (length and complement) */
38 LENLENS, /* i: waiting for code length code lengths */
39 CODELENS, /* i: waiting for length/lit and distance code lengths */
41 LEN, /* i: waiting for length/lit/eob code */
42 LENEXT, /* i: waiting for length extra bits */
48 LENGTH, /* i: waiting for 32-bit length (gzip) */
77 CHECK -> LENGTH -> DONE
101 unsigned length; /* literal or length of data to copy * member in struct:inflate_state
    [all...]
  /external/zlib/src/
inflate.h 25 EXLEN, /* i: waiting for extra length (gzip) */
34 STORED, /* i: waiting for stored size (length and complement) */
38 LENLENS, /* i: waiting for code length code lengths */
39 CODELENS, /* i: waiting for length/lit and distance code lengths */
41 LEN, /* i: waiting for length/lit/eob code */
42 LENEXT, /* i: waiting for length extra bits */
48 LENGTH, /* i: waiting for 32-bit length (gzip) */
77 CHECK -> LENGTH -> DONE
101 unsigned length; /* literal or length of data to copy * member in struct:inflate_state
    [all...]
  /prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/gcov-src/
gcov-io.h 40 padded with 1 to 4 NUL bytes, to bring the length up to a multiple
42 string. Zero length and NULL strings are simply stored as a length
47 string: int32:0 | int32:length char* char:0 padding
80 A record has a tag, length and variable amount of data.
83 header: int32:tag int32:length
89 LENGTH is the number of 4bytes that follow and is usually used to
116 can be inferred from its data length. There is one ARCS record per
118 data length. It enumerates the destination bb and per-arc flags.
248 #define GCOV_TAG_BLOCKS_NUM(LENGTH) (LENGTH
    [all...]
  /prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9/gcov-src/
gcov-io.h 40 padded with 1 to 4 NUL bytes, to bring the length up to a multiple
42 string. Zero length and NULL strings are simply stored as a length
47 string: int32:0 | int32:length char* char:0 padding
80 A record has a tag, length and variable amount of data.
83 header: int32:tag int32:length
89 LENGTH is the number of 4bytes that follow and is usually used to
116 can be inferred from its data length. There is one ARCS record per
118 data length. It enumerates the destination bb and per-arc flags.
248 #define GCOV_TAG_BLOCKS_NUM(LENGTH) (LENGTH
    [all...]
  /prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/gcov-src/
gcov-io.h 40 padded with 1 to 4 NUL bytes, to bring the length up to a multiple
42 string. Zero length and NULL strings are simply stored as a length
47 string: int32:0 | int32:length char* char:0 padding
80 A record has a tag, length and variable amount of data.
83 header: int32:tag int32:length
89 LENGTH is the number of 4bytes that follow and is usually used to
116 can be inferred from its data length. There is one ARCS record per
118 data length. It enumerates the destination bb and per-arc flags.
248 #define GCOV_TAG_BLOCKS_NUM(LENGTH) (LENGTH
    [all...]
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
VpnTest.java 242 final int LENGTH = 64;
243 byte[] packet = new byte[LENGTH];
257 System.arraycopy(header, 0, packet, 0, header.length);
262 Os.write(s, packet, 0, packet.length);
271 byte[] reply = new byte[LENGTH];
272 int read = Os.read(s, reply, 0, LENGTH);
273 assertEquals(LENGTH, read);
295 out.write(data, 0, data.length);
298 byte[] read = new byte[data.length];
301 bytesRead = in.read(read, totalRead, read.length - totalRead)
    [all...]
  /cts/tests/tests/util/src/android/util/cts/
LongSparseArrayTest.java 29 private static final int LENGTH = VALUES.length;
37 int length = VALUES.length; local
39 for (int i = 0; i < length; i++) {
44 for (int i = 0; i < length; i++) {
48 for (int i = 0; i < length; i++) {
57 assertEquals(LENGTH, sparseArray.size());
60 assertEquals(LENGTH, sparseArray.size());
102 int length = VALUES.length local
    [all...]
SparseArrayTest.java 25 private static final int LENGTH = VALUES.length;
33 int length = VALUES.length; local
35 for (int i = 0; i < length; i++) {
40 for (int i = 0; i < length; i++) {
44 for (int i = 0; i < length; i++) {
53 assertEquals(LENGTH, sparseArray.size());
56 assertEquals(LENGTH, sparseArray.size());
98 int length = VALUES.length local
    [all...]
SparseLongArrayTest.java 29 private static final int LENGTH = VALUES.length;
37 int length = VALUES.length; local
39 for (int i = 0; i < length; i++) {
44 for (int i = 0; i < length; i++) {
48 for (int i = 0; i < length; i++) {
57 assertEquals(LENGTH, sparseArray.size());
60 assertEquals(LENGTH, sparseArray.size());
98 int length = VALUES.length local
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SparseArrayTest.java 41 private static final int LENGTH = VALUES.length;
51 int length = VALUES.length; local
53 for (int i = 0; i < length; i++) {
58 for (int i = 0; i < length; i++) {
62 for (int i = 0; i < length; i++) {
71 assertEquals(LENGTH, sparseArray.size());
74 assertEquals(LENGTH, sparseArray.size());
117 int length = VALUES.length local
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
AssetFileDescriptorTest.java 33 private static final long LENGTH = 100;
54 mAssetFileDes = new AssetFileDescriptor(mFd, START_OFFSET, LENGTH);
102 byte[] dataFromFile = new byte[FILE_DATA.length];
105 while ((readByte != FILE_END) && (readLength < FILE_DATA.length)) {
108 readLength, FILE_DATA.length - readLength);
110 assertEquals(FILE_DATA.length, readLength);
155 assertEquals(LENGTH, mAssetFileDes.getLength());
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
fast_masking.i 43 %apply (char *STRING, int LENGTH) {
  /prebuilts/misc/common/swig/include/2.0.11/go/
go.swg 276 /* C arrays turn into Go pointers. If we know the length we can use a
336 /* String & length */
338 %typemap(gotype) (char *STRING, size_t LENGTH) "string"
340 %typemap(in) (char *STRING, size_t LENGTH)
346 %typemap(out) (char *STRING, size_t LENGTH)
349 %typemap(directorin) (char *STRING, size_t LENGTH)
352 %typemap(directorout) (char *STRING, size_t LENGTH)
  /external/chromium_org/third_party/tcmalloc/chromium/src/
pagemap.h 71 static const int LENGTH = 1 << BITS;
90 return n <= LENGTH - x; // an overflow-free way to do "x + n <= LENGTH"
134 static const int LENGTH = 1 << BITS;
175 // Make sure we divided LENGTH evenly.
176 ASSERT(sizeof(committed_) * 8 == (LENGTH * sizeof(*array_)) >> kPageShift);
210 if (n > LENGTH - x)
249 size_t length = (last_page - first_page + 1) << kPageShift; local
258 ASSERT(info.RegionSize >= length); // Entire length is uncommitted
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
FileChannelTest.java 69 CONTENT_AS_BYTES_LENGTH = CONTENT_AS_BYTES.length;
75 private static final int CONTENT_LENGTH = CONTENT.length();
484 // content[0...length()]
508 assertEquals(fileOfReadOnlyFileChannel.length(), readOnlyFileChannel
641 assertEquals(CONTENT_LENGTH, fileOfReadWriteFileChannel.length());
646 assertEquals(CONTENT_LENGTH, fileOfReadWriteFileChannel.length());
651 assertEquals(truncateLength, fileOfReadWriteFileChannel.length());
    [all...]
  /external/clang/test/Sema/
ms-inline-asm.c 24 mov eax, LENGTH bar // expected-error {{unable to lookup expression}}

Completed in 575 milliseconds

1 2 3 4