Home | History | Annotate | Download | only in adb

Lines Matching defs:in

5  * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
269 // allocate a FH that we're in the middle of closing.
542 // sysdeps.h defines strerror to adb_strerror, but in this function, we
587 // Just in case _strerror() returned a read-only string, check if
870 // Save err just in case inet_ntoa() or ntohs() changes the last error.
937 // Save err just in case inet_ntoa() or ntohs() changes the last error.
1028 // TODO: Implement timeouts for Windows. Seems like the default in theory
1029 // (according to http://serverfault.com/a/671453) and in practice is 21 sec.
1278 // terminal-style sequences. This emulates mostly Gnome Terminal (in Normal
1432 // Note that we read the control key state from the passed in argument
1477 // This is configurable in the Region and Language control panel.
1556 // If we're in an AltGr situation where the AltGr key is down (depending on
1576 // presses Right-Ctrl, then AltGr (in that specific order) for
1603 // If NumLock is on and Shift is pressed, SHIFT_PRESSED is not set in
1639 // Shift is pressed and NumLock is on, in which case we want the
1646 // statement in _console_read().
1706 // Shift is pressed and NumLock is on, in which case we want the
1713 // statement in _console_read().
1723 // Prefix the len bytes in buf with the escape character, and then return the
1776 size_t seqbuflen = 0; // Space used in seqbuf.
1872 // Number 5 key in keypad when NumLock is off, or if NumLock is
2066 // Check for output in any of:
2107 const HANDLE in = _get_console_handle(STDIN_FILENO, &_old_console_mode);
2108 if (in == nullptr) {
2124 if (!SetConsoleMode(in, new_console_mode)) {
2132 _console_handle = in;
2141 const HANDLE in = _console_handle;
2144 if (!SetConsoleMode(in, _old_console_mode)) {
2152 // Called by 'adb shell' and 'adb exec-in' (via unix_read()) to read from stdin.
2169 // Undefine the macro that is set in sysdeps.h which bans calls to
2170 // plain read() in favor of unix_read() or adb_read().
2199 // strings, but the strings are in the ANSI codepage and not UTF-8. (The
2237 // such as Lucida Console or Consolas, and in the case of East Asian languages
2240 // font to be used in console windows.)
2333 // Name too big to fit in existing buffer.
2340 // can fit in _wdirent::d_name, the resulting dirent::d_name field may be
2432 // Lead byte in UTF-8 sequence, so check if we have all the bytes in the sequence.
2435 // We don't have all the bytes in the UTF-8 sequence, so return all the bytes
2451 // trailing bytes with no lead byte, in which case we want to return all those invalid bytes
2517 // Return the size of the original buffer passed in, signifying that we consumed it all, even
2518 // if nothing was displayed, in the case of being passed an incomplete UTF-8 sequence. This
2678 // Runtime locale (which in
2702 // thread synchronization is done, but we're called early enough in
2750 // Don't overwrite a previus env var with the same name. In reality,
2752 // in _wenviron.
2762 // Case-insensitive search by searching for lowercase name in a map of
2772 // Version of getcwd() that returns the current working directory in UTF-8.