Home
last modified time | relevance | path

Searched refs:encodedString (Results 1 – 14 of 14) sorted by relevance

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DDFA.java185 public static short[] unpackEncodedString(String encodedString) { in unpackEncodedString() argument
188 for (int i=0; i<encodedString.length(); i+=2) { in unpackEncodedString()
189 size += encodedString.charAt(i); in unpackEncodedString()
193 for (int i=0; i<encodedString.length(); i+=2) { in unpackEncodedString()
194 char n = encodedString.charAt(i); in unpackEncodedString()
195 char v = encodedString.charAt(i+1); in unpackEncodedString()
205 public static char[] unpackEncodedStringToUnsignedChars(String encodedString) { in unpackEncodedStringToUnsignedChars() argument
208 for (int i=0; i<encodedString.length(); i+=2) { in unpackEncodedStringToUnsignedChars()
209 size += encodedString.charAt(i); in unpackEncodedStringToUnsignedChars()
213 for (int i=0; i<encodedString.length(); i+=2) { in unpackEncodedStringToUnsignedChars()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DDFA.cs250 public static short[] UnpackEncodedString( string encodedString ) in UnpackEncodedString() argument
254 for ( int i = 0; i < encodedString.Length; i += 2 ) in UnpackEncodedString()
256 size += encodedString[i]; in UnpackEncodedString()
260 for ( int i = 0; i < encodedString.Length; i += 2 ) in UnpackEncodedString()
262 char n = encodedString[i]; in UnpackEncodedString()
263 char v = encodedString[i + 1]; in UnpackEncodedString()
274 public static char[] UnpackEncodedStringToUnsignedChars( string encodedString ) in UnpackEncodedStringToUnsignedChars() argument
278 for ( int i = 0; i < encodedString.Length; i += 2 ) in UnpackEncodedStringToUnsignedChars()
280 size += encodedString[i]; in UnpackEncodedStringToUnsignedChars()
284 for ( int i = 0; i < encodedString.Length; i += 2 ) in UnpackEncodedStringToUnsignedChars()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DDFA.cs220 public static short[] UnpackEncodedString(string encodedString) { in UnpackEncodedString() argument
223 for (int i = 0; i < encodedString.Length; i += 2) { in UnpackEncodedString()
224 size += encodedString[i]; in UnpackEncodedString()
228 for (int i = 0; i < encodedString.Length; i += 2) { in UnpackEncodedString()
229 char n = encodedString[i]; in UnpackEncodedString()
230 char v = encodedString[i + 1]; in UnpackEncodedString()
240 public static char[] UnpackEncodedStringToUnsignedChars(string encodedString) { in UnpackEncodedStringToUnsignedChars() argument
243 for (int i = 0; i < encodedString.Length; i += 2) { in UnpackEncodedStringToUnsignedChars()
244 size += encodedString[i]; in UnpackEncodedStringToUnsignedChars()
248 for (int i = 0; i < encodedString.Length; i += 2) { in UnpackEncodedStringToUnsignedChars()
[all …]
/external/webkit/Source/WebKit/chromium/src/
DWebSearchableFormData.cpp148 bool HasSuitableTextElement(const HTMLFormElement* form, Vector<char>* encodedString, String* encod… in HasSuitableTextElement() argument
205 if (!encodedString->isEmpty() || j->data() != "isindex") { in HasSuitableTextElement()
206 if (!encodedString->isEmpty()) in HasSuitableTextElement()
207 encodedString->append('&'); in HasSuitableTextElement()
208 FormDataBuilder::encodeStringAsFormData(*encodedString, j->data()); in HasSuitableTextElement()
209 encodedString->append('='); in HasSuitableTextElement()
213 encodedString->append("{searchTerms}", 13); in HasSuitableTextElement()
215 FormDataBuilder::encodeStringAsFormData(*encodedString, j->data()); in HasSuitableTextElement()
244 Vector<char> encodedString; in WebSearchableFormData() local
246 bool hasElement = HasSuitableTextElement(formElement.get(), &encodedString, &encoding); in WebSearchableFormData()
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DDFA.js123 unpackEncodedString: function(encodedString) { argument
131 for (i=0; i<encodedString.length; i+=2) {
132 n = encodedString.charCodeAt(i);
133 v = encodedString.charCodeAt(i+1);
146 unpackEncodedStringToUnsignedChars: function(encodedString) { argument
147 return org.antlr.runtime.DFA.unpackEncodedString(encodedString);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDFA.m185 - (short *) unpackEncodedString:(NSString *)encodedString
189 for (int i=0; i < [encodedString length]; i+=2) {
190 size += [encodedString characterAtIndex:i];
194 for (int i=0; i < [encodedString length]; i+=2) {
195 char n = [encodedString characterAtIndex:i];
196 char v = [encodedString characterAtIndex:i+1];
206 - (char *) unpackEncodedStringToUnsignedChars:(NSString *)encodedString
210 for (int i=0; i < [encodedString length]; i+=2) {
211 size += [encodedString characterAtIndex:i];
215 for (int i=0; i < [encodedString length]; i+=2) {
[all …]
/external/webkit/Source/WebCore/wml/
DWMLPostfieldElement.cpp75 static inline CString encodedString(const TextEncoding& encoding, const String& data) in encodedString() function
82 name = encodedString(encoding, this->name()); in encodeData()
83 value = encodedString(encoding, this->value()); in encodeData()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DDFA.as183 public static function unpackEncodedString(encodedString:String, unsigned:Boolean = false):Array {
187 for (var i:int=0; i<encodedString.length; i+=2) {
188 size += encodedString.charCodeAt(i);
193 for (var i:int=0; i<encodedString.length; i+=2) {
194 var n:int = encodedString.charCodeAt(i);
198 var lowBits:int = encodedString.charCodeAt(i);
203 var v:int = encodedString.charCodeAt(i+1);
207 lowBits = encodedString.charCodeAt(i);
/external/clang/test/CodeGenObjC/
Ddebug-info-block-line.m31 - (NSString *)encodedString:(NSInteger)position;
76 NSString *encoded = [[data compressedData] encodedString:18];
/external/webkit/Source/WebCore/bridge/qt/
Dqt_pixmapruntime.cpp122 …const QString encodedString = QLatin1String("data:image/png;base64,") + QLatin1String(byteArray.to… in invoke() local
123 const UString ustring((UChar*)encodedString.utf16(), encodedString.length()); in invoke()
/external/webkit/Source/WebCore/page/
DDOMWindow.cpp1032 String DOMWindow::atob(const String& encodedString, ExceptionCode& ec) in atob() argument
1034 if (encodedString.isNull()) in atob()
1037 if (!encodedString.containsOnlyLatin1()) { in atob()
1043 if (!base64Decode(encodedString, out, FailOnInvalidCharacter)) { in atob()
DDOMWindow.h156 String atob(const String& encodedString, ExceptionCode&);
/external/skia/src/pdf/
DSkPDFDevice.cpp904 SkString encodedString = in drawText() local
907 content.entry()->fContent.writeText(encodedString.c_str()); in drawText()
947 SkString encodedString = in drawPosText() local
950 content.entry()->fContent.writeText(encodedString.c_str()); in drawPosText()
/external/webkit/Source/WebCore/
DChangeLog-2009-06-1660877 (WebCore::encodedString):