/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
FlagManagerTest.java | 36 Image us = manager.getFlag("US"); 37 Image gb = manager.getFlag("GB"); 38 Image ca = manager.getFlag("CA"); 39 Image es = manager.getFlag("ES"); 40 Image br = manager.getFlag("BR"); 41 Image pt = manager.getFlag("PT"); 42 assertSame(us, manager.getFlag("en", "US")); 43 assertSame(gb, manager.getFlag("en", "GB")); 44 assertSame(ca, manager.getFlag("en", "CA")); 46 assertSame(us, manager.getFlag("en", null)) [all...] |
/external/chromium_org/third_party/webrtc/tools/ |
simple_command_line_parser_unittest.cc | 54 EXPECT_EQ("true", parser_->GetFlag("foo")); 55 EXPECT_EQ("false", parser_->GetFlag("foo-foo")); 56 EXPECT_EQ("1", parser_->GetFlag("bar")); 57 EXPECT_EQ("333", parser_->GetFlag("baz")); 58 EXPECT_EQ("", parser_->GetFlag("unknown"));
|
simple_command_line_parser.h | 30 // 5. Get the values of the flags using GetFlag. 64 std::string GetFlag(std::string flag_name);
|
simple_command_line_parser.cc | 122 std::string CommandLineParser::GetFlag(std::string flag_name) {
|
/external/chromium_org/third_party/webrtc/tools/converter/ |
rgba_to_i420_converter.cc | 62 if (parser.GetFlag("help") == "true") { 67 int width = strtol((parser.GetFlag("width")).c_str(), NULL, 10); 68 int height = strtol((parser.GetFlag("height")).c_str(), NULL, 10); 75 bool del_frames = (parser.GetFlag("delete_frames") == "true") ? true : false; 78 bool success = converter.ConvertRGBAToI420Video(parser.GetFlag("frames_dir"), 79 parser.GetFlag("output_file"),
|
/external/chromium_org/third_party/webrtc/tools/frame_analyzer/ |
frame_analyzer.cc | 75 if (parser.GetFlag("help") == "true") { 80 int width = strtol((parser.GetFlag("width")).c_str(), NULL, 10); 81 int height = strtol((parser.GetFlag("height")).c_str(), NULL, 10); 90 webrtc::test::RunAnalysis(parser.GetFlag("reference_file").c_str(), 91 parser.GetFlag("test_file").c_str(), 92 parser.GetFlag("stats_file").c_str(), width, height, 95 std::string label = parser.GetFlag("label"); 98 parser.GetFlag("stats_file"));
|
/external/chromium_org/third_party/webrtc/tools/frame_editing/ |
frame_editing.cc | 78 if (parser.GetFlag("help") == "true") { 83 const char* in_path = parser.GetFlag("in_path").c_str(); 84 int width = strtol((parser.GetFlag("width")).c_str(), NULL, 10); 85 int height = strtol((parser.GetFlag("height")).c_str(), NULL, 10); 86 int first_frame_to_cut = strtol((parser.GetFlag("f")).c_str(), NULL, 10); 87 int interval = strtol((parser.GetFlag("interval")).c_str(), NULL, 10); 88 int last_frame_to_cut = strtol((parser.GetFlag("l")).c_str(), NULL, 10); 90 const char* out_path = parser.GetFlag("out_path").c_str();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
RandomTest.java | 252 public boolean getFlag () { 267 assertFalse(mr.getFlag()); 269 assertTrue(mr.getFlag()); 271 assertTrue(mr.getFlag()); 273 assertTrue(mr.getFlag()); 275 assertTrue(mr.getFlag()); 277 assertTrue(mr.getFlag()); 279 assertTrue(mr.getFlag()); 281 assertTrue(mr.getFlag()); 283 assertTrue(mr.getFlag()); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Node.h | 223 bool isElementNode() const { return getFlag(IsElementFlag); } 224 bool isContainerNode() const { return getFlag(IsContainerFlag); } 225 bool isTextNode() const { return getFlag(IsTextFlag); } 226 bool isHTMLElement() const { return getFlag(IsHTMLFlag); } 227 bool isSVGElement() const { return getFlag(IsSVGFlag); } 234 bool isCustomElement() const { return getFlag(CustomElementFlag); } 243 ? (getFlag(CustomElementUpgradedFlag) ? Upgraded : WaitingForUpgrade) 267 bool isDocumentFragment() const { return getFlag(IsDocumentFragmentFlag); } 269 bool isInsertionPoint() const { return getFlag(IsInsertionPointFlag); } 271 bool hasCustomStyleCallbacks() const { return getFlag(HasCustomStyleCallbacksFlag); [all...] |
/external/chromium_org/third_party/webrtc/tools/psnr_ssim_analyzer/ |
psnr_ssim_analyzer.cc | 116 if (parser.GetFlag("help") == "true") { 121 int width = strtol((parser.GetFlag("width")).c_str(), NULL, 10); 122 int height = strtol((parser.GetFlag("height")).c_str(), NULL, 10); 129 CompareFiles(parser.GetFlag("reference_file").c_str(), 130 parser.GetFlag("test_file").c_str(), 131 parser.GetFlag("results_file").c_str(), width, height);
|
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/vp8/ |
vp8_sequence_coder.cc | 84 int width = strtol((parser.GetFlag("w")).c_str(), NULL, 10); 85 int height = strtol((parser.GetFlag("h")).c_str(), NULL, 10); 86 int framerate = strtol((parser.GetFlag("f")).c_str(), NULL, 10); 92 int target_bitrate = strtol((parser.GetFlag("b")).c_str(), NULL, 10); 100 std::string encoded_file_name = parser.GetFlag("encoded_file"); 106 std::string input_file_name = parser.GetFlag("input_file"); 113 std::string output_file_name = parser.GetFlag("output_file"); 121 int start_frame = strtol((parser.GetFlag("start_frame")).c_str(), NULL, 10); 122 int num_frames = strtol((parser.GetFlag("num_frames")).c_str(), NULL, 10); 231 if (parser.GetFlag("help") == "true") [all...] |
/external/chromium_org/testing/gtest/test/ |
gtest_env_var_test.py | 64 def GetFlag(flag): 78 AssertEq(test_val, GetFlag(flag)) 80 AssertEq(default_val, GetFlag(flag))
|
gtest_test_utils.py | 115 def GetFlag(flag): 118 # In case GetFlag() is called before Main(), we always call 129 return os.path.abspath(GetFlag('source_dir')) 135 return os.path.abspath(GetFlag('build_dir'))
|
/external/gtest/test/ |
gtest_env_var_test.py | 64 def GetFlag(flag): 78 AssertEq(test_val, GetFlag(flag)) 80 AssertEq(default_val, GetFlag(flag))
|
gtest_test_utils.py | 115 def GetFlag(flag): 118 # In case GetFlag() is called before Main(), we always call 129 return os.path.abspath(GetFlag('source_dir')) 135 return os.path.abspath(GetFlag('build_dir'))
|
/external/protobuf/gtest/test/ |
gtest_env_var_test.py | 62 def GetFlag(flag): 76 AssertEq(test_val, GetFlag(flag)) 78 AssertEq(default_val, GetFlag(flag))
|
gtest_test_utils.py | 99 def GetFlag(flag): 102 # In case GetFlag() is called before Main(), we always call 113 return os.path.abspath(GetFlag('gtest_source_dir')) 119 return os.path.abspath(GetFlag('gtest_build_dir'))
|
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_env_var_test.py | 64 def GetFlag(flag): 78 AssertEq(test_val, GetFlag(flag)) 80 AssertEq(default_val, GetFlag(flag))
|
gtest_test_utils.py | 100 def GetFlag(flag): 103 # In case GetFlag() is called before Main(), we always call 114 return os.path.abspath(GetFlag('source_dir')) 120 return os.path.abspath(GetFlag('build_dir'))
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
FlagManager.java | 95 public Image getFlag(@Nullable String language, @Nullable String region) { 107 Image flag = getFlag(locale.getCountry()); 142 public Image getFlag(LanguageQualifier language, RegionQualifier region) { 151 return getFlag(languageCode, regionCode); 176 return FlagManager.get().getFlag(language, region); 189 public Image getFlag(@NonNull String region) {
|
/art/compiler/dex/ |
pass_driver_me_opts.cc | 82 if ((pass_me->GetFlag(kOptimizationBasicBlockChange) == true) || 83 (pass_me->GetFlag(kOptimizationDefUsesChange) == true)) {
|
pass_me.h | 93 bool GetFlag(OptimizationFlag flag) const {
|
/external/smack/src/org/apache/harmony/javax/security/auth/login/ |
LoginContext.java | 273 ++total[module.getFlag()]; 274 ++logged[module.getFlag()]; 275 if (module.getFlag() == SUFFICIENT) { 293 ++total[module.getFlag()]; 295 if (module.getFlag() == REQUISITE) { 339 ++total[module.getFlag()]; 342 ++commited[module.getFlag()]; 512 int getFlag() {
|
/external/smack/src/org/xbill/DNS/ |
Header.java | 123 getFlag(int bit) { 134 array[i] = getFlag(i); 246 if (validFlag(i) && getFlag(i)) {
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_pattern.cpp | 178 FX_DWORD CPDF_MeshStream::GetFlag()
216 FX_DWORD flag = GetFlag();
254 flag = stream.GetFlag();
|