/external/valgrind/coregrind/m_demangle/ |
dyn-string.c | 86 ds_struct_ptr->length = 0; 189 ds->length = 0; 203 if (dyn_string_resize (dest, src->length) == NULL) 208 dest->length = src->length; 219 int length = strlen (src); local 221 if (dyn_string_resize (dest, length) == NULL) 226 dest->length = length; 264 if (dyn_string_resize (dest, dest->length + src->length) == NULL 285 int length = strlen (src); local 381 int length = end - start; local [all...] |
/external/zopfli/src/zopfli/ |
cache.h | 32 Cache used by ZopfliFindLongestMatch to remember previously found length/dist 37 to every possible shorter-than-the-best length (the so called "sublen" array). 40 unsigned short* length; member in struct:ZopfliLongestMatchCache 53 size_t pos, size_t length, 58 size_t pos, size_t length, 60 /* Returns the length up to which could be stored in the cache. */ 62 size_t pos, size_t length);
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/ |
Charsets.java | 52 public static byte[] toAsciiBytes(char[] chars, int offset, int length) { 53 CharBuffer cb = CharBuffer.allocate(length); 54 cb.put(chars, offset, length); 62 public static byte[] toIsoLatin1Bytes(char[] chars, int offset, int length) { 63 CharBuffer cb = CharBuffer.allocate(length); 64 cb.put(chars, offset, length); 72 public static byte[] toUtf8Bytes(char[] chars, int offset, int length) { 73 CharBuffer cb = CharBuffer.allocate(length); 74 cb.put(chars, offset, length); 82 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
ByteArrayLexOrder.java | 55 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) { 63 return bytes1.length - bytes2.length;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/string.view/string_view.literals/ |
literal3.pass.cpp | 24 assert(foo.length() == 0);
|
/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
|
/toolchain/binutils/binutils-2.27/libiberty/ |
dyn-string.c | 73 ds_struct_ptr->length = 0; 176 ds->length = 0; 190 if (dyn_string_resize (dest, src->length) == NULL) 195 dest->length = src->length; 206 int length = strlen (src); local 208 if (dyn_string_resize (dest, length) == NULL) 213 dest->length = length; 251 if (dyn_string_resize (dest, dest->length + src->length) == NULL 272 int length = strlen (src); local 368 int length = end - start; local [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothCodecConfigTest.java | 70 private static final int kTotalConfigs = kCodecTypeArray.length * kCodecPriorityArray.length * 71 kSampleRateArray.length * kBitsPerSampleArray.length * kChannelModeArray.length * 72 kCodecSpecific1Array.length * kCodecSpecific2Array.length * kCodecSpecific3Array.length * 73 kCodecSpecific4Array.length; 76 int left = kCodecTypeArray.length; [all...] |
/bionic/libc/bionic/ |
sync_file_range.cpp | 34 int sync_file_range(int fd, off64_t offset, off64_t length, unsigned int flags) { 36 return __sync_file_range2(fd, flags, offset, length); 38 return __sync_file_range(fd, offset, length, flags);
|
/cts/tests/tests/location/src/android/location/cts/psedorange/ |
GpsMathOperations.java | 33 for (int i = 0; i < inputVector.length; i++) { 42 * same length. 46 double[] result = new double[firstVector.length]; 47 if (firstVector.length != secondVector.length) { 51 for (int i = 0; i < firstVector.length; i++) { 65 double result[] = new double[matrix.length]; 66 int matrixLength = matrix.length; 67 int vectorLength = vector.length; 68 if (vectorLength != matrix[0].length) { [all...] |
/external/icu/icu4c/source/test/letest/ |
FontTableCache.h | 27 const void *find(LETag tableTag, size_t &length) const; 30 virtual const void *readFontTable(LETag tableTag, size_t &length) const = 0; 35 void add(LETag tableTag, const void *table, size_t length);
|
/external/icu/icu4c/source/test/perf/leperf/ |
FontTableCache.h | 29 const void *find(LETag tableTag, size_t &length) const; 32 virtual const void *readFontTable(LETag tableTag, size_t &length) const = 0; 37 void add(LETag tableTag, const void *table, size_t length);
|
/external/icu/icu4c/source/tools/genrb/ |
rbutil.c | 71 int32_t length = 0; local 85 buffer[length++]= digits[digit]; 89 while (length < pad){ 90 buffer[length++] = '0';/*zero padding */ 95 buffer[length++]='-'; 99 if(length<MAX_DIGITS){ 100 buffer[length] = 0x0000; 103 num= (pad>=length) ? pad :length; 108 temp = buffer[(length-1) - j] [all...] |
/external/tensorflow/tensorflow/core/platform/ |
snappy.h | 25 bool Snappy_Compress(const char* input, size_t length, string* output); 27 bool Snappy_GetUncompressedLength(const char* input, size_t length, 29 bool Snappy_Uncompress(const char* input, size_t length, char* output);
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
copy_set_operations.c | 29 void WebRtcSpl_MemSetW16(int16_t *ptr, int16_t set_value, size_t length) 34 for (j = length; j > 0; j--) 40 void WebRtcSpl_MemSetW32(int32_t *ptr, int32_t set_value, size_t length) 45 for (j = length; j > 0; j--) 53 size_t length) 59 for (j = 0; j < length; j++) 66 size_t length, 71 WEBRTC_SPL_MEMCPY_W16(vector_out, &vector_in[length - samples], samples); 74 void WebRtcSpl_ZerosArrayW16(int16_t *vector, size_t length) 76 WebRtcSpl_MemSetW16(vector, 0, length); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
BytesBufferPool.java | 33 public int length; field in class:BytesBufferPool.BytesBuffer 42 length = 0; 44 int capacity = data.length; 46 int step = Math.min(READ_STEP, capacity - length); 47 int rc = fis.read(data, length, step); 49 length += rc; 51 if (length == capacity) { 52 byte[] newData = new byte[data.length * 2]; 53 System.arraycopy(data, 0, newData, 0, data.length); 55 capacity = data.length; [all...] |
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
WaveDataRingBuffer.java | 44 public synchronized void writeWaveData(double[] data, int srcPos, int length) { 45 mLoadedDeck.writeWaveData(data, srcPos, length); 79 private volatile int mIndex = 0; // between 0 and mWaveRecord.length - 1 88 * Write length number of doubles from data into ring buffer from starting srcPos 90 public void writeWaveData(double[] data, int srcPos, int length) { 91 if (length > data.length - srcPos) { 97 if (length >= mWaveRecord.length) { 100 System.arraycopy(data, srcPos + (length - mWaveRecord.length), mWaveRecord, 0 [all...] |
/external/tcpdump/ |
print-tftp.c | 92 register const u_char *bp, u_int length) 98 /* Print length */ 99 ND_PRINT((ndo, " %d", length)); 102 if (length < 2) 112 length -= 2; 118 if (length == 0) 123 ui = fn_printztn(ndo, bp, length, ndo->ndo_snapend); 128 length -= ui; 131 if (length == 0) 134 ui = fn_printztn(ndo, bp, length, ndo->ndo_snapend) [all...] |
print-ipx.c | 50 uint16_t length; /* Length, in bytes, including header */ member in struct:ipxHdr 72 ipx_print(netdissect_options *ndo, const u_char *p, u_int length) 88 /* take length from ipx header */ 89 ND_TCHECK(ipx->length); 90 length = EXTRACT_16BITS(&ipx->length); 92 ipx_decode(ndo, ipx, p + ipxSize, length - ipxSize); 95 ND_PRINT((ndo, "[|ipx %d]", length)); 110 ipx_decode(netdissect_options *ndo, const struct ipxHdr *ipx, const u_char *datap, u_int length) [all...] |
/device/google/contexthub/firmware/lib/libc/ |
bcopy.c | 62 (void *dst0, const void *src0, size_t length) 67 bcopy(const void *src0, void *dst0, size_t length) 74 if (length == 0 || dst == src) /* nothing to do */ 93 if ((t ^ (uintptr_t)dst) & wmask || length < wsize) 94 t = length; 97 length -= t; 103 t = length / wsize; 105 t = length & wmask; 113 src += length; 114 dst += length; [all...] |
/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...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/ |
ListsHelper.java | 21 if (a.length != b.length) { 25 int len = a.length; 51 if (a.length > b.length) {
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/ |
char16_t_length.pass.cpp | 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const; 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 8) == 8); 29 assert(f.length(mbs, from, from+10, 9) == 9); 30 assert(f.length(mbs, from, from+10, 10) == 10); 31 assert(f.length(mbs, from, from+10, 100) == 10);
|
char32_t_length.pass.cpp | 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const; 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 8) == 8); 29 assert(f.length(mbs, from, from+10, 9) == 9); 30 assert(f.length(mbs, from, from+10, 10) == 10); 31 assert(f.length(mbs, from, from+10, 100) == 10);
|
char_length.pass.cpp | 14 // int length(stateT& state, const externT* from, const externT* from_end, size_t max) const; 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 9) == 9); 29 assert(f.length(mbs, from, from+10, 10) == 10); 30 assert(f.length(mbs, from, from+10, 11) == 10); 31 assert(f.length(mbs, from, from+10, 100) == 10);
|