Home
last modified time | relevance | path

Searched refs:to_string (Results 1 – 14 of 14) sorted by relevance

/bionic/libc/malloc_debug/tests/
Dlog_fake.cpp48 g_fake_log_print += std::to_string(priority) + ' ' + tag + ' '; in async_safe_format_log()
61 g_fake_log_print += std::to_string(priority) + ' ' + tag + ' ' + msg + '\n'; in async_safe_write_log()
67 g_fake_log_buf += std::to_string(bufId) + ' ' + std::to_string(prio) + ' '; in __android_log_buf_write()
75 g_fake_log_print += std::to_string(prio) + ' '; in __android_log_print()
/bionic/tools/versioner/src/
DCompilationType.cpp22 std::string to_string(const CompilationType& type) { in to_string() function
24 ss << to_string(type.arch) << "-" << type.api_level << " [" << (type.cpp ? "c++" : "c") in to_string()
DPreprocessor.cpp76 D(" Declaration availability: %s\n", to_string(decl_av).c_str()); in calculateRequiredGuard()
82 arch_visibility_str += to_string(arch); in calculateRequiredGuard()
84 arch_visibility_str += std::to_string(arch_visibility[arch]); in calculateRequiredGuard()
106 D(" Calculated result: %s\n", to_string(result).c_str()); in calculateRequiredGuard()
160 return arch_expr + " && __ANDROID_API__ >= " + std::to_string(min_version); in generateGuardCondition()
163 D("Generating guard for availability: %s\n", to_string(avail).c_str()); in generateGuardCondition()
168 to_string(avail).c_str()); in generateGuardCondition()
174 to_string(avail).c_str()); in generateGuardCondition()
182 return "__ANDROID_API__ >= "s + std::to_string(avail.global_availability.introduced); in generateGuardCondition()
202 to_string(*it.second.begin()).c_str(), to_string(arch).c_str()); in generateGuardCondition()
[all …]
DUtils.h71 static inline std::string to_string(const char* c) { in to_string() function
75 static inline const std::string& to_string(const std::string& str) { in to_string() function
84 result.append(to_string(item));
DDeclarationDatabase.h63 std::string to_string(const AvailabilityValues& av);
96 std::string to_string(const DeclarationAvailability& decl_av);
121 std::string to_string(const Location& loc);
156 fprintf(out, "%s\n", to_string(avail).c_str());
183 fprintf(out, "%s\n", to_string(availability).c_str());
DDriver.cpp128 cmd.push_back("-D__ANDROID_API__="s + std::to_string(type.api_level)); in generateTargetCC1Flags()
138 cmd.push_back("-D_FILE_OFFSET_BITS="s + std::to_string(type.file_offset_bits)); in generateTargetCC1Flags()
168 errx(1, "driver returned %zu jobs for %s", jobs.size(), to_string(type).c_str()); in generateTargetCC1Flags()
175 errx(1, "driver returned empty command for %s", to_string(type).c_str()); in generateTargetCC1Flags()
185 to_string(type).c_str()); in generateTargetCC1Flags()
195 errx(1, "failed to find target flags for CompilationType %s", to_string(type).c_str()); in getCC1Command()
225 to_string(type).c_str()); in initializeTargetCC1FlagCache()
DDeclarationDatabase.cpp342 std::string to_string(const AvailabilityValues& av) { in to_string() function
364 std::string to_string(const DeclarationType& type) { in to_string() function
376 std::string to_string(const DeclarationAvailability& decl_av) { in to_string() function
379 ss << to_string(decl_av.global_availability) << ", "; in to_string()
384 ss << to_string(it.first) << ": " << to_string(it.second) << ", "; in to_string()
396 std::string to_string(const Location& loc) { in to_string() function
DArch.cpp23 std::string to_string(const Arch& arch) { in to_string() function
DCompilationType.h70 std::string to_string(const CompilationType& type);
DSymbolFileParser.cpp56 api_level_arch_prefix("api-level-" + to_string(type.arch) + "="), in SymbolFileParser()
57 intro_arch_perfix("introduced-" + to_string(type.arch) + "="), in SymbolFileParser()
DArch.h37 std::string to_string(const Arch& arch);
Dversioner.cpp140 collect_children(location.dependency_dir + "/" + to_string(arch)); in collectRequirements()
611 std::string versioner_dir = to_string(top) + "/bionic/tools/versioner"; in main()
/bionic/libc/malloc_debug/
DUnwindBacktrace.cpp105 line += "+" + std::to_string(info->function_offset); in UnwindLog()
/bionic/tests/
Dstdlib_test.cpp754 std::string min{std::to_string(std::numeric_limits<T>::min())}; in CheckStrToInt()
770 std::string max{std::to_string(std::numeric_limits<T>::max())}; in CheckStrToInt()