/freebsd-10.0-release/sys/ofed/include/linux/ |
H A D | linux_idr.c | 119 int idx; local 134 idx = idr_pos(id, layer); 135 il->bitmap |= 1 << idx; 136 il = il->ary[idx]; 139 idx = id & IDR_MASK; 145 if (il == NULL || (il->bitmap & (1 << idx)) != 0) 148 il->ary[idx] = NULL; 149 il->bitmap |= 1 << idx; 160 int idx; local 173 idx 273 int idx; local 349 int idx, sidx; local [all...] |
H A D | linux_radix.c | 82 int idx; local 96 idx = radix_pos(index, 0); 98 item = node->slots[idx]; 104 node->slots[idx] = NULL; 116 idx = radix_pos(index, height); 127 int idx; local 149 idx = radix_pos(index, height); 150 if (node->slots[idx] == NULL) { 151 node->slots[idx] = malloc(sizeof(*node), M_RADIX, 153 if (node->slots[idx] [all...] |
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Interpreter/ |
H A D | OptionValuePathMappings.cpp | 52 uint32_t idx = Args::StringToUInt32(args.GetArgumentAtIndex(0), UINT32_MAX); local 54 if (idx > count) 56 error.SetErrorStringWithFormat("invalid file list index %u, index must be 0 through %u", idx, count); 60 for (size_t i=1; i<argc; i += 2, ++idx) 64 if (!m_path_mappings.Replace (a, b, idx, m_notify_changes)) 108 uint32_t idx = Args::StringToUInt32(args.GetArgumentAtIndex(0), UINT32_MAX); local 110 if (idx > count) 112 error.SetErrorStringWithFormat("invalid file list index %u, index must be 0 through %u", idx, count); 117 ++idx; 118 for (size_t i=1; i<argc; i += 2, ++idx) 140 const int idx = Args::StringToSInt32(args.GetArgumentAtIndex(i), INT32_MAX); local [all...] |
H A D | OptionValueProperties.cpp | 122 size_t idx = m_name_to_index.Find (key.GetCString(), SIZE_MAX); local 123 if (idx < m_properties.size()) 124 value_sp = GetPropertyAtIndex(exe_ctx, will_modify, idx)->GetValue(); 229 OptionValueProperties::GetPropertyNameAtIndex (uint32_t idx) const 231 const Property *property = GetPropertyAtIndex(NULL, false, idx); 239 OptionValueProperties::GetPropertyDescriptionAtIndex (uint32_t idx) const 241 const Property *property = GetPropertyAtIndex(NULL, false, idx); 260 OptionValueProperties::GetPropertyAtIndex (const ExecutionContext *exe_ctx, bool will_modify, uint32_t idx) const 262 return ProtectedGetPropertyAtIndex (idx); 268 uint32_t idx) cons 304 GetPropertyAtIndexAsArgs(const ExecutionContext *exe_ctx, uint32_t idx, Args &args) const argument 327 SetPropertyAtIndexFromArgs(const ExecutionContext *exe_ctx, uint32_t idx, const Args &args) argument 350 GetPropertyAtIndexAsBoolean(const ExecutionContext *exe_ctx, uint32_t idx, bool fail_value) const argument 363 SetPropertyAtIndexAsBoolean(const ExecutionContext *exe_ctx, uint32_t idx, bool new_value) argument 388 GetPropertyAtIndexAsEnumeration(const ExecutionContext *exe_ctx, uint32_t idx, int64_t fail_value) const argument 401 SetPropertyAtIndexAsEnumeration(const ExecutionContext *exe_ctx, uint32_t idx, int64_t new_value) argument 443 SetPropertyAtIndexAsFileSpec(const ExecutionContext *exe_ctx, uint32_t idx, const FileSpec &new_file_spec) argument 482 GetPropertyAtIndexAsSInt64(const ExecutionContext *exe_ctx, uint32_t idx, int64_t fail_value) const argument 495 SetPropertyAtIndexAsSInt64(const ExecutionContext *exe_ctx, uint32_t idx, int64_t new_value) argument 508 GetPropertyAtIndexAsString(const ExecutionContext *exe_ctx, uint32_t idx, const char *fail_value) const argument 521 SetPropertyAtIndexAsString(const ExecutionContext *exe_ctx, uint32_t idx, const char *new_value) argument 544 GetPropertyAtIndexAsUInt64(const ExecutionContext *exe_ctx, uint32_t idx, uint64_t fail_value) const argument 557 SetPropertyAtIndexAsUInt64(const ExecutionContext *exe_ctx, uint32_t idx, uint64_t new_value) argument [all...] |
/freebsd-10.0-release/lib/libc/db/recno/ |
H A D | rec_search.c | 64 indx_t idx; local 82 for (idx = 0, top = NEXTINDEX(h);;) { 83 r = GETRINTERNAL(h, idx); 84 if (++idx == top || total + r->nrecs > recno) 89 BT_PUSH(t, pg, idx - 1); 94 --GETRINTERNAL(h, (idx - 1))->nrecs; 98 ++GETRINTERNAL(h, (idx - 1))->nrecs;
|
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Symbol/ |
H A D | LineTable.cpp | 172 LineTable::GetLineEntryAtIndex(uint32_t idx, LineEntry& line_entry) argument 174 if (idx < m_entries.size()) 176 ConvertEntryAtIndexToLineEntry (idx, line_entry); 261 LineTable::ConvertEntryAtIndexToLineEntry (uint32_t idx, LineEntry &line_entry) argument 263 if (idx < m_entries.size()) 265 const Entry& entry = m_entries[idx]; 269 if (!entry.is_terminal_entry && idx + 1 < m_entries.size()) 270 line_entry.range.SetByteSize(m_entries[idx+1].file_addr - entry.file_addr); 304 for (size_t idx = start_idx; idx < coun [all...] |
/freebsd-10.0-release/share/examples/libusb20/ |
H A D | control.c | 224 int idx; local 227 for (idx = 0; argc != 0 && idx <= 6; argc--, idx++) 228 switch (idx) 232 if (*argv[idx] == 'i') 234 else if (*argv[idx] == 'o') 239 argv[idx]); 246 if (*argv[idx] == 's') 248 else if (*argv[idx] [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/ |
H A D | CFG.h | 107 unsigned idx; member in class:llvm::SuccIterator 112 inline bool index_is_valid(int idx) { argument 113 return idx >= 0 && (unsigned) idx < Term->getNumSuccessors(); 121 explicit inline SuccIterator(Term_ T) : Term(T), idx(0) {// begin iterator 126 idx = Term->getNumSuccessors(); 133 idx = 0; 138 idx = I.idx; 144 unsigned getSuccessorIndex() const { return idx; } [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/x509v3/ |
H A D | v3_lib.c | 101 int idx; local 107 idx = sk_X509V3_EXT_METHOD_find(ext_list, &tmp); 108 if(idx == -1) return NULL; 109 return sk_X509V3_EXT_METHOD_value(ext_list, idx); 180 * The "idx" variable returns the last found extension and can 183 * due to a badly encoded certificate so if idx is NULL we 194 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx) 199 if(idx) *idx = -1; 203 if(idx) lastpo [all...] |
/freebsd-10.0-release/sys/amd64/vmm/ |
H A D | vmm_ipi.c | 57 int idx; local 70 idx = APIC_SPURIOUS_INT; 71 while (--idx >= APIC_IPI_INTS) { 72 ip = &idt[idx]; 75 vmm_ipinum = idx;
|
H A D | vmm_msr.c | 67 #define readonly_msr(idx) \ 68 ((vmm_msr[(idx)].flags & VMM_MSR_F_READONLY) != 0) 70 #define emulated_msr(idx) \ 71 ((vmm_msr[(idx)].flags & VMM_MSR_F_EMULATE) != 0) 73 #define invalid_msr(idx) \ 74 ((vmm_msr[(idx)].flags & VMM_MSR_F_INVALID) != 0) 159 int idx; local 165 idx = msr_num_to_idx(num); 166 if (idx < 0 || invalid_msr(idx)) 186 int error, idx; local [all...] |
/freebsd-10.0-release/sbin/atm/atmconfig/ |
H A D | natm.c | 347 u_int idx; local 387 idx = sdl.sdl_nlen = strlen(aif->ifname); 388 idx++; 392 sdl.sdl_data[idx++] = num & 0xff; 396 sdl.sdl_data[idx++] = (num >> 8) & 0xff; 397 sdl.sdl_data[idx++] = num & 0xff; 413 sdl.sdl_data[idx++] = ATMIO_TRAFFIC_UBR; 418 sdl.sdl_data[idx++] = (num >> 16) & 0xff; 419 sdl.sdl_data[idx++] = (num >> 8) & 0xff; 420 sdl.sdl_data[idx [all...] |
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Core/ |
H A D | ValueObjectList.h | 60 GetValueObjectAtIndex (size_t idx); 63 RemoveValueObjectAtIndex (size_t idx); 66 SetValueObjectAtIndex (size_t idx,
|
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Core/ |
H A D | DynamicLoader.cpp | 35 for (uint32_t idx = 0; (create_callback = PluginManager::GetDynamicLoaderCreateCallbackAtIndex(idx)) != NULL; ++idx)
|
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDIECollection.cpp | 39 DWARFDIECollection::GetDIEPtrAtIndex(uint32_t idx) const 41 if (idx < m_dies.size()) 42 return m_dies[idx];
|
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Target/ |
H A D | OperatingSystem.cpp | 39 for (uint32_t idx = 0; (create_callback = PluginManager::GetOperatingSystemCreateCallbackAtIndex(idx)) != NULL; ++idx)
|
H A D | ThreadList.cpp | 98 ThreadList::GetThreadAtIndex (uint32_t idx, bool can_update) argument 105 if (idx < m_threads.size()) 106 thread_sp = m_threads[idx]; 119 uint32_t idx = 0; local 121 for (idx = 0; idx < num_threads; ++idx) 123 if (m_threads[idx]->GetID() == tid) 125 thread_sp = m_threads[idx]; 141 uint32_t idx local 164 uint32_t idx = 0; local 187 uint32_t idx = 0; local 209 uint32_t idx = 0; local [all...] |
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Target/ |
H A D | StackFrameList.h | 40 GetFrameAtIndex (uint32_t idx); 57 SetSelectedFrameByIndex (uint32_t idx); 60 GetVisibleStackFrameIndex(uint32_t idx) argument 63 return idx - m_current_inlined_depth; 65 return idx; 98 SetFrameAtIndex (uint32_t idx, lldb::StackFrameSP &frame_sp);
|
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Interpreter/ |
H A D | CommandHistory.h | 44 GetStringAtIndex (size_t idx) const; 47 operator [] (size_t idx) const;
|
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Plugins/SymbolVendor/ELF/ |
H A D | SymbolVendorELF.cpp | 118 for (size_t idx = 0; idx < file_spec_list.GetSize(); ++idx) 121 const FileSpec fspec = file_spec_list.GetFileSpecAtIndex (idx); 162 for (size_t idx = 0; idx < sizeof(g_sections) / sizeof(g_sections[0]); ++idx) 164 SectionType section_type = g_sections[idx];
|
/freebsd-10.0-release/crypto/openssl/crypto/x509/ |
H A D | x509_trs.c | 115 int idx; local 117 idx = X509_TRUST_get_by_id(id); 118 if(idx == -1) return default_trust(id, x, flags); 119 pt = X509_TRUST_get0(idx); 129 X509_TRUST * X509_TRUST_get0(int idx) argument 131 if(idx < 0) return NULL; 132 if(idx < (int)X509_TRUST_COUNT) return trstandard + idx; 133 return sk_X509_TRUST_value(trtable, idx - X509_TRUST_COUNT); 139 int idx; local 162 int idx; local [all...] |
/freebsd-10.0-release/sys/dev/acpica/ |
H A D | acpi_package.c | 48 acpi_PkgInt(ACPI_OBJECT *res, int idx, UINT64 *dst) argument 52 obj = &res->Package.Elements[idx]; 61 acpi_PkgInt32(ACPI_OBJECT *res, int idx, uint32_t *dst) argument 66 error = acpi_PkgInt(res, idx, &tmp); 74 acpi_PkgStr(ACPI_OBJECT *res, int idx, void *dst, size_t size) argument 80 obj = &res->Package.Elements[idx]; 107 acpi_PkgGas(device_t dev, ACPI_OBJECT *res, int idx, int *type, int *rid, argument 113 obj = &res->Package.Elements[idx];
|
/freebsd-10.0-release/sys/kern/ |
H A D | kern_sharedpage.c | 127 uint32_t enabled, idx; local 132 idx = sv->sv_timekeep_curr; 133 atomic_store_rel_32(&tk->tk_th[idx].th_gen, 0); 134 if (++idx >= VDSO_TH_NUM) 135 idx = 0; 136 sv->sv_timekeep_curr = idx; 141 tk->tk_th[idx] = th; 143 atomic_store_rel_32(&tk->tk_th[idx].th_gen, sv->sv_timekeep_gen); 144 tk->tk_current = idx; 153 uint32_t enabled, idx; local [all...] |
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/ |
H A D | ScoreboardHazardRecognizer.cpp | 47 for (unsigned idx = 0; ; ++idx) { 48 if (ItinData->isEndMarker(idx)) 51 const InstrStage *IS = ItinData->beginStage(idx); 52 const InstrStage *E = ItinData->endStage(idx); 133 unsigned idx = MCID->getSchedClass(); local 134 for (const InstrStage *IS = ItinData->beginStage(idx), 135 *E = ItinData->endStage(idx); IS != E; ++IS) { 193 unsigned idx = MCID->getSchedClass(); local 194 for (const InstrStage *IS = ItinData->beginStage(idx), [all...] |
/freebsd-10.0-release/sys/powerpc/powerpc/ |
H A D | intr_machdep.c | 169 int idx; local 171 idx = atomic_fetchadd_int(&intrcnt_index, 1); 172 *countp = &intrcnt[idx]; 173 intrcnt_setname(name, idx); 245 int idx; local 247 for (idx = 0; idx < npics; idx++) { 248 p = &piclist[idx]; 253 if (idx 317 int idx; local 352 int idx; local [all...] |