Home
last modified time | relevance | path

Searched refs:chr (Results 1 – 25 of 178) sorted by relevance

12345678

/external/qemu/
Dqemu-char.c163 CharDriverState *chr; in qemu_chr_initial_reset() local
167 QTAILQ_FOREACH(chr, &chardevs, next) { in qemu_chr_initial_reset()
168 qemu_chr_reset(chr); in qemu_chr_initial_reset()
247 static int null_chr_write(CharDriverState *chr, const uint8_t *buf, int len) in null_chr_write() argument
254 CharDriverState *chr; in qemu_chr_open_null() local
256 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_null()
257 chr->chr_write = null_chr_write; in qemu_chr_open_null()
258 return chr; in qemu_chr_open_null()
287 static int mux_chr_write(CharDriverState *chr, const uint8_t *buf, int len) in mux_chr_write() argument
289 MuxDriver *d = chr->opaque; in mux_chr_write()
[all …]
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 …]
Dcurses.c166 int chr, nextchr, keysym, keycode; in curses_refresh() local
184 chr = getch(); in curses_refresh()
186 chr = nextchr; in curses_refresh()
190 if (chr == ERR) in curses_refresh()
195 if (chr == KEY_RESIZE) { in curses_refresh()
206 keycode = curses2keycode[chr]; in curses_refresh()
238 keysym = chr; in curses_refresh()
266 keysym = curses2keysym[chr]; in curses_refresh()
268 keysym = chr; in curses_refresh()
Dconsole.c184 CharDriverState *chr; member
1125 static int console_puts(CharDriverState *chr, const uint8_t *buf, int len) in console_puts() argument
1127 TextConsole *s = chr->opaque; in console_puts()
1147 static void console_send_event(CharDriverState *chr, int event) in console_send_event() argument
1149 TextConsole *s = chr->opaque; in console_send_event()
1168 len = qemu_chr_can_read(s->chr); in kbd_send_chars()
1175 qemu_chr_read(s->chr, buf, len); in kbd_send_chars()
1224 console_puts(s->chr, (const uint8_t *) "\r", 1); in kbd_put_keysym()
1230 console_puts(s->chr, buf, q - buf); in kbd_put_keysym()
1232 if (s->chr->chr_read) { in kbd_put_keysym()
[all …]
/external/jsilver/src/com/google/streamhtmlparser/util/
DHtmlUtils.java251 public static boolean isHtmlSpace(char chr) { in isHtmlSpace() argument
252 return HTML_WHITESPACE.contains(chr); in isHtmlSpace()
278 public static boolean isJavascriptWhitespace(char chr) { in isJavascriptWhitespace() argument
279 return JAVASCRIPT_WHITESPACE.contains(chr); in isJavascriptWhitespace()
302 public static boolean isJavascriptIdentifier(char chr) { in isJavascriptIdentifier() argument
303 return ((chr >= 'a' && chr <= 'z') in isJavascriptIdentifier()
304 || (chr >= 'A' && chr <= 'Z') in isJavascriptIdentifier()
305 || (chr >= '0' && chr <= '9') in isJavascriptIdentifier()
306 || chr == '_' || chr == '$'); in isJavascriptIdentifier()
333 public static String encodeCharForAscii(char chr) { in encodeCharForAscii() argument
[all …]
/external/okhttp/src/main/java/com/squareup/okhttp/internal/
DBase64.java51 byte chr; in decode()
55 chr = in[len - 1]; in decode()
57 if ((chr == '\n') || (chr == '\r') || (chr == ' ') || (chr == '\t')) { in decode()
60 if (chr == '=') { in decode()
75 chr = in[i]; in decode()
77 if ((chr == '\n') || (chr == '\r') || (chr == ' ') || (chr == '\t')) { in decode()
80 if ((chr >= 'A') && (chr <= 'Z')) { in decode()
84 bits = chr - 65; in decode()
85 } else if ((chr >= 'a') && (chr <= 'z')) { in decode()
89 bits = chr - 71; in decode()
[all …]
/external/qemu/hw/
Dmsmouse.c36 CharDriverState *chr = (CharDriverState *)opaque; in msmouse_event() local
53 qemu_chr_read(chr, bytes, 4); in msmouse_event()
62 static void msmouse_chr_close (struct CharDriverState *chr) in msmouse_chr_close() argument
64 qemu_free (chr); in msmouse_chr_close()
69 CharDriverState *chr; in qemu_chr_open_msmouse() local
71 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_msmouse()
72 chr->chr_write = msmouse_chr_write; in qemu_chr_open_msmouse()
73 chr->chr_close = msmouse_chr_close; in qemu_chr_open_msmouse()
75 qemu_add_mouse_event_handler(msmouse_event, chr, 0, "QEMU Microsoft Mouse"); in qemu_chr_open_msmouse()
77 return chr; in qemu_chr_open_msmouse()
Dbt-hci-csr.c34 CharDriverState chr; member
79 if (s->chr.chr_can_read && s->chr.chr_can_read(s->chr.handler_opaque) && in csrhci_fifo_wake()
80 s->chr.chr_read) { in csrhci_fifo_wake()
81 s->chr.chr_read(s->chr.handler_opaque, in csrhci_fifo_wake()
298 static int csrhci_write(struct CharDriverState *chr, in csrhci_write() argument
301 struct csrhci_s *s = (struct csrhci_s *) chr->opaque; in csrhci_write()
357 static int csrhci_ioctl(struct CharDriverState *chr, int cmd, void *arg) in csrhci_ioctl() argument
360 struct csrhci_s *s = (struct csrhci_s *) chr->opaque; in csrhci_ioctl()
428 qemu_irq *csrhci_pins_get(CharDriverState *chr) in csrhci_pins_get() argument
430 struct csrhci_s *s = (struct csrhci_s *) chr->opaque; in csrhci_pins_get()
[all …]
Dpc.h11 CharDriverState *chr);
14 CharDriverState *chr, int ioregister);
25 ParallelState *parallel_init(int base, qemu_irq irq, CharDriverState *chr);
26 …State *parallel_mm_init(target_phys_addr_t base, int it_shift, qemu_irq irq, CharDriverState *chr);
/external/icu4c/data/lang/
Dchr.txt6 // * Source File: <path>/common/main/chr.xml
10 * ICU <specials> source: <path>/xml/main/chr.xml
12 chr{
20 chr{"ᏣᎳᎩ"}
/external/smali/util/src/main/java/org/jf/util/
DIndentingWriter.java55 public void write(int chr) throws IOException { in write() argument
60 if (chr == '\n') { in write()
68 writer.write(chr); in write()
76 for (char chr: chars) { in write()
77 write(chr); in write()
/external/jsilver/src/com/google/streamhtmlparser/impl/
DParserStateTable.java162 private void setDestination(InternalState from, char chr, InternalState to) { in setDestination() argument
165 Preconditions.checkArgument(chr >= 0 && chr < MAX_CHARS, in setDestination()
166 "char must be in ASCII set: %c", chr); in setDestination()
171 stateTable[from.getId()][chr] = to; in setDestination()
/external/skia/tools/
Dpicture_utils.cpp41 bool is_path_seperator(const char chr) { in is_path_seperator() argument
43 return chr == '\\' || chr == '/'; in is_path_seperator()
45 return chr == '/'; in is_path_seperator()
/external/icu4c/data/curr/
Dchr.txt6 // * Source File: <path>/common/main/chr.xml
10 * ICU <specials> source: <path>/xml/main/chr.xml
12 chr{
/external/icu4c/data/zone/
Dchr.txt6 // * Source File: <path>/common/main/chr.xml
10 * ICU <specials> source: <path>/xml/main/chr.xml
12 chr{
/external/jsilver/src/com/google/clearsilver/jsilver/functions/escape/
DSimpleEscapingFunction.java92 final char chr = in.charAt(pos); in filter() local
94 if (chr < ESCAPE_STRINGS.length && (escapeString = ESCAPE_STRINGS[chr]) != null) { in filter()
/external/ipsec-tools/src/racoon/
Dprsa_tok.l70 prsalval.chr = strdup(prsatext);
84 {addr4} { prsalval.chr = strdup(prsatext); return ADDR4; }
85 {addr6} { prsalval.chr = strdup(prsatext); return ADDR6; }
/external/harfbuzz_ng/src/hb-old/
Dharfbuzz-myanmar.c294 HB_UChar16 chr = uc[i]; in myanmar_shape_syllable() local
296 if (chr == Mymr_C_VOWEL_E) { in myanmar_shape_syllable()
301 && chr == Mymr_C_NGA in myanmar_shape_syllable()
312 && chr == Mymr_C_VIRAMA in myanmar_shape_syllable()
349 hb_uint16 chr = uc[i]; in myanmar_shape_syllable() local
392 lastWasVirama = (chr == Mymr_C_VIRAMA); in myanmar_shape_syllable()
396 if ((chr != Mymr_C_SIGN_ZWNJ && chr != Mymr_C_SIGN_ZWJ) || !len) { in myanmar_shape_syllable()
397 reordered[len] = chr; in myanmar_shape_syllable()
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DBitmapCharacterSet.java77 for (Entry<BitmapCharacter> chr : charset){ in writeCharset()
78 indexes[i] = (short) chr.getKey(); in writeCharset()
79 chars[i] = chr.getValue(); in writeCharset()
110 BitmapCharacter chr = (BitmapCharacter) chars[i]; in readCharset() local
111 charset.put(index, chr); in readCharset()
/external/harfbuzz/src/
Dharfbuzz-myanmar.c294 HB_UChar16 chr = uc[i]; in myanmar_shape_syllable() local
296 if (chr == Mymr_C_VOWEL_E) { in myanmar_shape_syllable()
301 && chr == Mymr_C_NGA in myanmar_shape_syllable()
312 && chr == Mymr_C_VIRAMA in myanmar_shape_syllable()
349 hb_uint16 chr = uc[i]; in myanmar_shape_syllable() local
391 lastWasVirama = (chr == Mymr_C_VIRAMA); in myanmar_shape_syllable()
395 if ((chr != Mymr_C_SIGN_ZWNJ && chr != Mymr_C_SIGN_ZWJ) || !len) { in myanmar_shape_syllable()
396 reordered[len] = chr; in myanmar_shape_syllable()
/external/llvm/test/Transforms/InstCombine/
Dstrchr-2.ll8 @chr = global i8 zeroinitializer
19 store i8 %dst, i8* @chr
Dstrrchr-2.ll8 @chr = global i8 zeroinitializer
19 store i8 %dst, i8* @chr
/external/icu4c/data/region/
Dchr.txt6 // * Source File: <path>/common/main/chr.xml
10 * ICU <specials> source: <path>/xml/main/chr.xml
12 chr{
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
Dclient_for_testing.py198 ch = chr(ord(ch) + 0x20)
680 key = key[0:pos] + chr(ch) + key[pos:]
691 return ''.join([chr(random.randint(0, 255)) for _ in xrange(8)])
776 result.append(chr(ord(c) ^ ord(masking_nonce[count])))
808 header = chr(fin << 7 | rsv1 << 6 | opcode)
811 header += chr(mask_bit | payload_length)
813 header += chr(mask_bit | 126) + struct.pack('!H', payload_length)
815 header += chr(mask_bit | 127) + struct.pack('!Q', payload_length)
893 frame = chr(1 << 7 | OPCODE_CLOSE)
900 frame += chr(1 << 7 | len(body)) + self._mask_hybi(body)
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dnsmenuitem_additions.mm54 unichar chr = NSBackspaceCharacter;
55 eventString = [NSString stringWithCharacters:&chr length:1];
62 unichar chr = NSDeleteCharacter;
63 eventString = [NSString stringWithCharacters:&chr length:1];

12345678