/external/pcre/dist/ |
RunTest.bat | 15 @rem tests 4 5 9 15 and 18 require utf support 58 %pcretest% -C utf >NUL 59 set utf=%ERRORLEVEL% variable 328 if %utf% EQU 0 ( 329 echo Test 4 Skipped due to absence of UTF-%bits% support. 332 call :runsub 4 testout "UTF-%bits% support - (Compatible with Perl >= 5.10)" -q 338 if %utf% EQU 0 ( 339 echo Test 5 Skipped due to absence of UTF-%bits% support. 342 call :runsub 5 testout "API, internals, and non-Perl stuff for UTF-%bits%" -q 373 if %utf% EQU 0 [all...] |
pcre_internal.h | 82 /* We do not support both EBCDIC and UTF-8/16/32 at the same time. The "configure" 294 /* This is an unsigned int value that no character can ever have. UTF-8 316 &(NLBLOCK->nllen), utf)) \ 330 &(NLBLOCK->nllen), utf)) \ 585 /* There is a proposed future special "UTF-21" mode, in which only the lowest 586 21 bits of a 32-bit character are interpreted as UTF, with the remaining 11 600 /* When UTF encoding is being used, a character is no longer just a single 603 complicated ones for UTF characters. GETCHARLENTEST and other macros are not 604 used when UTF is not supported. To make sure they can never even appear when 605 UTF support is omitted, we don't even define them. * 2516 BOOL utf; \/* UTF-8 \/ UTF-16 flag *\/ member in struct:match_data [all...] |
pcre_jit_compile.c | 423 BOOL utf; member in struct:compiler_common 739 if (common->utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]); 761 if (common->utf) return NULL; 1218 if (common->utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]); 4742 BOOL utf = common->utf; local [all...] |
pcretest.c | 198 automatically cut out the UTF support if PCRE is built without it. */ 2499 BOOL utf = (re->options & PCRE_UTF16) != 0; local [all...] |
/development/testrunner/ |
create_test.py | 37 TEST_MANIFEST_TEMPLATE = """<?xml version="1.0" encoding="utf-8"?>
|
/external/libxml2/ |
xmlschemastypes.c | 5006 const xmlChar *utf; local [all...] |
parser.c | [all...] |
/art/runtime/mirror/ |
string.h | 115 static String* AllocFromModifiedUtf8(Thread* self, const char* utf) 134 // Compare UTF-16 code point values not in a locale-sensitive manner 142 // Create a modified UTF-8 encoded std::string from a java/lang/String object.
|
/external/chromium-trace/trace-viewer/tracing/third_party/components/webcomponentsjs/ |
HTMLImports.min.js | 11 "undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t,n){var r=t[this.name];return r&&r[0]===t?r[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return t&&t[0]===e?(t[0]=t[1]=void 0,!0):!1},has:function(e){var t=e[this.name];return t?t[0]===e:!1}},window.WeakMap=n}(),window.HTMLImports=window.HTMLImports||{flags:{}},function(e){function t(e,t){t=t||h,r(function(){i(e,t)},t)}function n(e){return"complete"===e.readyState||e.readyState===g}function r(e,t){if(n(t))e&&e();else{var o=function(){("complete"===t.readyState||t.readyState===g)&&(t.removeEventListener(_,o),r(e,t))};t.addEventListener(_,o)}}function o(e){e.target.__loaded=!0}function i(e,t){function n(){s==c&&e&&e()}function r(e){o(e),s++,n()}var i=t.querySelectorAll("link[rel=import]"),s=0,c=i.length;if(c)for(var d,l=0;c>l&&(d=i[l]);l++)a(d)?r.call(d,{target:d}):(d.addEventListener("load",r),d.addEventListener("error",r));else n()}function a(e){return u?e.__loaded||e["import"]&&"loading"!==e["import"].readyState:e.__importParsed}function s(e){for(var t,n=0,r=e.length;r>n&&(t=e[n]);n++)c(t)&&d(t)}function c(e){return"link"===e.localName&&"import"===e.rel}function d(e){var t=e["import"];t?o({target:e}):(e.addEventListener("load",o),e.addEventListener("error",o))}var l="import",u=Boolean(l in document.createElement("link")),m=Boolean(window.ShadowDOMPolyfill),p=function(e){return m?ShadowDOMPolyfill.wrapIfNeeded(e):e},h=p(document),f={get:function(){var e=HTMLImports.currentScript||document.currentScript||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null);return p(e)},configurable:!0};Object.defineProperty(document,"_currentScript",f),Object.defineProperty(h,"_currentScript",f);var v=/Trident|Edge/.test(navigator.userAgent),g=v?"complete":"interactive",_="readystatechange";u&&(new MutationObserver(function(e){for(var t,n=0,r=e.length;r>n&&(t=e[n]);n++)t.addedNodes&&s(t.addedNodes)}).observe(document.head,{childList:!0}),function(){if("loading"===document.readyState)for(var e,t=document.querySelectorAll("link[rel=import]"),n=0,r=t.length;r>n&&(e=t[n]);n++)d(e)}()),t(function(){HTMLImports.ready=!0,HTMLImports.readyTime=(new Date).getTime();var e=h.createEvent("CustomEvent");e.initCustomEvent("HTMLImportsLoaded",!0,!0,{}),h.dispatchEvent(e)}),e.IMPORT_LINK_TYPE=l,e.useNative=u,e.rootDocument=h,e.whenReady=t,e.isIE=v}(HTMLImports),function(e){var t=[],n=function(e){t.push(e)},r=function(){t.forEach(function(t){t(e)})};e.addModule=n,e.initializeModules=r}(HTMLImports),HTMLImports.addModule(function(e){var t=/(url\()([^)]*)(\))/g,n=/(@import[\s]+(?!url\())([^;]*)(;)/g,r={resolveUrlsInStyle:function(e){var t=e.ownerDocument,n=t.createElement("a");return e.textContent=this.resolveUrlsInCssText(e.textContent,n),e},resolveUrlsInCssText:function(e,r){var o=this.replaceUrls(e,r,t);return o=this.replaceUrls(o,r,n)},replaceUrls:function(e,t,n){return e.replace(n,function(e,n,r,o){var i=r.replace(/["']/g,"");return t.href=i,i=t.href,n+"'"+i+"'"+o})}};e.path=r}),HTMLImports.addModule(function(e){var t={async:!0,ok:function(e){return e.status>=200&&e.status<300||304===e.status||0===e.status},load:function(n,r,o){var i=new XMLHttpRequest;return(e.flags.debug||e.flags.bust)&&(n+="?"+Math.random()),i.open("GET",n,t.async),i.addEventListener("readystatechange",function(){if(4===i.readyState){var e=i.getResponseHeader("Location"),n=null;if(e)var n="/"===e.substr(0,1)?location.origin+e:e;r.call(o,!t.ok(i)&&i,i.response||i.responseText,n)}}),i.send(),i},loadDocument:function(e,t,n){this.load(e,t,n).responseType="document"}};e.xhr=t}),HTMLImports.addModule(function(e){var t=e.xhr,n=e.flags,r=function(e,t){this.cache={},this.onload=e,this.oncomplete=t,this.inflight=0,this.pending={}};r.prototype={addNodes:function(e){this.inflight+=e.length;for(var t,n=0,r=e.length;r>n&&(t=e[n]);n++)this.require(t);this.checkDone()},addNode:function(e){this.inflight++,this.require(e),this.checkDone()},require:function(e){var t=e.src||e.href;e.__nodeUrl=t,this.dedupe(t,e)||this.fetch(t,e)},dedupe:function(e,t){if(this.pending[e])return this.pending[e].push(t),!0;return this.cache[e]?(this.onload(e,t,this.cache[e]),this.tail(),!0):(this.pending[e]=[t],!1)},fetch:function(e,r){if(n.load&&console.log("fetch",e,r),e)if(e.match(/^data:/)){var o=e.split(","),i=o[0],a=o[1];a=i.indexOf(";base64")>-1?atob(a):decodeURIComponent(a),setTimeout(function(){this.receive(e,r,null,a)}.bind(this),0)}else{var s=function(t,n,o){this.receive(e,r,t,n,o)}.bind(this);t.load(e,s)}else setTimeout(function(){this.receive(e,r,{error:"href must be specified"},null)}.bind(this),0)},receive:function(e,t,n,r,o){this.cache[e]=r;for(var i,a=this.pending[e],s=0,c=a.length;c>s&&(i=a[s]);s++)this.onload(e,i,r,n,o),this.tail();this.pending[e]=null},tail:function(){--this.inflight,this.checkDone()},checkDone:function(){this.inflight||this.oncomplete()}},e.Loader=r}),HTMLImports.addModule(function(e){var t=function(e){this.addCallback=e,this.mo=new MutationObserver(this.handler.bind(this))};t.prototype={handler:function(e){for(var t,n=0,r=e.length;r>n&&(t=e[n]);n++)"childList"===t.type&&t.addedNodes.length&&this.addedNodes(t.addedNodes)},addedNodes:function(e){this.addCallback&&this.addCallback(e);for(var t,n=0,r=e.length;r>n&&(t=e[n]);n++)t.children&&t.children.length&&this.addedNodes(t.children)},observe:function(e){this.mo.observe(e,{childList:!0,subtree:!0})}},e.Observer=t}),HTMLImports.addModule(function(e){function t(e){return"link"===e.localName&&e.rel===l}function n(e){var t=r(e);return"data:text/javascript;charset=utf-8,"+encodeURIComponent(t)}function r(e){return e.textContent+o(e)}function o(e){var t=e.ownerDocument;t.__importedScripts=t.__importedScripts||0;var n=e.ownerDocument.baseURI,r=t.__importedScripts?"-"+t.__importedScripts:"";return t.__importedScripts++,"\n//# sourceURL="+n+r+".js\n"}function i(e){var t=e.ownerDocument.createElement("style");return t.textContent=e.textContent,a.resolveUrlsInStyle(t),t}var a=e.path,s=e.rootDocument,c=e.flags,d=e.isIE,l=e.IMPORT_LINK_TYPE,u="link[rel="+l+"]",m={documentSelectors:u,importsSelectors:[u,"link[rel=stylesheet]","style","script:not([type])",'script[type="text/javascript"]'].join(","),map:{link:"parseLink",script:"parseScript",style:"parseStyle"},dynamicElements:[],parseNext:function(){var e=this.nextToParse();e&&this.parse(e)},parse:function(e){if(this.isParsed(e))return void(c.parse&&console.log("[%s] is already parsed",e.localName));var t=this[this.map[e.localName]];t&&(this.markParsing(e),t.call(this,e))},parseDynamic:function(e,t){this.dynamicElements.push(e),t||this.parseNext()},markParsing:function(e){c.parse&&console.log("parsing",e),this.parsingElement=e},markParsingComplete:function(e){e.__importParsed=!0,this.markDynamicParsingComplete(e),e.__importElement&&(e.__importElement.__importParsed=!0,this.markDynamicParsingComplete(e.__importElement)),this.parsingElement=null,c.parse&&console.log("completed",e)},markDynamicParsingComplete:function(e){var t=this.dynamicElements.indexOf(e);t>=0&&this.dynamicElements.splice(t,1)},parseImport:function(e){if(HTMLImports.__importsParsingHook&&HTMLImports.__importsParsingHook(e),e["import"]&&(e["import"].__importParsed=!0),this.markParsingComplete(e),e.dispatchEvent(e.__resource&&!e.__error?new CustomEvent("load",{bubbles:!1}):new CustomEvent("error",{bubbles:!1})),e.__pending)for(var t;e.__pending.length;)t=e.__pending.shift(),t&&t({target:e});this.parseNext()},parseLink:function(e){t(e)?this.parseImport(e):(e.href=e.href,this.parseGeneric(e))},parseStyle:function(e){var t=e;e=i(e),e.__importElement=t,this.parseGeneric(e)},parseGeneric:function(e){this.trackElement(e),this.addElementToDocument(e)},rootImportForElement:function(e){for(var t=e;t.ownerDocument.__importLink;)t=t.ownerDocument.__importLink;return t},addElementToDocument:function(e){var t=this.rootImportForElement(e.__importElement||e);t.parentNode.insertBefore(e,t)},trackElement:function(e,t){var n=this,r=function(r){t&&t(r),n.markParsingComplete(e),n.parseNext()};if(e.addEventListener("load",r),e.addEventListener("error",r),d&&"style"===e.localName){var o=!1;if(-1==e.textContent.indexOf("@import"))o=!0;else if(e.sheet){o=!0;for(var i,a=e.sheet.cssRules,s=a?a.length:0,c=0;s>c&&(i=a[c]);c++)i.type===CSSRule.IMPORT_RULE&&(o=o&&Boolean(i.styleSheet))}o&&e.dispatchEvent(new CustomEvent("load",{bubbles:!1}))}},parseScript:function(t){var r=document.createElement("script");r.__importElement=t,r.src=t.src?t.src:n(t),e.currentScript=t,this.trackElement(r,function(){r.parentNode.removeChild(r),e.currentScript=null}),this.addElementToDocument(r)},nextToParse:function(){return this._mayParse=[],!this.parsingElement&&(this.nextToParseInDoc(s)||this.nextToParseDynamic())},nextToParseInDoc:function(e,n){if(e&&this._mayParse.indexOf(e)<0){this._mayParse.push(e);for(var r,o=e.querySelectorAll(this.parseSelectorsForNode(e)),i=0,a=o.length;a>i&&(r=o[i]);i++)if(!this.isParsed(r))return this.hasResource(r)?t(r)?this.nextToParseInDoc(r["import"],r):r:void 0}return n},nextToParseDynamic:function(){return this.dynamicElements[0]},parseSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===s?this.documentSelectors:this.importsSelectors},isParsed:function(e){return e.__importParsed},needsDynamicParsing:function(e){return this.dynamicElements.indexOf(e)>=0},hasResource:function(e){return t(e)&&void 0===e["import"]?!1:!0}};e.parser=m,e.IMPORT_SELECTOR=u}),HTMLImports.addModule(function(e){function t(e){return n(e,a)}function n(e,t){return"link"===e.localName&&e.getAttribute("rel")===t}function r(e){return!!Object.getOwnPropertyDescriptor(e,"baseURI")}function o(e,t){var n=document.implementation.createHTMLDocument(a);n._URL=t;var o=n.createElement("base");o.setAttribute("href",t),n.baseURI||r(n)||Object.defineProperty(n,"baseURI",{value:t});var i=n.createElement("meta");return i.setAttribute("charset","utf-8"),n.head.appendChild(i),n.head.appendChild(o),n.body.innerHTML=e,window.HTMLTemplateElement&&HTM (…)
|
/frameworks/opt/net/wifi/service/jni/ |
jni_helper.h | 104 JNIObject<jstring> newStringUTF(const char *utf);
|
com_android_server_wifi_WifiNative.cpp | 2043 const char *utf = chars.c_str(); local [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/readwrite/ |
gexf.py | 39 def write_gexf(G, path, encoding='utf-8',prettyprint=True,version='1.1draft'): 80 def generate_gexf(G, encoding='utf-8',prettyprint=True,version='1.1draft'): 239 def __init__(self, graph=None, encoding="utf-8", [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/fixtures/ |
tokenizer_test.js | 189 '\n ', '<meta charset="utf-8">', '<title>', ' ', 'node.js', '\u0000', '</title>', '\n',
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
__init__.py | 118 encoding='utf-8', 124 encoding='utf-8', default=None, sort_keys=False, **kw): 161 ``encoding`` is the character encoding for str instances, default is UTF-8. 178 encoding == 'utf-8' and default is None and not sort_keys and not kw): 195 encoding='utf-8', default=None, sort_keys=False, **kw): 225 ``encoding`` is the character encoding for str instances, default is UTF-8. 242 encoding == 'utf-8' and default is None and not sort_keys and not kw): 263 than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must 299 other than utf-8 (e.g. latin-1) then an appropriate ``encoding`` name
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
__init__.py | 118 encoding='utf-8', 124 encoding='utf-8', default=None, sort_keys=False, **kw): 161 ``encoding`` is the character encoding for str instances, default is UTF-8. 178 encoding == 'utf-8' and default is None and not sort_keys and not kw): 195 encoding='utf-8', default=None, sort_keys=False, **kw): 225 ``encoding`` is the character encoding for str instances, default is UTF-8. 242 encoding == 'utf-8' and default is None and not sort_keys and not kw): 263 than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must 299 other than utf-8 (e.g. latin-1) then an appropriate ``encoding`` name
|
/cts/tests/tests/jni/libjnitest/ |
macroized_tests.c | 1184 const char *utf = CALL(GetStringUTFChars, result, NULL); local 1186 if (strcmp(utf, "muffins") == 0) { 1189 msg = failure("unexpected string: %s", utf); 1192 CALL(ReleaseStringUTFChars, result, utf); [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/ |
generate.py | 50 assert f.encoding == 'utf-8' 239 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
/external/markdown/ |
test-markdown.py | 72 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 163 def test_directory(self, dir, measure_time=False, safe_mode=False, encoding="utf-8", output_format='xhtml1') : 212 self.html_diff_file.write(self.diffs_buffer.decode("utf-8")) 252 expected_lines = [x.encode("utf-8") for x in smart_split(expected_output)] 253 actual_lines = [x.encode("utf-8") for x in smart_split(actual_output)]
|
/art/runtime/ |
jni_internal_test.cc | 1512 const char* utf = env_->GetStringUTFChars(s, nullptr); local [all...] |
check_jni.cc | 63 #define kFlag_NullableUtf 0x0020 // Are our UTF parameters nullable? 94 * u - const char* (Modified UTF-8) 113 const char* u; // Modified UTF-8. 337 * u - const char* (Modified UTF-8) 913 case 'u': // const char* (Modified UTF-8) [all...] |
Android.mk | 169 utf.cc \
|
/external/svox/pico/lib/ |
picotok.c | 217 utf8char0c utf; member in struct:tok_subobj 437 tok->utf[tok->utfpos] = ch; 446 tok->utf[tok->utfpos] = 0; [all...] |
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/ |
response_test.py | 1 # -*- coding: utf-8 -*- 13 return 'foo'.encode('utf-8') 18 return 'bar'.decode('utf-8') 69 self.assertEqual(rsp.charset, 'utf-8') 140 ('Content-Type', 'text/html; charset=utf-8'),
|
/external/javassist/src/main/javassist/bytecode/ |
ConstPool.java | 592 Utf8Info utf = (Utf8Info)getItem(index); local 593 return utf.string; [all...] |
/external/regex-re2/re2/ |
parse.cc | [all...] |