plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | android | lchown | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/lchown.c | 344 | utf_8 | 391a6eddd46916097bce400c02a2e400 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int lchown(const char* path, uid_t owner, gid_t group) {
return ki_lchown(path, owner, group);
} |
google | android | sigpending | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/sigpending.c | 304 | utf_8 | 4a3acd368952eb293d961f8018c87aae | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int sigpending(sigset_t* set) {
return ki_sigpending(set);
} |
google | android | chown | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/chown.c | 342 | utf_8 | 7f6b77eba94881937534715532621987 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int chown(const char* path, uid_t owner, gid_t group) {
return ki_chown(path, owner, group);
} |
google | android | symlink | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/symlink.c | 342 | utf_8 | d3deeeda1269bedc57f62cc811b1d50f | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int symlink(const char* oldpath, const char* newpath) {
return ki_symlink(oldpath, newpath);
} |
google | android | fchown | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/fchown.c | 332 | utf_8 | 7a2f8b36f089e28902d33d6469f039e3 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int fchown(int fd, uid_t owner, gid_t group) {
return ki_fchown(fd, owner, group);
} |
google | android | ftruncate | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ftruncate.c | 320 | utf_8 | 4b16d1514314eae13d1ea46ff3f45d3a | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int ftruncate(int fd, off_t length) {
return ki_ftruncate(fd, length);
} |
google | android | realpath | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/realpath.c | 2,797 | utf_8 | 8bdca3c2a4dd00b59b9643c254313f05 | #include <assert.h>
#include <stdlib.h>
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include "sdk_util/macros.h"
EXTERN_C_BEGIN
#if defined(__native_client__)
// TODO(binji): glibc has realpath, but it fails for all tests. Investigate.
char* r... |
google | android | rename | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/rename.c | 334 | utf_8 | 8e0a344a597c6d0aca0a63e5fdcb36c0 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int rename(const char* path, const char* newpath) {
return ki_rename(path, newpath);
} |
google | android | truncate | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/truncate.c | 537 | utf_8 | 53f0ea96248e9446af092d835e3f49af | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if !defined(__native_client__) || defined(__GLIBC__)
// GLIBC-only entry point.
// TODO(sbc): remove once this bug gets fixed:
// https://code.google.com/p/nativeclient/issues/detail?id=3709
int truncate(const char* pathname, off_t length) {
retu... |
google | android | sigaction | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/sigaction.c | 398 | utf_8 | 2df1d211cbc6b3e2435dd21dd1cfce5b | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int sigaction(int signum,
const struct sigaction* act,
struct sigaction* oldact) {
return ki_sigaction(signum, act, oldact);
} |
google | android | umount | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/umount.c | 304 | utf_8 | c79ab48253c0b77f6451dece09f556d9 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int umount(const char* path) {
return ki_umount(path);
} |
google | android | sigsuspend | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/sigsuspend.c | 310 | utf_8 | 774f0e9b3b250ca745cb45ec3a4e3bdc | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int sigsuspend(const sigset_t* set) {
return ki_sigsuspend(set);
} |
google | android | access | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/access.c | 368 | utf_8 | d0eb38e170782d0db0db66703e55c5c8 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(__BIONIC__)
// Bionic only
int access(const char* path, int amode) {
return ki_access(path, amode);
}
#endif |
google | android | utime | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/utime.c | 346 | utf_8 | 6b9f3168ac93b038b4d5f4d0ae253c63 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int utime(const char* filename, const struct utimbuf* times) {
return ki_utime(filename, times);
} |
google | android | getcwd | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/getcwd.c | 910 | utf_8 | be094fa9dea6f584dfb57e01ba6a36c3 | #include <limits.h>
#include <string.h>
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
/*
* This interception should not really be needed under glibc since we can
* hook the internal calls to getcwd. However, we need to intercept it here
* since gtest call getcwd in a static constructor whic... |
google | android | pipe | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/pipe.c | 297 | utf_8 | 6aec3a54755ad7bacbd90b5e258869c5 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int pipe(int pipefds[2]) {
return ki_pipe(pipefds);
} |
google | android | futimes | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/futimes.c | 333 | utf_8 | 34d0381a021881d63466110cef7b4a04 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int futimes(int fd, const struct timeval times[2]) {
return ki_futimes(fd, times);
} |
google | android | signal | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/signal.c | 608 | utf_8 | dac48d688db2af82b8cad793cd8d2ae2 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if !defined(__BIONIC__)
sighandler_t signal(int signum, sighandler_t handler) {
return ki_signal(signum, handler);
}
#else
sighandler_t sysv_signal(int signum, sighandler_t handler)
{
return ki_signal(signum, handler);
}
sighandler_t bsd_signal... |
google | android | remove | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/remove.c | 627 | utf_8 | 453b387753efee633eacf15a861eca1e | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(__GLIBC__) && defined(__native_client__)
// Glibc's remove(3) and unlink(2) entry points are not yet hooked up
// to the lower level IRT interfaces. Therefore the only way to intercept
// these calls is to override them here.
// TODO(sb... |
google | android | umask | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/umask.c | 300 | utf_8 | 6178d6d1dcc7a994d69a59cc85b7815e | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
mode_t umask(mode_t mask) {
return ki_umask(mask);
} |
google | android | fcntl | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/fcntl.c | 400 | utf_8 | 91aa50ca01eb3119f04bd123023238de | #include <stdarg.h>
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int fcntl(int fd, int cmd, ...) {
va_list ap;
va_start(ap, cmd);
int rtn = ki_fcntl(fd, cmd, ap);
va_end(ap);
return rtn;
} |
google | android | ioctl | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ioctl.c | 497 | utf_8 | 44364f0d185396f8411efff971e8f3a0 | #include <stdarg.h>
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#ifdef __BIONIC__
#define REQ_TYPE int
#else
#define REQ_TYPE unsigned long
#endif
int ioctl(int fd, REQ_TYPE request, ...) {
va_list ap;
va_start(ap, request);
int rtn = ki_ioctl(fd, request, ap);
va_end(ap);
return rt... |
google | android | sigpause | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/sigpause.c | 302 | utf_8 | e74211913ed2f3155b0e454c029d8f0e | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int sigpause(int sigmask) {
return ki_sigpause(sigmask);
} |
google | android | mount | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/mount.c | 446 | utf_8 | fdae4406724f0b9fc56f08126c2c4544 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int mount(const char* source, const char* target, const char* filesystemtype,
unsigned long mountflags, const void* data) {
return ki_mount(source, target, filesystemtype, mountflags, data);
} |
google | android | killpg | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/killpg.c | 306 | utf_8 | 7d747b338d30ded7781b36afbefe84c4 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int killpg(pid_t pid, int sig) {
return ki_killpg(pid, sig);
} |
google | android | select | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/select.c | 425 | utf_8 | 7c3be1f278b58ef60cbde7e1f1e85f65 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int select(int nfds, fd_set* readfds, fd_set* writefds,
fd_set* exceptfds, struct timeval* timeout) {
return ki_select(nfds, readfds, writefds, exceptfds, timeout);
} |
google | android | isatty | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/isatty.c | 491 | utf_8 | 93c7ecb94a216ef60ca3756cbb8fb17b | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if !defined(__native_client__) || defined(__GLIBC__)
// GLIBC-only entry point.
// TODO(sbc): remove once this bug gets fixed:
// https://code.google.com/p/nativeclient/issues/detail?id=3709
int isatty(int fd) {
return ki_isatty(fd);
}
#endif |
google | android | poll | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/poll.c | 401 | utf_8 | 58080aea0a13f8061038f8b887ef3641 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if !defined(__BIONIC__)
int poll(struct pollfd *fds, nfds_t nfds, int timeout) {
return ki_poll(fds, nfds, timeout);
}
#endif /* #if !defined(__BIONIC_) */ |
google | android | uname | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/uname.c | 542 | utf_8 | 7ce67249415982502e2a9dd376f24801 | #include <stdio.h>
#include <string.h>
#include <sys/utsname.h>
#if !defined(_UTSNAME_LENGTH) && defined(__BIONIC__)
#define _UTSNAME_LENGTH SYS_NMLN
#endif
int uname(struct utsname* buf) {
memset(buf, 0, sizeof(struct utsname));
snprintf(buf->sysname, _UTSNAME_LENGTH, "NaCl");
/* TODO(sbc): Fill out the other fi... |
google | android | cfgetispeed | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/termios/cfgetispeed.c | 567 | utf_8 | 9569e1f627e3023474a8bcab43246a54 | #include <sys/types.h>
/*
* Include something that will define __BIONIC__, then wrap the entire file
* in this #if, so this file will be compiled on a non-bionic build.
*/
#if !defined(__BIONIC__)
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
speed_t cfgetispeed(const struct termios *termios... |
google | android | tcflush | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/termios/tcflush.c | 563 | utf_8 | a216c7d191527e6e1110e7748611f882 | #include <sys/types.h>
/*
* Include something that will define __BIONIC__, then wrap the entire file
* in this #if, so this file will be compiled on a non-bionic build.
*/
#if !defined(__BIONIC__)
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/ostermios.h"
int tcflush(int fd, int queue_selector) {
return ... |
google | android | tcflow | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/termios/tcflow.c | 565 | utf_8 | 0b26326da7d290be45b3855e1dda837a | #include <sys/types.h>
/*
* Include something that will define __BIONIC__, then wrap the entire file
* in this #if, so this file will be compiled on a non-bionic build.
*/
#if !defined(__BIONIC__)
#include <errno.h>
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int tcflow(int fd, int action)... |
google | android | tcsendbreak | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/termios/tcsendbreak.c | 574 | utf_8 | 646a47e74fa655c9b9cb015c40fee56d | #include <sys/types.h>
/*
* Include something that will define __BIONIC__, then wrap the entire file
* in this #if, so this file will be compiled on a non-bionic build.
*/
#if !defined(__BIONIC__)
#include <errno.h>
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int tcsendbreak(int fd, int du... |
google | android | tcsetattr | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/termios/tcsetattr.c | 615 | utf_8 | f0deb9fe284535c4662502cbed82603f | #include <sys/types.h>
/*
* Include something that will define __BIONIC__, then wrap the entire file
* in this #if, so this file will be compiled on a non-bionic build.
*/
#if !defined(__BIONIC__)
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/ostermios.h"
int tcsetattr(int fd, int optional_actions, const s... |
google | android | cfsetspeed | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/termios/cfsetspeed.c | 615 | utf_8 | 1f85ab1cff91de7ae5ed10c80edd9c81 | #include <sys/types.h>
/*
* Include something that will define __BIONIC__, then wrap the entire file
* in this #if, so this file will be compiled on a non-bionic build.
*/
#if !defined(__BIONIC__)
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int cfsetspeed(struct termios *termios_p, speed_t... |
google | android | cfsetispeed | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/termios/cfsetispeed.c | 584 | utf_8 | b536fb60e2e025589d4f4da3bdc3a078 | #include <sys/types.h>
/*
* Include something that will define __BIONIC__, then wrap the entire file
* in this #if, so this file will be compiled on a non-bionic build.
*/
#if !defined(__BIONIC__)
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int cfsetispeed(struct termios *termios_p, speed_... |
google | android | cfsetospeed | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/termios/cfsetospeed.c | 585 | utf_8 | 2455b77f43ec6feb8d661269471aad9c | #include <sys/types.h>
/*
* Include something that will define __BIONIC__, then wrap the entire file
* in this #if, so this file will be compiled on a non-bionic build.
*/
#if !defined(__BIONIC__)
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int cfsetospeed(struct termios *termios_p, speed_... |
google | android | tcgetattr | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/termios/tcgetattr.c | 570 | utf_8 | 8fe573864cc84c17a24e88a51a163ba1 | #include <sys/types.h>
/*
* Include something that will define __BIONIC__, then wrap the entire file
* in this #if, so this file will be compiled on a non-bionic build.
*/
#if !defined(__BIONIC__)
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/ostermios.h"
int tcgetattr(int fd, struct termios* termios_p) {
... |
google | android | cfgetospeed | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/termios/cfgetospeed.c | 567 | utf_8 | 8da873df0fa18d2804b9109af79acdef | #include <sys/types.h>
/*
* Include something that will define __BIONIC__, then wrap the entire file
* in this #if, so this file will be compiled on a non-bionic build.
*/
#if !defined(__BIONIC__)
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
speed_t cfgetospeed(const struct termios *termios... |
google | android | tcdrain | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/termios/tcdrain.c | 555 | utf_8 | 20c77499ba842a533e52a1cb41296beb | #include <sys/types.h>
/*
* Include something that will define __BIONIC__, then wrap the entire file
* in this #if, so this file will be compiled on a non-bionic build.
*/
#if !defined(__BIONIC__)
#include <errno.h>
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int tcdrain(int fd) {
errno ... |
google | android | recv | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/recv.c | 463 | utf_8 | 40a1841caeef771a581f993f89f2b108 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
ssize_t recv(int fd, void* buf, size_t len, int flags) {
return ki_recv(fd, buf, len, flags);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | getsockname | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/getsockname.c | 472 | utf_8 | 2d92b9e11d2b5b073a273d5140775310 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
int getsockname(int fd, struct sockaddr* addr, socklen_t* len) {
return ki_getsockname(fd, addr, len);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | connect | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/connect.c | 469 | utf_8 | eb3f6a8c2b9c82b97f7db2fc3b3bf072 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
int connect(int fd, const struct sockaddr* addr, socklen_t len) {
return ki_connect(fd, addr, len);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | inet_aton | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/inet_aton.c | 1,578 | utf_8 | a4674c1b1e11a36845dbcc2366bdb3c9 | #include "nacl_io/ossocket.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
#include <stdio.h>
#include <string.h>
#include <limits.h>
int inet_aton(const char *cp, struct in_addr *inp) {
unsigned int p1 = 0, p2 = 0, p3 = 0, p4 = 0;
int consumed = 0;
int matched = sscanf(cp, "%u.%u.%u.%u%n", &p1, &p2, &... |
google | android | shutdown | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/shutdown.c | 430 | utf_8 | 52044c58533d534b1123c1135c6b2b20 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
int shutdown(int fd, int how) {
return ki_shutdown(fd, how);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | htonl | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/htonl.c | 737 | utf_8 | 50629743d15cf95aab9a4e3a91e9a2a0 | #include "nacl_io/ossocket.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) && !defined(__BIONIC__)
#include <string.h>
inline uint32_t htonl(uint32_t hostlong) {
uint8_t result_bytes[4];
result_bytes[0] = (uint8_t) ((hostlong >> 24) & 0xFF);
result_bytes[1] = (uint8_t) ((hostlong >> 16) & 0xFF);
resu... |
google | android | ntohs | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/ntohs.c | 553 | utf_8 | 7d5ae2149816288632d11c60b1989fdb | #include "nacl_io/ossocket.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) && !defined(__BIONIC__)
#include <string.h>
inline uint16_t ntohs(uint16_t networkshort) {
uint8_t input[2];
memcpy(input, &networkshort, 2);
return ((((uint32_t) input[0]) << 8) |
((uint32_t) input[1]));
}
#endif /* ... |
google | android | getpeername | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/getpeername.c | 472 | utf_8 | a28f7d7cd5fb10bf15f7977800cc829b | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
int getpeername(int fd, struct sockaddr* addr, socklen_t* len) {
return ki_getpeername(fd, addr, len);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | ntohl | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/ntohl.c | 635 | utf_8 | 2514996a9447618afdbcb9608b5c506e | #include "nacl_io/ossocket.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) && !defined(__BIONIC__)
#include <string.h>
inline uint32_t ntohl(uint32_t networklong) {
uint8_t input[4];
memcpy(input, &networklong, 4);
return ((((uint32_t) input[0]) << 24) |
(((uint32_t) input[1]) << 16) |
... |
google | android | sendto | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/sendto.c | 551 | utf_8 | 9c06a9c807b338d03a43a8142e014c3c | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
ssize_t sendto(int fd, const void* buf, size_t len, int flags,
const struct sockaddr* addr, socklen_t addrlen) {
return ki_sendto(fd, buf, len, flags, addr, addrlen);
}
#endif ... |
google | android | freeaddrinfo | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/freeaddrinfo.c | 276 | utf_8 | ee2c0bd90006ba784095d2c6f72ae6a4 | #include "nacl_io/kernel_intercept.h"
void freeaddrinfo(struct addrinfo *res) {
ki_freeaddrinfo(res);
} |
google | android | herror | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/herror.c | 408 | utf_8 | ccc90e44c7c4e7e33a3dacd5035b48d1 | #include "nacl_io/ossocket.h"
#ifdef PROVIDES_SOCKET_API
#include <stdio.h>
void herror(const char* s) {
if (s) {
fprintf(stderr, "%s: ", s);
}
fprintf(stderr, "%s\n", hstrerror(h_errno));
}
#endif /* PROVIDES_SOCKET_API */ |
google | android | socketpair | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/socketpair.c | 481 | utf_8 | a305282c4837e2ba0fe214a2921c6514 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
int socketpair(int domain, int type, int protocol, int* sv) {
return ki_socketpair(domain, type, protocol, sv);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | send | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/send.c | 469 | utf_8 | b6324e2a6b484db27fd04130ca82b674 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
ssize_t send(int fd, const void* buf, size_t len, int flags) {
return ki_send(fd, buf, len, flags);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | getnameinfo | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/getnameinfo.c | 770 | utf_8 | 0a1b2d934ff7c2e2f2c44ea87a1adb95 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#ifdef __native_client__
#ifdef __BIONIC__
// bionic has a slightly different signatute to glibc for getnameinfo
int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host,
size_t hostlen, char* serv, size_t servlen, int ... |
google | android | recvfrom | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/recvfrom.c | 546 | utf_8 | 3f10bc0bd84ebbacaf8ddea42c38e077 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
ssize_t recvfrom(int fd, void* buf, size_t len, int flags,
struct sockaddr* addr, socklen_t* addrlen) {
return ki_recvfrom(fd, buf, len, flags, addr, addrlen);
}
#endif /* d... |
google | android | inet_pton | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/inet_pton.c | 3,814 | utf_8 | a89b21dd23272a26a971b6744df61b42 | #include "nacl_io/ossocket.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) && !defined(__BIONIC__)
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "sdk_util/macros.h"
enum {
kIpv4AddressSize = sizeof(in_addr_t),
kIpv6AddressSize = sizeof(struct in6_addr),
};
/* Help... |
google | android | inet_ntoa | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/inet_ntoa.c | 701 | utf_8 | cec0b7b1e280841d6e1780a836435f66 | #include "nacl_io/ossocket.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) && !defined(__BIONIC__)
static uint8_t GetByte(const void* addr, int byte) {
const char* buf = (const char*)addr;
return (uint8_t)buf[byte];
}
char* inet_ntoa(struct in_addr in) {
static char addr[INET_ADDRSTRLEN];
snprintf(ad... |
google | android | gethostbyname | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/gethostbyname.c | 419 | utf_8 | 6a50efcd98b7d63dbe010e8944a0c5b6 | #include "nacl_io/ossocket.h"
#ifdef PROVIDES_SOCKET_API
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
struct hostent* gethostbyname(const char* name) {
return ki_gethostbyname(name);
}
#endif /* PROVIDES_SOCKET_API */ |
google | android | getaddrinfo | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/getaddrinfo.c | 437 | utf_8 | 0b620714fa5bba7c62a6d7f98f7133d8 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
int getaddrinfo(const char *node, const char *service,
const struct addrinfo *hints,
struct addrinfo **res) {
return ki_getaddrinfo(node, service, hints, res);
} |
google | android | hstrerror | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/hstrerror.c | 908 | utf_8 | 65bd2d65cccb29694c1f25c4ec64918c | #include "nacl_io/ossocket.h"
#ifdef PROVIDES_SOCKET_API
#include <stdio.h>
const char* hstrerror(int err) {
switch (err) {
case HOST_NOT_FOUND:
return "The specified host is unknown.";
case NO_ADDRESS:
return "The requested name is valid but does not have an IP address.";
case NO_RECOVERY:
... |
google | android | inet_addr | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/inet_addr.c | 562 | utf_8 | 0f6ac97da6ae956a45dcb46acc6323f9 | #include "nacl_io/ossocket.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
#include <string.h>
in_addr_t inet_addr(const char* addr) {
struct in_addr rtn = { 0 };
int ret = inet_aton(addr, &rtn);
// inet_ntoa returns zero if addr is not valid
if (ret == 0)
return INADDR_NONE;
return rtn.s... |
google | android | getsockopt | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/getsockopt.c | 499 | utf_8 | 53c1fa8303df74f2b884088550187370 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
int getsockopt(int fd, int lvl, int optname, void* optval, socklen_t* len) {
return ki_getsockopt(fd, lvl, optname, optval, len);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC... |
google | android | recvmsg | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/recvmsg.c | 461 | utf_8 | 4e88e4b7ff643def1c168962c00c3afc | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
ssize_t recvmsg(int fd, struct msghdr* msg, int flags) {
return ki_recvmsg(fd, msg, flags);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | gai_strerror | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/gai_strerror.c | 1,170 | utf_8 | a2e213556a3d203203a41ba7d6ea49e8 | #include "nacl_io/ossocket.h"
#ifdef PROVIDES_SOCKET_API
#include <stdio.h>
#if !defined(__GLIBC__)
#if defined(__BIONIC__)
const
#endif
char* gai_strerror(int errcode) {
switch (errcode) {
case EAI_BADFLAGS: return "Invalid value for `ai_flags' field.";
case EAI_NONAME: return "NAME or SERVICE is unknown.";
... |
google | android | accept | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/accept.c | 462 | utf_8 | a4078d1a7ff698603c7fd4b446f57859 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
int accept(int fd, struct sockaddr* addr, socklen_t* len) {
return ki_accept(fd, addr, len);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | htons | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/htons.c | 626 | utf_8 | febedbcc01eb69b4b0da32b7875dc175 | #include "nacl_io/ossocket.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) && !defined(__BIONIC__)
#include <string.h>
inline uint16_t htons(uint16_t hostshort) {
uint8_t result_bytes[2];
result_bytes[0] = (uint8_t) ((hostshort >> 8) & 0xFF);
result_bytes[1] = (uint8_t) (hostshort & 0xFF);
uint16_t r... |
google | android | socket | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/socket.c | 460 | utf_8 | 0e166cb964f53ffb7e758c695b15f11a | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
int socket(int domain, int type, int protocol) {
return ki_socket(domain, type, protocol);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | sendmsg | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/sendmsg.c | 467 | utf_8 | 1cb1d35aa04387813821f0adf3a1d62c | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
ssize_t sendmsg(int fd, const struct msghdr* msg, int flags) {
return ki_sendmsg(fd, msg, flags);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | bind | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/bind.c | 463 | utf_8 | 7ee1347c1be33ff5cf1b64460126f1fa | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
int bind(int fd, const struct sockaddr* addr, socklen_t len) {
return ki_bind(fd, addr, len);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | setsockopt | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/setsockopt.c | 519 | utf_8 | 93aaff928d7991979e37f588a6c2fc7c | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
int setsockopt(int fd, int lvl, int optname, const void* optval,
socklen_t len) {
return ki_setsockopt(fd, lvl, optname, optval, len);
}
#endif /* defined(PROVIDES_SOCKET_API)... |
google | android | listen | .c | platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/listen.c | 434 | utf_8 | 7285a9a7f044202f83ba82a961cdd664 | #include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
int listen(int fd, int backlog) {
return ki_listen(fd, backlog);
}
#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */ |
google | android | pthread_key_create | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_key_create.c | 3,816 | utf_8 | df1967c207791bd030cba7ce831180c0 | /*
* pthread_key_create.c
*
* Description:
* POSIX thread functions which implement thread-specific data (TSD).
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser G... |
google | android | pthread_attr_setscope | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_setscope.c | 2,078 | utf_8 | 66e1c818f721d8d81976bfbd75a2be10 | /*
* pthread_attr_setscope.c
*
* Description:
* This translation unit implements operations on thread attribute objects.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU... |
google | android | sched_yield | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/sched_yield.c | 2,532 | utf_8 | 7892a20ce9d2a109d2282fbf68f90822 | /*
* sched_yield.c
*
* Description:
* POSIX thread functions that deal with thread scheduling.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser General Public
*... |
google | android | ptw32_spinlock_check_need_init | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_spinlock_check_need_init.c | 2,644 | utf_8 | 1f4dfaa526cc10ca8b9a15f9ec05923a | /*
* ptw32_spinlock_check_need_init.c
*
* Description:
* This translation unit implements spin lock primitives.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser G... |
google | android | pthread_rwlock_rdlock | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_rwlock_rdlock.c | 2,935 | utf_8 | ca81dab1545e0ec057293e1cd12339dc | /*
* pthread_rwlock_rdlock.c
*
* Description:
* This translation unit implements read/write lock primitives.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser Gene... |
google | android | pthread_setspecific | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_setspecific.c | 4,502 | utf_8 | b76edff74d9dbccb41a5497dde13dc4b | /*
* pthread_setspecific.c
*
* Description:
* POSIX thread functions which implement thread-specific data (TSD).
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser ... |
google | android | pthread_setschedparam | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_setschedparam.c | 3,298 | utf_8 | 717810998fc417b8cffa631a089edd13 | /*
* sched_setschedparam.c
*
* Description:
* POSIX thread functions that deal with thread scheduling.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser General P... |
google | android | ptw32_relmillisecs | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_relmillisecs.c | 4,081 | utf_8 | f01ff46fc142759c20e08969270f0592 | /*
* ptw32_relmillisecs.c
*
* Description:
* This translation unit implements miscellaneous thread functions.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser Gen... |
google | android | pthread_rwlock_tryrdlock | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_rwlock_tryrdlock.c | 2,942 | utf_8 | 902e23e8057dc0625ab539d551302ed8 | /*
* pthread_rwlock_tryrdlock.c
*
* Description:
* This translation unit implements read/write lock primitives.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser G... |
google | android | pthread_condattr_setpshared | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_condattr_setpshared.c | 3,755 | utf_8 | 7fe0deac5cab74d549d55eb4d30ec54b | /*
* pthread_condattr_setpshared.c
*
* Description:
* This translation unit implements condition variables and their primitives.
*
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy... |
google | android | ptw32_threadDestroy | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_threadDestroy.c | 2,545 | utf_8 | 76f961ccc61966e9a5483826ff315d6b | /*
* ptw32_threadDestroy.c
*
* Description:
* This translation unit implements routines which are private to
* the implementation and may be used throughout it.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* Y... |
google | android | sem_wait | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c | 5,180 | utf_8 | 705041e1944c628ed2fe658798c99dea | /*
* -------------------------------------------------------------
*
* Module: sem_wait.c
*
* Purpose:
* Semaphores aren't actually part of the PThreads standard.
* They are defined by the POSIX Standard:
*
* POSIX 1003.1b-1993 (POSIX.1b)
*
* -------------------------------------------------------------
*
... |
google | android | pthread_barrier_init | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_barrier_init.c | 2,211 | utf_8 | adcd52a45b3847b2521395ad404fbfed | /*
* pthread_barrier_init.c
*
* Description:
* This translation unit implements barrier primitives.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser General Publi... |
google | android | pthread_attr_destroy | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_destroy.c | 2,502 | utf_8 | d9349b7a9f48acbbdbb6c8667bbd8b6c | /*
* pthread_attr_destroy.c
*
* Description:
* This translation unit implements operations on thread attribute objects.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU ... |
google | android | w32_CancelableWait | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/w32_CancelableWait.c | 4,539 | utf_8 | 9af2202151069606beca008baaff6116 | /*
* w32_CancelableWait.c
*
* Description:
* This translation unit implements miscellaneous thread functions.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser Gen... |
google | android | pthread_mutexattr_setrobust | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutexattr_setrobust.c | 4,754 | utf_8 | 8270bea0ea13e5bf2ca6dc1b645ab368 | /*
* pthread_mutexattr_setrobust.c
*
* Description:
* This translation unit implements mutual exclusion (mutex) primitives.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the ... |
google | android | pthread_testcancel | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_testcancel.c | 3,379 | utf_8 | c80cc2d56e1b3307b22b9784344e20ee | /*
* pthread_testcancel.c
*
* Description:
* POSIX thread functions related to thread cancellation.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser General Publi... |
google | android | nonportable | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/nonportable.c | 1,883 | utf_8 | 2bba1f02e9b172b4989604bf18b0f44f | /*
* nonportable.c
*
* Description:
* This translation unit implements non-portable thread functions.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser General Pub... |
google | android | sem_post_multiple | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c | 3,964 | utf_8 | 3b7fd7b5febe2ad3772980d8adfb39e2 | /*
* -------------------------------------------------------------
*
* Module: sem_post_multiple.c
*
* Purpose:
* Semaphores aren't actually part of the PThreads standard.
* They are defined by the POSIX Standard:
*
* POSIX 1003.1b-1993 (POSIX.1b)
*
* --------------------------------------------------------... |
google | android | pthread_attr_getschedparam | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_getschedparam.c | 1,841 | utf_8 | 81b0a10b7fcd84da425b3243b87ae61d | /*
* pthread_attr_getschedparam.c
*
* Description:
* POSIX thread functions that deal with thread scheduling.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser Ge... |
google | android | pthread_mutex_consistent | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutex_consistent.c | 6,747 | utf_8 | da5c9679ed9ffb26932091e07942e94b | /*
* pthread_mutex_consistent.c
*
* Description:
* This translation unit implements mutual exclusion (mutex) primitives.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU... |
google | android | pthread | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread.c | 2,167 | utf_8 | b167d87ec192c94fcbfe11b111bf4a4c | /*
* pthread.c
*
* Description:
* This translation unit agregates pthreads-win32 translation units.
* It is used for inline optimisation of the library,
* maximising for speed at the expense of size.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX... |
google | android | misc | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/misc.c | 1,844 | utf_8 | 2b092d7d3e84f2d6cfcd510111862933 | /*
* misc.c
*
* Description:
* This translation unit implements miscellaneous thread functions.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GNU Lesser General Public
*... |
google | android | pthread_condattr_getpshared | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_condattr_getpshared.c | 3,322 | utf_8 | 0e8e2a0def11b95884f88febfb52ae37 | /*
* pthread_condattr_getpshared.c
*
* Description:
* This translation unit implements condition variables and their primitives.
*
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy... |
google | android | pthread_mutexattr_settype | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_mutexattr_settype.c | 5,470 | utf_8 | 08fe9a5f31f883b18553b0f0800a1c8a | /*
* pthread_mutexattr_settype.c
*
* Description:
* This translation unit implements mutual exclusion (mutex) primitives.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of the GN... |
google | android | pthread_attr_getdetachstate | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_getdetachstate.c | 3,037 | utf_8 | 70b2ae2bfcd6754a074fa6516269233c | /*
* pthread_attr_getdetachstate.c
*
* Description:
* This translation unit implements operations on thread attribute objects.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* You should have received a copy of t... |
google | android | ptw32_processInitialize | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_processInitialize.c | 3,026 | utf_8 | 3ec7a8af82e12ef6567a2abf33d7dcb8 | /*
* ptw32_processInitialize.c
*
* Description:
* This translation unit implements routines which are private to
* the implementation and may be used throughout it.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* ... |
google | android | ptw32_getprocessors | .c | platform/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_getprocessors.c | 2,580 | utf_8 | 88158036bfd76905214aa59d1e7dbd71 | /*
* ptw32_getprocessors.c
*
* Description:
* This translation unit implements routines which are private to
* the implementation and may be used throughout it.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
*
* Y... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.