Searched defs:expect (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv3451.c19 static int expect(char *);
47 if (!expect("READY")) {
59 if (!expect("NUMBER?")) {
69 if (!expect(phone)) {
84 if (!expect("DIALING:")) {
93 ok = expect("ON LINE");
129 expect(char *cp) function
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_scan.c71 scan(tok_kind expect, token *tokp) argument
74 if (tokp->kind != expect)
75 expected1(expect);
127 * Peek at the next token and scan it if it matches what you expect
130 peekscan(tok_kind expect, token *tokp) argument
133 if (tokp->kind == expect) {
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dudfslib.c174 verifytag(struct tag *tp, uint32_t loc, struct tag *otp, int expect) argument
187 if (id > 9 && id < 256 || id > 266 || (expect > 0 && id != expect))
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dcprboot.c159 usage(char *expect, char *got) argument
163 prom_printf("\nbad OBP boot args: expect %s, got %s\n"
165 expect, got, prog, rsvp);
186 /* expect "-F" */
192 /* expect "cprboot*" */
434 "expect %ld, got %ld\n", str, len, nread);
H A Dpages.c147 uint_t sum, expect; local
153 expect = descp->cpd_csum;
156 expect = descp->cpd_usum;
160 if (sum != expect) {
162 "expect 0x%x, got 0x%x\n", (flag == CPD_USUM) ? "un" : "",
163 expect, sum);
292 prom_printf("\nbad page magic 0x%x, expect 0x%x\n",
332 prom_printf("\n%s: page count mismatch, expect %d, got %d\n",
354 prom_printf("\nbad term magic 0x%x, expect 0x%x\n",
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dzfs_lz4.c106 #define expect(expr, value) (__builtin_expect((expr), (value))) macro
108 #define expect(expr, value) (expr) macro
111 #define likely(expr) expect((expr) != 0, 1)
112 #define unlikely(expr) expect((expr) != 0, 0)
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dlz4.c113 #define expect(expr, value) (__builtin_expect((expr), (value))) macro
115 #define expect(expr, value) (expr) macro
118 #define likely(expr) expect((expr) != 0, 1)
119 #define unlikely(expr) expect((expr) != 0, 0)
/illumos-gate/usr/src/lib/efcode/engine/
H A Denv.c173 expect(fcode_env_t *env) function
178 CHECK_DEPTH(env, 2, "expect");
840 ANSI(0x08a, 0, "expect", expect);
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dconn.c47 static int expect(char *, int);
389 ok = expect(want, fn);
412 * expect(str, fn) look for expected string w/ possible special chars
422 expect(char *str, int fn) function
479 CDEBUG(4, "expect: (%s", "");
528 * alarmtr() - catch alarm routine for "expect".
/illumos-gate/usr/src/cmd/bnu/
H A Dconn.c61 EXTERN int chat(), rddev(), expect(), wrstr(), wrchr();
590 ok = expect(want, fn);
613 * expect(str, fn) look for expected string w/ possible special chars
622 expect(str, fn) function
683 CDEBUG(4, "expect: (%s", "");
729 * alarmtr() - catch alarm routine for "expect".
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp.h328 http_status_t expect; /* Expect: header */ member in struct:__anon4296
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c11 * 1 - invalid argument, expect string too large, etc.
55 * expect string must be quoted.
272 * [...[[expect[-say[-expect...]] say expect[-say[-expect]] ...]]]
899 * Process the expect string
905 char *expect; local
949 * Fetch the expect and reply string.
952 expect
[all...]
/illumos-gate/usr/src/uts/common/io/kb8042/
H A Dkb8042.c297 kb8042_send_and_expect(struct kb8042 *kb8042, uint8_t send, uint8_t expect, argument
311 rval = ((datab == expect) ? B_TRUE : B_FALSE);
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhtable.c1093 x86pte_t expect = MAKEPTP(old->ht_pfn, old->ht_level); local
1100 found = x86pte_cas(higher, entry, expect, 0);
1106 if (found != expect && found != 0)
1108 if (found != expect)
1111 found, expect);
2227 * matches the value determined by expect.
2237 x86pte_t expect,
2264 if (expect != 0 && (oldpte & PT_PADDR) != (expect & PT_PADDR))
2282 if (expect !
2234 x86pte_inval( htable_t *ht, uint_t entry, x86pte_t expect, x86pte_t *pte_ptr, boolean_t tlb) argument
2301 x86pte_update( htable_t *ht, uint_t entry, x86pte_t expect, x86pte_t new) argument
[all...]
/illumos-gate/usr/src/common/ficl/softcore/
H A Dlz4.c262 #define expect(expr, value) (__builtin_expect((expr), (value))) macro
264 #define expect(expr, value) (expr) macro
267 #define likely(expr) expect((expr) != 0, 1)
268 #define unlikely(expr) expect((expr) != 0, 0)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dlz4.c279 #define expect(expr, value) (__builtin_expect((expr), (value))) macro
281 #define expect(expr, value) (expr) macro
284 #define likely(expr) expect((expr) != 0, 1)
285 #define unlikely(expr) expect((expr) != 0, 0)
/illumos-gate/usr/src/lib/efcode/include/fcode/
H A Dproto.h155 FNPROTO(expect); variable
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c172 static int warn_mismatch(char *desc, char *src, int expect, int assigned);
451 warn_mismatch(char *desc, char *src, int expect, int assigned) argument
453 if (expect == assigned)
467 desc, assigned, src, expect);
473 desc, assigned, src, expect);
667 * Normally we expect to find one partition marked as a DOS drive.
669 * If the machine has any logical drives then we also expect
1932 * For all non-floppy cases we expect to find a 16-bit FAT
2155 * we'd expect to find boot sectors, etc., based on any ':partition'

Completed in 1689 milliseconds