/ndk/sources/android/support/src/musl-locale/ |
langinfo.c | 32 int idx = item & 65535; local 39 if (idx > 1) return NULL; 43 if (idx > 0x31) return NULL; 47 if (idx > 0) return NULL; 51 if (idx > 1) return NULL; 58 for (; idx; idx--, str++) for (; *str; str++);
|
/external/elfutils/0.153/lib/ |
dynamicsizehash.c | 74 size_t idx = 1 + hval % htab->size; local 76 if (htab->table[idx].hashval != 0) 80 if (htab->table[idx].hashval == hval 81 && COMPARE (htab->table[idx].data, val) == 0) 82 return idx; 89 if (idx <= hash) 90 idx = htab->size + idx - hash; 92 idx -= hash; 95 if (htab->table[idx].hashval == hva 241 size_t idx; local 268 size_t idx; local 291 size_t idx; local [all...] |
/external/lldb/source/Plugins/SymbolFile/DWARF/ |
DWARFAbbreviationDeclaration.h | 36 dw_attr_t GetAttrByIndex(uint32_t idx) const { return m_attributes.size() > idx ? m_attributes[idx].get_attr() : 0; } 37 dw_form_t GetFormByIndex(uint32_t idx) const { return m_attributes.size() > idx ? m_attributes[idx].get_form() : 0; } 38 bool GetAttrAndFormByIndex(uint32_t idx, dw_attr_t& attr, dw_form_t& form) const 40 if (m_attributes.size() > idx) 42 m_attributes[idx].get(attr, form); 49 // idx is assumed to be valid when calling GetAttrAndFormByIndexUnchecked( [all...] |
/external/ipsec-tools/src/racoon/ |
policy.h | 112 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, _priority, _created, idx) \ 114 memset((idx), 0, sizeof(struct policyindex)); \ 115 (idx)->dir = (_dir); \ 116 (idx)->prefs = (ps); \ 117 (idx)->prefd = (pd); \ 118 (idx)->ul_proto = (ulp); \ 119 (idx)->priority = (_priority); \ 120 (idx)->created = (_created); \ 121 memcpy(&(idx)->src, (s), sysdep_sa_len((struct sockaddr *)(s))); \ 122 memcpy(&(idx)->dst, (d), sysdep_sa_len((struct sockaddr *)(d))); [all...] |
/external/elfutils/0.153/src/ |
xelf.h | 63 # define xelf_getphdr(elf, idx, name) name = elf32_getphdr (elf) + idx 64 # define xelf_getphdr_ptr(elf, idx, name) name = elf32_getphdr (elf) + idx 65 # define xelf_update_phdr(elf, idx, phdr) \ 66 /* nothing */ ((void) (elf), (void) (idx), (void) (phdr), 1) 76 # define xelf_getsym(data, idx, name) \ 77 name = &((Elf32_Sym *) (data)->d_buf)[idx] 78 # define xelf_getsym_ptr(data, idx, name) \ 79 name = &((Elf32_Sym *) (data)->d_buf)[idx] [all...] |
/external/iproute2/lib/ |
ll_map.c | 42 static inline struct ll_cache *idxhead(int idx) 44 return idx_head[idx & (IDXMAP_SIZE - 1)]; 96 const char *ll_idx_n2a(unsigned idx, char *buf) 100 if (idx == 0) 103 for (im = idxhead(idx); im; im = im->idx_next) 104 if (im->index == idx) 107 snprintf(buf, IFNAMSIZ, "if%d", idx); 112 const char *ll_index_to_name(unsigned idx) 116 return ll_idx_n2a(idx, nbuf); 119 int ll_index_to_type(unsigned idx) 171 unsigned idx; local [all...] |
/external/libcxx/src/ |
string.cpp | 66 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) 78 if (idx) 79 *idx = static_cast<size_t>(ptr - p); 86 as_integer(const string& func, const S& s, size_t* idx, int base); 92 as_integer(const string& func, const string& s, size_t* idx, int base ) 95 long r = as_integer_helper<long>( func, s, idx, base, strtol ); 104 as_integer(const string& func, const string& s, size_t* idx, int base ) 106 return as_integer_helper<long>( func, s, idx, base, strtol ); 112 as_integer( const string& func, const string& s, size_t* idx, int base ) 114 return as_integer_helper<unsigned long>( func, s, idx, base, strtoul ) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
string.cpp | 66 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) 78 if (idx) 79 *idx = static_cast<size_t>(ptr - p); 86 as_integer(const string& func, const S& s, size_t* idx, int base); 92 as_integer(const string& func, const string& s, size_t* idx, int base ) 95 long r = as_integer_helper<long>( func, s, idx, base, strtol ); 104 as_integer(const string& func, const string& s, size_t* idx, int base ) 106 return as_integer_helper<long>( func, s, idx, base, strtol ); 112 as_integer( const string& func, const string& s, size_t* idx, int base ) 114 return as_integer_helper<unsigned long>( func, s, idx, base, strtoul ) [all...] |
/art/runtime/ |
indirect_reference_table-inl.h | 42 int idx = ExtractIndex(iref); local 43 if (UNLIKELY(idx >= topIndex)) { 45 << iref << " (index " << idx << " in a table of size " << topIndex << ")"; 49 if (UNLIKELY(table_[idx].GetReference()->IsNull())) { 54 if (UNLIKELY(!CheckEntry("use", iref, idx))) { 60 // Make sure that the entry at "idx" is correctly paired with "iref". 61 inline bool IndirectReferenceTable::CheckEntry(const char* what, IndirectRef iref, int idx) const { 62 IndirectRef checkRef = ToIndirectRef(idx); 78 uint32_t idx = ExtractIndex(iref); local 79 mirror::Object* obj = table_[idx].GetReference()->Read<kWithoutReadBarrier>() [all...] |
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/ |
glapi_entrypoint.c | 202 int idx; local 229 idx = 7; 235 idx = 3; 237 code[idx + 0] = template[idx + 0]; 238 __glapi_sparc_icache_flush(&code[idx - 1]); 239 code[idx + 1] = template[idx + 1]; 240 code[idx + 2] = template[idx + 2] [all...] |
/external/mesa3d/src/mapi/glapi/ |
glapi_entrypoint.c | 202 int idx; local 229 idx = 7; 235 idx = 3; 237 code[idx + 0] = template[idx + 0]; 238 __glapi_sparc_icache_flush(&code[idx - 1]); 239 code[idx + 1] = template[idx + 1]; 240 code[idx + 2] = template[idx + 2] [all...] |
/packages/apps/FMRadio/jni/fmr/ |
fmr_core.cpp | 42 #define FMR_fd(idx) ((pfmr_data[idx])->fd) 43 #define FMR_err(idx) ((pfmr_data[idx])->err) 44 #define FMR_chip(idx) ((pfmr_data[idx])->cfg_data.chip) 45 #define FMR_low_band(idx) ((pfmr_data[idx])->cfg_data.low_band) 46 #define FMR_high_band(idx) ((pfmr_data[idx])->cfg_data.high_band 97 int idx; local [all...] |
/dalvik/opcode-gen/ |
opcode-gen.awk | 286 function defineOpcode(line, count, parts, idx) { 287 # locals: count, parts, idx 290 idx = parseHex(parts[1]); 291 if (idx < 0) return -1; 294 hex[idx] = parts[1]; 295 name[idx] = parts[2]; 296 format[idx] = parts[3]; 297 hasResult[idx] = (parts[4] == "n") ? "false" : "true"; 298 indexType[idx] = parts[5]; 299 flags[idx] = parts[6] [all...] |
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
fixmap_32.h | 45 #define set_fixmap(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL) 46 #define set_fixmap_nocache(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 47 #define clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|
/external/compiler-rt/test/tsan/ |
barrier.cc | 16 int idx = (int)(long)p; local 20 int left = idx - 1 >= 0 ? prev[idx - 1] : 0; 21 int right = idx + 1 < kSize ? prev[idx + 1] : 0; 22 curr[idx] = (left + right) / 2;
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/asm/ |
fixmap_32.h | 38 #define set_fixmap(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL) 40 #define set_fixmap_nocache(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 42 #define clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/asm/ |
fixmap_32.h | 38 #define set_fixmap(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL) 40 #define set_fixmap_nocache(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 42 #define clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/asm/ |
fixmap_32.h | 38 #define set_fixmap(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL) 40 #define set_fixmap_nocache(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 42 #define clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/asm/ |
fixmap_32.h | 38 #define set_fixmap(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL) 40 #define set_fixmap_nocache(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 42 #define clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/asm/ |
fixmap_32.h | 38 #define set_fixmap(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL) 40 #define set_fixmap_nocache(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 42 #define clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/asm/ |
fixmap_32.h | 45 #define set_fixmap(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL) 46 #define set_fixmap_nocache(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 47 #define clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/asm/ |
fixmap_32.h | 45 #define set_fixmap(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL) 46 #define set_fixmap_nocache(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 47 #define clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|
/prebuilts/ndk/9/platforms/android-12/arch-x86/usr/include/asm/ |
fixmap_32.h | 45 #define set_fixmap(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL) 46 #define set_fixmap_nocache(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 47 #define clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|
/prebuilts/ndk/9/platforms/android-13/arch-x86/usr/include/asm/ |
fixmap_32.h | 45 #define set_fixmap(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL) 46 #define set_fixmap_nocache(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 47 #define clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|
/prebuilts/ndk/9/platforms/android-14/arch-x86/usr/include/asm/ |
fixmap_32.h | 45 #define set_fixmap(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL) 46 #define set_fixmap_nocache(idx, phys) __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 47 #define clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|