/external/selinux/sepolgen/ |
Makefile | 12 rm -f parser.out parsetab.py
|
/external/selinux/sepolgen/src/ |
Makefile | 13 rm -f parser.out parsetab.py
|
/external/skia/src/svg/parser/ |
SkSVGGroup.cpp | 42 void SkSVGGroup::translate(SkSVGParser& parser, bool defState) { 44 parser.translate(*ptr, defState);
|
/external/skia/tools/lua/ |
trigger_ct_lua | 49 parser = argparse.ArgumentParser( 51 parser.add_argument('--script', help='Lua script to run', required=True) 52 parser.add_argument('--aggregator', help='Aggregator script') 53 parser.add_argument('--description', help='Description of the job.') 54 parser.add_argument('--email', 57 parser.add_argument('--password_file', 60 parser.add_argument('--skp_repo', default='10k', 62 args = parser.parse_args()
|
/external/webrtc/webrtc/libjingle/xmllite/ |
xmlparser_unittest.cc | 155 XmlParser parser(&handler); 159 parser.Parse(fragment.c_str(), fragment.length(), false); 163 parser.Parse(fragment.c_str(), fragment.length(), false); 167 parser.Parse(fragment.c_str(), fragment.length(), false); 171 parser.Parse(fragment.c_str(), fragment.length(), false); 176 parser.Parse(fragment.c_str(), fragment.length(), false); 181 parser.Parse(fragment.c_str(), fragment.length(), false); 185 parser.Parse(fragment.c_str(), fragment.length(), false); 192 XmlParser parser(&handler); 196 parser.Parse(fragment.c_str(), fragment.length(), false) [all...] |
/frameworks/base/core/java/android/util/ |
Xml.java | 88 * Returns a new pull parser with namespace support. 92 KXmlParser parser = new KXmlParser(); local 93 parser.setFeature(XmlPullParser.FEATURE_PROCESS_DOCDECL, true); 94 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true); 95 return parser; 161 * If the given parser itself implements AttributeSet, that implementation 166 * @param parser The existing parser for which you would like an 170 * attribute values at each of the tags as the parser moves 175 public static AttributeSet asAttributeSet(XmlPullParser parser) { [all...] |
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
FingerprintsUserState.java | 217 XmlPullParser parser = Xml.newPullParser(); local 218 parser.setInput(in, null); 219 parseStateLocked(parser); 229 private void parseStateLocked(XmlPullParser parser) 231 final int outerDepth = parser.getDepth(); 233 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT 234 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { 239 String tagName = parser.getName(); 241 parseFingerprintsLocked(parser); 246 private void parseFingerprintsLocked(XmlPullParser parser) [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageSignatures.java | 78 void readXml(XmlPullParser parser, ArrayList<Signature> pastSignatures) 80 String countStr = parser.getAttributeValue(null, "count"); 84 + " no count at " + parser.getPositionDescription()); 85 XmlUtils.skipCurrentTag(parser); 91 int outerDepth = parser.getDepth(); 93 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT 95 || parser.getDepth() > outerDepth)) { 101 String tagName = parser.getName(); 104 String index = parser.getAttributeValue(null, "index"); 108 String key = parser.getAttributeValue(null, "key") [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/ |
viddec_fw_mp4_workload.c | 6 uint32_t viddec_fw_mp4_populate_attr(viddec_workload_t *wl, viddec_mp4_parser_t *parser) 10 mp4_VideoObjectLayer_t *vol = &(parser->info.VisualObject.VideoObject); 41 uint32_t viddec_fw_mp4_insert_vol_workitem(void *parent, viddec_mp4_parser_t *parser) 46 mp4_VideoObjectLayer_t *vol = &(parser->info.VisualObject.VideoObject); 83 uint32_t viddec_fw_mp4_insert_vop_workitem(void *parent, viddec_mp4_parser_t *parser) 88 mp4_VideoObjectPlane_t *vop = &(parser->info.VisualObject.VideoObject.VideoObjectPlane); 95 viddec_fw_mp4_set_past_field_frame(&vop_info, parser->ref_frame[VIDDEC_MP4_INDX_2].is_field); 97 viddec_fw_mp4_set_future_field_frame(&vop_info, parser->ref_frame[VIDDEC_MP4_INDX_1].is_field); 99 viddec_fw_mp4_set_current_field_frame(&vop_info, parser->ref_frame[VIDDEC_MP4_INDX_0].is_field); 132 uint32_t viddec_fw_mp4_insert_vpsh_workitem(void *parent, viddec_mp4_parser_t *parser) 323 viddec_mp4_parser_t *parser = (viddec_mp4_parser_t *) ctxt; local [all...] |
/prebuilts/go/darwin-x86/src/go/parser/ |
example_test.go | 9 "go/parser" 18 f, err := parser.ParseFile(fset, "example_test.go", nil, parser.ImportsOnly) 32 // "go/parser"
|
/prebuilts/go/linux-x86/src/go/parser/ |
example_test.go | 9 "go/parser" 18 f, err := parser.ParseFile(fset, "example_test.go", nil, parser.ImportsOnly) 32 // "go/parser"
|
/system/connectivity/shill/test-scripts/ |
connect-disconnect | 80 parser = optparse.OptionParser(usage='usage: %prog [options] service-name') 81 parser.set_defaults(keep_going=False) 83 parser.add_option('--continue', action='store_true', dest='keep_going', 86 parser.add_option('--sleep_after_connect', default=0.5, type='float', 89 parser.add_option('--sleep_after_disconnect', default=0, type='float', 92 parser.add_option('--limit', default=0, type='int', 97 (options, remaining) = parser.parse_args() 100 parser.error('Must supply a service name')
|
/system/core/mkbootimg/ |
mkbootimg | 85 def __call__(self, parser, namespace, values, option_string=None): 130 parser = ArgumentParser() 131 parser.add_argument('--kernel', help='path to the kernel', type=FileType('rb'), 133 parser.add_argument('--ramdisk', help='path to the ramdisk', type=FileType('rb')) 134 parser.add_argument('--second', help='path to the 2nd bootloader', type=FileType('rb')) 135 parser.add_argument('--cmdline', help='extra arguments to be passed on the ' 137 parser.add_argument('--base', help='base address', type=parse_int, default=0x10000000) 138 parser.add_argument('--kernel_offset', help='kernel offset', type=parse_int, default=0x00008000) 139 parser.add_argument('--ramdisk_offset', help='ramdisk offset', type=parse_int, default=0x01000000) 140 parser.add_argument('--second_offset', help='2nd bootloader offset', type=parse_int [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
PrintSpoolerService.java | 1082 XmlPullParser parser = Xml.newPullParser(); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
SAXParserTest.java | 29 import org.xml.sax.Parser; 63 public Parser getParser() throws SAXException { 121 SAXParser parser; field in class:SAXParserTest 143 // we differntiate between a validating and a non validating parser 145 SAXParser parser = SAXParserFactory.newInstance().newSAXParser(); local 146 validating = parser.isValidating(); 190 parser = spf.newSAXParser(); 191 assertNotNull(parser); 215 // parser.parse(is, dh, ParsingSupport.XML_SYSTEM_ID); 232 // parser.parse(is, hb, ParsingSupport.XML_SYSTEM_ID) 828 Parser parser = spf.newSAXParser().getParser(); local 851 SAXParser parser = spf.newSAXParser(); local 863 SAXParser parser = spf.newSAXParser(); local 873 SAXParser parser = spf.newSAXParser(); local 884 SAXParser parser = spf.newSAXParser(); local 894 SAXParser parser = spf.newSAXParser(); local [all...] |
/external/lzma/CPP/7zip/Bundles/LzmaCon/ |
LzmaAlone.cpp | 146 static void ParseUInt32(const CParser &parser, unsigned index, UInt32 &res)
148 if (parser[index].ThereIs)
149 if (!GetNumber(parser[index].PostStrings[0], res))
177 CParser parser(ARRAY_SIZE(kSwitchForms));
180 parser.ParseStrings(kSwitchForms, commandStrings);
187 if (parser[NKey::kHelp1].ThereIs || parser[NKey::kHelp2].ThereIs)
192 const UStringVector &nonSwitchStrings = parser.NonSwitchStrings;
202 if (parser[NKey::kDict].ThereIs)
205 const UString &s = parser[NKey::kDict].PostStrings[0]; [all...] |
/external/caliper/caliper/src/test/java/com/google/caliper/bridge/ |
LogMessageParserTest.java | 45 @Inject LogMessageParser parser; field in class:LogMessageParserTest 60 assertTrue(parser.parse(line) instanceof GcLogMessage); 68 assertTrue(parser.parse(line) instanceof GcLogMessage); 74 parser.parse("[GC 987K->384K(62848K), 0.0012320 secs]")); 76 parser.parse("[Full GC 384K->288K(62848K), 0.0054550 secs]")); 78 parser.parse( 81 parser.parse( 89 assertTrue(parser.parse(line) instanceof HotspotLogMessage); 97 assertTrue(parser.parse(line) instanceof HotspotLogMessage); 105 assertTrue(parser.parse(line) instanceof VmOptionLogMessage) [all...] |
/external/clang/tools/scan-view/bin/ |
scan-view | 94 parser = argparse.ArgumentParser(description="The clang static analyzer " 96 parser.add_argument("root", metavar="<results directory>", type=str) 97 parser.add_argument( 100 parser.add_argument('--port', dest="port", default=None, type=int, 102 parser.add_argument("--debug", dest="debug", default=0, 105 parser.add_argument("--auto-reload", dest="autoReload", default=False, 108 parser.add_argument("--no-browser", dest="startBrowser", default=True, 111 parser.add_argument("--allow-all-hosts", dest="onlyServeLocal", 115 args = parser.parse_args() 119 parser.error('Invalid directory, analysis results not found!' [all...] |
/external/owasp/sanitizer/tools/ |
googlecode_upload.py | 210 parser = optparse.OptionParser(usage='googlecode-upload.py -s SUMMARY ' 212 parser.add_option('-s', '--summary', dest='summary', 214 parser.add_option('-p', '--project', dest='project', 216 parser.add_option('-u', '--user', dest='user', 218 parser.add_option('-w', '--password', dest='password', 220 parser.add_option('-l', '--labels', dest='labels', 224 options, args = parser.parse_args() 227 parser.error('File summary is missing.') 229 parser.error('Project name is missing.') 231 parser.error('File to upload not provided.' [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
rtp_format_vp9.cc | 312 bool ParsePictureId(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { 315 RETURN_FALSE_ON_ERROR(parser->ReadBits(&m_bit, 1)); 317 RETURN_FALSE_ON_ERROR(parser->ReadBits(&picture_id, 15)); 320 RETURN_FALSE_ON_ERROR(parser->ReadBits(&picture_id, 7)); 333 bool ParseLayerInfoCommon(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { 335 RETURN_FALSE_ON_ERROR(parser->ReadBits(&t, 3)); 336 RETURN_FALSE_ON_ERROR(parser->ReadBits(&u_bit, 1)); 337 RETURN_FALSE_ON_ERROR(parser->ReadBits(&s, 3)); 338 RETURN_FALSE_ON_ERROR(parser->ReadBits(&d_bit, 1)); 354 bool ParseLayerInfoNonFlexibleMode(rtc::BitBuffer* parser, [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ExternalSource.java | 101 final XmlResourceParser parser = info.serviceInfo.loadXmlMetaData(pm, local 103 if (parser == null) continue; 104 inflate(context, parser); 115 * Inflate this {@link ContactsSource} from the given parser. This may only 118 protected void inflate(Context context, XmlPullParser parser) { 119 final AttributeSet attrs = Xml.asAttributeSet(parser); 123 while ((type = parser.next()) != XmlPullParser.START_TAG 132 if (!InflateTags.CONTACTS_SOURCE.equals(parser.getName())) { 138 final int depth = parser.getDepth(); 139 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth [all...] |
/prebuilts/clang/host/darwin-x86/clang-2629532/tools/scan-view/bin/ |
scan-view | 94 parser = argparse.ArgumentParser(description="The clang static analyzer " 96 parser.add_argument("root", metavar="<results directory>", type=str) 97 parser.add_argument( 100 parser.add_argument('--port', dest="port", default=None, type=int, 102 parser.add_argument("--debug", dest="debug", default=0, 105 parser.add_argument("--auto-reload", dest="autoReload", default=False, 108 parser.add_argument("--no-browser", dest="startBrowser", default=True, 111 parser.add_argument("--allow-all-hosts", dest="onlyServeLocal", 115 args = parser.parse_args() 119 parser.error('Invalid directory, analysis results not found!' [all...] |
/prebuilts/clang/host/darwin-x86/clang-2658975/tools/scan-view/bin/ |
scan-view | 94 parser = argparse.ArgumentParser(description="The clang static analyzer " 96 parser.add_argument("root", metavar="<results directory>", type=str) 97 parser.add_argument( 100 parser.add_argument('--port', dest="port", default=None, type=int, 102 parser.add_argument("--debug", dest="debug", default=0, 105 parser.add_argument("--auto-reload", dest="autoReload", default=False, 108 parser.add_argument("--no-browser", dest="startBrowser", default=True, 111 parser.add_argument("--allow-all-hosts", dest="onlyServeLocal", 115 args = parser.parse_args() 119 parser.error('Invalid directory, analysis results not found!' [all...] |
/prebuilts/clang/host/darwin-x86/clang-2690385/tools/scan-view/bin/ |
scan-view | 94 parser = argparse.ArgumentParser(description="The clang static analyzer " 96 parser.add_argument("root", metavar="<results directory>", type=str) 97 parser.add_argument( 100 parser.add_argument('--port', dest="port", default=None, type=int, 102 parser.add_argument("--debug", dest="debug", default=0, 105 parser.add_argument("--auto-reload", dest="autoReload", default=False, 108 parser.add_argument("--no-browser", dest="startBrowser", default=True, 111 parser.add_argument("--allow-all-hosts", dest="onlyServeLocal", 115 args = parser.parse_args() 119 parser.error('Invalid directory, analysis results not found!' [all...] |
/prebuilts/clang/host/linux-x86/clang-2629532/tools/scan-view/bin/ |
scan-view | 94 parser = argparse.ArgumentParser(description="The clang static analyzer " 96 parser.add_argument("root", metavar="<results directory>", type=str) 97 parser.add_argument( 100 parser.add_argument('--port', dest="port", default=None, type=int, 102 parser.add_argument("--debug", dest="debug", default=0, 105 parser.add_argument("--auto-reload", dest="autoReload", default=False, 108 parser.add_argument("--no-browser", dest="startBrowser", default=True, 111 parser.add_argument("--allow-all-hosts", dest="onlyServeLocal", 115 args = parser.parse_args() 119 parser.error('Invalid directory, analysis results not found!' [all...] |