Home
last modified time | relevance | path

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

/external/chromium_org/third_party/ots/src/
Dpost.cc92 const unsigned string_length = *strings; in ots_post_parse() local
93 if (strings + 1 + string_length > strings_end) { in ots_post_parse()
96 if (std::memchr(strings + 1, '\0', string_length)) { in ots_post_parse()
100 std::string(reinterpret_cast<const char*>(strings + 1), string_length)); in ots_post_parse()
101 strings += 1 + string_length; in ots_post_parse()
162 const uint8_t string_length = s.size(); in ots_post_serialise() local
163 if (!out->Write(&string_length, 1)) { in ots_post_serialise()
168 if (string_length > 0 && !out->Write(s.data(), string_length)) { in ots_post_serialise()
/external/chromium_org/chrome/test/logging/win/
Dmof_data_parser.cc21 size_t string_length = str_scan - scan_; in ReadString() local
22 bool has_trailing_newline = (string_length > 0 && str_scan[-1] == '\n'); in ReadString()
24 has_trailing_newline ? string_length - 1 : string_length); in ReadString()
25 Advance(string_length + 1); in ReadString()
/external/chromium_org/chrome/installer/util/
Ddelete_after_reboot_helper.cc230 size_t string_length = copy_iter->first.length() + 1; in StringArrayToMultiSZBytes() local
232 string_length * sizeof(wchar_t)); in StringArrayToMultiSZBytes()
233 write_pointer += string_length; in StringArrayToMultiSZBytes()
235 string_length = copy_iter->second.length() + 1; in StringArrayToMultiSZBytes()
237 string_length * sizeof(wchar_t)); in StringArrayToMultiSZBytes()
238 write_pointer += string_length; in StringArrayToMultiSZBytes()
/external/lldb/test/lang/objc/objc-static-method-stripped/
DTestObjCStaticMethodStripped.py65 string_length = cmd_value.GetValueAsUnsigned()
66 …self.assertTrue (string_length == 27, "Got the right value from another class method on the same c…
/external/lldb/test/lang/objc/objc-static-method/
DTestObjCStaticMethod.py72 string_length = cmd_value.GetValueAsUnsigned()
73 …self.assertTrue (string_length == 27, "Got the right value from another class method on the same c…
/external/chromium_org/components/os_crypt/
Die7_password_win.cc40 DWORD string_length; // The length of the data string. member
/external/chromium_org/v8/src/mips/
Dfull-codegen-mips.cc3945 Register string_length = a3; in EmitFastOneByteArrayJoin() local
3980 __ mov(string_length, zero_reg); in EmitFastOneByteArrayJoin()
4005 __ AdduAndCheckForOverflow(string_length, string_length, scratch1, scratch3); in EmitFastOneByteArrayJoin()
4032 __ Subu(string_length, string_length, Operand(scratch1)); in EmitFastOneByteArrayJoin()
4039 __ AdduAndCheckForOverflow(string_length, string_length, scratch2, scratch3); in EmitFastOneByteArrayJoin()
4041 __ SmiUntag(string_length); in EmitFastOneByteArrayJoin()
4054 __ AllocateOneByteString(result, string_length, scratch1, scratch2, in EmitFastOneByteArrayJoin()
4083 __ lw(string_length, FieldMemOperand(string, String::kLengthOffset)); in EmitFastOneByteArrayJoin()
4084 __ SmiUntag(string_length); in EmitFastOneByteArrayJoin()
4086 __ CopyBytes(string, result_pos, string_length, scratch1); in EmitFastOneByteArrayJoin()
[all …]
/external/chromium_org/v8/src/arm/
Dfull-codegen-arm.cc3929 Register string_length = r3; in EmitFastOneByteArrayJoin() local
3962 __ mov(string_length, Operand::Zero()); in EmitFastOneByteArrayJoin()
3985 __ add(string_length, string_length, Operand(scratch), SetCC); in EmitFastOneByteArrayJoin()
4014 __ sub(string_length, string_length, Operand(scratch)); in EmitFastOneByteArrayJoin()
4022 __ add(string_length, string_length, Operand(scratch), SetCC); in EmitFastOneByteArrayJoin()
4024 __ SmiUntag(string_length); in EmitFastOneByteArrayJoin()
4037 __ AllocateOneByteString(result, string_length, scratch, in EmitFastOneByteArrayJoin()
4066 __ ldr(string_length, FieldMemOperand(string, String::kLengthOffset)); in EmitFastOneByteArrayJoin()
4067 __ SmiUntag(string_length); in EmitFastOneByteArrayJoin()
4071 __ CopyBytes(string, result_pos, string_length, scratch); in EmitFastOneByteArrayJoin()
[all …]
/external/chromium_org/v8/src/mips64/
Dfull-codegen-mips64.cc3946 Register string_length = a3; in EmitFastOneByteArrayJoin() local
3981 __ mov(string_length, zero_reg); in EmitFastOneByteArrayJoin()
4006 __ AdduAndCheckForOverflow(string_length, string_length, scratch1, scratch3); in EmitFastOneByteArrayJoin()
4033 __ Dsubu(string_length, string_length, Operand(scratch1)); in EmitFastOneByteArrayJoin()
4040 __ SmiUntag(string_length); in EmitFastOneByteArrayJoin()
4041 __ AdduAndCheckForOverflow(string_length, string_length, scratch2, scratch3); in EmitFastOneByteArrayJoin()
4055 __ AllocateOneByteString(result, string_length, scratch1, scratch2, in EmitFastOneByteArrayJoin()
4084 __ ld(string_length, FieldMemOperand(string, String::kLengthOffset)); in EmitFastOneByteArrayJoin()
4085 __ SmiUntag(string_length); in EmitFastOneByteArrayJoin()
4087 __ CopyBytes(string, result_pos, string_length, scratch1); in EmitFastOneByteArrayJoin()
[all …]
/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/chromium_org/v8/src/x87/
Dfull-codegen-x87.cc3843 Register string_length = ecx; in EmitFastOneByteArrayJoin() local
3887 __ Move(string_length, Immediate(0)); in EmitFastOneByteArrayJoin()
3907 __ add(string_length, in EmitFastOneByteArrayJoin()
3945 __ sub(string_length, scratch); // May be negative, temporarily. in EmitFastOneByteArrayJoin()
3948 __ add(string_length, scratch); in EmitFastOneByteArrayJoin()
3951 __ shr(string_length, 1); in EmitFastOneByteArrayJoin()
3955 __ AllocateOneByteString(result_pos, string_length, scratch, index, string, in EmitFastOneByteArrayJoin()
3983 __ mov(string_length, in EmitFastOneByteArrayJoin()
3985 __ shr(string_length, 1); in EmitFastOneByteArrayJoin()
3988 __ CopyBytes(string, result_pos, string_length, scratch); in EmitFastOneByteArrayJoin()
[all …]
/external/chromium_org/v8/src/ia32/
Dfull-codegen-ia32.cc3854 Register string_length = ecx; in EmitFastOneByteArrayJoin() local
3898 __ Move(string_length, Immediate(0)); in EmitFastOneByteArrayJoin()
3918 __ add(string_length, in EmitFastOneByteArrayJoin()
3956 __ sub(string_length, scratch); // May be negative, temporarily. in EmitFastOneByteArrayJoin()
3959 __ add(string_length, scratch); in EmitFastOneByteArrayJoin()
3962 __ shr(string_length, 1); in EmitFastOneByteArrayJoin()
3966 __ AllocateOneByteString(result_pos, string_length, scratch, index, string, in EmitFastOneByteArrayJoin()
3994 __ mov(string_length, in EmitFastOneByteArrayJoin()
3996 __ shr(string_length, 1); in EmitFastOneByteArrayJoin()
3999 __ CopyBytes(string, result_pos, string_length, scratch); in EmitFastOneByteArrayJoin()
[all …]
/external/chromium_org/v8/src/arm64/
Dfull-codegen-arm64.cc3611 Register string_length = x10; in EmitFastOneByteArrayJoin() local
3650 __ Mov(string_length, 0); in EmitFastOneByteArrayJoin()
3673 __ Adds(string_length, string_length, scratch1); in EmitFastOneByteArrayJoin()
3705 __ Sub(string_length, string_length, separator_length); in EmitFastOneByteArrayJoin()
3706 __ Umaddl(string_length, array_length.W(), separator_length.W(), in EmitFastOneByteArrayJoin()
3707 string_length); in EmitFastOneByteArrayJoin()
3716 __ AllocateOneByteString(result, string_length, scratch1, scratch2, scratch3, in EmitFastOneByteArrayJoin()
3740 __ Ldrsw(string_length, in EmitFastOneByteArrayJoin()
3743 __ CopyBytes(result_pos, string, string_length, scratch1); in EmitFastOneByteArrayJoin()
3769 __ Ldrsw(string_length, in EmitFastOneByteArrayJoin()
[all …]
/external/chromium_org/v8/src/x64/
Dfull-codegen-x64.cc3847 Register string_length = rcx; in EmitFastOneByteArrayJoin() local
3895 __ Set(string_length, 0); in EmitFastOneByteArrayJoin()
3915 __ AddSmiField(string_length, in EmitFastOneByteArrayJoin()
3967 __ addl(string_length, scratch); in EmitFastOneByteArrayJoin()
3973 __ AllocateOneByteString(result_pos, string_length, scratch, index, string, in EmitFastOneByteArrayJoin()
4002 __ SmiToInteger32(string_length, in EmitFastOneByteArrayJoin()
4006 __ CopyBytes(result_pos, string, string_length); in EmitFastOneByteArrayJoin()
4046 __ SmiToInteger32(string_length, in EmitFastOneByteArrayJoin()
4050 __ CopyBytes(result_pos, string, string_length); in EmitFastOneByteArrayJoin()
4091 __ movl(string_length, scratch); in EmitFastOneByteArrayJoin()
[all …]
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c743 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_string()
750 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_stringz()
/external/chromium_org/v8/src/
Druntime.cc7388 int string_length = string->length(); in JoinSparseArrayWithSeparator() local
7397 0, string_length); in JoinSparseArrayWithSeparator()
7431 int string_length = 0; in RUNTIME_FUNCTION() local
7453 String::kMaxLength - length < string_length) { in RUNTIME_FUNCTION()
7457 string_length += length; in RUNTIME_FUNCTION()
7465 int remaining_length = String::kMaxLength - string_length; in RUNTIME_FUNCTION()
7467 string_length += separator_length * (array_length - 1); in RUNTIME_FUNCTION()
7488 string_length).ToHandleChecked(); in RUNTIME_FUNCTION()
7494 Vector<uint8_t>(result->GetChars(), string_length)); in RUNTIME_FUNCTION()
7498 string_length).ToHandleChecked(); in RUNTIME_FUNCTION()
[all …]
Dapi.cc4770 const int string_length = str->length(); in WriteUtf8() local
4775 if (capacity == -1 || capacity / max16BitCodeUnitSize >= string_length) { in WriteUtf8()
4780 } else if (capacity >= string_length) { in WriteUtf8()
4785 if (utf8_bytes == string_length) { in WriteUtf8()
4787 if (nchars_ref != NULL) *nchars_ref = string_length; in WriteUtf8()
4789 return string_length + 1; in WriteUtf8()
4791 return string_length; in WriteUtf8()
Dbootstrapper.cc984 Handle<AccessorInfo> string_length( in InitializeGlobal() local
988 CallbacksDescriptor d(factory->length_string(), string_length, attribs); in InitializeGlobal()
/external/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARF.cpp7307 uint32_t string_length = strlen(str) + 1; in ParseVariableDIE() local
7308 … location.CopyOpcodeData(debug_info_data, string_offset, string_length); in ParseVariableDIE()