Searched refs:idx (Results 1 - 25 of 1307) sorted by relevance

1234567891011>>

/freebsd-10-stable/sys/boot/efi/libefi/
H A Dhandles.c49 int idx, unit; local
51 idx = nentries;
55 for (unit = 0; idx < nentries; idx++, unit++) {
56 entry[idx].handle = handles[unit];
58 entry[idx].alias = aliases[unit];
60 entry[idx].alias = NULL;
61 entry[idx].dev = sw;
62 entry[idx].unit = unit;
70 int idx; local
85 int idx; local
105 int idx; local
[all...]
/freebsd-10-stable/contrib/tcpdump/
H A Dprint-sip.c38 u_int idx; local
46 for (idx = 0; idx < len; idx++) {
47 TCHECK2(*(pptr+idx), 2);
48 if (EXTRACT_16BITS(pptr+idx) != 0x0d0a) { /* linefeed ? */
49 safeputchar(*(pptr+idx));
52 idx+=1;
/freebsd-10-stable/sys/dev/drm2/
H A Ddrm_buffer.c49 int idx; local
65 for (idx = 0; idx < nr_pages; ++idx) {
67 (*buf)->data[idx] =
68 malloc(min(PAGE_SIZE, size - idx * PAGE_SIZE),
72 if ((*buf)->data[idx] == NULL) {
75 idx + 1, size, nr_pages);
86 if ((*buf)->data[idx])
87 free((*buf)->data[idx], DRM_MEM_DRIVE
108 int idx; local
143 int idx; local
167 int idx = drm_buffer_index(buf); local
[all...]
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/
H A Dtst.usdt.c41 int idx; local
47 for (idx = 0; idx < 10; idx++) {
51 odd = idx % 2 == 1 ? "true" : "false";
52 even = idx % 2 == 0 ? "true" : "false";
53 action = idx == 7 ? "ignore" : "print";
55 asprintf(&json, FMT, size, idx, odd, even, action);
/freebsd-10-stable/sys/ia64/ia64/
H A Dphysmem.c47 u_int idx; local
49 for (idx = 0; phys_avail[idx + 1] != 0; idx += 2) {
50 if (phys_avail[idx] >= lim ||
51 phys_avail[idx + 1] > base)
54 return (idx);
58 ia64_physmem_insert(u_int idx, vm_paddr_t base, vm_paddr_t lim) argument
66 while (idx < ridx) {
71 phys_avail[idx]
78 ia64_physmem_remove(u_int idx) argument
96 u_int idx; local
117 u_int idx; local
144 u_int idx; local
201 u_int idx; local
[all...]
/freebsd-10-stable/lib/libc/string/
H A Dstrcspn.c41 * NB: idx and bit are temporaries whose use causes gcc 3.4.2 to
47 int idx; local
56 for (tbl[0] = idx = 1; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
57 tbl[idx] = 0;
60 idx = IDX(*charset);
62 tbl[idx] |= bit;
66 idx = IDX(*s1);
68 if ((tbl[idx]
[all...]
H A Dstrspn.c41 * NB: idx and bit are temporaries whose use causes gcc 3.4.2 to
47 int idx; local
55 for (idx = 0; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
56 tbl[idx] = 0;
59 idx = IDX(*charset);
61 tbl[idx] |= bit;
65 idx = IDX(*s1);
67 if ((tbl[idx]
[all...]
/freebsd-10-stable/sys/libkern/
H A Dstrcspn.c41 * NB: idx and bit are temporaries whose use causes gcc 3.4.2 to
47 int idx; local
56 for (tbl[0] = idx = 1; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
57 tbl[idx] = 0;
60 idx = IDX(*charset);
62 tbl[idx] |= bit;
66 idx = IDX(*s1);
68 if ((tbl[idx]
[all...]
H A Dstrspn.c41 * NB: idx and bit are temporaries whose use causes gcc 3.4.2 to
47 int idx; local
55 for (idx = 0; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
56 tbl[idx] = 0;
59 idx = IDX(*charset);
61 tbl[idx] |= bit;
65 idx = IDX(*s1);
67 if ((tbl[idx]
[all...]
/freebsd-10-stable/contrib/ntp/libntp/
H A Dclocktime.c65 int32 y, tmp, idx, min; local
107 for (idx = 0; idx < 3; idx++) {
109 ystt[idx] = year_to_ntp(y + idx - 1);
111 test[idx] = ystt[idx] + tmp;
113 diff[idx] = test[idx]
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Core/
H A DFileSpecList.h111 /// \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
195 Insert(size_t idx, const FileSpec &file) argument
211 Replace(size_t idx, const FileSpec &file) argument
222 Remove(size_t idx) argument
[all...]
/freebsd-10-stable/sys/xen/interface/io/
H A Dconsole.h32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1))
/freebsd-10-stable/sys/dev/cfe/
H A Dcfe_env.c45 int idx; local
50 idx = 0;
52 if (cfe_enumenv(idx, name, sizeof(name), val, sizeof(val)) != 0)
59 ++idx;
/freebsd-10-stable/contrib/binutils/bfd/doc/
H A Dchew.c175 addr (buffer, idx)
177 unsigned int idx;
179 return buffer->ptr + idx;
250 skip_white_and_stars (src, idx)
252 unsigned int idx;
255 while ((c = at (src, idx)),
260 && at (src, idx +1) != '/'
261 && at (src, idx -1) != '\n'))
262 idx++;
263 return idx;
271 unsigned int idx = 0; /* Pos in input buffer */ variable
424 unsigned int idx = 0; local
493 unsigned int idx; local
564 unsigned int idx = 0; local
596 unsigned int idx = 0; local
642 unsigned int idx = 0; local
728 unsigned int idx = 0; local
783 unsigned int idx = 0; local
895 int idx = 0; local
982 int idx = 0; local
1129 int idx; local
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFAbbreviationDeclaration.h36 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 argument
40 if (m_attributes.size() > idx)
42 m_attributes[idx].get(attr, form);
49 // idx i
50 GetAttrAndFormByIndexUnchecked(uint32_t idx, dw_attr_t& attr, dw_form_t& form) const argument
[all...]
/freebsd-10-stable/contrib/libc++/src/
H A Dstring.cpp64 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) argument
76 if (idx)
77 *idx = static_cast<size_t>(ptr - p);
84 as_integer(const string& func, const S& s, size_t* idx, int base);
90 as_integer(const string& func, const string& s, size_t* idx, int base ) argument
93 long r = as_integer_helper<long>( func, s, idx, base, strtol );
102 as_integer(const string& func, const string& s, size_t* idx, int base ) argument
104 return as_integer_helper<long>( func, s, idx, base, strtol );
110 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
112 return as_integer_helper<unsigned long>( func, s, idx, bas
118 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
126 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
135 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
147 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
155 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
163 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
171 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
181 as_float_helper(const string& func, const S& str, size_t* idx, F f ) argument
253 stoi(const string& str, size_t* idx, int base) argument
259 stoi(const wstring& str, size_t* idx, int base) argument
265 stol(const string& str, size_t* idx, int base) argument
271 stol(const wstring& str, size_t* idx, int base) argument
277 stoul(const string& str, size_t* idx, int base) argument
283 stoul(const wstring& str, size_t* idx, int base) argument
289 stoll(const string& str, size_t* idx, int base) argument
295 stoll(const wstring& str, size_t* idx, int base) argument
301 stoull(const string& str, size_t* idx, int base) argument
307 stoull(const wstring& str, size_t* idx, int base) argument
313 stof(const string& str, size_t* idx) argument
319 stof(const wstring& str, size_t* idx) argument
325 stod(const string& str, size_t* idx) argument
331 stod(const wstring& str, size_t* idx) argument
337 stold(const string& str, size_t* idx) argument
343 stold(const wstring& str, size_t* idx) argument
[all...]
/freebsd-10-stable/contrib/llvm/lib/DebugInfo/
H A DDWARFAbbreviationDeclaration.h38 uint16_t getAttrByIndex(uint32_t idx) const {
39 return idx < Attributes.size() ? Attributes[idx].Attr : 0;
41 uint16_t getFormByIndex(uint32_t idx) const {
42 return idx < Attributes.size() ? Attributes[idx].Form : 0;
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Target/
H A DUnwindAssembly.cpp23 for (uint32_t idx = 0;
24 (create_callback = PluginManager::GetUnwindAssemblyCreateCallbackAtIndex(idx)) != NULL;
25 ++idx)
/freebsd-10-stable/contrib/binutils/libiberty/
H A Dpexecute.c36 static int idx; variable
55 idx = 0;
81 return ++idx;
90 if (pex == NULL || pid < 0 || pid >= idx)
93 if (pid == 0 && idx == 1)
102 vector = XNEWVEC (int, idx);
103 if (!pex_get_status (pex, idx, vector))
116 if (pid + 1 == idx)
120 idx = 0;
/freebsd-10-stable/contrib/gcclibs/libiberty/
H A Dpexecute.c36 static int idx; variable
55 idx = 0;
81 return ++idx;
90 if (pex == NULL || pid < 0 || pid >= idx)
93 if (pid == 0 && idx == 1)
102 vector = XNEWVEC (int, idx);
103 if (!pex_get_status (pex, idx, vector))
116 if (pid + 1 == idx)
120 idx = 0;
/freebsd-10-stable/contrib/libarchive/test_utils/
H A Dtest_utils.c80 int idx = 0; local
84 for (;idx < limit; idx++)
85 test_set[idx] = idx;
115 test_set[idx++] = start++;
120 test_set[idx++] = start;
123 return ((idx == 0)?-1:idx);
/freebsd-10-stable/crypto/openssl/crypto/camellia/asm/
H A Dcmll-x86.pl48 $idx="esi";
84 &xor ($t0,$idx); # t0^=key[0]
86 &movz ($idx,&HB($t0)); # (t0>>8)&0xff
87 &mov ($t3,&DWP($SBOX3_3033,$Tbl,$idx,8)); # t3=SBOX3_3033[0]
88 &movz ($idx,&LB($t0)); # (t0>>0)&0xff
89 &xor ($t3,&DWP($SBOX4_4404,$Tbl,$idx,8)); # t3^=SBOX4_4404[0]
91 &movz ($idx,&LB($t1)); # (t1>>0)&0xff
92 &mov ($t2,&DWP($SBOX1_1110,$Tbl,$idx,8)); # t2=SBOX1_1110[1]
93 &movz ($idx,&HB($t0)); # (t0>>24)&0xff
94 &xor ($t3,&DWP($SBOX1_1110,$Tbl,$idx,
[all...]
/freebsd-10-stable/sys/ofed/include/linux/
H A Dlinux_radix.c83 int idx; local
97 idx = radix_pos(index, 0);
99 item = node->slots[idx];
105 node->slots[idx] = NULL;
117 idx = radix_pos(index, height);
129 int idx; local
174 idx = radix_pos(index, height);
175 if (node->slots[idx] == NULL)
177 node = node->slots[idx];
181 for (idx
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Interpreter/
H A DOptionValueArray.h89 operator[](size_t idx) const
92 if (idx < m_values.size())
93 value_sp = m_values[idx];
98 GetValueAtIndex (size_t idx) const
101 if (idx < m_values.size())
102 value_sp = m_values[idx];
120 InsertValue (size_t idx, const lldb::OptionValueSP &value_sp) argument
126 if (idx < m_values.size())
127 m_values.insert(m_values.begin() + idx, value_sp);
136 ReplaceValue (size_t idx, cons argument
152 DeleteValue(size_t idx) argument
[all...]
/freebsd-10-stable/lib/libc/iconv/
H A Dcitrus_none.c86 _csid_t *csid, _index_t *idx, char **s, size_t n,
96 *idx = (_index_t)(unsigned char)*(*s)++;
97 *nresult = *idx == 0 ? 0 : 1;
100 hooks->uc_hook((unsigned int)*idx, hooks->data);
107 char *s, size_t n, _csid_t csid, _index_t idx, void *ps __unused,
118 if ((idx & 0x000000FF) == idx) {
123 *s = (char)idx;
125 } else if ((idx & 0x0000FFFF) == idx) {
85 _citrus_NONE_stdenc_mbtocs(struct _citrus_stdenc * __restrict ce __unused, _csid_t *csid, _index_t *idx, char **s, size_t n, void *ps __unused, size_t *nresult, struct iconv_hooks *hooks) argument
106 _citrus_NONE_stdenc_cstomb(struct _citrus_stdenc * __restrict ce __unused, char *s, size_t n, _csid_t csid, _index_t idx, void *ps __unused, size_t *nresult, struct iconv_hooks *hooks __unused) argument
[all...]

Completed in 218 milliseconds

1234567891011>>