Searched defs:esc (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/libast/common/misc/
H A Doptesc.c28 * esc == '?' or ':' also escaped
35 optesc(Sfio_t* sp, register const char* s, int esc) argument
49 if (esc != '?' && esc != ':')
50 esc = 0;
87 if (c == ']' || c == esc)
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_string.c42 int esc = 0; local
46 if (esc) {
118 esc = 0;
121 if ((esc = c == '\\') == 0)
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dfriendly.c91 int esc = 0, found = 0; local
96 esc = 1;
99 if ( !esc )
103 esc = 0;
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_string.c136 int esc = 0; local
140 if (esc) {
212 esc = 0;
215 if ((esc = c == '\\') == 0)
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dparse.c92 _escape(char *s, char *esc) argument
99 if (s == NULL || esc == NULL)
104 if (strchr(esc, s[i]))
109 if (strchr(esc, s[i])) {
120 _unescape(char *s, char *esc) argument
126 if (s == NULL || esc == NULL)
133 if (s[i] == '\\' && strchr(esc, s[i + 1]))
/illumos-gate/usr/src/cmd/mailwrapper/
H A Dfparseln.c42 * that starts in *sp, is escaped by the escape character esc.
45 isescaped(const char *sp, const char *p, int esc) argument
51 if (esc == '\0')
55 for (ne = 0, cp = p; --cp >= sp && *cp == esc; ne++)
78 char esc, con, nl, com; local
87 esc = str[0];
107 if (*cp == com && !isescaped(ptr, cp, esc)) {
124 if (*cp == con && !isescaped(ptr, cp, esc)) {
144 if ((flags & FPARSELN_UNESCALL) != 0 && esc && buf != NULL &&
145 strchr(buf, esc) !
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_string.c123 int esc = 0; local
127 if (esc) {
199 esc = 0;
202 if ((esc = c == '\\') == 0)
/illumos-gate/usr/src/cmd/picl/plugins/common/piclevent/
H A Dpicl_slm.c299 char *esc; local
310 esc = sysevent_get_subclass_name(ev);
314 ev, (ec) ? ec : "NULL", (esc) ? esc : "NULL");
315 if ((ec == NULL) || (esc == NULL)) {
318 if (strcmp(esc, ESC_DEVFS_DEVI_ADD) == 0)
320 else if (strcmp(esc, ESC_DEVFS_DEVI_REMOVE) == 0)
325 if (strcmp(esc, ESC_DR_AP_STATE_CHANGE) == 0)
327 else if (strcmp(esc, ESC_DR_REQ) == 0)
356 if (strcmp(esc, ESC_DR_RE
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dpppdump.c224 int esc; member in struct:pkt
253 spkt.esc = rpkt.esc = 0;
281 if (pkt->esc) {
288 pkt->esc = 0;
378 if (!pkt->esc) {
379 pkt->esc = 1;
384 if (pkt->esc) {
386 pkt->esc = 0;
/illumos-gate/usr/src/cmd/svc/startd/
H A Dexpand.c584 char *esc; local
587 esc = strchr(sp, ESCAPE);
588 if (esc == NULL) {
595 len = esc - sp;
/illumos-gate/usr/src/cmd/listen/
H A Dnstoa.c510 int esc = 0; /* Keep lookout for \\$ */ local
513 if (!esc && (*s == '\\' && *(s+1) == '$')) {
530 fprintf(stderr, "Overflow on shell esc expansion\n");
534 esc = ((scanbuf[sbp++] = *s++) == '\\');
559 int esc = 0; /* escaped escape shell */ local
574 if (!esc && *s == '\\' && *(s+1) == ec) {
579 esc = (*cmdp++ = *s++) == '\\';
/illumos-gate/usr/src/cmd/mandoc/
H A Dhtml.c338 enum mandoc_esc esc; local
362 esc = mandoc_escape(&p, &seq, &len);
363 if (ESCAPE_ERROR == esc)
366 switch (esc) {
374 print_metaf(h, esc);
388 switch (esc) {
H A Dterm.c404 enum mandoc_esc esc; local
442 esc = mandoc_escape(&word, &seq, &sz);
443 if (ESCAPE_ERROR == esc)
446 switch (esc) {
665 enum mandoc_esc esc; local
685 esc = mandoc_escape(&cp, &seq, &ssz);
686 if (ESCAPE_ERROR == esc)
691 switch (esc) {
H A Droff.c1281 enum mandoc_esc esc; /* type of the escape sequence */ local
1325 esc = mandoc_escape(&cp, &stnam, &inaml);
1326 if (esc == ESCAPE_ERROR ||
1327 (esc == ESCAPE_SPECIAL &&
1471 enum mandoc_esc esc; local
1501 esc = mandoc_escape((const char **)&p, NULL, NULL);
1502 if (esc == ESCAPE_ERROR)
2946 enum mandoc_esc esc; local
2960 esc = mandoc_escape(&p, NULL, NULL);
2961 if (esc
3348 enum mandoc_esc esc; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defi_console.c48 static int esc; variable
101 esc = 0;
213 if (esc) {
215 if (esc != '\033')
216 efi_cons_rawputchar(esc);
336 switch (esc) {
340 esc = c;
350 esc = c;
522 return (0x1b); /* esc */
526 return (0x1b); /* esc */
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dsys_bsd.c289 cc_t esc; local
503 esc = (rlogin != _POSIX_VDISABLE) ? rlogin : escape;
504 if ((tmp_tc.c_cc[VEOL] != esc)
506 (tmp_tc.c_cc[VEOL2] != esc)
509 tmp_tc.c_cc[VEOL] = esc;
511 tmp_tc.c_cc[VEOL2] = esc;
515 tc.t_brkc = esc;
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_string.c292 int esc = 0; local
295 if (esc) {
351 esc = 0;
354 if ((esc = c == '\\') == 0)
H A Dmdb_termio.c401 mdb_bool_t esc = FALSE, pad = FALSE; local
442 esc = pad = FALSE;
472 if (c == KEY_ESC && esc == FALSE) {
473 esc = TRUE;
477 if (esc) {
478 esc = FALSE;
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dvidconsole.c71 static int esc; variable
375 esc = 0;
386 if (esc) {
388 if (esc != '\033')
389 vidc_rawputchar(esc);
421 switch (esc) {
425 esc = c;
436 esc = c;
610 return (0x1b); /* esc */
614 return (0x1b); /* esc */
[all...]
/illumos-gate/usr/src/cmd/troff/
H A Dnii.c138 int esc; variable
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregcomp.c104 short esc; member in struct:Token_s
916 env->token.att = env->token.esc = 0;
969 env->token.esc = env->token.len;
978 env->token.esc = env->token.len;
2026 int esc; local
2248 switch (i = chr(env, &esc))
2253 env->cursor -= esc + 1;
2260 if ((i = chr(env, &esc)) < 0)
2273 switch (i = chr(env, &esc))
2286 if ((i = chr(env, &esc)) <
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.c894 mDNSexport char *ConvertDomainLabelToCString_withescape(const domainlabel *const label, char *ptr, char esc) argument
903 if (esc)
905 if (c == '.' || c == esc) // If character is a dot or the escape character
906 *ptr++ = esc; // Output escape character
909 *ptr++ = esc;
922 mDNSexport char *ConvertDomainNameToCString_withescape(const domainname *const name, char *ptr, char esc) argument
932 ptr = ConvertDomainLabelToCString_withescape((const domainlabel *)src, ptr, esc);
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c1512 static void sd_log_dev_status_event(struct sd_lun *un, char *esc, int km_flag);
19679 sd_log_dev_status_event(struct sd_lun *un, char *esc, int km_flag) argument
19720 esc, attr_list, NULL, km_flag);

Completed in 175 milliseconds