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

1234567891011>>

/freebsd-10.0-release/sys/boot/efi/libefi/
H A Dhandles.c46 int idx, unit; local
48 idx = nentries;
52 for (unit = 0; idx < nentries; idx++, unit++) {
53 entry[idx].handle = handles[unit];
54 entry[idx].dev = sw;
55 entry[idx].unit = unit;
63 int idx; local
65 for (idx = 0; idx < nentrie
78 int idx; local
[all...]
/freebsd-10.0-release/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.0-release/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
107 int idx; local
141 int idx; local
164 int idx = drm_buffer_index(buf); local
[all...]
/freebsd-10.0-release/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
195 u_int idx; local
[all...]
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/sys/xen/interface/io/
H A Dconsole.h32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1))
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/contrib/libc++/src/
H A Dstring.cpp62 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) argument
74 if (idx)
75 *idx = static_cast<size_t>(ptr - p);
82 as_integer(const string& func, const S& s, size_t* idx, int base);
88 as_integer(const string& func, const string& s, size_t* idx, int base ) argument
91 long r = as_integer_helper<long>( func, s, idx, base, strtol );
100 as_integer(const string& func, const string& s, size_t* idx, int base ) argument
102 return as_integer_helper<long>( func, s, idx, base, strtol );
108 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
110 return as_integer_helper<unsigned long>( func, s, idx, bas
116 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
124 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
133 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
145 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
153 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
161 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
169 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
179 as_float_helper(const string& func, const S& str, size_t* idx, F f ) argument
251 stoi(const string& str, size_t* idx, int base) argument
257 stoi(const wstring& str, size_t* idx, int base) argument
263 stol(const string& str, size_t* idx, int base) argument
269 stol(const wstring& str, size_t* idx, int base) argument
275 stoul(const string& str, size_t* idx, int base) argument
281 stoul(const wstring& str, size_t* idx, int base) argument
287 stoll(const string& str, size_t* idx, int base) argument
293 stoll(const wstring& str, size_t* idx, int base) argument
299 stoull(const string& str, size_t* idx, int base) argument
305 stoull(const wstring& str, size_t* idx, int base) argument
311 stof(const string& str, size_t* idx) argument
317 stof(const wstring& str, size_t* idx) argument
323 stod(const string& str, size_t* idx) argument
329 stod(const wstring& str, size_t* idx) argument
335 stold(const string& str, size_t* idx) argument
341 stold(const wstring& str, size_t* idx) argument
[all...]
/freebsd-10.0-release/contrib/llvm/lib/DebugInfo/
H A DDWARFAbbreviationDeclaration.h35 uint16_t getAttrByIndex(uint32_t idx) const {
36 return Attribute.size() > idx ? Attribute[idx].getAttribute() : 0;
38 uint16_t getFormByIndex(uint32_t idx) const {
39 return Attribute.size() > idx ? Attribute[idx].getForm() : 0;
/freebsd-10.0-release/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.0-release/usr.sbin/bhyve/
H A Delcr.c50 int idx; local
55 idx = port - ELCR_PORT;
58 *eax = elcr[idx];
60 elcr[idx] = *eax;
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/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.0-release/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.0-release/lib/libc/iconv/
H A Dcitrus_none.c86 _csid_t *csid, _index_t *idx, const 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, const 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...]
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_fs_base/bdb/
H A Duuids-table.h48 /* Get the UUID at index @a idx in the uuids table within @a fs,
52 int idx,
57 /* Set the UUID at index @a idx in the uuids table within @a fs
61 int idx,
/freebsd-10.0-release/usr.sbin/pkg_install/lib/
H A Dstr.c83 char *idx; local
86 idx = strrchr(str, '.');
87 if (idx && !strcmp(idx + 1, suff))
96 char *idx; local
98 idx = strrchr(str, '.');
99 if (idx)
100 *idx = '\0'; /* Yow! Don't try this on a const! */

Completed in 325 milliseconds

1234567891011>>