/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
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...] |
/external/autotest/server/cros/ap_configurators/ |
netgear1000_ap_configurator.py | 15 def set_mode(self, mode): 16 # The mode popup changes based on the security mode. Set to no 19 self.add_item_to_command_list(self._set_mode, (mode, ), 1, 800) 22 def _set_mode(self, mode): 23 if mode == ap_spec.MODE_G: 24 mode = 'Up to 54 Mbps' 25 elif mode == ap_spec.MODE_N: 26 mode = 'Up to 150 Mbps' 28 raise RuntimeError('Unsupported mode passed.' [all...] |
/external/libpng/tests/ |
pngvalid-gamma-expand16-alpha-mode | 2 exec ./pngvalid --strict --gamma-alpha-mode --expand16
|
/external/ltp/include/lapi/ |
mkdirat.h | 27 int mkdirat(int dirfd, const char *dirname, int mode) 29 return ltp_syscall(__NR_mkdirat, dirfd, dirname, mode);
|
/external/ltp/testcases/kernel/fs/doio/include/ |
databin.h | 9 * (void) databingen(mode, buffer, bsize, offset) 10 * int mode; 17 * of data of the form indicated by 'mode'. 40 void databingen( int mode, char *buffer, int bsize, int offset ); 42 int databinchk( int mode, char *buffer, int bsize, int offset, char **errmsg);
|
/external/python/cpython2/Lib/ |
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...] |
/external/skia/src/gpu/effects/ |
GrCustomXfermode.h | 18 * Custom Xfer modes are used for blending when the blend mode cannot be represented using blend 22 bool IsSupportedMode(SkBlendMode mode); 23 const GrXPFactory* Get(SkBlendMode mode);
|
/external/skqp/src/gpu/effects/ |
GrCustomXfermode.h | 18 * Custom Xfer modes are used for blending when the blend mode cannot be represented using blend 22 bool IsSupportedMode(SkBlendMode mode); 23 const GrXPFactory* Get(SkBlendMode mode);
|
/frameworks/base/graphics/java/android/graphics/ |
PorterDuffXfermode.java | 21 * {@link Paint#setXfermode(Xfermode) transfer mode}. Refer to the 22 * documentation of the {@link PorterDuff.Mode} enum for more 27 * Create an xfermode that uses the specified porter-duff mode. 29 * @param mode The porter-duff mode that is applied 31 public PorterDuffXfermode(PorterDuff.Mode mode) { 32 porterDuffMode = mode.nativeInt;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
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/gdb/linux-x86/lib/python2.7/ |
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/darwin-x86/2.7.5/lib/python2.7/ |
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/ |
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...] |
/external/clang/test/SemaCXX/ |
attr-mode-tmpl.cpp | 9 // Check that non-vector 'mode' attribute is OK with enumeration types. 10 typedef T __attribute__((mode(QI))) T1; 11 typedef T T2 __attribute__((mode(HI))); 12 typedef T __attribute__((mode(V8SI))) T3; // expected-error{{mode 'V8SI' is not supported for enumeration types}} 13 // expected-warning@-1{{specifying vector types with the 'mode' attribute is deprecated}} 15 typedef enum __attribute__((mode(HI))) { A4, B4 } T4; 16 typedef enum { A5, B5 } __attribute__((mode(SI))) T5; 17 typedef enum __attribute__((mode(V2SI))) { A6, B6 } T6; // expected-error{{mode 'V2SI' is not supported for enumeration types} [all...] |
/external/clang/test/Sema/ |
attr-mode-vector-types.c | 4 typedef int __attribute__((mode(byte))) __attribute__((vector_size(256))) vec_t1; 5 typedef int __attribute__((mode(QI))) __attribute__((vector_size(256))) vec_t2; 6 typedef int __attribute__((mode(SI))) __attribute__((vector_size(256))) vec_t3; 7 typedef int __attribute__((mode(DI))) __attribute__((vector_size(256)))vec_t4; 8 typedef float __attribute__((mode(SF))) __attribute__((vector_size(256))) vec_t5; 9 typedef float __attribute__((mode(DF))) __attribute__((vector_size(256))) vec_t6; 10 typedef float __attribute__((mode(XF))) __attribute__((vector_size(256))) vec_t7; 12 typedef int v8qi __attribute__ ((mode(QI))) __attribute__ ((vector_size(8))); 13 typedef int v8qi __attribute__ ((mode(V8QI))); 14 // expected-warning@-1{{specifying vector types with the 'mode' attribute is deprecated; use the 'vector_size' attribute instead} [all...] |
attr-mode-enums.c | 3 // Test checks that 'mode' attribute is handled correctly with enums, i. e. code 4 // 1. "typedef enum { A } __attribute__((mode(HI))) T;" is accepted, 5 // 2. "enum X __attribute__((mode(QI))) var;" forms a complete integer type. 6 // 3. "enum { A } __attribute__((mode(V4SI))) var;" is not accepted (vector mode). 11 // Vector mode are not allowed with enums. 12 typedef enum { E1 } __attribute__((mode(V4QI))) RejectedType1; // expected-error{{mode 'V4QI' is not supported for enumeration types}} 13 // expected-warning@-1{{specifying vector types with the 'mode' attribute is deprecated}} 14 typedef enum __attribute__((mode(V8HI))) { E2 } RejectedType2; // expected-error{{mode 'V8HI' is not supported for enumeration type (…) [all...] |
/external/libopus/celt/dump_modes/ |
dump_modes.c | 60 CELTMode *mode = modes[i]; local 61 fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts); 75 CELTMode *mode = modes[i]; local 79 mdctSize = mode->shortMdctSize*mode->nbShortMdcts; 80 standard = (mode->Fs == 400*(opus_int32)mode->shortMdctSize); 81 framerate = mode->Fs/mode->shortMdctSize 266 CELTMode *mode = modes[i]; local 283 CELTMode *mode = modes[i]; local [all...] |
/external/deqp/framework/common/ |
tcuTexVerifierUtil.hpp | 59 inline bool isNearestMipmapFilter (const Sampler::FilterMode mode) 61 return mode == Sampler::NEAREST_MIPMAP_NEAREST || mode == Sampler::LINEAR_MIPMAP_NEAREST; 64 inline bool isLinearMipmapFilter (const Sampler::FilterMode mode) 66 return mode == Sampler::NEAREST_MIPMAP_LINEAR || mode == Sampler::LINEAR_MIPMAP_LINEAR; 69 inline bool isMipmapFilter (const Sampler::FilterMode mode) 71 return isNearestMipmapFilter(mode) || isLinearMipmapFilter(mode); 74 inline bool isLinearFilter (const Sampler::FilterMode mode) [all...] |
/bionic/libc/bionic/ |
mkfifo.cpp | 33 int mkfifo(const char* path, mode_t mode) { 34 return mkfifoat(AT_FDCWD, path, mode); 37 int mkfifoat(int fd, const char* path, mode_t mode) { 38 return mknodat(fd, path, (mode & ~S_IFMT) | S_IFIFO, 0);
|
/external/curl/docs/cmdline-opts/ |
silent.d | 3 Help: Silent mode 6 Silent or quiet mode. Don't show progress meter or error messages. Makes Curl
|
/external/llvm/utils/lit/tests/Inputs/shtest-timeout/ |
quick_then_slow.py | 12 mode = sys.argv[1] variable 14 if mode == 'slow': 15 print("Running in slow mode") 19 elif mode == 'quick': 20 print("Running in quick mode") 23 print("Unrecognised mode {}".format(mode))
|
/external/mockito/src/main/java/org/mockito/verification/ |
VerificationStrategy.java | 16 * @param mode The original mode. 17 * @return A wrapping mode that uses the original mode. 19 VerificationMode maybeVerifyLazily(VerificationMode mode);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
init_decode.h | 30 int16_t mode, /* (i) frame size mode */
|
init_encode.h | 30 int16_t mode /* (i) frame size mode */
|
/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);
|