| /external/clang/unittests/Lex/ |
| LexerTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 69 const char *source = local 78 MemoryBuffer *buf = MemoryBuffer::getMemBuffer(source);
|
| /external/doclava/res/assets/templates/assets/ |
| prettify.js | 13 a.tagName.toLowerCase();b.push(I,c);for(var d=0;d<a.attributes.length;++d){var g=a.attributes[d];if(g.specified){b.push(xb);W(g,b)}}b.push(J);for(var i=a.firstChild;i;i=i.nextSibling)W(i,b);if(a.firstChild||!/^(?:br|link|img)$/.test(c))b.push(zb,c,J);break;case 2:b.push(a.name.toLowerCase(),Ab,Ld(a.value),wb);break;case 3:case 4:b.push(ga(a.nodeValue));break}}function Na(a){for(var b=0,c=z,d=z,g=0,i=a.length;g<i;++g){var m=a[g];if(m.ignoreCase)d=o;else if(/[a-z]/i.test(m.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi, 16 Pa[0]||Pa[1]-Oa[1]});var B=[],E=[NaN,NaN];for(e=0;e<k.length;++e){var A=k[e];if(A[0]<=E[1]+1)E[1]=Math.max(E[1],A[1]);else B.push(E=A)}var D=[L];h&&D.push(M);D.push.apply(D,s);for(e=0;e<B.length;++e){A=B[e];D.push(n(A[0]));if(A[1]>A[0]){A[1]+1>A[0]&&D.push(Sb);D.push(n(A[1]))}}D.push(Tb);return D.join(P)}function v(j){var f=j.source.match(new RegExp(cc,R)),s=f.length,k=[],h,e=0;for(h=0;e<s;++e){var p=f[e];if(p===H)++h;else if(Q===p.charAt(0)){var t=+p.substring(1);if(t&&t<=h)k[t]=-1}}for(e=1;e<k.length;++e)if(-1=== 20 m;++v){var w=b[v].match(Qa);if(w&&w[2]===n)if(w[1]===ra){if(--q===0)break a}else++q}if(v<m){g.push(d,b.slice(i,v+1).join(P));i=v}else g.push(d,l)}else g.push(d,l)}else{var j=Sd(l);c.push(j);d+=j.length}}return{source:c.join(P),tags:g}}function $d(a){return!!a.replace(/\s(\w+)\s*=\s*(?:\"([^\"]*)\"|'([^\']*)'|(\S+))/g,mc).match(/[cC][lL][aA][sS][sS]=\"[^\"]*\bnocode\b/)}function ia(a,b,c,d){if(b){var g={source:b,b:a};c(g);d.push.apply(d,g.c)}}function K(a,b){var c={},d;(function(){for(var m=a.concat(b), 21 l=[],n={},q=0,v=m.length;q<v;++q){var w=m[q],j=w[3];if(j)for(var f=j.length;--f>=0;)c[j.charAt(f)]=w;var s=w[1],k=P+s;if(!n.hasOwnProperty(k)){l.push(s);n[k]=r}}l.push(/[\0-\uffff]/);d=Na(l)})();var g=b.length,i=function(m){for(var l=m.source,n=m.b,q=[n,S],v=0,w=l.match(d)||[],j={},f=0,s=w.length;f<s;++f){var k=w[f],h=j[k],e,p;if(typeof h===nc)p=z;else{var t=c[k.charAt(0)];if(t){e=k.match(t[1]);h=t[0]}else{for(var u=0;u<g;++u){t=b[u];if(e=k.match(t[1])){h=t[0];break}}e||(h=S)}if((p=h.length>=5&&T=== 24 a.keywords.replace(/^\s+|\s+$/g,P);d.length&&c.push([uc,new RegExp(vc+d.replace(/\s+/g,O)+wc),r]);b.push([S,/^\s+/,r,xc]);c.push([yc,/^@[a-z_$][a-z_$@0-9]*/i,r,Ia],[zc,/^@?[A-Z]+[a-z][A-Za-z_$@0-9]*/,r],[S,/^[a-z_$][a-z_$@0-9]*/i,r],[yc,/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,r,Ac],[Y,/^.[^\s\w\.$@\'\"\`\/\#]*/,r]);return K(b,c)}var ae=C({keywords:Bc,hashComments:o,cStyleComments:o,multiLineStrings:o,regexLiterals:o});function be(a){var b=a.source,c=a.f,d=a.c, 29 [zd]);y(C({keywords:Ad,cStyleComments:o,regexLiterals:o}),[Bd]);y(K([],[[U,/^[\s\S]+/]]),[Cd]);function Sa(a){var b=a.e,c=a.d;a.a=b;try{var d=Zd(b),g=d.source;a.source=g;a.b=0;a.f=d.tags;Ra(c,g)(a);be(a)}catch(i){if(Ic in window){console.log(i);console.h()}}}function ce(a,b){var c={e:a,d:b};Sa(c);return c.a}function de(a){for(var b=window._pr_isIE6(),c=[document.getElementsByTagName(Dd),document.getElementsByTagName(Ed),document.getElementsByTagName(Fd)],d=[],g=0;g<c.length;++g)for(var i=0,m=c[g].length;i<
|
| /external/guava/guava/src/com/google/common/collect/ |
| ImmutableSet.java | 141 * @since 3.0 (source-compatible since 2.0) 318 * @since 7.0 (source-compatible since 2.0) 449 final D[] source; field in class:TransformedImmutableSet 452 TransformedImmutableSet(D[] source, int hashCode) { 453 this.source = source; 461 return source.length; 469 return new AbstractIndexedListIterator<E>(source.length) { 471 return transform(source[index]); 490 for (int i = 0; i < source.length; i++) [all...] |
| /external/icu4c/common/ |
| ucnvlat1.c | 34 const uint8_t *source; local 42 source=(const uint8_t *)pArgs->source; 53 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); 69 target[0]=source[0]; 70 target[1]=source[1]; 71 target[2]=source[2]; 72 target[3]=source[3]; 73 target[4]=source[4]; 74 target[5]=source[5] 120 const uint8_t *source=(const uint8_t *)pArgs->source; local 136 const UChar *source, *sourceLimit; local 324 const uint8_t *source, *sourceLimit; local 473 const uint8_t *source, *sourceLimit; local 582 const uint8_t *source; local 610 const uint8_t *source, *sourceLimit; local [all...] |
| /external/icu4c/samples/coll/ |
| coll.cpp | 12 "usage: coll [options*] -source source_string -target target_string\n" 23 "-source string Source string for comparison\n" 25 "Example coll -rules \\u0026b\\u003ca -source a -target b\n" 68 {"-source", OptSpec::STRING, &opt_source}, 139 UChar source[100]; local 141 u_unescape(opt_source, source, 100); 143 UCollationResult result = ucol_strcoll(collator, source, -1, target, -1); 251 fprintf(stdout, "Comparing source=%s and target=%s\n", opt_source, 255 fprintf(stdout, "source is equals to target\n"); [all...] |
| /external/icu4c/samples/strsrch/ |
| strsrch.cpp | 12 "usage: strsrch [options*] -source source_string -pattern pattern_string\n" 23 "-source string Source string\n" 24 "-pattern string Pattern string to look for in source\n" 27 "Example strsrch -rules \\u0026b\\u003ca -source a\\u0020b\\u0020bc -pattern b\n" 62 UChar source[100]; variable 77 {"-source", OptSpec::STRING, &opt_source}, 231 u_unescape(opt_source, source, 100); 234 search = usearch_openFromCollator(pattern, -1, source, -1, collator, NULL, 258 fprintf(stdout, "Pattern not found in source\n") [all...] |
| /external/icu4c/test/intltest/ |
| canittst.cpp | 314 UnicodeString source = can.getSource(); local 315 logln("CanonicalIterator::getSource returned "+source); 316 if(start != source) { 317 errln("CanonicalIterator.getSource() didn't return the starting string. Expected "+start+", got "+source);
|
| dadrcoll.cpp | 92 el.source.truncate(0); 127 el.source.append(currChar); 137 el.source.append(currChar); 264 SeqElement *source = NULL; local 280 source = (SeqElement *)sequences.elementAt(j-1); 281 if(relation == Collator::EQUAL && source->relation != Collator::EQUAL) { 282 relation = source->relation; 284 doTest(col, source->source, target->source, relation); [all...] |
| /external/javassist/src/main/javassist/ |
| Loader.java | 138 private ClassPool source; field in class:Loader 165 * @param cp the source of class files. 176 * @param cp the source of class files. 186 source = cp; 221 source = cp; 235 source = cp; 325 * If the source throws an exception, this returns null. 338 if (source != null) { 340 translator.onLoad(source, name); 343 classfile = source.get(name).toBytecode() [all...] |
| /external/jmonkeyengine/engine/src/desktop/com/jme3/app/ |
| SettingsDialog.java | 5 * Redistribution and use in source and binary forms, with or without 9 * * Redistributions of source code must retain the above copyright 73 private final AppSettings source; field in class:SettingsDialog 97 * @param source 104 * if the source is <code>null</code> 106 public SettingsDialog(AppSettings source, String imageFile, boolean loadSettings) { 107 this(source, getURL(imageFile), loadSettings); 114 * @param source 122 * if the source is <code>null</code> 124 public SettingsDialog(AppSettings source, URL imageFile, boolean loadSettings) [all...] |
| /external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
| ModelConverter.java | 5 * Redistribution and use in source and binary forms, with or without 9 * * Redistributions of source code must retain the above copyright 163 private static void optimizeScene(Spatial source, boolean toFixed){ 164 if (source instanceof Geometry){ 165 Geometry geom = (Geometry) source; 168 }else if (source instanceof Node){ 169 Node node = (Node) source; 177 public static void optimize(Spatial source, boolean toFixed){ 178 optimizeScene(source, toFixed); 179 source.updateLogicalState(0) [all...] |
| /external/jpeg/ |
| rdppm.c | 69 /* Private version of data source object */ 144 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 145 FILE * infile = source->pub.input_file; 147 register JSAMPLE *rescale = source->rescale; 150 ptr = source->pub.buffer[0]; 162 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 163 FILE * infile = source->pub.input_file; 165 register JSAMPLE *rescale = source->rescale; 168 ptr = source->pub.buffer[0]; 182 ppm_source_ptr source = (ppm_source_ptr) sinfo local 203 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 229 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 241 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 265 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 298 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 445 ppm_source_ptr source; local [all...] |
| rdrle.c | 83 rle_source_ptr source = (rle_source_ptr) sinfo; local 90 source->header = *rle_hdr_init(NULL); 91 source->header.rle_file = source->pub.input_file; 92 switch (rle_get_setup(&(source->header))) { 115 width = source->header.xmax - source->header.xmin + 1; 116 height = source->header.ymax - source->header.ymin + 1; 117 source->header.xmin = 0; /* realign horizontally * 189 rle_source_ptr source = (rle_source_ptr) sinfo; local 207 rle_source_ptr source = (rle_source_ptr) sinfo; local 243 rle_source_ptr source = (rle_source_ptr) sinfo; local 373 rle_source_ptr source; local [all...] |
| /external/llvm/lib/Support/ |
| ConvertUTF.c | 5 * This file is distributed under the University of Illinois Open Source 14 * This source code is provided as is by Unicode, Inc. No claims are 33 Conversions between UTF32, UTF-16, and UTF-8. Source code file. 39 source sequences, enhanced error detection, added casts 121 const UTF32* source = *sourceStart; local 123 while (source < sourceEnd) { 128 ch = *source++; 133 --source; /* return to the illegal value itself */ 151 --source; /* Back up source pointer! * 170 const UTF16* source = *sourceStart; local 224 const UTF16* source = *sourceStart; local 294 const UTF32* source = *sourceStart; local 425 const UTF8* source = *sourceStart; local 498 const UTF8* source = *sourceStart; local [all...] |
| /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
| DivideTimeScaleTrack.java | 31 Track source; field in class:DivideTimeScaleTrack 34 public DivideTimeScaleTrack(Track source, int timeScaleDivisor) { 35 this.source = source; 40 return source.getSampleDescriptionBox(); 52 return source.getSyncSamples(); 56 return source.getSampleDependencies(); 60 TrackMetaData trackMetaData = (TrackMetaData) source.getTrackMetaData().clone(); 61 trackMetaData.setTimescale(source.getTrackMetaData().getTimescale() / this.timeScaleDivisor); 66 return source.getHandler() [all...] |
| MultiplyTimeScaleTrack.java | 37 Track source; field in class:MultiplyTimeScaleTrack 40 public MultiplyTimeScaleTrack(Track source, int timeScaleFactor) { 41 this.source = source; 46 return source.getSampleDescriptionBox(); 50 return adjustTts(source.getDecodingTimeEntries(), timeScaleFactor); 54 return adjustCtts(source.getCompositionTimeEntries(), timeScaleFactor); 58 return source.getSyncSamples(); 62 return source.getSampleDependencies(); 66 TrackMetaData trackMetaData = (TrackMetaData) source.getTrackMetaData().clone() [all...] |
| /external/openfst/src/include/fst/ |
| shortest-distance.h | 44 StateId source; // If kNoStateId, use the Fst's initial state member in struct:fst::ShortestDistanceOptions 58 : state_queue(q), arc_filter(filt), source(src), delta(d), 65 // ShortestDistance(source) when 'retain' is true for improved 66 // efficiency when calling multiple times from different source states 91 void ShortestDistance(StateId source); 106 vector<StateId> sources_; // Source ID for ith state in 'distance_', 113 // Compute the shortest distance. If 'source' is kNoStateId, use 117 StateId source) { 146 if (source == kNoStateId) 147 source = fst_.Start() [all...] |
| /external/protobuf/src/google/protobuf/ |
| extension_set_unittest.cc | 5 // Redistribution and use in source and binary forms, with or without 9 // * Redistributions of source code must retain the above copyright 189 unittest::TestAllExtensions source; local 191 TestUtil::SetAllExtensions(&source); 192 int size = source.ByteSize(); 196 uint8* end = source.SerializeWithCachedSizesToArray(target); 210 unittest::TestAllExtensions source; local 212 TestUtil::SetAllExtensions(&source); 213 int size = source.ByteSize(); 219 source.SerializeWithCachedSizes(&output_stream) 233 unittest::TestPackedExtensions source; local 254 unittest::TestPackedExtensions source; local 272 unittest::TestAllTypes source; local 284 unittest::TestPackedTypes source; local [all...] |
| /external/qemu/distrib/jpeg-6b/ |
| rdppm.c | 69 /* Private version of data source object */ 144 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 145 FILE * infile = source->pub.input_file; 147 register JSAMPLE *rescale = source->rescale; 150 ptr = source->pub.buffer[0]; 162 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 163 FILE * infile = source->pub.input_file; 165 register JSAMPLE *rescale = source->rescale; 168 ptr = source->pub.buffer[0]; 182 ppm_source_ptr source = (ppm_source_ptr) sinfo local 203 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 229 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 241 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 265 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 298 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 445 ppm_source_ptr source; local [all...] |
| rdrle.c | 83 rle_source_ptr source = (rle_source_ptr) sinfo; local 90 source->header = *rle_hdr_init(NULL); 91 source->header.rle_file = source->pub.input_file; 92 switch (rle_get_setup(&(source->header))) { 115 width = source->header.xmax - source->header.xmin + 1; 116 height = source->header.ymax - source->header.ymin + 1; 117 source->header.xmin = 0; /* realign horizontally * 189 rle_source_ptr source = (rle_source_ptr) sinfo; local 207 rle_source_ptr source = (rle_source_ptr) sinfo; local 243 rle_source_ptr source = (rle_source_ptr) sinfo; local 373 rle_source_ptr source; local [all...] |
| /external/skia/src/effects/ |
| SkBlurImageFilter.cpp | 2 * Copyright 2011 The Android Open Source Project 4 * Use of this source code is governed by a BSD-style license that can be 138 const SkBitmap& source, const SkMatrix& ctm, 140 SkBitmap src = this->getInputResult(proxy, source, ctm, offset); 197 GrTexture* source = (GrTexture*) input.getTexture(); local 200 SkAutoTUnref<GrTexture> tex(source->getContext()->gaussianBlur(source, false, rect,
|
| /external/srec/tools/thirdparty/OpenFst/fst/lib/ |
| shortest-distance.h | 39 StateId source; // If kNoStateId, use the Fst's initial state member in struct:fst::ShortestDistanceOptions 44 : state_queue(q), arc_filter(filt), source(src), delta(d) {} 50 // ShortestDistance(source) when 'retain' is true for improved 51 // efficiency when calling multiple times from different source states 75 void ShortestDistance(StateId source); 87 vector<StateId> sources_; // Source state for ith state in 'distance_', 91 // Compute the shortest distance. If 'source' is kNoStateId, use 95 StateId source) { 111 if (source == kNoStateId) 112 source = fst_->Start() [all...] |
| /external/webkit/Source/JavaScriptCore/wtf/text/ |
| AtomicString.cpp | 259 const char* source = buffer.characters; local 260 if (convertUTF8ToUTF16(&source, source + buffer.length, &target, target + buffer.utf16Length) != conversionOK)
|
| /external/webkit/Source/JavaScriptCore/wtf/unicode/ |
| UTF8.cpp | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright 133 const UChar* source = *sourceStart; local 135 while (source < sourceEnd) { 140 const UChar* oldSource = source; // In case we have to back up because of target overflow. 141 ch = static_cast<unsigned short>(*source++); 144 // If the 16 bits following the high surrogate are in the source buffer... 145 if (source < sourceEnd) { 146 UChar32 ch2 = static_cast<unsigned short>(*source); 150 ++source; 261 const char* source = *sourceStart; local [all...] |
| /external/webkit/Source/WebCore/page/ |
| EventSource.cpp | 7 * Redistribution and use in source and binary forms, with or without 11 * 1. Redistributions of source code must retain the above copyright 92 RefPtr<EventSource> source = adoptRef(new EventSource(fullURL, context)); local 94 source->setPendingActivity(source.get()); 95 source->connect(); 97 return source.release(); 196 // FIXME: We are missing the source line. 205 // FIXME: We are missing the source line.
|