Home
last modified time | relevance | path

Searched refs:value_str (Results 1 – 25 of 30) sorted by relevance

12

/external/google-breakpad/src/testing/src/
Dgmock.cc94 const char* const value_str = ParseGoogleMockFlagValue(str, flag, true); in ParseGoogleMockBoolFlag() local
97 if (value_str == NULL) return false; in ParseGoogleMockBoolFlag()
100 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseGoogleMockBoolFlag()
112 const char* const value_str = ParseGoogleMockFlagValue(str, flag, false); in ParseGoogleMockStringFlag() local
115 if (value_str == NULL) return false; in ParseGoogleMockStringFlag()
118 *value = value_str; in ParseGoogleMockStringFlag()
/external/v8/src/
Dchecks.cc68 v8::String::Utf8Value value_str(value); in CheckEqualsHelper() local
72 expected_source, value_source, *expected_str, *value_str); in CheckEqualsHelper()
84 v8::String::Utf8Value value_str(value); in CheckNonEqualsHelper() local
86 unexpected_source, value_source, *value_str); in CheckNonEqualsHelper()
/external/lldb/source/Commands/
DCommandObjectMemory.cpp1172 const char *value_str = command.GetArgumentAtIndex(i); in DoExecute() local
1213 uval64 = Args::StringToUInt64(value_str, UINT64_MAX, 16, &success); in DoExecute()
1216 … result.AppendErrorWithFormat ("'%s' is not a valid hex string value.\n", value_str); in DoExecute()
1230 uval64 = Args::StringToBoolean(value_str, false, &success); in DoExecute()
1233 … result.AppendErrorWithFormat ("'%s' is not a valid boolean string value.\n", value_str); in DoExecute()
1241 uval64 = Args::StringToUInt64(value_str, UINT64_MAX, 2, &success); in DoExecute()
1244 … result.AppendErrorWithFormat ("'%s' is not a valid binary string value.\n", value_str); in DoExecute()
1260 if (value_str[0]) in DoExecute()
1262 size_t len = strlen (value_str); in DoExecute()
1267 if (process->WriteMemory (addr, value_str, len, error) == len) in DoExecute()
[all …]
DCommandObjectRegister.cpp426 const char *value_str = command.GetArgumentAtIndex(1); in DoExecute() local
442 Error error (reg_value.SetValueFromCString (reg_info, value_str)); in DoExecute()
458 value_str, in DoExecute()
465 value_str); in DoExecute()
/external/lldb/source/Core/
DRegisterValue.cpp445 RegisterValue::SetValueFromCString (const RegisterInfo *reg_info, const char *value_str) in SetValueFromCString() argument
454 if (value_str == NULL || value_str[0] == '\0') in SetValueFromCString()
470 uint64_t uval64 = Args::StringToUInt64(value_str, UINT64_MAX, 0, &success); in SetValueFromCString()
472 … error.SetErrorStringWithFormat ("'%s' is not a valid unsigned integer string value", value_str); in SetValueFromCString()
491 uint64_t sval64 = Args::StringToSInt64(value_str, INT64_MAX, 0, &success); in SetValueFromCString()
493 … error.SetErrorStringWithFormat ("'%s' is not a valid signed integer string value", value_str); in SetValueFromCString()
512 if (::sscanf (value_str, "%f", &m_data.ieee_float) == 1) in SetValueFromCString()
515 … error.SetErrorStringWithFormat ("'%s' is not a valid float string value", value_str); in SetValueFromCString()
519 if (::sscanf (value_str, "%lf", &m_data.ieee_double) == 1) in SetValueFromCString()
522 … error.SetErrorStringWithFormat ("'%s' is not a valid float string value", value_str); in SetValueFromCString()
[all …]
DValueObjectDynamicValue.cpp299 ValueObjectDynamicValue::SetValueFromCString (const char *value_str, Error& error) in SetValueFromCString() argument
323 if (strcmp(value_str,"0")) in SetValueFromCString()
330 bool ret_val = m_parent->SetValueFromCString(value_str,error); in SetValueFromCString()
DValueObjectVariable.cpp325 ValueObjectVariable::SetValueFromCString (const char *value_str, Error& error) in SetValueFromCString() argument
338 error = reg_value.SetValueFromCString(reg_info, value_str); in SetValueFromCString()
353 return ValueObject::SetValueFromCString(value_str, error); in SetValueFromCString()
DValueObjectRegister.cpp381 ValueObjectRegister::SetValueFromCString (const char *value_str, Error& error) in SetValueFromCString() argument
384 error = m_reg_value.SetValueFromCString (&m_reg_info, value_str); in SetValueFromCString()
DScalar.cpp1781 Scalar::SetValueFromCString (const char *value_str, Encoding encoding, size_t byte_size) in SetValueFromCString() argument
1784 if (value_str == NULL || value_str[0] == '\0') in SetValueFromCString()
1799 uint64_t uval64 = Args::StringToUInt64(value_str, UINT64_MAX, 0, &success); in SetValueFromCString()
1801 … error.SetErrorStringWithFormat ("'%s' is not a valid unsigned integer string value", value_str); in SetValueFromCString()
1828 uint64_t sval64 = Args::StringToSInt64(value_str, INT64_MAX, 0, &success); in SetValueFromCString()
1830 … error.SetErrorStringWithFormat ("'%s' is not a valid signed integer string value", value_str); in SetValueFromCString()
1857 if (::sscanf (value_str, "%f", &m_data.flt) == 1) in SetValueFromCString()
1860 … error.SetErrorStringWithFormat ("'%s' is not a valid float string value", value_str); in SetValueFromCString()
1864 if (::sscanf (value_str, "%lf", &m_data.dbl) == 1) in SetValueFromCString()
1867 … error.SetErrorStringWithFormat ("'%s' is not a valid float string value", value_str); in SetValueFromCString()
[all …]
DValueObject.cpp1793 ValueObject::SetValueFromCString (const char *value_str, Error& error) in SetValueFromCString() argument
1814 m_value.GetScalar().SetValueFromCString (value_str, encoding, byte_size); in SetValueFromCString()
1821 error = new_scalar.SetValueFromCString (value_str, encoding, byte_size); in SetValueFromCString()
3425 std::string value_str; in DumpValueObject_Impl() local
3440 value_str); in DumpValueObject_Impl()
3446 value_str = val_cstr; in DumpValueObject_Impl()
3477 …if (!is_nil && !value_str.empty() && (entry == NULL || (entry->DoesPrintValue() || options.m_forma… in DumpValueObject_Impl()
3478 s.Printf(" %s", value_str.c_str()); in DumpValueObject_Impl()
/external/libvncserver/libvncserver/
Dhttpd.c564 char *value_str; in parseParams() local
589 value_str = strchr(&param_request[1], '='); in parseParams()
590 if (value_str == NULL) { in parseParams()
593 *value_str++ = '\0'; in parseParams()
594 if (strlen(value_str) == 0) { in parseParams()
599 if (!validateString(param_request) || !validateString(value_str)) { in parseParams()
606 param_request, value_str); in parseParams()
/external/llvm/utils/lit/tests/Inputs/test-data/
Dlit.cfg27 for key,value_str in cfg.items('results'):
28 value = eval(value_str)
/external/lldb/include/lldb/API/
DSBValue.h125 SetValueFromCString (const char *value_str);
128 SetValueFromCString (const char *value_str, lldb::SBError& error);
/external/lldb/include/lldb/Core/
DValueObjectVariable.h65 SetValueFromCString (const char *value_str, Error& error);
DValueObjectDynamicValue.h91 SetValueFromCString (const char *value_str, Error& error);
DValueObjectRegister.h155 SetValueFromCString (const char *value_str, Error& error);
/external/lldb/examples/python/
Dgdbremote.py312 value_str = '0x'
316 value_str += '%2.2x' % byte
317 return '%s' % (value_str)
721 value_str = reg_info.get_value_from_hex_string (hex_value_str)
724 symbolicated_addresses = options.symbolicator.symbolicate (int(value_str, 0))
730 s += value_str
/external/lldb/scripts/Python/interface/
DSBValue.i155 SetValueFromCString (const char *value_str);
158 SetValueFromCString (const char *value_str, lldb::SBError& error);
/external/lldb/source/API/
DSBDebugger.cpp977 const std::string &value_str = value_strm.GetString(); in GetInternalVariableValue() local
978 if (!value_str.empty()) in GetInternalVariableValue()
981 string_list.SplitIntoLines(value_str.c_str(), value_str.size()); in GetInternalVariableValue()
DSBValue.cpp552 SBValue::SetValueFromCString (const char *value_str) in SetValueFromCString() argument
555 return SetValueFromCString(value_str,dummy); in SetValueFromCString()
559 SBValue::SetValueFromCString (const char *value_str, lldb::SBError& error) in SetValueFromCString() argument
567 success = value_sp->SetValueFromCString (value_str,error.ref()); in SetValueFromCString()
573 …log->Printf ("SBValue(%p)::SetValueFromCString(\"%s\") => %i", value_sp.get(), value_str, success); in SetValueFromCString()
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc4632 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
4635 if (value_str == NULL) return false; in ParseBoolFlag()
4638 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseBoolFlag()
4649 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
4652 if (value_str == NULL) return false; in ParseInt32Flag()
4656 value_str, value); in ParseInt32Flag()
4666 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
4669 if (value_str == NULL) return false; in ParseStringFlag()
4672 *value = value_str; in ParseStringFlag()
/external/protobuf/gtest/src/
Dgtest.cc4414 const char* const value_str = ParseFlagValue(str, flag, true); in UnitTestImpl() local
4417 if (value_str == NULL) return false; in UnitTestImpl()
4420 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in UnitTestImpl()
4431 const char* const value_str = ParseFlagValue(str, flag, false); in UnitTestImpl() local
4434 if (value_str == NULL) return false; in UnitTestImpl()
4438 value_str, value); in UnitTestImpl()
4448 const char* const value_str = ParseFlagValue(str, flag, false); in UnitTestImpl() local
4451 if (value_str == NULL) return false; in UnitTestImpl()
4454 *value = value_str; in UnitTestImpl()
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc4570 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
4573 if (value_str == NULL) return false; in ParseBoolFlag()
4576 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseBoolFlag()
4587 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
4590 if (value_str == NULL) return false; in ParseInt32Flag()
4594 value_str, value); in ParseInt32Flag()
4604 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
4607 if (value_str == NULL) return false; in ParseStringFlag()
4610 *value = value_str; in ParseStringFlag()
/external/mesa3d/src/gtest/src/
Dgtest.cc4600 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
4603 if (value_str == NULL) return false; in ParseBoolFlag()
4606 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseBoolFlag()
4617 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
4620 if (value_str == NULL) return false; in ParseInt32Flag()
4624 value_str, value); in ParseInt32Flag()
4634 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
4637 if (value_str == NULL) return false; in ParseStringFlag()
4640 *value = value_str; in ParseStringFlag()
/external/gtest/src/
Dgtest.cc4717 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
4720 if (value_str == NULL) return false; in ParseBoolFlag()
4723 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseBoolFlag()
4734 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
4737 if (value_str == NULL) return false; in ParseInt32Flag()
4741 value_str, value); in ParseInt32Flag()
4751 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
4754 if (value_str == NULL) return false; in ParseStringFlag()
4757 *value = value_str; in ParseStringFlag()

12