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

1234567891011>>

/freebsd-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-release/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-9.3-release/sys/xen/interface/io/
H A Dconsole.h32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1))
/freebsd-9.3-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-9.3-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-9.3-release/contrib/libc++/src/
H A Dstring.cpp66 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) argument
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 ) argument
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 ) argument
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 ) argument
114 return as_integer_helper<unsigned long>( func, s, idx, bas
120 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
128 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
137 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
149 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
157 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
165 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
173 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
183 as_float_helper(const string& func, const S& str, size_t* idx, F f ) argument
255 stoi(const string& str, size_t* idx, int base) argument
261 stoi(const wstring& str, size_t* idx, int base) argument
267 stol(const string& str, size_t* idx, int base) argument
273 stol(const wstring& str, size_t* idx, int base) argument
279 stoul(const string& str, size_t* idx, int base) argument
285 stoul(const wstring& str, size_t* idx, int base) argument
291 stoll(const string& str, size_t* idx, int base) argument
297 stoll(const wstring& str, size_t* idx, int base) argument
303 stoull(const string& str, size_t* idx, int base) argument
309 stoull(const wstring& str, size_t* idx, int base) argument
315 stof(const string& str, size_t* idx) argument
321 stof(const wstring& str, size_t* idx) argument
327 stod(const string& str, size_t* idx) argument
333 stod(const wstring& str, size_t* idx) argument
339 stold(const string& str, size_t* idx) argument
345 stold(const wstring& str, size_t* idx) argument
[all...]
/freebsd-9.3-release/contrib/ntp/tests/libntp/
H A Dlfpfunc.c102 u_int32 cy, idx, tmp; local
103 for (cy = idx = 0; idx < 3; ++idx) {
104 tmp = a[idx]; cy = (a[idx] -= cy ) > tmp;
105 tmp = a[idx]; cy |= (a[idx] -= b[idx]) > tmp;
298 size_t idx local
314 size_t idx = 0; local
334 size_t idx = 0; local
350 size_t idx = 0; local
370 size_t idx = 0; local
392 size_t idx = 0; local
429 size_t idx = 0; local
[all...]
/freebsd-9.3-release/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-9.3-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-9.3-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-9.3-release/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...]
/freebsd-9.3-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! */
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dpadata.c39 krb5_find_padata(PA_DATA *val, unsigned len, int type, int *idx) argument
41 for(; *idx < len; (*idx)++)
42 if(val[*idx].padata_type == type)
43 return val + *idx;
/freebsd-9.3-release/contrib/binutils/gas/
H A Dsb.c210 /* Start at the index idx into the string in sb at ptr and skip
214 sb_skip_white (int idx, sb *ptr) argument
216 while (idx < ptr->len
217 && (ptr->ptr[idx] == ' '
218 || ptr->ptr[idx] == '\t'))
219 idx++;
220 return idx;
223 /* Start at the index idx into the sb at ptr. skips whitespace,
228 sb_skip_comma (int idx, sb *ptr) argument
230 while (idx < pt
[all...]
H A Dmacro.c240 get_token (int idx, sb *in, sb *name) argument
242 if (idx < in->len
243 && is_name_beginner (in->ptr[idx]))
245 sb_add_char (name, in->ptr[idx++]);
246 while (idx < in->len
247 && is_part_of_name (in->ptr[idx]))
249 sb_add_char (name, in->ptr[idx++]);
251 if (idx < in->len
252 && is_name_ender (in->ptr[idx]))
254 sb_add_char (name, in->ptr[idx
266 getstring(int idx, sb *in, sb *acc) argument
352 get_any_string(int idx, sb *in, sb *out) argument
484 do_formals(macro_entry *macro, int idx, sb *in) argument
614 define_macro(int idx, sb *in, sb *label, int (*get_line) (sb *), char *file, unsigned int line, const char **namep) argument
695 get_apost_token(int idx, sb *in, sb *name, int kind) argument
987 macro_expand(int idx, sb *in, macro_entry *m, sb *out) argument
1288 expand_irp(int irpc, int idx, sb *in, sb *out, int (*get_line) (sb *)) argument
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/sl/
H A Dss.c92 ss_error (int idx, long code, const char *fmt, ...) argument
96 com_err_va (subsystems[idx].name, code, fmt, ap);
101 ss_perror (int idx, long code, const char *msg) argument
103 ss_error(idx, code, "%s", msg);
107 ss_execute_command(int idx, char **argv) argument
113 ret = sl_command(subsystems[idx].table, argc, argv);
120 ss_execute_line (int idx, const char *line) argument
130 ret = sl_command(subsystems[idx].table, argc, argv);
138 ss_listen (int idx) argument
140 char *prompt = malloc(strlen(subsystems[idx]
[all...]
/freebsd-9.3-release/lib/libc/stdlib/
H A Dhcreate.c93 size_t idx; local
126 for (idx = 0; idx < htablesize; idx++)
127 SLIST_INIT(&htable[idx]);
136 size_t idx; local
141 for (idx = 0; idx < htablesize; idx++) {
142 while (!SLIST_EMPTY(&htable[idx])) {
[all...]
/freebsd-9.3-release/sys/powerpc/aim/
H A Dslb.c119 int idx; local
121 idx = esid2idx(esid, parent->ua_level);
122 KASSERT(parent->u.ua_child[idx] == NULL, ("Child already exists!"));
130 idx = esid2idx(esid, child->ua_level);
131 child->u.slb_entries[idx].slbv = slbv;
132 child->u.slb_entries[idx].slbe = (esid << SLBE_ESID_SHIFT) | SLBE_VALID;
133 setbit(&child->ua_alloc, idx);
135 retval = &child->u.slb_entries[idx];
144 idx = esid2idx(esid, parent->ua_level);
145 parent->u.ua_child[idx]
159 int idx, level; local
226 int idx; local
281 int idx; local
343 int idx; local
376 int idx; local
[all...]

Completed in 245 milliseconds

1234567891011>>