Home | History | Annotate | Download | only in src

Lines Matching refs:ascii

121   // |ascii| must be a NULL-terminated C string, and must remain valid
123 V8ExternalASCIILiteral(const char* ascii, size_t length)
124 : ascii_(ascii), length_(length) {
177 // Converts an ASCII std::string to a V8 string.
186 // Converts an ASCII string literal to a V8 string.
187 v8::Local<v8::String> ASCIILiteralToV8String(v8::Isolate* isolate, const char* ascii) {
188 // DCHECK(IsStringASCII(ascii));
189 size_t length = strlen(ascii);
191 return v8::String::NewFromUtf8(isolate, ascii, v8::String::kNormalString, length);
192 return v8::String::NewExternal(isolate, new V8ExternalASCIILiteral(ascii, length));
220 // If the hostname is already in ASCII, simply return it as is.
408 // converting them to ASCII punycode.
411 android::String16("FindProxyForURL() returned a non-ASCII string"));