/external/mksh/src/ |
var.c | 38 * if (flag&INTEGER), val.i contains integer value, and type contains base. 40 * if (flag&EXPORT), val.s contains "name=value" for E-Z exporting. 104 if ((vp = *vpp++) != NULL && (vp->flag&SPECIAL)) { 105 if ((vq = global(vp->name))->flag & ISSET) 144 tp->flag = DEFINED|ISSET; 194 if (vp && (vp->flag & (DEFINED | ASSOC | ARRAY)) == 256 vp->flag = DEFINED; 270 vp->flag |= RDONLY; 275 vp->flag |= RDONLY; 278 vp->flag |= ISSET|INTEGER 1828 uint32_t fset = 0, fclr = 0, flag; local [all...] |
/prebuilts/go/darwin-x86/src/flag/ |
example_test.go | 5 // These examples demonstrate more intricate uses of the flag package. 10 "flag" 16 // Example 1: A single string flag called "species" with default value "gopher". 17 var species = flag.String("species", "gopher", "the species we are studying") 29 flag.StringVar(&gopherType, "gopher_type", defaultGopher, usage) 30 flag.StringVar(&gopherType, "g", defaultGopher, usage+" (shorthand)") 33 // Example 3: A user-defined flag type, a slice of durations. 36 // String is the method to format the flag's value, part of the flag.Value interface. 42 // Set is the method to set the flag value, part of the flag.Value interface [all...] |
/prebuilts/go/linux-x86/src/flag/ |
example_test.go | 5 // These examples demonstrate more intricate uses of the flag package. 10 "flag" 16 // Example 1: A single string flag called "species" with default value "gopher". 17 var species = flag.String("species", "gopher", "the species we are studying") 29 flag.StringVar(&gopherType, "gopher_type", defaultGopher, usage) 30 flag.StringVar(&gopherType, "g", defaultGopher, usage+" (shorthand)") 33 // Example 3: A user-defined flag type, a slice of durations. 36 // String is the method to format the flag's value, part of the flag.Value interface. 42 // Set is the method to set the flag value, part of the flag.Value interface [all...] |
/external/google-benchmark/ |
.ycm_extra_conf.py | 51 for flag in flags: 52 new_flag = flag 56 if not flag.startswith( '/' ): 57 new_flag = os.path.join( working_directory, flag ) 60 if flag == path_flag: 64 if flag.startswith( path_flag ): 65 path = flag[ len( path_flag ): ]
|
/external/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.""" 103 """Tests that $XML_OUTPUT_FILE affects the output flag."" [all...] |
/external/ltp/testcases/kernel/syscalls/rt_sigaction/ |
rt_sigaction03.c | 98 unsigned int flag; local 113 for (flag = 0; flag < ARRAY_SIZE(test_flags); flag++) { 115 (signal, 0, test_flags[flag])); 121 test_flags_list[flag]); 136 test_flags_list[flag]);
|
/external/v8/testing/gmock/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 std::string flag_str = std::string("--gmock_") + flag; 69 // Skips the flag name. 78 // flag name, or if def_optional is false, there must be a '=' afte [all...] |
/art/tools/dexfuzz/src/dexfuzz/ |
Options.java | 61 // FLAG OPTIONS 103 Log.always(" --no-boot-image : Use this flag when boot.art is not available."); 154 * Given a flag option (one that does not feature an =), handle it 155 * accordingly. Report an error and print usage info if the flag is not 158 private static void handleFlagOption(String flag) { 159 if (flag.equals("execute")) { 161 } else if (flag.equals("host")) { 163 } else if (flag.equals("no-boot-image")) { 165 } else if (flag.equals("skip-host-verify")) { 167 } else if (flag.equals("interpreter")) [all...] |
/hardware/intel/common/utils/ISV/include/ |
isv_bufmanager.h | 77 ISV_BUFFERTYPE type, uint32_t flag) 88 mFlags(flag), 94 uint32_t flag) 105 mFlags(flag), 118 // set/clear/get flag 120 void setFlag(uint32_t flag) { mFlags |= flag; return; } 121 void unsetFlag(uint32_t flag) { mFlags &= ~flag; return; } 168 // set buffer flag [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
Message.java | 112 * Set/clear a flag directly, without involving overrides of {@link #setFlag} in subclasses. Only 116 private final void setFlagDirectlyForTest(String flag, boolean set) throws MessagingException { 118 getFlagSet().add(flag); 120 getFlagSet().remove(flag); 124 public void setFlag(String flag, boolean set) throws MessagingException { 125 setFlagDirectlyForTest(flag, set); 135 for (String flag : flags) { 136 setFlag(flag, set); 140 public boolean isSet(String flag) { 141 return getFlagSet().contains(flag); [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
Message.java | 31 private HashSet<Flag> mFlags = null; 95 private HashSet<Flag> getFlagSet() { 97 mFlags = new HashSet<Flag>(); 105 public Flag[] getFlags() { 106 return getFlagSet().toArray(new Flag[] {}); 110 * Set/clear a flag directly, without involving overrides of {@link #setFlag} in subclasses. 113 public final void setFlagDirectlyForTest(Flag flag, boolean set) throws MessagingException { 115 getFlagSet().add(flag); 117 getFlagSet().remove(flag); [all...] |
/external/ltp/testcases/kernel/syscalls/socket/ |
socket02.c | 23 * This program tests the new flag SOCK_CLOEXEC and SOCK_NONBLOCK introduced 39 int flag; member in struct:tcase 60 if (tc->flag != 0 && (res & tc->flag) == 0) { 61 tst_res(TFAIL, "socket() failed to set %s flag", tc->des); 65 if (tc->flag == 0 && (res & tc->flag) != 0) { 66 tst_res(TFAIL, "socket() failed to set %s flag", tc->des); 70 tst_res(TPASS, "socket() passed to set %s flag", tc->des);
|
/external/ltp/testcases/kernel/syscalls/socketpair/ |
socketpair02.c | 23 * This Program tests the new flag SOCK_CLOEXEC and SOCK_NONBLOCK introduced 42 int flag; member in struct:tcase 65 if (tc->flag != 0 && (res & tc->flag) == 0) { 66 tst_res(TFAIL, "socketpair() failed to set %s flag for fds[%d]", 71 if (tc->flag == 0 && (res & tc->flag) != 0) { 72 tst_res(TFAIL, "socketpair() failed to set %s flag for fds[%d]", 78 tst_res(TPASS, "socketpair() passed to set %s flag", tc->des);
|
/hardware/interfaces/radio/1.0/vts/functional/ |
vts_test_util.cpp | 24 CheckFlag flag) { 29 if (flag == CHECK_GENERAL_ERROR || flag == CHECK_OEM_AND_GENERAL_ERROR) { 36 if (flag == CHECK_OEM_ERROR || flag == CHECK_OEM_AND_GENERAL_ERROR) {
|
/prebuilts/go/darwin-x86/src/cmd/objdump/ |
main.go | 35 "flag" 46 var printCode = flag.Bool("S", false, "print go code alongside assembly") 47 var symregexp = flag.String("s", "", "only dump symbols matching this regexp") 52 flag.PrintDefaults() 60 flag.Usage = usage 61 flag.Parse() 62 if flag.NArg() != 1 && flag.NArg() != 3 { 74 f, err := objfile.Open(flag.Arg(0)) 81 log.Fatalf("disassemble %s: %v", flag.Arg(0), err [all...] |
/prebuilts/go/linux-x86/src/cmd/objdump/ |
main.go | 35 "flag" 46 var printCode = flag.Bool("S", false, "print go code alongside assembly") 47 var symregexp = flag.String("s", "", "only dump symbols matching this regexp") 52 flag.PrintDefaults() 60 flag.Usage = usage 61 flag.Parse() 62 if flag.NArg() != 1 && flag.NArg() != 3 { 74 f, err := objfile.Open(flag.Arg(0)) 81 log.Fatalf("disassemble %s: %v", flag.Arg(0), err [all...] |
/external/toybox/toys/pending/ |
ipcs.c | 41 #define flag(x) (toys.optflags & FLAG_ ## x) macro 161 if (flag(u)) { 175 if (flag(l)) { 189 if (flag(t)) { 193 } else if (flag(p)) { 197 } else if (flag(c)) { 210 if (flag(t)) { 220 } else if (flag(p)) { 225 } else if (flag(c)) { 265 if (flag(u)) [all...] |
/external/clang/unittests/Driver/ |
MultilibTest.cpp | 27 ASSERT_TRUE(Multilib().flag("+foo").isValid()) 28 << "Single indicative flag is not valid"; 30 ASSERT_TRUE(Multilib().flag("-foo").isValid()) 31 << "Single contraindicative flag is not valid"; 33 ASSERT_FALSE(Multilib().flag("+foo").flag("-foo").isValid()) 36 ASSERT_TRUE(Multilib().flag("+foo").flag("+foo").isValid()) 37 << "Multilib should be valid even if it has the same flag twice"; 39 ASSERT_TRUE(Multilib().flag("+foo").flag("-foobar").isValid() [all...] |
/external/webrtc/webrtc/base/ |
flags.cc | 25 // Implementation of Flag 27 Flag::Flag(const char* file, const char* name, const char* comment, 39 void Flag::SetToDefault() { 41 // flag variables are not really of type FlagValue and thus may 43 // of a flag variable for convenient access. Since union members 46 case Flag::BOOL: 49 case Flag::INT: 52 case Flag::FLOAT: 55 case Flag::STRING 193 Flag* flag = Lookup(name); local [all...] |
/external/clang/test/OpenMP/ |
cancel_codegen.cpp | 9 float flag; variable 14 #pragma omp cancel parallel if(flag) 55 #pragma omp cancel for if(cancel: flag) 58 // CHECK: [[FLAG:%.+]] = load float, float* @{{.+}}, 59 // CHECK: [[BOOL:%.+]] = fcmp une float [[FLAG]], 0.000000e+00 103 // CHECK: [[FLAG:%.+]] = load float, float* @{{.+}}, 104 // CHECK: [[BOOL:%.+]] = fcmp une float [[FLAG]], 0.000000e+00
|
/external/e2fsprogs/lib/e2p/ |
pf.c | 25 unsigned long flag; member in struct:flags_name 59 for (fp = flags_array; fp->flag != 0; fp++) { 60 if (flags & fp->flag) {
|
/external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/ |
Flags.java | 19 * @param flags initial value of the flag. 27 * @return the computed flag. 34 * Change the given bit of this flag. 39 protected F setFlag(int flag, boolean value) { 44 mFlags |= flag; 46 mFlags &= ~flag; 54 * Makes this flag immutable. This is a non-reversable operation.
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_debug.h | 58 SVGA_DBG( unsigned flag, const char *fmt, ... ) 61 if (SVGA_DEBUG & flag) 70 (void)flag;
|
/external/syslinux/gpxe/src/arch/i386/core/ |
cpu.c | 12 * Test to see if CPU flag is changeable 14 * @v flag Flag to test 15 * @ret can_change Flag is changeable 17 static inline int flag_is_changeable ( unsigned int flag ) { 31 : "ir" ( flag ) ); 33 return ( ( ( f1 ^ f2 ) & flag ) != 0 );
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldFormattableTest.java | 27 boolean flag = false; field in class:OldFormattableTest.Mock_Formattable 40 flag = true; 44 return flag;
|