/external/libmojo/mojo/public/tools/bindings/ |
mojom_list_outputs.py | 11 parser = argparse.ArgumentParser( 13 parser.add_argument("--basedir", required=True) 14 parser.add_argument("--variant", required=True) 15 parser.add_argument("mojom", nargs="*") 17 args = parser.parse_args()
|
/external/pdfium/third_party/freetype/src/psaux/ |
afmparse.h | 5 /* AFM parser (specification). */ 31 afm_parser_init( AFM_Parser parser, 38 afm_parser_done( AFM_Parser parser ); variable 42 afm_parser_parse( AFM_Parser parser ); variable 74 afm_parser_read_vals( AFM_Parser parser, 80 afm_parser_next_key( AFM_Parser parser,
|
/external/skia/infra/bots/assets/skp/ |
create_and_upload.py | 21 parser = argparse.ArgumentParser() 22 parser.add_argument('--chrome_src_path', '-c', required=True) 23 parser.add_argument('--browser_executable', '-e', required=True) 24 parser.add_argument('--gsutil') 25 args = parser.parse_args()
|
/external/skia/infra/bots/assets/win_toolchain/ |
create_and_upload.py | 21 parser = argparse.ArgumentParser() 22 parser.add_argument('--gsutil') 23 parser.add_argument('--chrome_path') 24 parser.add_argument('--msvs_version', required=True) 25 args = parser.parse_args()
|
/external/skia/infra/bots/assets/win_vulkan_sdk/ |
create.py | 29 parser = argparse.ArgumentParser() 30 parser.add_argument('--target_dir', '-t', required=True) 31 parser.add_argument('--sdk_path', '-s', required=True) 32 parser.add_argument('--runtime_path', '-r', 35 args = parser.parse_args()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
h264_sps_parser_unittest.cc | 33 // which should be stripped out before being passed to the parser. 41 // level_idc, to make sure the parser doesn't eat all 0x3 bytes. 70 // divide by 2. See the parser for the full calculation. 125 H264SpsParser parser = H264SpsParser(buffer, arraysize(buffer)); local 126 EXPECT_TRUE(parser.Parse()); 127 EXPECT_EQ(1280u, parser.width()); 128 EXPECT_EQ(720u, parser.height()); 137 H264SpsParser parser = H264SpsParser(buffer, arraysize(buffer)); local 138 EXPECT_TRUE(parser.Parse()); 139 EXPECT_EQ(640u, parser.width()) 149 H264SpsParser parser = H264SpsParser(buffer, arraysize(buffer)); local 158 H264SpsParser parser = H264SpsParser(buffer, arraysize(buffer)); local 167 H264SpsParser parser = H264SpsParser(buffer, arraysize(buffer)); local [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/utils/sym_check/ |
sym_extract.py | 18 parser = ArgumentParser( 20 parser.add_argument('library', metavar='shared-lib', type=str, 22 parser.add_argument('-o', '--output', dest='output', 25 parser.add_argument('--names-only', dest='names_only', 28 args = parser.parse_args()
|
sym_match.py | 20 parser = ArgumentParser( 22 parser.add_argument( 25 parser.add_argument( 28 parser.add_argument( 31 args = parser.parse_args()
|
/tools/loganalysis/tests/src/com/android/loganalysis/ |
UnitTests.java | 30 import com.android.loganalysis.parser.AbstractSectionParserTest; 31 import com.android.loganalysis.parser.AnrParserTest; 32 import com.android.loganalysis.parser.BugreportParserTest; 33 import com.android.loganalysis.parser.CompactMemInfoParserTest; 34 import com.android.loganalysis.parser.DmesgParserTest; 35 import com.android.loganalysis.parser.DvmLockSampleParserTest; 36 import com.android.loganalysis.parser.EventsLogParserTest; 37 import com.android.loganalysis.parser.InterruptParserTest; 38 import com.android.loganalysis.parser.JavaCrashParserTest; 39 import com.android.loganalysis.parser.KernelLogParserTest [all...] |
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/ |
VendorConfig.java | 121 * @param parser XML parser to read from 128 private static @NonNull String readText(XmlPullParser parser) 132 if (parser.next() == XmlPullParser.TEXT) { 133 result = parser.getText(); 134 parser.nextTag(); 141 * Read a tag with a text content from the parser. 143 * @param parser XML parser to read from 152 @NonNull XmlPullParser parser, @NonNull String tagName, boolean resolveReferences [all...] |
/external/autotest/cli/ |
query_keyvals | 10 parser = optparse.OptionParser(usage=usage) 11 parser.add_option("-m", "--machine", dest="machine") 12 parser.add_option("-t", "--test", dest="test") 13 parser.add_option("-T", "--type", dest="type", type="choice", 15 parser.add_option("-k", "--key", dest="key") 16 parser.set_defaults(type="all") 17 options, args = parser.parse_args() 23 return parser, options, args 55 parser, options, args = parse_options() 57 parser.print_help( [all...] |
/external/libchrome/base/json/ |
json_reader.cc | 47 internal::JSONParser parser(JSON_PARSE_RFC); 48 return parser.Parse(json); 53 internal::JSONParser parser(options); 54 return parser.Parse(json); 66 internal::JSONParser parser(options); 67 std::unique_ptr<Value> root(parser.Parse(json)); 70 *error_code_out = parser.error_code(); 72 *error_msg_out = parser.GetErrorMessage(); 74 *error_line_out = parser.error_line(); 76 *error_column_out = parser.error_column() [all...] |
/external/libcxx/utils/ |
sym_diff.py | 20 parser = ArgumentParser( 22 parser.add_argument( 26 parser.add_argument( 30 parser.add_argument('--only-stdlib-symbols', dest='only_stdlib', 33 parser.add_argument('--strict', dest='strict', 37 parser.add_argument( 41 parser.add_argument( 43 parser.add_argument( 46 parser.add_argument( 49 args = parser.parse_args( [all...] |
/external/vboot_reference/utility/include/ |
bmpblk_utility.h | 85 void expect_event(yaml_parser_t *parser, const yaml_event_type_e type); 86 void parse_config(yaml_parser_t *parser); 87 void parse_first_layer(yaml_parser_t *parser); 88 void parse_bmpblock(yaml_parser_t *parser); 89 void parse_compression(yaml_parser_t *parser); 90 void parse_images(yaml_parser_t *parser); 91 void parse_layout(yaml_parser_t *parser, ScreenConfig &screen); 92 void parse_screens(yaml_parser_t *parser); 93 void parse_localizations(yaml_parser_t *parser); 94 void parse_locale_index(yaml_parser_t *parser); [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
LevelTree.java | 82 XmlResourceParser parser = context.getResources().getXml(resource); local 91 int eventType = parser.getEventType(); 94 if (parser.getName().equals("group")) { 101 if (parser.getName().equals("level") && currentGroup != null) { 108 for(int i=0; i < parser.getAttributeCount(); i++) { 109 if (parser.getAttributeName(i).equals("past")) { 110 if (parser.getAttributeValue(i).equals("true")) { 113 } else if (parser.getAttributeName(i).equals("restartable")) { 114 if (parser.getAttributeValue(i).equals("false")) { 117 } else if (parser.getAttributeName(i).equals("waitmessage")) [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
compound_packet_unittest.cc | 41 RtcpPacketParser parser; local 42 parser.Parse(packet->Buffer(), packet->Length()); 43 EXPECT_EQ(1, parser.receiver_report()->num_packets()); 44 EXPECT_EQ(kSenderSsrc, parser.receiver_report()->Ssrc()); 45 EXPECT_EQ(1, parser.report_block()->num_packets()); 46 EXPECT_EQ(1, parser.fir()->num_packets()); 56 RtcpPacketParser parser; local 57 parser.Parse(packet->Buffer(), packet->Length()); 58 EXPECT_EQ(1, parser.receiver_report()->num_packets()); 59 EXPECT_EQ(0, parser.report_block()->num_packets()) 76 RtcpPacketParser parser; local 100 RtcpPacketParser parser; local 130 RtcpPacketParser parser; local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_pyexpat.py | 15 self.parser = expat.ParserCreate(namespace_separator='!') 25 self.parser.returns_unicode = x 26 self.assertEqual(self.parser.returns_unicode, y) 30 self.parser.ordered_attributes = x 31 self.assertEqual(self.parser.ordered_attributes, y) 35 self.parser.specified_attributes = x 36 self.assertEqual(self.parser.specified_attributes, y) 136 parser = expat.ParserCreate(namespace_separator='!') 138 setattr(parser, name, getattr(out, name)) 139 parser.returns_unicode = [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_pyexpat.py | 15 self.parser = expat.ParserCreate(namespace_separator='!') 25 self.parser.returns_unicode = x 26 self.assertEqual(self.parser.returns_unicode, y) 30 self.parser.ordered_attributes = x 31 self.assertEqual(self.parser.ordered_attributes, y) 35 self.parser.specified_attributes = x 36 self.assertEqual(self.parser.specified_attributes, y) 136 parser = expat.ParserCreate(namespace_separator='!') 138 setattr(parser, name, getattr(out, name)) 139 parser.returns_unicode = [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_pyexpat.py | 15 self.parser = expat.ParserCreate(namespace_separator='!') 25 self.parser.returns_unicode = x 26 self.assertEqual(self.parser.returns_unicode, y) 30 self.parser.ordered_attributes = x 31 self.assertEqual(self.parser.ordered_attributes, y) 35 self.parser.specified_attributes = x 36 self.assertEqual(self.parser.specified_attributes, y) 136 parser = expat.ParserCreate(namespace_separator='!') 138 setattr(parser, name, getattr(out, name)) 139 parser.returns_unicode = [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_pyexpat.py | 15 self.parser = expat.ParserCreate(namespace_separator='!') 25 self.parser.returns_unicode = x 26 self.assertEqual(self.parser.returns_unicode, y) 30 self.parser.ordered_attributes = x 31 self.assertEqual(self.parser.ordered_attributes, y) 35 self.parser.specified_attributes = x 36 self.assertEqual(self.parser.specified_attributes, y) 136 parser = expat.ParserCreate(namespace_separator='!') 138 setattr(parser, name, getattr(out, name)) 139 parser.returns_unicode = [all...] |
/cts/tests/signature/src/android/signature/cts/ |
CurrentApi.java | 73 * @param parser The XmlPullParser which carries the xml information. 76 static JDiffField loadFieldInfo(String className, XmlPullParser parser) { 77 String fieldName = parser.getAttributeValue(null, ATTRIBUTE_NAME); 78 String fieldType = parser.getAttributeValue(null, ATTRIBUTE_TYPE); 79 int modifier = jdiffModifierToReflectionFormat(className, parser); 80 String value = parser.getAttributeValue(null, ATTRIBUTE_VALUE); 88 * @param parser The XmlPullParser which carries the xml information. 91 static JDiffMethod loadMethodInfo(String className, XmlPullParser parser) { 92 String methodName = parser.getAttributeValue(null, ATTRIBUTE_NAME); 93 String returnType = parser.getAttributeValue(null, ATTRIBUTE_RETURN) [all...] |
/external/chromium-trace/catapult/systrace/systrace/ |
util.py | 111 parser = OptionParserIgnoreErrors() 112 parser.add_option('-e', '--serial', dest='device_serial', type='string') 113 options, unused_args = parser.parse_args() # pylint: disable=unused-variable 174 def get_main_options(parser): 175 parser.add_option('-o', dest='output_file', help='write trace output to FILE', 177 parser.add_option('-t', '--time', dest='trace_time', type='int', 179 parser.add_option('-j', '--json', dest='write_json', 182 parser.add_option('--link-assets', dest='link_assets', default=False, 185 parser.add_option('--from-file', dest='from_file', action='store', 188 parser.add_option('--asset-dir', dest='asset_dir', default='trace-viewer' [all...] |
/external/webrtc/tools/valgrind-webrtc/ |
webrtc_tests.py | 87 parser = optparse.OptionParser( 89 parser.disable_interspersed_args() 90 parser.add_option('-b', '--build-dir', 93 parser.add_option("--target", help="Debug or Release") 94 parser.add_option('-t', '--test', help='Test to run.') 95 parser.add_option('', '--baseline', action='store_true', default=False, 97 parser.add_option('', '--gtest_filter', 99 parser.add_option('', '--gtest_repeat', 101 parser.add_option("--gtest_shuffle", action="store_true", default=False, 103 parser.add_option("--gtest_break_on_failure", action="store_true" [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
CrossProfileIntentFilter.java | 66 CrossProfileIntentFilter(XmlPullParser parser) throws XmlPullParserException, IOException { 67 mTargetUserId = getIntFromXml(parser, ATTR_TARGET_USER_ID, UserHandle.USER_NULL); 68 mOwnerPackage = getStringFromXml(parser, ATTR_OWNER_PACKAGE, ""); 69 mFlags = getIntFromXml(parser, ATTR_FLAGS, 0); 71 int outerDepth = parser.getDepth(); 72 String tagName = parser.getName(); 74 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT 75 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { 76 tagName = parser.getName(); 85 + parser.getPositionDescription() [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_flags_test.cc | 31 FlagParser parser; local 32 RegisterFlag(&parser, kFlagName, kFlagDesc, &flag); 34 parser.ParseString(env); 44 FlagParser parser; local 45 RegisterFlag(&parser, kFlagName, kFlagDesc, &flag); 47 parser.ParseString(env); 95 FlagParser parser; local 96 RegisterFlag(&parser, name1, kFlagDesc, &flag1); 97 RegisterFlag(&parser, name2, kFlagDesc, &flag2); 99 parser.ParseString(env) 129 FlagParser parser; local [all...] |