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
208 // allocate a FH that we're in the middle of closing.
731 // Save err just in case inet_ntoa() or ntohs() changes the last error.
798 // Save err just in case inet_ntoa() or ntohs() changes the last error.
889 // TODO: Implement timeouts for Windows. Seems like the default in theory
890 // (according to http://serverfault.com/a/671453) and in practice is 21 sec.
1148 // terminal-style sequences. This emulates mostly Gnome Terminal (in Normal
1302 // Note that we read the control key state from the passed in argument
1347 // This is configurable in the Region and Language control panel.
1426 // If we're in an AltGr situation where the AltGr key is down (depending on
1446 // presses Right-Ctrl, then AltGr (in that specific order) for
1473 // If NumLock is on and Shift is pressed, SHIFT_PRESSED is not set in
1509 // Shift is pressed and NumLock is on, in which case we want the
1516 // statement in _console_read().
1576 // Shift is pressed and NumLock is on, in which case we want the
1583 // statement in _console_read().
1593 // Prefix the len bytes in buf with the escape character, and then return the
1646 size_t seqbuflen = 0; // Space used in seqbuf.
1742 // Number 5 key in keypad when NumLock is off, or if NumLock is
1936 // Check for output in any of:
1977 const HANDLE in = _get_console_handle(STDIN_FILENO, &_old_console_mode);
1978 if (in == nullptr) {
1994 if (!SetConsoleMode(in, new_console_mode)) {
2002 _console_handle = in;
2011 const HANDLE in = _console_handle;
2014 if (!SetConsoleMode(in, _old_console_mode)) {
2022 // Called by 'adb shell' and 'adb exec-in' (via unix_read()) to read from stdin.
2039 // Undefine the macro that is set in sysdeps.h which bans calls to
2040 // plain read() in favor of unix_read() or adb_read().
2069 // strings, but the strings are in the ANSI codepage and not UTF-8. (The
2107 // such as Lucida Console or Consolas, and in the case of East Asian languages
2110 // font to be used in console windows.)
2203 // Name too big to fit in existing buffer.
2210 // can fit in _wdirent::d_name, the resulting dirent::d_name field may be
2302 // Lead byte in UTF-8 sequence, so check if we have all the bytes in the sequence.
2305 // We don't have all the bytes in the UTF-8 sequence, so return all the bytes
2321 // trailing bytes with no lead byte, in which case we want to return all those invalid bytes
2389 // Return the size of the original buffer passed in, signifying that we consumed it all, even
2390 // if nothing was displayed, in the case of being passed an incomplete UTF-8 sequence. This
2550 // Runtime locale (which in practice is not changed, so this becomes a ASCII
2574 // thread synchronization is done, but we're called early enough in
2622 // Don't overwrite a previus env var with the same name. In reality,
2624 // in _wenviron.
2634 // Case-insensitive search by searching for lowercase name in a map of
2644 // Version of getcwd() that returns the current working directory in UTF-8.