/frameworks/base/graphics/java/android/graphics/ |
PorterDuffXfermode.java | 23 public final PorterDuff.Mode mode; field in class:PorterDuffXfermode 26 * Create an xfermode that uses the specified porter-duff mode. 28 * @param mode The porter-duff mode that is applied 30 public PorterDuffXfermode(PorterDuff.Mode mode) { 31 this.mode = mode; 32 native_instance = nativeCreateXfermode(mode.nativeInt) [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
chmod.c | 8 int chmod(const char* path, mode_t mode) { 9 return ki_chmod(path, mode);
|
mkdir.c | 8 int mkdir(const char* pathname, mode_t mode) { 9 return ki_mkdir(pathname, mode);
|
/external/clang/test/CodeGen/ |
pr13168.c | 5 void PR_OpenFile(int mode) { 6 _open64(0, mode);
|
/bionic/libc/bionic/ |
__umask_chk.cpp | 39 * Validate that umask is called with sane mode. 44 extern "C" mode_t __umask_chk(mode_t mode) { 45 if (__predict_false((mode & 0777) != mode)) { 49 return umask(mode);
|
reboot.c | 31 int reboot (int mode) 33 return __reboot( LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, mode, NULL );
|
/external/chromium/chrome/browser/prefs/ |
proxy_prefs_unittest.cc | 12 ProxyPrefs::ProxyMode mode; local 13 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("direct", &mode)); 14 EXPECT_EQ(ProxyPrefs::MODE_DIRECT, mode); 15 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("auto_detect", &mode)); 16 EXPECT_EQ(ProxyPrefs::MODE_AUTO_DETECT, mode); 17 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("pac_script", &mode)); 18 EXPECT_EQ(ProxyPrefs::MODE_PAC_SCRIPT, mode); 19 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("system", &mode)); 20 EXPECT_EQ(ProxyPrefs::MODE_SYSTEM, mode); 21 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("fixed_servers", &mode)); 36 ProxyPrefs::ProxyMode mode; local [all...] |
/external/chromium_org/chrome/browser/prefs/ |
proxy_prefs_unittest.cc | 12 ProxyPrefs::ProxyMode mode; local 13 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("direct", &mode)); 14 EXPECT_EQ(ProxyPrefs::MODE_DIRECT, mode); 15 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("auto_detect", &mode)); 16 EXPECT_EQ(ProxyPrefs::MODE_AUTO_DETECT, mode); 17 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("pac_script", &mode)); 18 EXPECT_EQ(ProxyPrefs::MODE_PAC_SCRIPT, mode); 19 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("system", &mode)); 20 EXPECT_EQ(ProxyPrefs::MODE_SYSTEM, mode); 21 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("fixed_servers", &mode)); 36 ProxyPrefs::ProxyMode mode; local [all...] |
/external/chromium_org/base/android/ |
fifo_utils.cc | 14 bool CreateFIFO(const FilePath& path, int mode) { 16 return mkfifo(path.value().c_str(), mode) == 0 && 17 chmod(path.value().c_str(), mode) == 0; 20 bool RedirectStream(FILE* stream, const FilePath& path, const char* mode) { 21 return freopen(path.value().c_str(), mode, stream) != NULL;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
tty.py | 19 """Put terminal into a raw mode.""" 20 mode = tcgetattr(fd) 21 mode[IFLAG] = mode[IFLAG] & ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON) 22 mode[OFLAG] = mode[OFLAG] & ~(OPOST) 23 mode[CFLAG] = mode[CFLAG] & ~(CSIZE | PARENB) 24 mode[CFLAG] = mode[CFLAG] | CS [all...] |
stat.py | 19 # Extract bits from the mode 21 def S_IMODE(mode): 22 return mode & 07777 24 def S_IFMT(mode): 25 return mode & 0170000 40 def S_ISDIR(mode): 41 return S_IFMT(mode) == S_IFDIR 43 def S_ISCHR(mode): 44 return S_IFMT(mode) == S_IFCHR 46 def S_ISBLK(mode) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
tty.py | 19 """Put terminal into a raw mode.""" 20 mode = tcgetattr(fd) 21 mode[IFLAG] = mode[IFLAG] & ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON) 22 mode[OFLAG] = mode[OFLAG] & ~(OPOST) 23 mode[CFLAG] = mode[CFLAG] & ~(CSIZE | PARENB) 24 mode[CFLAG] = mode[CFLAG] | CS [all...] |
stat.py | 19 # Extract bits from the mode 21 def S_IMODE(mode): 22 return mode & 07777 24 def S_IFMT(mode): 25 return mode & 0170000 40 def S_ISDIR(mode): 41 return S_IFMT(mode) == S_IFDIR 43 def S_ISCHR(mode): 44 return S_IFMT(mode) == S_IFCHR 46 def S_ISBLK(mode) [all...] |
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
flags.c | 47 * Return the (stdio) flags for a given mode. Store the flags 52 __sflags(const char *mode, int *optr) 56 switch (*mode++) { 76 default: /* illegal mode */ 82 if (*mode == 'b') 83 mode++; 86 if (*mode == '+') { 87 mode++; 93 if (*mode == 'b') 94 mode++ [all...] |
/external/chromium_org/chrome/common/ |
search_types.h | 8 // The Mode structure encodes the visual states encountered when interacting 38 SearchMode() : mode(MODE_DEFAULT), origin(ORIGIN_DEFAULT) { 42 : mode(in_mode), 47 return mode == rhs.mode && origin == rhs.origin; 55 return mode == MODE_DEFAULT; 59 return mode == MODE_NTP; 63 return mode == MODE_SEARCH_SUGGESTIONS || mode == MODE_SEARCH_RESULTS; 67 return mode == MODE_SEARCH_RESULTS 86 Type mode; member in struct:SearchMode [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
addrcache.h | 63 // Returns the first mode number that represents one of the NEAR modes. 64 // The number of NEAR modes is near_cache_size. Each NEAR mode refers to 72 // Returns the first mode number that represents one of the SAME modes. 73 // The number of SAME modes is same_cache_size. Each SAME mode refers to 82 // Returns the maximum valid mode number, which happens to be 83 // the last SAME mode. 96 // each address mode type (SELF, HERE, NEAR, and SAME). 97 static bool IsSelfMode(unsigned char mode) { 98 return mode == VCD_SELF_MODE; 101 static bool IsHereMode(unsigned char mode) { [all...] |
/external/chromium_org/sdch/open-vcdiff/src/ |
addrcache.h | 63 // Returns the first mode number that represents one of the NEAR modes. 64 // The number of NEAR modes is near_cache_size. Each NEAR mode refers to 72 // Returns the first mode number that represents one of the SAME modes. 73 // The number of SAME modes is same_cache_size. Each SAME mode refers to 82 // Returns the maximum valid mode number, which happens to be 83 // the last SAME mode. 96 // each address mode type (SELF, HERE, NEAR, and SAME). 97 static bool IsSelfMode(unsigned char mode) { 98 return mode == VCD_SELF_MODE; 101 static bool IsHereMode(unsigned char mode) { [all...] |
/external/open-vcdiff/src/ |
addrcache.h | 63 // Returns the first mode number that represents one of the NEAR modes. 64 // The number of NEAR modes is near_cache_size. Each NEAR mode refers to 72 // Returns the first mode number that represents one of the SAME modes. 73 // The number of SAME modes is same_cache_size. Each SAME mode refers to 82 // Returns the maximum valid mode number, which happens to be 83 // the last SAME mode. 96 // each address mode type (SELF, HERE, NEAR, and SAME). 97 static bool IsSelfMode(unsigned char mode) { 98 return mode == VCD_SELF_MODE; 101 static bool IsHereMode(unsigned char mode) { [all...] |
/bionic/libc/kernel/common/linux/netfilter/ |
xt_CONNSECMARK.h | 27 u_int8_t mode; member in struct:xt_connsecmark_target_info
|
/development/ndk/platforms/android-3/include/linux/netfilter/ |
xt_CONNSECMARK.h | 21 u_int8_t mode; member in struct:xt_connsecmark_target_info
|
/external/chromium_org/content/public/common/ |
file_chooser_params.cc | 9 FileChooserParams::FileChooserParams() : mode(Open) {
|
/external/kernel-headers/original/linux/netfilter/ |
xt_CONNSECMARK.h | 10 u_int8_t mode; member in struct:xt_connsecmark_target_info
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
reverse_bits.h | 36 Description: Adding #include "mode.h" so that it compiles and works for the 65 #include "mode.h" 105 void reverse_bits(enum Mode mode, unsigned char *pCompressedBlock);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter/ |
xt_CONNSECMARK.h | 10 u_int8_t mode; member in struct:xt_connsecmark_target_info
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter/ |
xt_CONNSECMARK.h | 10 u_int8_t mode; member in struct:xt_connsecmark_target_info
|