Searched refs:entry (Results 1 - 25 of 31) sorted by relevance

12

/ast/src/cmd/cs/vcs_src/
H A Dmnt_mtab.c41 register entry_t* entry; local
45 entry = (entry_t *)malloc(sizeof(entry_t));
46 entry->mpoint = strdup(mpoint);
47 entry->vcscmd = strdup(cmd);
50 (void)hashput(istate.mtab, entry->mpoint, (char *)entry);
58 register entry_t* entry; local
62 if ((entry = (entry_t *)hashrm(istate.mtab, mpoint)) != NULL)
64 free(entry->mpoint);
65 free(entry
[all...]
H A Dvcs_search.c106 register rdirent_t* entry; local
116 for (entry=list, i=0; entry; entry = entry->next, i++)
117 tbl[i] = entry;
/ast/src/lib/libtk/library/demos/
H A Dixset111 set bellpit [.bell.val.pit.entry get]
112 set belldur [.bell.val.dur.entry get]
120 set mouseacc [.mouse.hor.acc.entry get]
121 set mousethr [.mouse.hor.thr.entry get]
123 set screentim [.screen.val.le.tim.entry get]
124 set screencyc [.screen.val.le.cyc.entry get]
145 .bell.val.pit.entry delete 0 end
146 .bell.val.pit.entry insert 0 $bellpit
147 .bell.val.dur.entry delete 0 end
148 .bell.val.dur.entry inser
[all...]
H A Drolodex6 # This script was written as an entry in Tom LaStrange's rolodex
30 entry .frame.$i.entry -width 30 -relief sunken
31 pack .frame.$i.entry .frame.$i.label -side right
80 puts stderr [format "%-12s %s" [lindex $names $i] [.frame.$i.entry get]]
91 .frame.$i.entry delete 0 end
98 .frame.1.entry insert 0 "John Ousterhout"
99 .frame.2.entry insert 0 "CS Division, Department of EECS"
100 .frame.3.entry insert 0 "University of California"
101 .frame.4.entry inser
[all...]
H A Dtcolor30 # into the "Command" entry.
33 # name - Name for new color, typed into entry.
66 # Create the command entry window at the bottom of the window, along
72 entry .command -relief sunken -borderwidth 2 -textvariable command \
111 # Create the three scales for editing the color, and the entry for
129 entry .name -relief sunken -borderwidth 2 -textvariable name -width 10 \
206 # selected from the listbox or typed into the entry. It loads
350 # Command entry.
/ast/src/cmd/std/
H A Dpss-getprocs.c59 struct procsinfo entry[64];
90 if ((state->count = getprocs(state->entry, sizeof(state->entry[0]), NiL, 0, &pss->pid, 1)) != 1)
100 state->count = getprocs(state->entry, sizeof(state->entry[0]), NiL, 0, &pss->pid, elementsof(state->entry));
101 if (state->count < elementsof(state->entry))
109 if (!state->entry[0].pi_pid)
112 state->pr = state->entry + state->index++;
H A Ddf.c108 typedef struct /* df entry */
585 * list one entry
589 entry(Df_t* df, const char* format) function
872 entry(&df, format);
922 entry(&df, format);
960 entry(&df, format);
980 entry(&df, format);
/ast/src/lib/libast/preroot/
H A Dgetpreroot.c71 struct dirent* entry; local
125 while (entry = readdir(dirp))
126 if (D_FILENO(entry) == cur->st_ino)
128 namlen = D_NAMLEN(entry);
141 if (!(entry = readdir(dirp))) ERROR(ENOENT);
142 namlen = D_NAMLEN(entry);
144 memcpy(d, entry->d_name, namlen + 1);
150 memcpy(p, entry->d_name, namlen);
/ast/src/lib/libast/misc/
H A Dgetcwd.c163 struct dirent* entry;
271 while (entry = readdir(dirp))
272 if (D_FILENO(entry) == cur->st_ino)
274 namlen = D_NAMLEN(entry);
287 if (!(entry = readdir(dirp))) ERROR(ENOENT);
288 namlen = D_NAMLEN(entry);
295 memcpy(d, entry->d_name, namlen + 1);
312 memcpy(p, entry->d_name, namlen);
H A Dtranslate.c105 entry(Dt_t* dict, int set, int seq, const char* msg) function
207 if (((s = catgets(d, set = AST_MESSAGE_SET, n, state.null)) && *s || (s = catgets(d, set = 1, n, state.null)) && *s) && entry(cp->messages, set, n, s))
281 * it creates the state.catalogs dictionary. A dictionary entry
/ast/src/lib/libcs/
H A Dcspath.c49 register struct dirent* entry; local
62 while (entry = readdir(dirp))
65 if (n && D_FILENO(entry) != st->st_ino)
68 if (*entry->d_name == '.' || D_NAMLEN(entry) + (base - path) + 1 > size)
70 strcpy(base, entry->d_name);
/ast/src/cmd/ss/
H A Dss.c179 register struct dirent* entry; local
236 while (entry = readdir(dirp))
237 if (entry->d_name[0] != '.' && !streq(entry->d_name, "core"))
238 enter(entry->d_name, 1);
H A Dssd.c305 struct dirent* entry; local
411 while (entry = readdir(root))
413 if ((i = strlen(entry->d_name) - 2) > 0 && entry->d_name[i] == 'i' && entry->d_name[i + 1] == 'x' && !stat(entry->d_name, &st) && (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))
415 s = entry->d_name;
/ast/src/cmd/pax/
H A Dformat.c51 ap->entry = 0;
156 ap->entry = 1;
193 ap->entry = 0;
270 if (ap->delta->format->variant != DELTA_IGNORE && ap->entry > 1 && f->st->st_mtime)
501 if (op->entry == ap->entry)
522 if (op->entry == ap->entry)
547 if (op->entry == ap->entry)
[all...]
H A Doptions.h172 size_t entry; member in struct:Option_s
H A Dpax-flash.c88 ap->entry = 0;
H A Dpax-tar.c164 if (ap->entry > 1)
370 message((-5, "extend %s level=%d:%d:%d entry=%d:%d perm=(%s,%I*d) temp=(%s,%I*d)", op->name, op->level, lev, alt, op->entry, ap->entry, op->perm.string, sizeof(op->perm.number), op->perm.number, op->temp.string, sizeof(op->temp.number), op->temp.number));
550 if (ap->entry == 1)
564 if (!tar_checksum(ap, 1, num) && ap->entry == 1)
593 else if (ap->entry > 1)
684 op->entry = ap->entry;
781 ap->entry
[all...]
H A Dpax-tnef.c207 z = sfsprintf(state.tmp.buffer, state.tmp.buffersize, "%-.*s.%03u", e - s, s, ap->entry);
213 if (ap->io->eof && ap->entry == 1)
H A Dmisc.c423 sfsprintf(to + n - 1, 10, ".%04d", ap->entry);
564 n = gp->archive->entry;
654 sfsprintf(s = fmtbuf(32), 32, "%d-%d", gp->archive->volume, gp->archive->entry);
656 n = gp->archive->entry;
728 *pn = f->ap->entry;
833 * list entry information based on state.drop, state.list and state.verbose
/ast/src/cmd/paxlib/ico/
H A Dico.c127 if (ap->entry > ico->entries)
138 sfsprintf(ico->name, sizeof(ico->name), "ico-%d-c%dp%db%dw%dh%d.ico", ap->entry, p[2], (int)swapget(3, p+4, 2), (int)swapget(3, p+6, 2), width, height);
294 swapput(3, p+4, 2, ap->entry);
297 for (i = 0; i < ap->entry; i++)
/ast/src/lib/libtk/generic/
H A DtkSend.c54 * add or remove an entry), it is loaded into memory using a structure
347 * Given an open name registry, this procedure finds an entry
349 * about that entry.
354 * entry in the registry.
368 char *p, *entry;
373 entry = p;
378 if (sscanf(entry, "%x", (unsigned int *) &commWindow) == 1) {
396 * This procedure deletes the entry for a given name from
403 * If there used to be an entry named "name" in the registry,
416 char *p, *entry, *entryNam
366 char *p, *entry; local
413 char *p, *entry, *entryName; local
1153 char *p, *entry, *entryName; local
[all...]
H A DtkImgPhoto.c467 Tcl_HashEntry *entry;
502 entry = Tcl_CreateHashEntry(&imgPhotoHash, name, &isNew);
503 Tcl_SetHashValue(entry, masterPtr);
2409 Tcl_HashEntry *entry;
2426 entry = Tcl_CreateHashEntry(&imgPhotoColorHash, (char *) &id, &isNew);
2430 * Re-use the existing entry.
2433 colorPtr = (ColorTable *) Tcl_GetHashValue(entry);
2461 Tcl_SetHashValue(entry, colorPtr);
2825 Tcl_HashEntry *entry;
2837 entry
465 Tcl_HashEntry *entry; local
2393 Tcl_HashEntry *entry; local
2806 Tcl_HashEntry *entry; local
2855 Tcl_HashEntry *entry; local
3169 Tcl_HashEntry *entry; local
[all...]
/ast/src/lib/libdll/
H A Ddllscan.c32 Dllent_t entry; \
375 * return the next scan stream entry
522 scan->entry.name = b;
523 scan->entry.path = p;
525 return &scan->entry;
/ast/src/cmd/mailx/
H A Dhead.c131 content(Mime_t* mp, void* entry, char* data, size_t size, Mimedisc_t* disc) argument
133 register struct content* cp = (struct content*)entry;
/ast/src/lib/libtk/
H A DMakefile54 library/entry.tcl \
167 library/entry.tcl \
278 doc/entry.n \

Completed in 51 milliseconds

12