/external/chromium_org/sync/util/ |
get_session_name_linux.cc | 8 #include <unistd.h> // for gethostname() 15 std::string GetHostname() { 17 if (gethostname(hostname, HOST_NAME_MAX) == 0) // Success.
|
/system/extras/tests/bionic/libc/common/ |
test_gethostname.c | 39 ret = gethostname(hostname, sizeof(hostname)); 41 printf("gethostname() returned error %d: %s\n", errno, strerror(errno)); 45 printf("gethostname() returned '%s'\n", hostname);
|
/bionic/libc/bionic/ |
gethostname.c | 33 int gethostname(char* buff, size_t buflen) function
|
/development/tools/axl/ |
udpEater.py | 33 hostname = socket.gethostname()
|
/external/chromium/chrome/browser/policy/ |
policy_path_parser_posix.cc | 36 if (gethostname(machinename, 255) == 0) {
|
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/ |
defaults.cc | 69 if (gethostname(computer_name, ARRAY_SIZE(computer_name)) != 0)
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
unistd.in.h | 49 /* Get all possible declarations of gethostname(). */ 339 # undef gethostname macro 340 # define gethostname rpl_gethostname macro 343 extern int gethostname(char *name, size_t len); 346 # undef gethostname macro 347 # define gethostname gethostname_used_without_requesting_gnulib_module_gethostname macro 349 # undef gethostname macro 350 # define gethostname(n,l) \ macro 351 (GL_LINK_WARNING ("gethostname is unportable - " \ 352 "use gnulib module gethostname for portability"), [all...] |
/external/chromium_org/chrome/browser/policy/ |
policy_path_parser_linux.cc | 47 if (gethostname(machinename, 255) == 0) {
|
/external/llvm/lib/Support/ |
LockFileManager.cpp | 62 gethostname(MyHostname, 255); 103 gethostname(hostname, 255);
|
/external/chromium-libpac/src/ |
proxy_resolver_js_bindings.cc | 50 std::string my_hostname = GetHostName(); 57 std::string my_hostname = GetHostName(); 94 std::string GetHostName() { 96 if (gethostname(buffer, 256) != 0) {
|
/external/chromium_org/remoting/tools/ |
register_host.py | 47 host_name = socket.gethostname()
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
sunos4.h | 155 extern int gethostname(char *, int);
|
_sony.h | 199 extern int gethostname(char *name, int namelen);
|
/external/bison/darwin-lib/ |
unistd.h | 26 are completely included before we replace gethostname. */ 46 /* Get all possible declarations of gethostname(). */ 103 NonStop Kernel declares gethostname in <netdb.h>, not in <unistd.h>. */ 1048 # undef gethostname macro 1049 # define gethostname macro 1051 # undef gethostname macro [all...] |
/external/bison/lib/ |
unistd.in.h | 25 are completely included before we replace gethostname. */ 45 /* Get all possible declarations of gethostname(). */ 102 NonStop Kernel declares gethostname in <netdb.h>, not in <unistd.h>. */ 718 # undef gethostname 719 # define gethostname rpl_gethostname 721 _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len) 723 _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len)); 726 _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len) 732 _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len)); 734 _GL_CXXALIASWARN (gethostname); [all...] |
/external/bison/linux-lib/ |
unistd.h | 26 are completely included before we replace gethostname. */ 46 /* Get all possible declarations of gethostname(). */ 103 NonStop Kernel declares gethostname in <netdb.h>, not in <unistd.h>. */ 1048 # undef gethostname macro 1049 # define gethostname macro 1051 # undef gethostname macro [all...] |
/external/chromium_org/tools/gyp/pylib/gyp/ |
MSVSUserFile.py | 9 import socket # for gethostname namespace 103 'RemoteMachine': socket.gethostname(),
|
/bionic/libc/include/ |
unistd.h | 155 extern int gethostname(char *, size_t);
|
/development/ndk/platforms/android-3/include/ |
unistd.h | 145 extern int gethostname(char *, size_t);
|
/development/ndk/platforms/android-8/include/ |
unistd.h | 149 extern int gethostname(char *, size_t);
|
/development/ndk/platforms/android-9/include/ |
unistd.h | 153 extern int gethostname(char *, size_t);
|
/external/libpcap/lbl/ |
os-sunos4.h | 92 int gethostname(char *, int);
|
/external/tcpdump/lbl/ |
os-sunos4.h | 92 int gethostname(char *, int);
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/ |
unistd.h | 150 extern int gethostname(char *, size_t);
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/ |
unistd.h | 150 extern int gethostname(char *, size_t);
|