HomeSort by relevance Sort by last modified time
    Searched refs:parser (Results 676 - 700 of 2171) sorted by null

<<21222324252627282930>>

  /external/chromium_org/third_party/WebKit/Source/bindings/scripts/
compute_dependencies.py 49 parser = optparse.OptionParser()
50 parser.add_option('--event-names-file', help='output file')
51 parser.add_option('--idl-files-list', help='file listing all IDLs')
52 parser.add_option('--interface-dependencies-file', help='output file')
53 parser.add_option('--window-constructors-file', help='output file')
54 parser.add_option('--workerglobalscope-constructors-file', help='output file')
55 parser.add_option('--sharedworkerglobalscope-constructors-file', help='output file')
56 parser.add_option('--dedicatedworkerglobalscope-constructors-file', help='output file')
57 parser.add_option('--write-file-only-if-changed', type='int', help='if true, do not write an output file if it would be identical to the existing one, which avoids unnecessary rebuilds in ninja')
58 options, args = parser.parse_args(
    [all...]
  /development/testrunner/
runtest.py 103 parser = optparse.OptionParser(usage=self._RUNTEST_USAGE)
105 parser.add_option("-l", "--list-tests", dest="only_list_tests",
108 parser.add_option("-b", "--skip-build", dest="skip_build", default=False,
110 parser.add_option("-j", "--jobs", dest="make_jobs",
113 parser.add_option("-n", "--skip_execute", dest="preview", default=False,
116 parser.add_option("-r", "--raw-mode", dest="raw_mode", default=False,
119 parser.add_option("-a", "--suite-assign", dest="suite_assign_mode",
123 parser.add_option("-v", "--verbose", dest="verbose", default=False,
126 parser.add_option("-w", "--wait-for-debugger", dest="wait_for_debugger",
129 parser.add_option("-c", "--test-class", dest="test_class"
    [all...]
  /frameworks/base/services/java/com/android/server/usb/
UsbSettingsManager.java 128 public static DeviceFilter read(XmlPullParser parser)
136 int count = parser.getAttributeCount();
138 String name = parser.getAttributeName(i);
140 int value = Integer.parseInt(parser.getAttributeValue(i));
275 public static AccessoryFilter read(XmlPullParser parser)
281 int count = parser.getAttributeCount();
283 String name = parser.getAttributeName(i);
284 String value = parser.getAttributeValue(i);
408 private void readPreference(XmlPullParser parser)
411 int count = parser.getAttributeCount()
441 XmlPullParser parser = Xml.newPullParser(); local
477 XmlPullParser parser = Xml.newPullParser(); local
544 XmlResourceParser parser = null; local
788 XmlResourceParser parser = null; local
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
parser.ml 2 * Parser
18 let rec parse_primary = parser
29 let rec parse_args accumulator = parser
31 begin parser
37 let rec parse_ident id = parser
61 begin parser
68 begin parser
73 begin parser
123 and parse_expr = parser
129 let rec parse_args accumulator = parser
    [all...]
  /frameworks/base/core/java/android/app/admin/
DeviceAdminInfo.java 237 XmlResourceParser parser = null; local
239 parser = ai.loadXmlMetaData(pm, DeviceAdminReceiver.DEVICE_ADMIN_META_DATA);
240 if (parser == null) {
247 AttributeSet attrs = Xml.asAttributeSet(parser);
250 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
254 String nodeName = parser.getName();
268 int outerDepth = parser.getDepth();
269 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
270 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) {
274 String tagName = parser.getName()
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/
main.py 167 parser = optparse.OptionParser()
168 parser.prog = self.progName
169 parser.add_option('-v', '--verbose', dest='verbose', default=False,
172 parser.add_option('-f', '--failfast', dest='failfast', default=False,
176 parser.add_option('-c', '--catch', dest='catchbreak', default=False,
180 parser.add_option('-b', '--buffer', dest='buffer', default=False,
183 parser.add_option('-s', '--start-directory', dest='start', default='.',
185 parser.add_option('-p', '--pattern', dest='pattern', default='test*.py',
187 parser.add_option('-t', '--top-level-directory', dest='top', default=None,
190 options, args = parser.parse_args(argv
    [all...]
  /external/chromium_org/third_party/skia/src/ports/
SkFontConfigParser_android.cpp 27 * The FamilyData structure is passed around by the parser so that each handler
32 parser(parserRef),
38 XML_Parser *parser; // The expat parser doing the work member in struct:FamilyData
103 XML_SetCharacterDataHandler(*familyData->parser, textHandler);
132 XML_SetCharacterDataHandler(*familyData->parser, textHandler);
157 XML_SetCharacterDataHandler(*familyData->parser, NULL);
207 XML_Parser parser = XML_ParserCreate(NULL); local
208 FamilyData *familyData = new FamilyData(&parser, families);
209 XML_SetUserData(parser, familyData)
    [all...]
  /external/skia/src/ports/
SkFontConfigParser_android.cpp 27 * The FamilyData structure is passed around by the parser so that each handler
32 parser(parserRef),
38 XML_Parser *parser; // The expat parser doing the work member in struct:FamilyData
103 XML_SetCharacterDataHandler(*familyData->parser, textHandler);
132 XML_SetCharacterDataHandler(*familyData->parser, textHandler);
157 XML_SetCharacterDataHandler(*familyData->parser, NULL);
207 XML_Parser parser = XML_ParserCreate(NULL); local
208 FamilyData *familyData = new FamilyData(&parser, families);
209 XML_SetUserData(parser, familyData)
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
AnimationDrawable.java 236 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs)
242 super.inflateWithAttributes(r, parser, a,
255 final int innerDepth = parser.getDepth()+1;
257 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT &&
258 ((depth = parser.getDepth()) >= innerDepth || type != XmlPullParser.END_TAG)) {
263 if (depth > innerDepth || !parser.getName().equals("item")) {
272 parser.getPositionDescription()
284 while ((type=parser.next()) == XmlPullParser.TEXT) {
288 throw new XmlPullParserException(parser.getPositionDescription() +
292 dr = Drawable.createFromXmlInner(r, parser, attrs)
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
ExifModifier.java 57 ExifParser parser = ExifParser.parse(is, mInterface); local
58 mTagToModified = new ExifData(parser.getByteOrder());
59 mOffsetBase += parser.getTiffStartPosition();
99 ExifParser parser = ExifParser.parse(is, flag, mInterface); local
100 int event = parser.next();
105 currIfd = ifdDatas[parser.getCurrentIfd()];
107 parser.skipRemainingTagsInCurrentIfd();
111 ExifTag oldTag = parser.getTag();
121 parser.skipRemainingTagsInCurrentIfd();
127 event = parser.next()
    [all...]
  /packages/apps/Camera2/src/com/android/camera/exif/
ExifModifier.java 57 ExifParser parser = ExifParser.parse(is, mInterface); local
58 mTagToModified = new ExifData(parser.getByteOrder());
59 mOffsetBase += parser.getTiffStartPosition();
99 ExifParser parser = ExifParser.parse(is, flag, mInterface); local
100 int event = parser.next();
105 currIfd = ifdDatas[parser.getCurrentIfd()];
107 parser.skipRemainingTagsInCurrentIfd();
111 ExifTag oldTag = parser.getTag();
121 parser.skipRemainingTagsInCurrentIfd();
127 event = parser.next()
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
ExifModifier.java 57 ExifParser parser = ExifParser.parse(is, mInterface); local
58 mTagToModified = new ExifData(parser.getByteOrder());
59 mOffsetBase += parser.getTiffStartPosition();
99 ExifParser parser = ExifParser.parse(is, flag, mInterface); local
100 int event = parser.next();
105 currIfd = ifdDatas[parser.getCurrentIfd()];
107 parser.skipRemainingTagsInCurrentIfd();
111 ExifTag oldTag = parser.getTag();
121 parser.skipRemainingTagsInCurrentIfd();
127 event = parser.next()
    [all...]
  /packages/apps/Launcher3/src/com/android/gallery3d/exif/
ExifModifier.java 57 ExifParser parser = ExifParser.parse(is, mInterface); local
58 mTagToModified = new ExifData(parser.getByteOrder());
59 mOffsetBase += parser.getTiffStartPosition();
99 ExifParser parser = ExifParser.parse(is, flag, mInterface); local
100 int event = parser.next();
105 currIfd = ifdDatas[parser.getCurrentIfd()];
107 parser.skipRemainingTagsInCurrentIfd();
111 ExifTag oldTag = parser.getTag();
121 parser.skipRemainingTagsInCurrentIfd();
127 event = parser.next()
    [all...]
  /packages/apps/Mms/src/com/android/mms/exif/
ExifModifier.java 56 ExifParser parser = ExifParser.parse(is, mInterface); local
57 mTagToModified = new ExifData(parser.getByteOrder());
58 mOffsetBase += parser.getTiffStartPosition();
98 ExifParser parser = ExifParser.parse(is, flag, mInterface); local
99 int event = parser.next();
104 currIfd = ifdDatas[parser.getCurrentIfd()];
106 parser.skipRemainingTagsInCurrentIfd();
110 ExifTag oldTag = parser.getTag();
120 parser.skipRemainingTagsInCurrentIfd();
126 event = parser.next()
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/
main.py 167 parser = optparse.OptionParser()
168 parser.prog = self.progName
169 parser.add_option('-v', '--verbose', dest='verbose', default=False,
172 parser.add_option('-f', '--failfast', dest='failfast', default=False,
176 parser.add_option('-c', '--catch', dest='catchbreak', default=False,
180 parser.add_option('-b', '--buffer', dest='buffer', default=False,
183 parser.add_option('-s', '--start-directory', dest='start', default='.',
185 parser.add_option('-p', '--pattern', dest='pattern', default='test*.py',
187 parser.add_option('-t', '--top-level-directory', dest='top', default=None,
190 options, args = parser.parse_args(argv
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/
main.py 167 parser = optparse.OptionParser()
168 parser.prog = self.progName
169 parser.add_option('-v', '--verbose', dest='verbose', default=False,
172 parser.add_option('-f', '--failfast', dest='failfast', default=False,
176 parser.add_option('-c', '--catch', dest='catchbreak', default=False,
180 parser.add_option('-b', '--buffer', dest='buffer', default=False,
183 parser.add_option('-s', '--start-directory', dest='start', default='.',
185 parser.add_option('-p', '--pattern', dest='pattern', default='test*.py',
187 parser.add_option('-t', '--top-level-directory', dest='top', default=None,
190 options, args = parser.parse_args(argv
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/
browser_options.py 62 parser = optparse.OptionParser(*args, **kwargs)
65 group = optparse.OptionGroup(parser, 'Which browser to use')
102 parser.add_option_group(group)
105 group = optparse.OptionGroup(parser, 'Browser options')
128 parser.add_option_group(group)
131 group = optparse.OptionGroup(parser, 'Page set options')
140 parser.add_option_group(group)
142 group = optparse.OptionGroup(parser, 'Web Page Replay options')
148 parser.add_option_group(group)
151 group = optparse.OptionGroup(parser, 'When things go wrong'
    [all...]
  /frameworks/base/services/java/com/android/server/firewall/
StringFilter.java 50 * @param parser An XmlPullParser object positioned at an element that should
54 public static StringFilter readFromXml(ValueProvider valueProvider, XmlPullParser parser)
58 for (int i=0; i<parser.getAttributeCount(); i++) {
59 StringFilter newFilter = getFilter(valueProvider, parser, i);
77 private static StringFilter getFilter(ValueProvider valueProvider, XmlPullParser parser,
79 String attributeName = parser.getAttributeName(attributeIndex);
86 return new EqualsFilter(valueProvider, parser.getAttributeValue(attributeIndex));
91 return new IsNullFilter(valueProvider, parser.getAttributeValue(attributeIndex));
97 parser.getAttributeValue(attributeIndex));
102 return new ContainsFilter(valueProvider, parser.getAttributeValue(attributeIndex))
    [all...]
  /frameworks/base/services/java/com/android/server/pm/
KeySetManager.java 512 void readKeySetsLPw(XmlPullParser parser)
516 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT) {
520 final String tagName = parser.getName();
522 readKeysLPw(parser);
524 readKeySetListLPw(parser);
529 void readKeysLPw(XmlPullParser parser)
531 int outerDepth = parser.getDepth();
533 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
534 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) {
538 final String tagName = parser.getName()
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsUsageMonitor.java 280 XmlPullParser parser = null; local
283 parser = Xml.newPullParser();
284 parser.setInput(patternReader);
285 return getPatternMatcherFromXmlParser(parser, country);
289 Rlog.e(TAG, "XML parser exception reading short code pattern file", e);
303 XmlResourceParser parser = null; local
305 parser = mContext.getResources().getXml(id);
306 return getPatternMatcherFromXmlParser(parser, country);
308 if (parser != null) parser.close()
447 final XmlPullParser parser = Xml.newPullParser(); local
    [all...]
  /external/chromium_org/third_party/freetype/include/freetype/internal/
psaux.h 216 FT_Pointer parser );
331 /***** T1 PARSER *****/
341 (*init)( PS_Parser parser,
347 (*done)( PS_Parser parser );
350 (*skip_spaces)( PS_Parser parser );
352 (*skip_PS_token)( PS_Parser parser );
355 (*to_int)( PS_Parser parser );
357 (*to_fixed)( PS_Parser parser,
361 (*to_bytes)( PS_Parser parser,
368 (*to_coord_array)( PS_Parser parser,
    [all...]
  /external/freetype/include/freetype/internal/
psaux.h 220 FT_Pointer parser );
335 /***** T1 PARSER *****/
345 (*init)( PS_Parser parser,
351 (*done)( PS_Parser parser );
354 (*skip_spaces)( PS_Parser parser );
356 (*skip_PS_token)( PS_Parser parser );
359 (*to_int)( PS_Parser parser );
361 (*to_fixed)( PS_Parser parser,
365 (*to_bytes)( PS_Parser parser,
372 (*to_coord_array)( PS_Parser parser,
    [all...]
  /dalvik/dx/src/com/android/dx/command/dexer/
Main.java 1355 ArgumentsParser parser = new ArgumentsParser(args); local
    [all...]
  /external/chromium_org/net/websockets/
websocket_frame_parser_unittest.cc 54 WebSocketFrameParser parser; local
57 EXPECT_TRUE(parser.Decode(kHelloFrame, kHelloFrameLength, &frames));
58 EXPECT_EQ(kWebSocketNormalClosure, parser.websocket_error());
80 WebSocketFrameParser parser; local
84 parser.Decode(kMaskedHelloFrame, kMaskedHelloFrameLength, &frames));
85 EXPECT_EQ(kWebSocketNormalClosure, parser.websocket_error());
139 WebSocketFrameParser parser; local
142 EXPECT_TRUE(parser.Decode(&input.front(), input.size(), &frames));
143 EXPECT_EQ(kWebSocketNormalClosure, parser.websocket_error());
185 WebSocketFrameParser parser; local
252 WebSocketFrameParser parser; local
319 WebSocketFrameParser parser; local
371 WebSocketFrameParser parser; local
441 WebSocketFrameParser parser; local
490 WebSocketFrameParser parser; local
546 WebSocketFrameParser parser; local
    [all...]
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
TelephonyProvider.java 111 XmlResourceParser parser = r.getXml(com.android.internal.R.xml.apns); local
113 XmlUtils.beginDocument(parser, "apns");
114 int publicversion = Integer.parseInt(parser.getAttributeValue(null, "version"));
120 parser.close();
158 XmlResourceParser parser = r.getXml(com.android.internal.R.xml.apns); local
161 XmlUtils.beginDocument(parser, "apns");
162 publicversion = Integer.parseInt(parser.getAttributeValue(null, "version"));
163 loadApns(db, parser);
167 parser.close();
249 * @param parser the parse
    [all...]

Completed in 654 milliseconds

<<21222324252627282930>>