Home
last modified time | relevance | path

Searched refs:data_str (Results 1 – 8 of 8) sorted by relevance

/external/perf_data_converter/src/quipper/
Ddso_test_utils.cc52 Elf_Data *AddDataToSection(Elf_Scn *section, const string &data_str) { in AddDataToSection() argument
56 char *data_storage = new char[data_str.size() + 1]; in AddDataToSection()
58 memcpy(data_storage, data_str.data(), data_str.size()); in AddDataToSection()
60 data->d_size = data_str.size(); in AddDataToSection()
123 string data_str; in WriteElfWithMultipleBuildids() local
124 data_str.append(reinterpret_cast<char *>(&note_header), in WriteElfWithMultipleBuildids()
126 data_str.append(note_name); in WriteElfWithMultipleBuildids()
127 data_str.append(string(note_header.n_namesz - note_name.size(), '\0')); in WriteElfWithMultipleBuildids()
128 data_str.append(buildid); in WriteElfWithMultipleBuildids()
129 data_str.append(string(note_header.n_descsz - buildid.size(), '\0')); in WriteElfWithMultipleBuildids()
[all …]
Dperf_stat_parser.cc24 string data_str(data.begin(), data.end()); in ParsePerfStatFileToProto() local
25 return ParsePerfStatOutputToProto(data_str, proto); in ParsePerfStatFileToProto()
/external/python/cpython3/Lib/test/
Dtest_base64.py211 data_str = data.decode('ascii')
215 eq(base64.b64decode(data_str, altchars=altchars), res)
217 eq(base64.b64decode(data_str, altchars=altchars_str), res)
335 data_str = data.decode('ascii')
339 eq(base64.b32decode(data_str, map01=map01), res)
341 eq(base64.b32decode(data_str, map01=map01_str), res)
343 self.assertRaises(binascii.Error, base64.b32decode, data_str)
/external/autotest/client/cros/power/
Dpower_dashboard.py175 data_str = ',\n'.join(data_str_list)
177 html_str += _HTML_CHART_STR.format(data=data_str, unit=unit, type=t)
/external/v8/src/
Dmessages.cc44 std::unique_ptr<char[]> data_str; in DefaultMessageReport() local
46 data_str = Handle<String>::cast(data)->ToCString(DISALLOW_NULLS); in DefaultMessageReport()
47 PrintF("%s:%i: %s\n", data_str.get() ? data_str.get() : "<unknown>", in DefaultMessageReport()
/external/deqp/external/openglcts/modules/gl/
Dgl4cDirectStateAccessTexturesTests.cpp5438 std::string data_str = "["; in DataToString() local
5446 data_str.append(int_sstream.str()); in DataToString()
5450 data_str.append(", "); in DataToString()
5454 data_str.append("]"); in DataToString()
5458 return data_str; in DataToString()
6071 std::string data_str = "["; in DataToString() local
6079 data_str.append(int_sstream.str()); in DataToString()
6083 data_str.append(", "); in DataToString()
6087 data_str.append("]"); in DataToString()
6091 return data_str; in DataToString()
[all …]
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_tests.py1472 data_str = ''.join(map(lambda n: '%02x' % n, data))
1474 'Service Data (UUID 0x%s): %s' % (uuid, data_str)):
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_ops.py146 data_str = [_summarize_eager(x, summarize) for x in xs]
151 (condition, "\n".join(data_str)))