/external/compiler-rt/test/tsan/ |
bench_ten_mutexes.cc | 11 int idx = (i % kMutex); local 13 idx = kMutex - idx - 1; 14 pthread_mutex_lock(&mtx[idx]); 15 pthread_mutex_unlock(&mtx[idx]);
|
/external/elfutils/0.153/libdw/ |
dwarf_filesrc.c | 59 dwarf_filesrc (Dwarf_Files *file, size_t idx, Dwarf_Word *mtime, 62 if (file == NULL || idx >= file->nfiles) 66 *mtime = file->info[idx].mtime; 69 *length = file->info[idx].length; 71 return file->info[idx].name;
|
dwarf_getarange_addr.c | 70 size_t idx = (l + u) / 2; local 71 if (addr < aranges->info[idx].addr) 72 u = idx; 73 else if (addr > aranges->info[idx].addr 74 && addr - aranges->info[idx].addr >= aranges->info[idx].length) 75 l = idx + 1; 77 return &aranges->info[idx];
|
/frameworks/av/include/media/ |
StringArray.h | 44 void erase(int idx); 65 const char* getEntry(int idx) const { 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; 73 void setEntry(int idx, const char* str);
|
/external/chromium_org/third_party/simplejson/ |
scanner.py | 32 def _scan_once(string, idx): 34 nextchar = string[idx] 39 return parse_string(string, idx + 1, encoding, strict) 41 return parse_object((string, idx + 1), encoding, strict, 44 return parse_array((string, idx + 1), _scan_once) 45 elif nextchar == 'n' and string[idx:idx + 4] == 'null': 46 return None, idx + 4 47 elif nextchar == 't' and string[idx:idx + 4] == 'true' [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
vlc_encode_inline.h | 25 Int idx, run, level, j; local 28 idx = 0; 53 RLB->level[idx] = -level; 54 RLB->s[idx] = 1; 55 RLB->run[idx] = run; 57 idx++; 61 RLB->level[idx] = level; 62 RLB->s[idx] = 0; 63 RLB->run[idx] = run; 65 idx++ 116 Int idx, run, level, j; local 230 Int idx, run, level = 0, j; local [all...] |
/external/chromium_org/third_party/libsrtp/srtp/test/ |
replay_driver.c | 89 rdb_check_add(rdb_t *rdb, uint32_t idx) { 91 if (rdb_check(rdb, idx) != err_status_ok) { 92 printf("rdb_check failed at index %u\n", idx); 95 if (rdb_add_index(rdb, idx) != err_status_ok) { 96 printf("rdb_add_index failed at index %u\n", idx); 104 rdb_check_expect_failure(rdb_t *rdb, uint32_t idx) { 107 err = rdb_check(rdb, idx); 109 printf("rdb_check failed at index %u (false positive)\n", idx); 117 rdb_check_add_unordered(rdb_t *rdb, uint32_t idx) { 120 /* printf("index: %u\n", idx); */ 140 uint32_t idx, ircvd; local [all...] |
/frameworks/av/media/libmedia/ |
StringArray.cpp | 74 void StringArray::erase(int idx) { 75 if (idx < 0 || idx >= mCurrent) 77 delete[] mArray[idx]; 78 if (idx < mCurrent-1) { 79 memmove(&mArray[idx], &mArray[idx+1], 80 (mCurrent-1 - idx) * sizeof(char*)); 103 void StringArray::setEntry(int idx, const char* str) { 104 if (idx < 0 || idx >= mCurrent [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FatType.java | 38 final int idx = (int) (index * 1.5); local 39 final int b1 = data[idx] & 0xFF; 40 final int b2 = data[idx + 1] & 0xFF; 52 final int idx = (int) (index * 1.5); local 55 data[idx] = (byte) (entry & 0xFF); 56 data[idx + 1] = (byte) ((entry >> 8) & 0x0F); 58 data[idx] |= (byte) ((entry & 0x0F) << 4); 59 data[idx + 1] = (byte) ((entry >> 4) & 0xFF); 71 final int idx = index << 1; local 72 final int b1 = data[idx] & 0xFF 79 final int idx = index << 1; local 92 final int idx = index * 4; local 102 final int idx = index << 2; local [all...] |
/external/chromium_org/rlz/lib/ |
string_utils.cc | 42 int idx = 0; local 44 while (text[idx] == '\t' || text[idx] == ' ') 45 idx++; 47 if ((text[idx] == '0') && 48 (text[idx + 1] == 'X' || text[idx + 1] == 'x')) 49 idx +=2; // String is of the form 0x... 53 for (; text[idx] != '\0'; idx++) [all...] |
/external/lldb/include/lldb/Core/ |
FileSpecList.h | 111 /// \a file starting \a idx entries into the file spec list. 113 /// @param[in] idx 127 FindFileIndex (size_t idx, const FileSpec &file, bool full) const; 132 /// Gets a file from the file list. If \a idx is not a valid index, 137 /// @param[in] idx 141 /// A copy of the FileSpec object at index \a idx. If \a idx 146 GetFileSpecAtIndex (size_t idx) const; 154 /// @param[in] idx 158 /// A pointer to a contained FileSpec object at index \a idx [all...] |
/external/srtp/test/ |
replay_driver.c | 89 rdb_check_add(rdb_t *rdb, uint32_t idx) { 91 if (rdb_check(rdb, idx) != err_status_ok) { 92 printf("rdb_check failed at index %u\n", idx); 95 if (rdb_add_index(rdb, idx) != err_status_ok) { 96 printf("rdb_add_index failed at index %u\n", idx); 104 rdb_check_expect_failure(rdb_t *rdb, uint32_t idx) { 107 err = rdb_check(rdb, idx); 109 printf("rdb_check failed at index %u (false positive)\n", idx); 117 rdb_check_unordered(rdb_t *rdb, uint32_t idx) { 120 /* printf("index: %u\n", idx); */ 132 uint32_t idx, ircvd; local [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
ms_stereo.c | 65 Word32 idx, shift; local 67 idx = sfb + sfboffs; 69 thrL = sfbThresholdLeft[idx]; 70 thrR = sfbThresholdRight[idx]; 71 nrgL = sfbEnergyLeft[idx]; 72 nrgR = sfbEnergyRight[idx]; 85 nrgL = sfbEnergyMid[idx]; 86 nrgR = sfbEnergySide[idx]; 103 msMask[idx] = 1; 106 for (j=sfbOffset[idx]; j<sfbOffset[idx+1]; j++) [all...] |
/external/lldb/tools/debugserver/source/MacOSX/ |
MachThreadList.cpp | 105 for (size_t idx = 0; idx < num_threads; ++idx) 107 if (m_threads[idx]->ThreadID() == tid) 109 thread_sp = m_threads[idx]; 122 for (size_t idx = 0; idx < num_threads; ++idx) 124 if (m_threads[idx]->MachPortNumber() == mach_port_number) 126 thread_sp = m_threads[idx]; 287 size_t idx; local [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_object/d/ |
T_aput_object_1.java | 21 public void run(String[] arr, int idx, String value) { 22 arr[idx] = value;
|
T_aput_object_2.java | 21 public void run(Integer[] arr, int idx, Integer value) { 22 arr[idx] = value;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget/d/ |
T_aget_8.java | 20 public int run(int[] arr, float idx) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_boolean/d/ |
T_aget_boolean_8.java | 20 public boolean run(boolean[] arr, float idx) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_byte/d/ |
T_aget_byte_8.java | 20 public byte run(byte[] arr, float idx) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_char/d/ |
T_aget_char_8.java | 20 public char run(char[] arr, float idx) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_short/d/ |
T_aget_short_8.java | 20 public short run(short[] arr, float idx) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_wide/d/ |
T_aget_wide_10.java | 21 public long run(long[] arr, float idx) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput/d/ |
T_aput_8.java | 20 public void run(int[] arr, float idx, float value) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_boolean/d/ |
T_aput_boolean_8.java | 20 public void run(boolean[] arr, float idx, boolean value) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_byte/d/ |
T_aput_byte_8.java | 20 public void run(byte[] arr, float idx, byte value) {
|