/external/webrtc/webrtc/tools/barcode_tools/ |
barcode_encoder.py | 279 parser = optparse.OptionParser(usage=usage) 281 parser.add_option('--barcode_width', type='int', 285 parser.add_option('--barcode_height', type='int', default=32, 288 parser.add_option('--base_frame_width', type='int', default=352, 291 parser.add_option('--base_frame_height', type='int', default=288, 294 parser.add_option('--barcodes_yuv', type='string', 298 parser.add_option('--base_yuv', type='string', default='base.yuv', 301 parser.add_option('--output_yuv', type='string', default='output.yuv', 304 parser.add_option('--png_barcodes_output_dir', type='string', default='.', 307 parser.add_option('--png_barcodes_input_dir', type='string', default='.' [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/ |
AppCompatColorStateListInflater.java | 47 * @param parser Parser for the XML document defining the ColorStateList. 53 public static ColorStateList createFromXml(@NonNull Resources r, @NonNull XmlPullParser parser, 55 final AttributeSet attrs = Xml.asAttributeSet(parser); 58 while ((type = parser.next()) != XmlPullParser.START_TAG 60 // Seek parser to start tag. 67 return createFromXmlInner(r, parser, attrs, theme); 71 * Create from inside an XML document. Called on a parser positioned at a 79 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, 82 final String name = parser.getName() [all...] |
/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
DefaultCarrierConfigService.java | 75 XmlPullParser parser = mFactory.newPullParser(); local 77 parser.setInput(getApplicationContext().getAssets().open(fileName), "utf-8"); 78 config = readConfigFromXml(parser, id); 120 * @param parser an XmlPullParser pointing at the beginning of the document. 124 static PersistableBundle readConfigFromXml(XmlPullParser parser, CarrierIdentifier id) 128 if (parser == null) { 135 while (((event = parser.next()) != XmlPullParser.END_DOCUMENT)) { 136 if (event == XmlPullParser.START_TAG && "carrier_config".equals(parser.getName())) { 138 if (!checkFilters(parser, id)) { 141 PersistableBundle configFragment = PersistableBundle.restoreFromXml(parser); [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
RegisteredComponentCache.java | 182 XmlResourceParser parser = null; local 184 parser = ai.loadXmlMetaData(pm, mMetaDataName); 185 if (parser == null) { 190 parser, info, components); local 194 if (parser != null) parser.close(); 198 void parseTechLists(Resources res, String packageName, XmlPullParser parser, 201 int eventType = parser.getEventType(); 203 eventType = parser.next(); 208 eventType = parser.next() [all...] |
/external/markdown/markdown/ |
blockprocessors.py | 5 This parser handles basic parsing of Markdown blocks. It doesn't concern itself 25 test passes, the parser will call the processors ``run`` method. 29 def __init__(self, parser=None): 30 self.parser = parser 63 As the parser loops through processors, it will call the ``test`` method 83 When the parser determines the appropriate type of a block, the parser 122 not self.parser.state.isstate('detabbed') and \ 134 self.parser.state.set('detabbed' [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
h264_bitstream_parser.cc | 214 rtc::BitBuffer parser(reinterpret_cast<const uint8_t*>(buffer->Data()), 220 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&golomb_ignored)); 222 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&golomb_ignored)); 225 RETURN_FALSE_ON_FAIL(parser.ReadBits(&entropy_coding_mode_flag, 1)); 232 parser.ReadBits(&bottom_field_pic_order_in_frame_present_flag, 1)); 238 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&num_slice_groups_minus1)); 242 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&slice_group_map_type)); 247 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&golomb_ignored)); 253 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&golomb_ignored)); 255 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&golomb_ignored)) [all...] |
/frameworks/data-binding/compiler/src/test/java/android/databinding/ |
BindingExpressionParserTest.java | 18 import android.databinding.parser.BindingExpressionBaseVisitor; 19 import android.databinding.parser.BindingExpressionLexer; 20 import android.databinding.parser.BindingExpressionParser; 21 import android.databinding.parser.BindingExpressionParser.AndOrOpContext; 22 import android.databinding.parser.BindingExpressionParser.BinaryOpContext; 23 import android.databinding.parser.BindingExpressionParser.BindingSyntaxContext; 24 import android.databinding.parser.BindingExpressionParser.BitShiftOpContext; 25 import android.databinding.parser.BindingExpressionParser.ComparisonOpContext; 26 import android.databinding.parser.BindingExpressionParser.DefaultsContext; 27 import android.databinding.parser.BindingExpressionParser.DotOpContext [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
LayoutInflaterTest.java | 104 XmlResourceParser parser = null; local 112 parser = ai.loadXmlMetaData(mContext.getPackageManager(), 115 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT 118 String nodeName = parser.getName(); 122 int outerDepth = parser.getDepth(); 123 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT 124 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { 128 nodeName = parser.getName(); 130 attrs = Xml.asAttributeSet(parser); 132 XmlUtils.skipCurrentTag(parser); 272 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.inflater_layout); local 312 XmlResourceParser parser = mContext.getResources().getLayout(R.layout.inflater_layout); local 438 XmlResourceParser parser = null; local [all...] |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/1.0/ |
compilerCommon-1.0.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/1.0-rc5/ |
compilerCommon-1.0-rc5.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/1.1/ |
compilerCommon-1.1.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/2.0.0-alpha9/ |
compilerCommon-2.0.0-alpha9.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/2.0.0-beta2/ |
compilerCommon-2.0.0-beta2.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/2.0.0-beta5/ |
compilerCommon-2.0.0-beta5.jar | |
/external/pdfium/third_party/freetype/src/cff/ |
cffparse.c | 5 /* CFF token stream parser (body) */ 39 cff_parser_init( CFF_Parser parser, 44 FT_MEM_ZERO( parser, sizeof ( *parser ) ); 46 parser->top = parser->stack; 47 parser->object_code = code; 48 parser->object = object; 49 parser->library = library; 507 cff_parse_font_matrix( CFF_Parser parser ) [all...] |
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
PackageValidator.java | 55 private Map<String, ArrayList<CallerInfo>> readValidCertificates(XmlResourceParser parser) { 58 int eventType = parser.next(); 61 && parser.getName().equals("signing_certificate")) { 63 String name = parser.getAttributeValue(null, "name"); 64 String packageName = parser.getAttributeValue(null, "package"); 65 boolean isRelease = parser.getAttributeBooleanValue(null, "release", false); 66 String certificate = parser.nextText().replaceAll("\\s|\\n", ""); 80 eventType = parser.next();
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/ |
Rsa2048Sha256GenerateKeys.py | 43 # Create command line argument parser object
45 parser = argparse.ArgumentParser(prog=__prog__, version=__version__, usage=__usage__, description=__copyright__, conflict_handler='resolve')
variable 46 group = parser.add_mutually_exclusive_group(required=True)
49 parser.add_argument("--public-key-hash", dest='PublicKeyHashFile', type=argparse.FileType('wb'), help="specify the public key hash filename that is SHA 256 hash of 2048 bit RSA public key in binary format")
50 parser.add_argument("--public-key-hash-c", dest='PublicKeyHashCFile', type=argparse.FileType('wb'), help="specify the public key hash filename that is SHA 256 hash of 2048 bit RSA public key in C structure format")
51 parser.add_argument("-v", "--verbose", dest='Verbose', action="store_true", help="increase output messages")
52 parser.add_argument("-q", "--quiet", dest='Quiet', action="store_true", help="reduce output messages")
53 parser.add_argument("--debug", dest='Debug', type=int, metavar='[0-9]', choices=range(0,10), default=0, help="set debug level")
58 args = parser.parse_args()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
DLexerBase.cpp | 81 this->parser = NULL; // MR1
127 state->parser = parser; // MR1
151 parser = state->parser; // MR1
253 ANTLRParser *oldValue=parser; // MR1
254 parser=p; // MR1
260 return parser; // MR1
|
/external/aac/libMpegTPDec/src/ |
tpdec_lib.cpp | 130 transportdec_parser_t parser; /* Format specific parser structs. */ member in struct:TRANSPORTDEC 179 hInput->parser.adts.decoderCanDoMpeg4 = 1; 181 hInput->parser.adts.decoderCanDoMpeg4 = 0; 182 adtsRead_CrcInit(&hInput->parser.adts); 183 hInput->parser.adts.BufferFullnesStartFlag = 1; 188 drmRead_CrcInit(&hInput->parser.drm); 242 CLatmDemux *pLatmDemux = &hTp->parser.latm; 369 if (hTp->parser.adts.bs.adts_fullness != 0x7ff) { 370 bufferFullness = hTp->parser.adts.bs.frame_length*8 + hTp->parser.adts.bs.adts_fullness * 32 * getNumberOfEffectiveChannels(hTp (…) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/ |
Main.java | 9 LangParser parser = new LangParser(tokens); local 10 //LangParser.decl_return r = parser.decl(); 11 LangParser.start_return r = parser.start();
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t034tokenLabelPropertyRef.py | 34 parser = self.getParser(tStream) 35 events = parser.a()
|
t035ruleLabelPropertyRef.py | 34 parser = self.getParser(tStream) 35 start, stop, text = parser.a()
|
t036multipleReturnValues.py | 34 parser = self.getParser(tStream) 35 ret = parser.a()
|
t037rulePropertyRef.py | 34 parser = self.getParser(tStream) 35 start, stop, text = parser.a().bla
|
t041parameters.py | 34 parser = self.getParser(tStream) 35 r = parser.a('foo', 'bar')
|