/prebuilts/gdb/linux-x86/lib/python2.7/ |
dbhash.py | 17 def open(file, flag = 'r', mode=0666): 18 return bsddb.hashopen(file, flag, mode)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
dbhash.py | 17 def open(file, flag = 'r', mode=0666): 18 return bsddb.hashopen(file, flag, mode)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
dbhash.py | 17 def open(file, flag = 'r', mode=0666): 18 return bsddb.hashopen(file, flag, mode)
|
/system/nvram/core/include/nvram/core/ |
persistence.h | 40 // Check whether a flag is present. 41 bool HasFlag(Flags flag) const { 42 return (flags & flag) != 0; 45 // Set a flag. 46 void SetFlag(Flags flag) { 47 flags |= flag; 97 // Check whether a given flag is set. 98 bool HasFlag(Flags flag) const { 99 return (flags & flag) != 0; 102 // Set a flag [all...] |
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-mips-elf/ |
nan-2008.s | 3 # We need some section contents for the ELF header flag compatibility check
|
/frameworks/base/core/java/android/net/ |
InterfaceConfiguration.java | 52 public boolean hasFlag(String flag) { 53 validateFlag(flag); 54 return mFlags.contains(flag); 57 public void clearFlag(String flag) { 58 validateFlag(flag); 59 mFlags.remove(flag); 62 public void setFlag(String flag) { 63 validateFlag(flag); 64 mFlags.add(flag); 146 for (String flag : mFlags) [all...] |
/external/libvpx/ |
lint_config.sh | 25 while getopts "h:a:o:p" flag 27 if [ "$flag" = "h" ]; then 29 elif [ "$flag" = "a" ]; then 31 elif [ "$flag" = "o" ]; then 33 elif [ "$flag" = "p" ]; then
|
/external/gflags/src/ |
gflags_reporting.cc | 48 // called after all flag-values have been assigned, that is, after 68 DEFINE_string(helpon, "", "show help on the modules named by this flag value"); 85 // Routines that pretty-print info about a flag. These use 87 // API exposes static info about a flag. 106 static string PrintStringFlagsWithQuotes(const CommandLineFlagInfo& flag, 108 const char* c_string = (current ? flag.current_value.c_str() : 109 flag.default_value.c_str()); 110 if (strcmp(flag.type.c_str(), "string") == 0) { // add quotes for strings 117 // Create a descriptive string for a flag. 119 string DescribeOneFlag(const CommandLineFlagInfo& flag) { [all...] |
/external/libchrome/base/task/ |
cancelable_task_tracker.cc | 22 void RunIfNotCanceled(const CancellationFlag* flag, const Closure& task) { 23 if (!flag->IsSet()) 27 void RunIfNotCanceledThenUntrack(const CancellationFlag* flag, 30 RunIfNotCanceled(flag, task); 34 bool IsCanceled(const CancellationFlag* flag, 36 return flag->IsSet(); 39 void RunAndDeleteFlag(const Closure& closure, const CancellationFlag* flag) { 41 delete flag; 85 CancellationFlag* flag = new CancellationFlag(); local 93 from_here, Bind(&RunIfNotCanceled, flag, std::move(task)) 113 CancellationFlag* flag = new CancellationFlag(); local [all...] |
/external/v8/src/base/ |
flags.h | 31 Flags(flag_type flag) // NOLINT(runtime/explicit) 32 : mask_(static_cast<S>(flag)) {} 35 bool operator==(flag_type flag) const { 36 return mask_ == static_cast<S>(flag); 38 bool operator!=(flag_type flag) const { 39 return mask_ != static_cast<S>(flag); 59 Flags& operator&=(flag_type flag) { return operator&=(Flags(flag)); } 60 Flags& operator|=(flag_type flag) { return operator|=(Flags(flag)); } [all...] |
/frameworks/base/tools/aapt2/ |
Flags.cpp | 39 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false}); 51 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false}); 63 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); 75 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); 87 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); 98 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 0, false}); 106 for (const Flag& flag : flags_) { 107 if (flag.required) { 108 *out << " " << flag.name << " arg" [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/templates/ |
softfloat.h | 160 !!!flag float32_eq( float32, float32 );
161 !!!flag float32_le( float32, float32 );
162 !!!flag float32_lt( float32, float32 );
163 !!!flag float32_eq_signaling( float32, float32 );
164 !!!flag float32_le_quiet( float32, float32 );
165 !!!flag float32_lt_quiet( float32, float32 );
166 !!!flag float32_is_signaling_nan( float32 );
197 !!!flag float64_eq( float64, float64 );
198 !!!flag float64_le( float64, float64 );
199 !!!flag float64_lt( float64, float64 ); [all...] |
/external/blktrace/btt/ |
args.c | 37 .flag = NULL, 43 .flag = NULL, 49 .flag = NULL, 55 .flag = NULL, 61 .flag = NULL, 67 .flag = NULL, 73 .flag = NULL, 79 .flag = NULL, 85 .flag = NULL, 91 .flag = NULL [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
gtest_env_var_test.py | 64 def GetFlag(flag): 68 if flag is not None: 69 args += [flag] 74 def TestFlag(flag, test_val, default_val): 75 """Verifies that the given flag is affected by the corresponding env var.""" 77 env_var = 'GTEST_' + flag.upper() 79 AssertEq(test_val, GetFlag(flag)) 81 AssertEq(default_val, GetFlag(flag)) 86 """Tests that environment variable should affect the corresponding flag."""
|
/external/google-breakpad/src/testing/src/ |
gmock.cc | 38 // control the flag values, like what Google Test does. 53 // Parses a string as a command line flag. The string should have the 57 // Returns the value of the flag, or NULL if the parsing failed. 59 const char* flag, 61 // str and flag must not be NULL. 62 if (str == NULL || flag == NULL) return NULL; 64 // The flag must start with "--gmock_". 65 const String flag_str = String::Format("--gmock_%s", flag); 69 // Skips the flag name. 78 // flag name, or if def_optional is false, there must be a '=' afte [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
21-1.c | 36 int flag; local 53 flag = MAP_SHARED; 54 while (flag == MAP_SHARED || flag == MAP_PRIVATE || flag == MAP_FIXED) 55 flag++; 57 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, flag, fd, 0);
|
/external/protobuf/gtest/test/ |
gtest_env_var_test.py | 64 def GetFlag(flag): 68 if flag is not None: 69 args += [flag] 73 def TestFlag(flag, test_val, default_val): 74 """Verifies that the given flag is affected by the corresponding env var.""" 76 env_var = 'GTEST_' + flag.upper() 78 AssertEq(test_val, GetFlag(flag)) 80 AssertEq(default_val, GetFlag(flag)) 85 """Tests that environment variable should affect the corresponding flag."""
|
/external/v8/testing/gtest/test/ |
gtest_env_var_test.py | 64 def GetFlag(flag): 68 if flag is not None: 69 args += [flag] 73 def TestFlag(flag, test_val, default_val): 74 """Verifies that the given flag is affected by the corresponding env var.""" 76 env_var = 'GTEST_' + flag.upper() 78 AssertEq(test_val, GetFlag(flag)) 80 AssertEq(default_val, GetFlag(flag)) 85 """Tests that environment variable should affect the corresponding flag."""
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest_env_var_test.py | 64 def GetFlag(flag): 68 if flag is not None: 69 args += [flag] 73 def TestFlag(flag, test_val, default_val): 74 """Verifies that the given flag is affected by the corresponding env var.""" 76 env_var = 'GTEST_' + flag.upper() 78 AssertEq(test_val, GetFlag(flag)) 80 AssertEq(default_val, GetFlag(flag)) 85 """Tests that environment variable should affect the corresponding flag."""
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
AccessibleObject.java | 33 * Constructor objects. It provides the ability to flag a reflected 41 * <p>Setting the {@code accessible} flag in a reflected object 69 * Convenience method to set the {@code accessible} flag for an 76 * <p>A {@code SecurityException} is raised if {@code flag} is 81 * accessibility of objects is set to {@code flag} for array elements 87 * @param flag the new value for the {@code accessible} flag 93 public static void setAccessible(AccessibleObject[] array, boolean flag) 99 setAccessible0(array[i], flag); 104 * Set the {@code accessible} flag for this object t [all...] |
/prebuilts/ndk/r16/sources/third_party/googletest/googletest/test/ |
gtest_env_var_test.py | 64 def GetFlag(flag): 68 if flag is not None: 69 args += [flag] 73 def TestFlag(flag, test_val, default_val): 74 """Verifies that the given flag is affected by the corresponding env var.""" 76 env_var = 'GTEST_' + flag.upper() 78 AssertEq(test_val, GetFlag(flag)) 80 AssertEq(default_val, GetFlag(flag)) 85 """Tests that environment variable should affect the corresponding flag."""
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/test/ |
gtest_env_var_test.py | 64 def GetFlag(flag): 68 if flag is not None: 69 args += [flag] 73 def TestFlag(flag, test_val, default_val): 74 """Verifies that the given flag is affected by the corresponding env var.""" 76 env_var = 'GTEST_' + flag.upper() 78 AssertEq(test_val, GetFlag(flag)) 80 AssertEq(default_val, GetFlag(flag)) 85 """Tests that environment variable should affect the corresponding flag."""
|
/external/googletest/googlemock/src/ |
gmock.cc | 38 // control the flag values, like what Google Test does. 60 // Parses a string as a command line flag. The string should have the 64 // Returns the value of the flag, or NULL if the parsing failed. 66 const char* flag, 68 // str and flag must not be NULL. 69 if (str == NULL || flag == NULL) return NULL; 71 // The flag must start with "--gmock_". 72 const std::string flag_str = std::string("--gmock_") + flag; 76 // Skips the flag name. 85 // flag name, or if def_optional is false, there must be a '=' afte [all...] |
/prebuilts/go/darwin-x86/src/cmd/asm/internal/flags/ |
flags.go | 10 "flag" 18 Debug = flag.Bool("debug", false, "dump instructions as they are parsed") 19 OutputFile = flag.String("o", "", "output file; default foo.o for /a/b/c/foo.s as first argument") 20 PrintOut = flag.Bool("S", false, "print assembly and machine code") 21 TrimPath = flag.String("trimpath", "", "remove prefix from recorded source file paths") 22 Shared = flag.Bool("shared", false, "generate code that can be linked into a shared library") 23 Dynlink = flag.Bool("dynlink", false, "support references to Go symbols defined in other shared libraries") 24 AllErrors = flag.Bool("e", false, "no limit on number of errors reported") 33 flag.Var(&D, "D", "predefined symbol with optional simple value -D=identifier=value; can be set multiple times") 34 flag.Var(&I, "I", "include directory; can be set multiple times" [all...] |
/prebuilts/go/linux-x86/src/cmd/asm/internal/flags/ |
flags.go | 10 "flag" 18 Debug = flag.Bool("debug", false, "dump instructions as they are parsed") 19 OutputFile = flag.String("o", "", "output file; default foo.o for /a/b/c/foo.s as first argument") 20 PrintOut = flag.Bool("S", false, "print assembly and machine code") 21 TrimPath = flag.String("trimpath", "", "remove prefix from recorded source file paths") 22 Shared = flag.Bool("shared", false, "generate code that can be linked into a shared library") 23 Dynlink = flag.Bool("dynlink", false, "support references to Go symbols defined in other shared libraries") 24 AllErrors = flag.Bool("e", false, "no limit on number of errors reported") 33 flag.Var(&D, "D", "predefined symbol with optional simple value -D=identifier=value; can be set multiple times") 34 flag.Var(&I, "I", "include directory; can be set multiple times" [all...] |