Lines Matching defs:string
16 #include "src/strings/string-builder-inl.h"
17 #include "src/strings/string-case.h"
182 // in each string, due to the trivial case handling above.
206 // Simply checks the argument is valid and returns the string itself.
211 TO_THIS_STRING(string, "String.prototype.normalize");
214 if (form_input->IsUndefined(isolate)) return *string;
231 return *string;
249 Isolate* isolate, String string, SeqString result, int result_length,
265 StringCharacterStream stream(string);
267 // We can assume that the string is not empty
285 } else if (result_length == string.length()) {
293 // memcpy what we already have to the result string. Also,
294 // the result string is the last object allocated we could
296 // extend the existing string to be able to hold the full
321 // to allocate a two-byte string for to uppercase.
337 // we simple return the result and let the converted string
340 return string;
350 // Assume that the string is not empty; we need this assumption later
403 TO_THIS_STRING(string, "String.prototype.toLocaleLowerCase");
404 return ConvertCase(string, isolate,
410 TO_THIS_STRING(string, "String.prototype.toLocaleUpperCase");
411 return ConvertCase(string, isolate,
417 TO_THIS_STRING(string, "String.prototype.toLowerCase");
418 return ConvertCase(string, isolate,
424 TO_THIS_STRING(string, "String.prototype.toUpperCase");
425 return ConvertCase(string, isolate,
430 // ES6 #sec-string.prototype.raw