Searched refs:chr (Results 1 - 25 of 61) sorted by relevance

123

/external/jsilver/src/com/google/streamhtmlparser/util/
H A DHtmlUtils.java246 * @param chr the {@code char} to check
251 public static boolean isHtmlSpace(char chr) { argument
252 return HTML_WHITESPACE.contains(chr);
274 * @param chr the {@code char} to check
278 public static boolean isJavascriptWhitespace(char chr) { argument
279 return JAVASCRIPT_WHITESPACE.contains(chr);
298 * @param chr {@code char} to check
299 * @return {@code true} if the {@code chr} is a Javascript whitespace
302 public static boolean isJavascriptIdentifier(char chr) { argument
303 return ((chr >
333 encodeCharForAscii(char chr) argument
[all...]
/external/qemu/hw/
H A Dmsmouse.c36 CharDriverState *chr = (CharDriverState *)opaque; local
53 qemu_chr_read(chr, bytes, 4);
62 static void msmouse_chr_close (struct CharDriverState *chr) argument
64 qemu_free (chr);
69 CharDriverState *chr; local
71 chr = qemu_mallocz(sizeof(CharDriverState));
72 chr->chr_write = msmouse_chr_write;
73 chr->chr_close = msmouse_chr_close;
75 qemu_add_mouse_event_handler(msmouse_event, chr, 0, "QEMU Microsoft Mouse");
77 return chr;
[all...]
H A Dbt-hci-csr.c34 CharDriverState chr; member in struct:csrhci_s
79 if (s->chr.chr_can_read && s->chr.chr_can_read(s->chr.handler_opaque) &&
80 s->chr.chr_read) {
81 s->chr.chr_read(s->chr.handler_opaque,
298 static int csrhci_write(struct CharDriverState *chr, argument
301 struct csrhci_s *s = (struct csrhci_s *) chr->opaque;
357 static int csrhci_ioctl(struct CharDriverState *chr, in argument
428 csrhci_pins_get(CharDriverState *chr) argument
[all...]
H A Dpc.h11 CharDriverState *chr);
14 CharDriverState *chr, int ioregister);
25 ParallelState *parallel_init(int base, qemu_irq irq, CharDriverState *chr);
26 ParallelState *parallel_mm_init(target_phys_addr_t base, int it_shift, qemu_irq irq, CharDriverState *chr);
H A Ddevices.h68 CharDriverState *chr);
/external/qemu/
H A Dqemu-char.c163 CharDriverState *chr; local
167 QTAILQ_FOREACH(chr, &chardevs, next) {
168 qemu_chr_reset(chr);
230 /* chr driver being released. */
247 static int null_chr_write(CharDriverState *chr, const uint8_t *buf, int len) argument
254 CharDriverState *chr; local
256 chr = qemu_mallocz(sizeof(CharDriverState));
257 chr->chr_write = null_chr_write;
258 return chr;
287 static int mux_chr_write(CharDriverState *chr, cons argument
338 mux_print_help(CharDriverState *chr) argument
369 mux_proc_byte(CharDriverState *chr, MuxDriver *d, int ch) argument
416 mux_chr_accept_input(CharDriverState *chr) argument
431 CharDriverState *chr = opaque; local
444 CharDriverState *chr = opaque; local
464 CharDriverState *chr = opaque; local
473 mux_chr_update_read_handler(CharDriverState *chr) argument
500 CharDriverState *chr; local
608 fd_chr_write(CharDriverState *chr, const uint8_t *buf, int len) argument
616 CharDriverState *chr = opaque; local
625 CharDriverState *chr = opaque; local
647 fd_chr_update_read_handler(CharDriverState *chr) argument
660 fd_chr_close(struct CharDriverState *chr) argument
678 CharDriverState *chr; local
756 CharDriverState *chr = opaque; local
774 CharDriverState *chr = opaque; local
803 qemu_chr_set_echo_stdio(CharDriverState *chr, bool echo) argument
825 qemu_chr_close_stdio(struct CharDriverState *chr) argument
835 CharDriverState *chr; local
928 pty_chr_write(CharDriverState *chr, const uint8_t *buf, int len) argument
942 CharDriverState *chr = opaque; local
951 CharDriverState *chr = opaque; local
973 pty_chr_update_read_handler(CharDriverState *chr) argument
991 pty_chr_state(CharDriverState *chr, int connected) argument
1012 struct CharDriverState *chr = opaque; local
1028 pty_chr_close(struct CharDriverState *chr) argument
1042 CharDriverState *chr; local
1199 tty_serial_ioctl(CharDriverState *chr, int cmd, void *arg) argument
1266 qemu_chr_close_tty(CharDriverState *chr) argument
1285 CharDriverState *chr; local
1326 pp_ioctl(CharDriverState *chr, int cmd, void *arg) argument
1407 pp_close(CharDriverState *chr) argument
1422 CharDriverState *chr; local
1452 pp_ioctl(CharDriverState *chr, int cmd, void *arg) argument
1492 CharDriverState *chr; local
1525 win_chr_close(CharDriverState *chr) argument
1549 win_chr_init(CharDriverState *chr, const char *filename) argument
1616 win_chr_write(CharDriverState *chr, const uint8_t *buf, int len1) argument
1650 win_chr_read_poll(CharDriverState *chr) argument
1658 win_chr_readfile(CharDriverState *chr) argument
1680 win_chr_read(CharDriverState *chr) argument
1694 CharDriverState *chr = opaque; local
1712 CharDriverState *chr; local
1732 CharDriverState *chr = opaque; local
1746 win_chr_pipe_init(CharDriverState *chr, const char *filename) argument
1812 CharDriverState *chr; local
1832 CharDriverState *chr; local
1875 udp_chr_write(CharDriverState *chr, const uint8_t *buf, int len) argument
1884 CharDriverState *chr = opaque; local
1902 CharDriverState *chr = opaque; local
1920 udp_chr_update_read_handler(CharDriverState *chr) argument
1930 udp_chr_close(CharDriverState *chr) argument
1942 CharDriverState *chr = NULL; local
1989 tcp_chr_write(CharDriverState *chr, const uint8_t *buf, int len) argument
2002 CharDriverState *chr = opaque; local
2012 tcp_chr_process_IAC_bytes(CharDriverState *chr, TCPCharDriver *s, uint8_t *buf, int *size) argument
2060 tcp_get_msgfd(CharDriverState *chr) argument
2069 unix_process_msgfd(CharDriverState *chr, struct msghdr *msg) argument
2092 tcp_chr_recv(CharDriverState *chr, char *buf, size_t len) argument
2118 tcp_chr_recv(CharDriverState *chr, char *buf, size_t len) argument
2127 CharDriverState *chr = opaque; local
2165 CharDriverState *chr = opaque; local
2191 CharDriverState *chr = opaque; local
2213 tcp_chr_close(CharDriverState *chr) argument
2230 CharDriverState *chr = NULL; local
2334 mem_chr_write(CharDriverState *chr, const uint8_t *buf, int len) argument
2353 qemu_chr_init_mem(CharDriverState *chr) argument
2367 qemu_chr_mem_to_qs(CharDriverState *chr) argument
2374 qemu_chr_close_mem(CharDriverState *chr) argument
2384 qemu_chr_mem_osize(const CharDriverState *chr) argument
2594 CharDriverState *chr; local
2648 CharDriverState *chr; local
2667 qemu_chr_set_echo(struct CharDriverState *chr, bool echo) argument
2674 qemu_chr_guest_open(struct CharDriverState *chr) argument
2681 qemu_chr_guest_close(struct CharDriverState *chr) argument
2688 qemu_chr_close(CharDriverState *chr) argument
2716 CharDriverState *chr; local
2731 CharDriverState *chr; local
[all...]
H A Dqemu-char.h64 void (*chr_send_event)(struct CharDriverState *chr, int event);
65 void (*chr_close)(struct CharDriverState *chr);
66 void (*chr_accept_input)(struct CharDriverState *chr);
67 void (*chr_set_echo)(struct CharDriverState *chr, bool echo);
68 void (*chr_guest_open)(struct CharDriverState *chr);
69 void (*chr_guest_close)(struct CharDriverState *chr);
83 void qemu_chr_set_echo(struct CharDriverState *chr, bool echo);
84 void qemu_chr_guest_open(struct CharDriverState *chr);
85 void qemu_chr_guest_close(struct CharDriverState *chr);
86 void qemu_chr_close(CharDriverState *chr);
[all...]
H A Dcurses.c166 int chr, nextchr, keysym, keycode; local
184 chr = getch();
186 chr = nextchr;
190 if (chr == ERR)
195 if (chr == KEY_RESIZE) {
206 keycode = curses2keycode[chr];
238 keysym = chr;
266 keysym = curses2keysym[chr];
268 keysym = chr;
H A Dmonitor-android.h46 qemu_chr_write(mon->chr, mon->outbuf, mon->outbuf_index);
H A Dconsole.c184 CharDriverState *chr; member in struct:TextConsole
1125 static int console_puts(CharDriverState *chr, const uint8_t *buf, int len) argument
1127 TextConsole *s = chr->opaque;
1147 static void console_send_event(CharDriverState *chr, int event) argument
1149 TextConsole *s = chr->opaque;
1168 len = qemu_chr_can_read(s->chr);
1175 qemu_chr_read(s->chr, buf, len);
1224 console_puts(s->chr, (const uint8_t *) "\r", 1);
1230 console_puts(s->chr, buf, q - buf);
1232 if (s->chr
1489 text_console_set_echo(CharDriverState *chr, bool echo) argument
1496 text_console_do_init(CharDriverState *chr, DisplayState *ds) argument
1558 CharDriverState *chr; local
[all...]
H A Dmonitor.h46 void monitor_init(CharDriverState *chr, int flags);
H A Dgdbstub.c289 CharDriverState *chr; member in struct:GDBState
379 qemu_chr_write(s->chr, buf, len);
2359 static int gdb_monitor_write(CharDriverState *chr, const uint8_t *buf, int len) argument
2389 CharDriverState *chr = NULL; local
2410 chr = qemu_chr_open("gdb", device, NULL);
2411 if (!chr)
2414 qemu_chr_add_handlers(chr, gdb_chr_can_receive, gdb_chr_receive,
2430 if (s->chr)
2431 qemu_chr_close(s->chr);
2437 s->chr
[all...]
/external/bluetooth/bluez/attrib/
H A Dclient.c98 struct characteristic *chr; member in struct:query_data
114 struct characteristic *chr = user_data; local
116 g_free(chr->path);
117 g_free(chr->desc);
118 g_free(chr->format);
119 g_free(chr->value);
120 g_free(chr->name);
121 g_free(chr);
172 const struct characteristic *chr = a; local
175 return chr
191 append_char_dict(DBusMessageIter *iter, struct characteristic *chr) argument
235 characteristic_set_value(struct characteristic *chr, const uint8_t *value, size_t vlen) argument
251 struct characteristic *chr = user_data; local
272 struct characteristic *chr; local
471 set_value(DBusConnection *conn, DBusMessage *msg, DBusMessageIter *iter, struct characteristic *chr) argument
504 struct characteristic *chr = data; local
522 struct characteristic *chr = data; local
562 struct characteristic *chr = l->data; local
595 struct characteristic *chr = lc->data; local
618 struct characteristic *chr; local
698 struct characteristic *chr = current->chr; local
732 struct characteristic *chr = current->chr; local
758 struct characteristic *chr = current->chr; local
848 struct characteristic *chr = data; local
890 struct characteristic *chr; local
929 struct characteristic *chr = l->data; local
996 struct characteristic *chr = l->data; local
1094 struct characteristic *chr = lc->data; local
[all...]
/external/ipsec-tools/src/racoon/
H A Dprsa_tok.l70 prsalval.chr = strdup(prsatext);
84 {addr4} { prsalval.chr = strdup(prsatext); return ADDR4; }
85 {addr6} { prsalval.chr = strdup(prsatext); return ADDR6; }
H A Dprsa_par.h100 char *chr; member in union:YYSTYPE
/external/jsilver/src/com/google/clearsilver/jsilver/functions/escape/
H A DSimpleEscapingFunction.java92 final char chr = in.charAt(pos);
94 if (chr < ESCAPE_STRINGS.length && (escapeString = ESCAPE_STRINGS[chr]) != null) {
/external/jsilver/src/com/google/streamhtmlparser/impl/
H A DParserStateTable.java162 private void setDestination(InternalState from, char chr, InternalState to) { argument
165 Preconditions.checkArgument(chr >= 0 && chr < MAX_CHARS,
166 "char must be in ASCII set: %c", chr);
171 stateTable[from.getId()][chr] = to;
/external/webkit/Tools/iExploder/iexploder-1.3.2/htdocs/
H A Diexploder.rb96 when 8..10 then return rand(255).chr * (rand(256)+8)
97 when 11 then return rand(255).chr * (rand(2048)+8)
122 when 12 then return rand(255).chr * (rand(8192)+8)
125 return (rand(255).chr * length) + " " + (rand(255).chr * length) + " " + (rand(255).chr * length)
126 when 14 then return (rand(255).chr * (rand(1024)+3)) + "px"
127 when 15 then return (rand(255).chr * (rand(1024)+3)) + "em"
/external/harfbuzz/src/
H A Dharfbuzz-myanmar.c294 HB_UChar16 chr = uc[i]; local
296 if (chr == Mymr_C_VOWEL_E) {
301 && chr == Mymr_C_NGA
312 && chr == Mymr_C_VIRAMA
349 hb_uint16 chr = uc[i]; local
391 lastWasVirama = (chr == Mymr_C_VIRAMA);
395 if ((chr != Mymr_C_SIGN_ZWNJ && chr != Mymr_C_SIGN_ZWJ) || !len) {
396 reordered[len] = chr;
H A Dharfbuzz-shape.h54 HB_Glyph (*charToGlyph)(HB_Font *font, HB_Unichar chr);
/external/v8/tools/
H A Djsmin.py132 return chr(number + 97)
134 return chr(number + 65)
/external/wpa_supplicant_6/wpa_supplicant/examples/
H A Dwpas-test.py22 r += urllib.quote(chr(c))
/external/wpa_supplicant_8/wpa_supplicant/examples/
H A Dwpas-test.py22 r += urllib.quote(chr(c))
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/
H A Diexploder.rb229 when 0..30 then return rand(255).chr * rand(@config['buffer_overflow_length'])
242 junk << chars[rand(chars.length)].chr
249 return rand(255).chr * (@config['buffer_overflow_length'] + rand(500))
258 when 91..98 then return rand(255).chr * rand(@config['max_garbage_text_size'])
538 garbage = rand(255).chr * rand(8)
/external/grub/lib/
H A Dgetopt.c220 my_index (str, chr)
222 int chr;
226 if (*str == chr)

Completed in 454 milliseconds

123