Searched refs:ch (Results 1 - 25 of 29) sorted by relevance

12

/darwin-on-arm/xnu/bsd/libkern/
H A Drindex.c69 strrchr(p, ch)
71 rindex(p, ch)
74 register int ch;
79 if (*p == ch)
/darwin-on-arm/xnu/SETUP/config/
H A Dmain.c232 register int ch; local
235 while ((ch = getc(fp)) != EOF)
236 if (ch != ' ' && ch != '\t')
238 if (ch == EOF)
240 if (ch == '\n')
242 if (ch == '|')
245 *cp++ = ch;
246 while ((ch = getc(fp)) != EOF) {
247 if (isspace(ch))
268 register int ch; local
[all...]
/darwin-on-arm/xnu/osfmk/console/arm/
H A Dserial_console.c151 console_ring_put(char ch) argument
155 *console_ring.write_ptr++ = ch;
168 char ch = 0; local
172 ch = *console_ring.read_ptr++;
177 return (int) ch;
181 cpu_buffer_put(console_buf_t *cbp, char ch) argument
183 if (ch != '\0' && cbp->buf_ptr < cbp->buf_end)
184 *(cbp->buf_ptr++) = ch;
237 char ch; local
241 ch
[all...]
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_utfconv.c441 u_int32_t ch; local
451 ch = byte; ch <<= 6; /* 1st byte */
455 ch += byte;
456 ch -= 0x00003080UL;
457 if (ch < 0x0080)
459 ucs_ch = ch;
462 ch = byte; ch <<= 6; /* 1st byte */
466 ch
631 u_int32_t ch; local
[all...]
H A Dvfs_lookup.c1667 char ch; local
1681 ch = *str;
1688 if (ch == '@' && str[1] == '\0') {
/darwin-on-arm/xnu/osfmk/console/i386/
H A Dserial_console.c152 console_ring_put(char ch) argument
156 *console_ring.write_ptr++ = ch;
169 char ch = 0; local
173 ch = *console_ring.read_ptr++;
178 return (int) ch;
182 cpu_buffer_put(console_buf_t *cbp, char ch) argument
184 if (ch != '\0' && cbp->buf_ptr < cbp->buf_end)
185 *(cbp->buf_ptr++) = ch;
254 char ch; local
258 ch
[all...]
/darwin-on-arm/xnu/osfmk/device/
H A Dsubrs.c219 tolower(unsigned char ch) argument
221 if (ch >= 'A' && ch <= 'Z')
222 ch = 'a' + (ch - 'A');
224 return ch;
/darwin-on-arm/xnu/bsd/kern/
H A Dsubr_log.c411 char *p, ch; local
452 ch = *p++;
453 new_logdata[i] = ch;
525 char *localbuff, *p, *copystart, ch; local
549 ch = *p;
552 if (ch == '>')
556 if (newl && ch == '<') {
560 if (ch == '\0')
562 newl = (ch == '\n');
563 localbuff[i++] = ch;
[all...]
H A Dsubr_prf.c144 snprintf_func(int ch, void *arg);
512 snprintf_func(int ch, void *arg) argument
517 *info->str++ = ch;
H A Dsubr_sbuf.c485 isspace(char ch) argument
487 return (ch == ' ' || ch == '\n' || ch == '\t');
H A Dkern_exec.c211 #define IS_WHITESPACE(ch) ((ch == ' ') || (ch == '\t'))
212 #define IS_EOL(ch) ((ch == '#') || (ch == '\n'))
2751 char *argstart, *ch; local
2756 ch = argstart;
2757 while (*ch && !IS_WHITESPACE(*ch)) {
[all...]
/darwin-on-arm/xnu/osfmk/console/
H A Dvideo_console.c138 void (*paint_char)(unsigned int xx, unsigned int yy, unsigned char ch,
272 static void gc_paint_char(unsigned int xx, unsigned int yy, unsigned char ch,
274 static void gc_putchar(char ch);
275 static void gc_putc_askcmd(unsigned char ch);
276 static void gc_putc_charsetcmd(int charset, unsigned char ch);
277 static void gc_putc_charsizecmd(unsigned char ch);
278 static void gc_putc_esc(unsigned char ch);
279 static void gc_putc_getpars(unsigned char ch);
280 static void gc_putc_gotpars(unsigned char ch);
281 static void gc_putc_normal(unsigned char ch);
526 gc_paint_char(unsigned int xx, unsigned int yy, unsigned char ch, int attrs) argument
541 gc_putchar(char ch) argument
592 gc_putc_askcmd(unsigned char ch) argument
614 gc_putc_charsetcmd(int charset, unsigned char ch) argument
633 gc_putc_charsizecmd(unsigned char ch) argument
656 gc_putc_esc(unsigned char ch) argument
730 gc_putc_getpars(unsigned char ch) argument
755 gc_putc_gotpars(unsigned char ch) argument
889 gc_putc_normal(unsigned char ch) argument
963 gc_putc_square(unsigned char ch) argument
1426 vc_render_char(unsigned char ch, unsigned char *renderptr, short newdepth) argument
1462 vc_paint_char_8(unsigned int xx, unsigned int yy, unsigned char ch, int attrs, __unused unsigned char ch_previous, __unused int attrs_previous) argument
1518 vc_paint_char_16(unsigned int xx, unsigned int yy, unsigned char ch, int attrs, __unused unsigned char ch_previous, __unused int attrs_previous) argument
1571 vc_paint_char_32(unsigned int xx, unsigned int yy, unsigned char ch, int attrs, unsigned char ch_previous, int attrs_previous) argument
1634 vc_paint_char(unsigned int xx, unsigned int yy, unsigned char ch, int attrs, unsigned char ch_previous, int attrs_previous) argument
[all...]
H A Dserial_general.c42 extern void cons_cinput(char ch); /* The BSD routine that gets characters */
/darwin-on-arm/xnu/osfmk/default_pager/
H A Ddefault_pager.c226 char ch; local
228 while ((ch = *arg++) && ch >= '0' && ch <= '9') {
230 rval += ch - '0';
/darwin-on-arm/xnu/osfmk/i386/
H A DDiagnostics.c329 uint32_t cl = 0, ch = 0, mpl = 0, mph = 0, apl = 0, aph = 0; local
341 rdmsr_carefully(MSR_IA32_CORE_C3_RESIDENCY, &cl, &ch);
342 cdp->cpu_c3res = ((uint64_t)ch << 32) | cl;
344 rdmsr_carefully(MSR_IA32_CORE_C6_RESIDENCY, &cl, &ch);
345 cdp->cpu_c6res = ((uint64_t)ch << 32) | cl;
347 rdmsr_carefully(MSR_IA32_CORE_C7_RESIDENCY, &cl, &ch);
348 cdp->cpu_c7res = ((uint64_t)ch << 32) | cl;
/darwin-on-arm/xnu/bsd/dev/arm/
H A Dkm.c57 void cons_cinput(char ch);
398 void cons_cinput(char ch) argument
403 (*linesw[tp->t_line].l_rint) (ch, tp);
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dkm.c57 void cons_cinput(char ch);
395 cons_cinput(char ch) argument
400 (*linesw[tp->t_line].l_rint) (ch, tp);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOStringFuncs.c89 char *strchr(const char *str, int ch);
476 char *strchr(const char *str, int ch) argument
479 if (*str == ch)
H A DIOHibernateRestoreKernel.c826 int ch, n; local
849 while ((ch = (u_char)*fmt++) != '%' || stop) {
850 if (ch == '\0')
852 PCHAR(ch);
858 reswitch: switch (ch = (u_char)*fmt++) {
872 PCHAR(ch);
893 n = n * 10 + ch - '0';
894 ch = *fmt;
895 if (ch < '0' || ch > '
[all...]
H A DIOLib.cpp772 static void _iolog_consputc(int ch, void *arg __unused) argument
774 cons_putc_locked(ch);
777 static void _iolog_logputc(int ch, void *arg __unused) argument
779 log_putc_locked(ch);
/darwin-on-arm/xnu/tools/tests/jitter/
H A Dtimer_jitter.c223 char ch; local
241 while ((ch = getopt(argc, argv, "m:n:hs:w")) != -1 && ch != '?') {
242 switch (ch) {
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_encodinghint.c748 u_int16_t ch; local
756 ch = *src++;
757 if (ch < 0x0080) /* ASCII */
760 if (ch >= 0x4E00 && ch <= 0x9FAF) { /* CJK */
761 bits = cjk_bitmap[(ch - 0x4E00) >> 1];
762 if (ch & 1)
775 if (ch >= 0x3041 && ch <= 0x30FE) { /* Hiragana & Katakana */
784 if ((ch >
[all...]
/darwin-on-arm/xnu/bsd/netat/
H A Dddp_nbp.c641 register u_char ch; local
650 ch = str[j];
651 if (ch >= 'a' && ch <= 'z')
652 str[j] = ch + 'A' - 'a';
653 else if (ch & 0x80)
655 if (ch == lower_case[i])
/darwin-on-arm/xnu/bsd/net/
H A Dpf_ruleset.c98 _strrchr(const char *c, int ch) argument
103 if (*p == ch)
/darwin-on-arm/xnu/osfmk/kern/
H A Dprintf.c643 dummy_putc(int ch, void *arg) argument
647 real_putc(ch);

Completed in 203 milliseconds

12