Searched refs:ndx (Results 1 - 25 of 104) sorted by relevance

12345

/macosx-10.10/BerkeleyDB-21/db/db_printlog/
H A Drectype.awk8 while ((ndx = index(RECTYPE, ",")) != 0) {
9 types[ntypes] = substr(RECTYPE, 1, ndx - 1);
10 RECTYPE = substr(RECTYPE, ndx + 1, length(RECTYPE) - ndx);
H A Dfileid.awk8 while ((ndx = index(FILEID, ",")) != 0) {
9 files[nfiles] = substr(FILEID, 1, ndx - 1);
10 FILEID = substr(FILEID, ndx + 1, length(FILEID) - ndx);
H A Dpgno.awk8 while ((ndx = index(PGNO, ",")) != 0) {
9 pgno[npages] = substr(PGNO, 1, ndx - 1);
10 PGNO = substr(PGNO, ndx + 1, length(PGNO) - ndx);
H A Dtxn.awk6 while ((ndx = index(TXN, ",")) != 0) {
7 txn[ntxns] = substr(TXN, 1, ndx - 1);
8 TXN = substr(TXN, ndx + 1, length(TXN) - ndx);
H A Ddbname.awk8 while ((ndx = index(DBNAME, ",")) != 0) {
9 filenames[nfiles] = substr(DBNAME, 1, ndx - 1) 0;
10 DBNAME = substr(DBNAME, ndx + 1, length(DBNAME) - ndx);
/macosx-10.10/xnu-2782.1.97/libsyscall/mach/mach/
H A Dport_obj.h61 int ndx; \
65 ndx = MACH_PORT_INDEX(pname); \
66 port_obj_table[ndx].pos_value = (value); \
67 port_obj_table[ndx].pos_type = (type); \
80 int ndx; \
84 ndx = MACH_PORT_INDEX(pname); \
85 assert(ndx > 0); \
86 assert(ndx < port_obj_table_size); \
87 port_obj_table[ndx].pos_value = (value); \
88 port_obj_table[ndx]
[all...]
/macosx-10.10/BerkeleyDB-21/db/test/
H A Dtest070.tcl78 for { set ndx 0 } { $ndx < $nconsumers } { incr ndx } {
79 set output $consumerlog$ndx
81 conscript.tcl $testdir/conscript.log.consumer$ndx \
86 for { set ndx 0 } { $ndx < $nproducers } { incr ndx } {
88 conscript.tcl $testdir/conscript.log.producer$ndx \
101 for { set ndx
[all...]
H A Dtest065.tcl86 for { set ndx 1 } { $ndx <= $nentries } { incr ndx } {
92 set ret [eval {$db put} $txn {$keypfx$ndx $data}]
96 error_check_good rowcount $rowcount $ndx
108 for { set ndx 1 } { $ndx <= $end } { incr ndx } {
121 error_check_good rowcount $rowcount [expr $nentries - $ndx]
123 set ret [eval {$db del} $txn {$keypfx$ndx}]
[all...]
H A Dconscript.tcl28 for { set ndx 0 } { $ndx < $nitems } { incr ndx } {
56 for { set ndx 0 } { $ndx < $nitems } { } {
63 incr ndx
H A Dtest008.tcl119 for {set ndx 0} {$ndx < $count} { incr ndx $i} {
125 set r [eval {$db del} $txn {$names($ndx)}]
126 error_check_good db_del:$names($ndx) $r 0
131 for {set ndx 0} {$ndx < $count} { incr ndx $i} {
137 put_file $db $txn $pflags $names($ndx)
H A Dtest067.tcl93 for { set ndx 0 } { $ndx < $ndups } { incr ndx } {
94 set data $alphabet$ndx
/macosx-10.10/dtrace-147/libelf/
H A Dgelf.c218 gelf_getphdr(Elf *elf, int ndx, GElf_Phdr *dst) argument
229 if (phnum <= ndx) {
241 Elf32_Phdr *p = &((Elf32_Phdr *)elf32_getphdr(elf))[ndx];
256 *dst = ((GElf_Phdr *)phdrs)[ndx];
265 gelf_update_phdr(Elf *elf, int ndx, GElf_Phdr *src) argument
276 if (phnum < ndx) {
283 Elf32_Phdr *dst = &((Elf32_Phdr *)elf32_getphdr(elf))[ndx];
303 dst[ndx] = *(GElf_Phdr *)src;
470 gelf_getsym(Elf_Data * data, int ndx, GElf_Sym * dst) argument
490 if ((entsize * ndx) >
512 gelf_update_sym(Elf_Data *dst, int ndx, GElf_Sym *src) argument
557 gelf_getsyminfo(Elf_Data *data, int ndx, GElf_Syminfo *dst) argument
593 gelf_update_syminfo(Elf_Data *dst, int ndx, GElf_Syminfo *src) argument
627 gelf_getdyn(Elf_Data *data, int ndx, GElf_Dyn *dst) argument
663 gelf_update_dyn(Elf_Data *dst, int ndx, GElf_Dyn *src) argument
702 gelf_getsymshndx(Elf_Data *symdata, Elf_Data *shndxdata, int ndx, GElf_Sym *symptr, Elf32_Word *xshndx) argument
723 gelf_update_symshndx(Elf_Data *symdata, Elf_Data *shndxdata, int ndx, GElf_Sym *symptr, Elf32_Word xshndx) argument
743 gelf_getmove(Elf_Data *src, int ndx, GElf_Move *dst) argument
783 gelf_update_move(Elf_Data *dest, int ndx, GElf_Move *src) argument
824 gelf_getrela(Elf_Data *src, int ndx, GElf_Rela *dst) argument
869 gelf_update_rela(Elf_Data *dst, int ndx, GElf_Rela *src) argument
917 gelf_getrel(Elf_Data *src, int ndx, GElf_Rel *dst) argument
960 gelf_update_rel(Elf_Data *dst, int ndx, GElf_Rel *src) argument
1019 gelf_getcap(Elf_Data *data, int ndx, GElf_Cap *dst) argument
1055 gelf_update_cap(Elf_Data *dst, int ndx, GElf_Cap *src) argument
[all...]
H A Dstrptr.c38 elf_strptr(Elf * elf, size_t ndx, size_t off) argument
49 if (elf->ed_kind == ELF_K_MACHO && (ndx == SHN_MACHO || ndx == SHN_MACHO_64))
52 if ((s = elf_getscn(elf, ndx)) == 0) {
/macosx-10.10/tcl-105/tcl_ext/mk4tcl/metakit/python/scxx/
H A DPWOMSequence.h22 PWOListMmbr(PyObject *obj, PWOList &parent, int ndx);
82 void setItem(int ndx, PWOBase &val) { argument
83 //int rslt = PySequence_SetItem(_obj, ndx, val); - assumes old item is valid
84 int rslt = PyList_SetItem(_obj, ndx, val);
89 void setItem(int ndx, PyObject *val) { argument
90 //int rslt = PySequence_SetItem(_obj, ndx, val); - assumes old item is valid
91 int rslt = PyList_SetItem(_obj, ndx, val);
121 PWOList &insert(int ndx, PWOBase &other) { argument
122 int rslt = PyList_Insert(_obj, ndx, other);
H A DPWOImp.cpp26 PWOListMmbr::PWOListMmbr(PyObject *obj, PWOList &parent, int ndx): PWOBase(obj), argument
27 _parent(parent), _ndx(ndx){}
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/uri/
H A Durn-scheme.tcl62 set ndx 0
65 set ndx [lindex $r 0]
66 scan [string index $url $ndx] %c chr
72 incr ndx -1
73 append result [string range $url 0 $ndx] $rep
74 incr ndx 2
75 set url [string range $url $ndx end]
/macosx-10.10/rsync-45/rsync/
H A Dwildtest.c67 int pos = 0, cnt = 0, ndx = 0, len = strlen(text); local
70 texts[ndx++] = "";
73 texts[ndx] = buf + ndx * (explode_mod + 1);
74 strlcpy(texts[ndx++], text + pos, explode_mod + 1);
79 texts[ndx++] = "";
82 texts[ndx++] = "";
83 texts[ndx] = NULL;
H A Dhlink.c149 static int maybe_hard_link(struct file_struct *file, int ndx, argument
158 itemize(file, ndx, statret, st,
173 return hard_link_one(file, ndx, fname, statret, st, toname,
178 int hard_link_check(struct file_struct *file, int ndx, char *fname, argument
188 if (ndx != head) {
235 maybe_hard_link(file, ndx, fname, statret, st,
239 SIVAL(numbuf, 0, ndx);
252 int hard_link_one(struct file_struct *file, int ndx, char *fname, argument
269 itemize(file, ndx, statret, st,
287 int statret, ndx local
[all...]
H A Dgenerator.c338 void itemize(struct file_struct *file, int ndx, int statret, STRUCT_STAT *st, argument
368 if (ndx >= 0)
369 write_int(sock_f_out, ndx);
375 } else if (ndx >= 0) {
595 int ndx; local
597 while ((ndx = get_hlink_num()) != -1) {
598 if (ndx < 0 || ndx >= the_file_list->count)
601 file = the_file_list->files[ndx];
605 hard_link_cluster(file, ndx, itemizin
612 try_dests_reg(struct file_struct *file, char *fname, int ndx, char *cmpbuf, STRUCT_STAT *stp, int itemizing, int maybe_ATTRS_REPORT, enum logcode code) argument
710 try_dests_non(struct file_struct *file, char *fname, int ndx, int itemizing, int maybe_ATTRS_REPORT, enum logcode code) argument
791 recv_generator(char *fname, struct file_struct *file, int ndx, int itemizing, int maybe_ATTRS_REPORT, enum logcode code, int f_out) argument
[all...]
H A Dsender.c130 void successful_send(int ndx) argument
136 if (ndx < 0 || ndx >= the_file_list->count)
139 file = the_file_list->files[ndx];
161 static void write_ndx_and_attrs(int f_out, int ndx, int iflags, argument
164 write_int(f_out, ndx);
175 int read_item_attrs(int f_in, int f_out, int ndx, uchar *type_ptr, argument
184 if (ndx == the_file_list->count && iflags == ITEM_IS_NEW)
186 else if (ndx < 0 || ndx >
[all...]
/macosx-10.10/tcl-105/tcl_ext/mk4tcl/metakit/python/
H A DPyRowRef.h35 int ndx = cntr.FindPropIndexByName(nm); local
36 if (ndx > - 1) {
37 return new PyProperty(cntr.NthProperty(ndx));
/macosx-10.10/BerkeleyDB-21/db/txn/
H A Dtxn_stat.c74 u_int32_t maxtxn, ndx; local
103 for (ndx = 0,
105 td != NULL && ndx < maxtxn;
106 td = SH_TAILQ_NEXT(td, links, __txn_detail), ++ndx) {
107 stats->st_txnarray[ndx].txnid = td->txnid;
109 stats->st_txnarray[ndx].parentid = TXN_INVALID;
111 stats->st_txnarray[ndx].parentid =
114 stats->st_txnarray[ndx].pid = td->pid;
115 stats->st_txnarray[ndx].tid = td->tid;
116 stats->st_txnarray[ndx]
[all...]
/macosx-10.10/BerkeleyDB-21/db/dbinc/
H A Dlock.h154 #define LOCK_PART(reg, ndx) (ndx % (reg)->part_t_size)
267 #define OBJECT_LOCK(lt, reg, obj, ndx) do { \
268 ndx = __lock_ohash(obj) % (reg)->object_t_size; \
269 MUTEX_LOCK_PARTITION(lt, reg, LOCK_PART(reg, ndx)); \
272 #define OBJECT_LOCK_NDX(lt, reg, ndx) \
273 MUTEX_LOCK_PARTITION(lt, reg, LOCK_PART(reg, ndx));
275 #define OBJECT_UNLOCK(lt, reg, ndx) \
276 MUTEX_UNLOCK_PARTITION(lt, reg, LOCK_PART(reg, ndx));
298 #define LOCKER_HASH(lt, reg, locker, ndx) \
[all...]
/macosx-10.10/BerkeleyDB-21/db/dbreg/
H A Ddbreg_util.c28 __dbreg_add_dbentry(env, dblp, dbp, ndx)
32 int32_t ndx;
42 * Check if we need to grow the table. Note, ndx is 0-based (the
46 if (dblp->dbentry_cnt <= ndx) {
48 (size_t)(ndx + DB_GROW_SIZE) * sizeof(DB_ENTRY),
53 for (i = dblp->dbentry_cnt; i < ndx + DB_GROW_SIZE; i++) {
60 DB_ASSERT(env, dblp->dbentry[ndx].dbp == NULL);
61 dblp->dbentry[ndx].deleted = dbp == NULL;
62 dblp->dbentry[ndx].dbp = dbp;
75 __dbreg_rem_dbentry(dblp, ndx)
[all...]
/macosx-10.10/Libc-1044.1.2/db/hash/FreeBSD/
H A Dhash_page.c125 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) argument
133 if (bp[ndx + 1] < REAL_KEY)
135 if (ndx != 1)
136 newoff = bp[ndx - 1];
139 pairlen = newoff - bp[ndx + 1];
141 if (ndx != (n - 1)) {
146 memmove(dst, src, bp[ndx + 1] - OFFSET(bp));
149 for (i = ndx + 2; i <= n; i += 2) {
158 if (ndx == hashp->cndx) {
188 int n, ndx, retva local
469 u_int16_t *sp, ndx, ovfl_num; local
626 __ibitmap(HTAB *hashp, int pnum, int nbits, int ndx) argument
819 u_int16_t ndx; local
915 fetch_bitmap(HTAB *hashp, int ndx) argument
[all...]

Completed in 127 milliseconds

12345