Home
last modified time | relevance | path

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

12

/external/googletest/googlemock/src/
Dgmock.cc97 const char* const value_str = ParseGoogleMockFlagValue(str, flag, true); in ParseGoogleMockBoolFlag() local
100 if (value_str == nullptr) return false; in ParseGoogleMockBoolFlag()
103 *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F'); in ParseGoogleMockBoolFlag()
116 const char* const value_str = ParseGoogleMockFlagValue(str, flag, false); in ParseGoogleMockStringFlag() local
119 if (value_str == nullptr) return false; in ParseGoogleMockStringFlag()
122 *value = value_str; in ParseGoogleMockStringFlag()
129 const char* const value_str = ParseGoogleMockFlagValue(str, flag, true); in ParseGoogleMockIntFlag() local
132 if (value_str == nullptr) return false; in ParseGoogleMockIntFlag()
136 value_str, value); in ParseGoogleMockIntFlag()
/external/libcxx/utils/google-benchmark/src/
Dcommandlineflags.cc163 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
166 if (value_str == nullptr) return false; in ParseBoolFlag()
169 *value = IsTruthyFlagValue(value_str); in ParseBoolFlag()
175 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
178 if (value_str == nullptr) return false; in ParseInt32Flag()
181 return ParseInt32(std::string("The value of flag --") + flag, value_str, in ParseInt32Flag()
187 const char* const value_str = ParseFlagValue(str, flag, false); in ParseDoubleFlag() local
190 if (value_str == nullptr) return false; in ParseDoubleFlag()
193 return ParseDouble(std::string("The value of flag --") + flag, value_str, in ParseDoubleFlag()
199 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
[all …]
/external/google-benchmark/src/
Dcommandlineflags.cc163 const char* const value_str = ParseFlagValue(str, flag, true); in ParseBoolFlag() local
166 if (value_str == nullptr) return false; in ParseBoolFlag()
169 *value = IsTruthyFlagValue(value_str); in ParseBoolFlag()
175 const char* const value_str = ParseFlagValue(str, flag, false); in ParseInt32Flag() local
178 if (value_str == nullptr) return false; in ParseInt32Flag()
181 return ParseInt32(std::string("The value of flag --") + flag, value_str, in ParseInt32Flag()
187 const char* const value_str = ParseFlagValue(str, flag, false); in ParseDoubleFlag() local
190 if (value_str == nullptr) return false; in ParseDoubleFlag()
193 return ParseDouble(std::string("The value of flag --") + flag, value_str, in ParseDoubleFlag()
199 const char* const value_str = ParseFlagValue(str, flag, false); in ParseStringFlag() local
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/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()
113 const char* const value_str = ParseGoogleMockFlagValue(str, flag, false); in ParseGoogleMockStringFlag() local
116 if (value_str == NULL) return false; in ParseGoogleMockStringFlag()
119 *value = value_str; in ParseGoogleMockStringFlag()
/external/grpc-grpc/src/core/lib/transport/
Dmetadata.cc156 char* value_str = grpc_slice_to_c_string(md->value); in ref_md_locked() local
160 gpr_atm_no_barrier_load(&md->refcnt) + 1, key_str, value_str); in ref_md_locked()
162 gpr_free(value_str); in ref_md_locked()
256 char* value_str = grpc_slice_to_c_string(allocated->value); in grpc_mdelem_create() local
259 key_str, value_str); in grpc_mdelem_create()
261 gpr_free(value_str); in grpc_mdelem_create()
309 char* value_str = grpc_slice_to_c_string(md->value); in grpc_mdelem_create() local
311 gpr_atm_no_barrier_load(&md->refcnt), key_str, value_str); in grpc_mdelem_create()
313 gpr_free(value_str); in grpc_mdelem_create()
356 char* value_str = grpc_slice_to_c_string(md->value); in grpc_mdelem_ref() local
[all …]
/external/libchrome/base/test/metrics/
Dhistogram_enum_reader.cc36 std::string value_str; in ParseEnumFromHistogramsXml() local
38 const bool has_value = reader->NodeAttribute("value", &value_str); in ParseEnumFromHistogramsXml()
48 << entries_index << ", value_str='" << value_str in ParseEnumFromHistogramsXml()
54 if (has_value && !StringToInt(value_str, &value)) { in ParseEnumFromHistogramsXml()
57 << "', value_str='" << value_str in ParseEnumFromHistogramsXml()
64 << "', value_str='" << value_str in ParseEnumFromHistogramsXml()
65 << "'): duplicate value '" << value_str in ParseEnumFromHistogramsXml()
/external/bcc/src/cc/api/
DBPFTable.cc43 std::string& value_str) { in get_value() argument
56 return leaf_to_string(value, value_str); in get_value()
60 std::vector<std::string>& value_str) { in get_value() argument
74 value_str.resize(ncpus); in get_value()
77 r = leaf_to_string(value + i * desc.leaf_size, value_str.at(i)); in get_value()
85 const std::string& value_str) { in update_value() argument
95 r = string_to_leaf(value_str, value); in update_value()
106 const std::vector<std::string>& value_str) { in update_value() argument
117 if (value_str.size() != ncpus) in update_value()
121 r = string_to_leaf(value_str.at(i), value + i * desc.leaf_size); in update_value()
[all …]
DBPFTable.h47 StatusTuple string_to_leaf(const std::string& value_str, ValueType* value) { in string_to_leaf() argument
48 return desc.leaf_sscanf(value_str.c_str(), value); in string_to_leaf()
59 StatusTuple leaf_to_string(const ValueType* value, std::string& value_str) { in leaf_to_string() argument
63 value_str.assign(buf); in leaf_to_string()
100 const std::string& value_str);
102 const std::vector<std::string>& value_str);
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/Inputs/test-data-micro/
Ddummy_format.py27 for key,value_str in cfg.items('results'):
28 value = eval(value_str)
41 for key,value_str in cfg.items('micro-results'):
42 value = eval(value_str)
/external/autotest/client/cros/a11y/
Da11y_test_base.py68 value_str = 'true' if value else 'false'
73 feature, value_str, feature))
76 poll_cmd = 'window.__result == %s;' % value_str
81 (feature, value_str)))
/external/libtextclassifier/lang_id/common/fel/
Dfeature-extractor.cc81 string value_str = GetParameter(name, ""); in GetIntParameter() local
82 if (value_str.empty()) { in GetIntParameter()
87 if (!LiteAtoi(value_str, &value)) { in GetIntParameter()
88 SAFTM_LOG(DFATAL) << "Unable to parse '" << value_str in GetIntParameter()
/external/python/oauth2client/tests/contrib/django_util/
Dtest_django_models.py71 value_str = self.fake_model_field.value_to_string(self.fake_model)
72 self.assertEqual(value_str, self.pickle_str)
76 value_str = self.fake_model_field.value_to_string(self.fake_model)
77 self.assertIsNone(value_str)
/external/tensorflow/tensorflow/python/profiler/
Dpprof_profiler.py71 def index_of(self, value_str): argument
82 if value_str is None:
83 value_str = ''
84 if value_str in self._string_to_index:
85 return self._string_to_index[value_str]
87 self._string_table.append(value_str)
88 self._string_to_index[value_str] = index
/external/v8/src/objects/
Djs-locale.cc69 std::unique_ptr<char[]> value_str = nullptr; in InsertOptionsIntoLocale() local
77 "locale", &value_str); in InsertOptionsIntoLocale()
85 value_str = value_bool ? isolate->factory()->true_string()->ToCString() in InsertOptionsIntoLocale()
88 DCHECK_NOT_NULL(value_str.get()); in InsertOptionsIntoLocale()
96 const char* value = uloc_toLegacyType(key, value_str.get()); in InsertOptionsIntoLocale()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/Inputs/xunit-output/
Ddummy_format.py27 for key,value_str in cfg.items('results'):
28 value = eval(value_str)
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/Inputs/test-data/
Ddummy_format.py27 for key,value_str in cfg.items('results'):
28 value = eval(value_str)
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_tensor.h75 dim->value_str(dim->value_str_size() - 1) + "' "); in AddValue()
110 dim->value_str(dim->value_str_size() - 1) + "' "); in BuildOutput()
138 dim->value_str(dim->value_str_size() - 1) + "' "); in BuildOutput()
Dtfprof_scope.cc181 string value_str; in PrintScope() local
182 tfprof_tensor->Display(&value_str, in PrintScope()
184 node->formatted_str += value_str; in PrintScope()
Dtfprof_graph.cc198 string value_str; in PrintGraph() local
199 tfprof_tensor->Display(&value_str, in PrintGraph()
201 node->formatted_str += value_str; in PrintGraph()
/external/llvm/utils/lit/tests/Inputs/test-data/
Dlit.cfg27 for key,value_str in cfg.items('results'):
28 value = eval(value_str)
/external/webrtc/talk/app/webrtc/test/
Dfakeconstraints.h59 std::string value_str; in SetMandatory() local
60 if (mandatory_.FindFirst(key, &value_str)) { in SetMandatory()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dname_mapper.cpp300 auto value_str = value.str(); in ParseInstruction() local
303 for (auto& c : value_str) in ParseInstruction()
305 SaveName(result_id, NameForId(inst.type_id) + "_" + value_str); in ParseInstruction()
/external/deqp-deps/SPIRV-Tools/source/
Dname_mapper.cpp300 auto value_str = value.str(); in ParseInstruction() local
303 for (auto& c : value_str) in ParseInstruction()
305 SaveName(result_id, NameForId(inst.type_id) + "_" + value_str); in ParseInstruction()
/external/libchrome/base/process/
Dprocess_metrics_linux.cc84 const std::string& value_str = pair.second; in ReadProcStatusAndGetFieldAsSizeT() local
89 SplitStringPiece(value_str, " ", TRIM_WHITESPACE, SPLIT_WANT_ALL); in ReadProcStatusAndGetFieldAsSizeT()
119 const std::string& value_str = pair.second; in ReadProcStatusAndGetFieldAsUint64() local
124 if (!StringToUint64(value_str, &value)) in ReadProcStatusAndGetFieldAsUint64()
217 const std::string& value_str = pair.second; in GetIOCounters() local
229 bool converted = StringToUint64(value_str, target_counter); in GetIOCounters()

12