Home
last modified time | relevance | path

Searched refs:string_length (Results 1 – 18 of 18) sorted by relevance

/external/valgrind/coregrind/m_demangle/
Dd-demangle.c119 string_length (string *s) in string_length() function
131 if (n - string_length (s) < 0) in string_setlength()
382 szattr = string_length (&attr); in dlang_function_type()
386 szargs = string_length (&args); in dlang_function_type()
390 sztype = string_length (&type); in dlang_function_type()
546 sztype = string_length (&type); in dlang_type()
585 szmods = string_length (&mods); in dlang_type()
739 int saved = string_length (decl); in dlang_identifier()
821 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
832 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
[all …]
/external/v8/src/runtime/
Druntime-strings.cc448 int string_length = string->length(); in JoinSparseArrayWithSeparator() local
455 String::WriteToFlat<Char>(string, &buffer[cursor], 0, string_length); in JoinSparseArrayWithSeparator()
485 int string_length = 0; in RUNTIME_FUNCTION() local
501 String::kMaxLength - length < string_length) { in RUNTIME_FUNCTION()
505 string_length += length; in RUNTIME_FUNCTION()
513 int remaining_length = String::kMaxLength - string_length; in RUNTIME_FUNCTION()
515 string_length += separator_length * (array_length - 1); in RUNTIME_FUNCTION()
536 ->NewRawOneByteString(string_length) in RUNTIME_FUNCTION()
541 Vector<uint8_t>(result->GetChars(), string_length)); in RUNTIME_FUNCTION()
545 ->NewRawTwoByteString(string_length) in RUNTIME_FUNCTION()
[all …]
Druntime-array.cc214 int string_length = in RUNTIME_FUNCTION() local
219 static_cast<uint32_t>(Max(string_length, backing_store_length)))); in RUNTIME_FUNCTION()
/external/libchrome/base/strings/
Dstring_util_unittest.cc406 const size_t string_length = arraysize(char_ascii) - 1; in TEST() local
408 for (size_t len = 0, max_len = string_length - offset; len < max_len; in TEST()
421 const size_t string_length = arraysize(char16_ascii) - 1; in TEST() local
423 for (size_t len = 0, max_len = string_length - offset; len < max_len; in TEST()
442 const size_t string_length = wchar_ascii.length(); in TEST() local
443 for (size_t len = 0; len < string_length; ++len) { in TEST()
/external/v8/src/wasm/
Dmodule-decoder.cc169 uint32_t string_length = decoder_.consume_u32v("section name length"); in next() local
171 decoder_.consume_bytes(string_length, "section name"); in next()
173 TRACE("Section name of length %u couldn't be read\n", string_length); in next()
181 string_length < 20 ? string_length : 20, section_name_start); in next()
183 if (string_length == kNameStringLength && in next()
/external/v8/src/builtins/
Dbuiltins-string.cc893 Node* string_length = SmiUntag(LoadStringLength(receiver)); in StringIndexOf() local
899 IntPtrSub(string_length, start_position)), in StringIndexOf()
958 Node* search_length = IntPtrSub(string_length, start_position); in StringIndexOf()
979 f_return(SmiTag(IntPtrMin(string_length, start_position))); in StringIndexOf()
1551 Node* const string_length = LoadStringLength(string); in TF_BUILTIN() local
1563 Node* const length_plus_start = SmiAdd(string_length, start_int); in TF_BUILTIN()
1580 Float64LessThan(start_float, float_zero), zero, string_length)); in TF_BUILTIN()
1597 var_length.Bind(string_length); in TF_BUILTIN()
1612 Node* const minimal_length = SmiSub(string_length, var_start.value()); in TF_BUILTIN()
1638 var_length.Bind(SmiSub(string_length, var_start.value())); in TF_BUILTIN()
Dbuiltins-regexp.cc290 Node* const string_length = LoadStringLength(string); in RegExpPrototypeExecBodyWithoutResult() local
291 GotoIfNot(SmiLessThanOrEqual(lastindex, string_length), &if_isoob); in RegExpPrototypeExecBodyWithoutResult()
1388 Node* const string_length = LoadStringLength(string); in AdvanceStringIndex() local
1389 GotoIfNot(SmiLessThan(index_plus_one, string_length), &out); in AdvanceStringIndex()
1902 Node* const string_length = LoadStringLength(string); in RegExpPrototypeSplitBody() local
1908 Branch(SmiEqual(string_length, smi_zero), &if_stringisempty, &next); in RegExpPrototypeSplitBody()
1965 Branch(SmiEqual(next_search_from, string_length), &push_suffix_and_out, in RegExpPrototypeSplitBody()
1992 Branch(WordEqual(match_from, string_length), &push_suffix_and_out, &next); in RegExpPrototypeSplitBody()
2095 Node* const to = string_length; in RegExpPrototypeSplitBody()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DPacket.java506 int string_length = this.getNextValueAsInt(); in getNextValueAsString() local
509 res = new String(data, reading_data_index, string_length, "UTF-8"); in getNextValueAsString()
513 reading_data_index = reading_data_index + string_length; in getNextValueAsString()
/external/Microsoft-GSL/gsl/
Dstring_span100 inline std::ptrdiff_t string_length(const char *str, std::ptrdiff_t n)
161 auto len = details::string_length(sz, max);
168 auto len = details::string_length(sz, max);
230 return details::string_length(ptr, length);
248 return details::string_length(ptr, length);
/external/ImageMagick/MagickCore/
Ddelegate.c847 #define ExtendInterpretText(string_length) \ in InterpretDelegateProperties() argument
850 size_t length=(string_length); \ in InterpretDelegateProperties()
Dproperty.c3266 #define ExtendInterpretText(string_length) \ in InterpretImageProperties() argument
3269 size_t length=(string_length); \ in InterpretImageProperties()
/external/elfutils/libdw/
Dknown-dwarf.h137 DWARF_ONE_KNOWN_DW_AT (string_length, DW_AT_string_length) \
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm_ocaml.c651 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_string()
658 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_stringz()
/external/python/cpython2/Objects/
Dstringobject.c1010 string_length(PyStringObject *a) in string_length() function
1407 (lenfunc)string_length, /*sq_length*/
1418 (lenfunc)string_length,
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c835 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_string()
842 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_stringz()
/external/v8/src/
Dapi.cc5849 const int string_length = str->length(); in WriteUtf8() local
5854 if (capacity == -1 || capacity / max16BitCodeUnitSize >= string_length) { in WriteUtf8()
5859 } else if (capacity >= string_length) { in WriteUtf8()
5864 if (utf8_bytes == string_length) { in WriteUtf8()
5866 if (nchars_ref != NULL) *nchars_ref = string_length; in WriteUtf8()
5868 return string_length + 1; in WriteUtf8()
5870 return string_length; in WriteUtf8()
Dbootstrapper.cc1604 Handle<AccessorInfo> string_length( in InitializeGlobal() local
1609 string_length, attribs); in InitializeGlobal()
Dcode-stub-assembler.cc3316 Node* const string_length = LoadStringLength(string); in SubString() local
3321 GotoIf(SmiAboveOrEqual(substr_length, string_length), in SubString()
3492 GotoIf(SmiAbove(substr_length, string_length), &runtime); in SubString()