Home
last modified time | relevance | path

Searched refs:to_string (Results 1 – 15 of 15) 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/
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()
157 return arch_expr + " && __ANDROID_API__ >= " + std::to_string(min_version); in generateGuardCondition()
160 D("Generating guard for availability: %s\n", to_string(avail).c_str()); in generateGuardCondition()
165 to_string(avail).c_str()); in generateGuardCondition()
171 to_string(avail).c_str()); in generateGuardCondition()
179 return "__ANDROID_API__ >= "s + std::to_string(avail.global_availability.introduced); in generateGuardCondition()
199 to_string(*it.second.begin()).c_str(), to_string(arch).c_str()); in generateGuardCondition()
[all …]
DDriver.cpp129 cmd.push_back("-D__ANDROID_API__="s + std::to_string(type.api_level)); in generateTargetCC1Flags()
132 cmd.push_back("-D_FILE_OFFSET_BITS="s + std::to_string(type.file_offset_bits)); in generateTargetCC1Flags()
162 errx(1, "driver returned %zu jobs for %s", jobs.size(), to_string(type).c_str()); in generateTargetCC1Flags()
169 errx(1, "driver returned empty command for %s", to_string(type).c_str()); in generateTargetCC1Flags()
179 to_string(type).c_str()); in generateTargetCC1Flags()
189 errx(1, "failed to find target flags for CompilationType %s", to_string(type).c_str()); in getCC1Command()
219 to_string(type).c_str()); in initializeTargetCC1FlagCache()
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()
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);
160 fprintf(out, "%s\n", to_string(avail).c_str());
187 fprintf(out, "%s\n", to_string(availability).c_str());
DDeclarationDatabase.cpp344 std::string to_string(const AvailabilityValues& av) { in to_string() function
366 std::string to_string(const DeclarationType& type) { in to_string() function
378 std::string to_string(const DeclarationAvailability& decl_av) { in to_string() function
381 ss << to_string(decl_av.global_availability) << ", "; in to_string()
386 ss << to_string(it.first) << ": " << to_string(it.second) << ", "; in to_string()
398 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.h35 std::string to_string(const Arch& arch);
Dversioner.cpp140 collect_children(location.dependency_dir + "/" + to_string(arch)); in collectRequirements()
613 std::string versioner_dir = to_string(top) + "/bionic/tools/versioner"; in main()
/bionic/libc/malloc_debug/
DUnwindBacktrace.cpp113 line += "+" + std::to_string(info->function_offset); in UnwindLog()
/bionic/tests/
Dgrp_pwd_test.cpp143 SCOPED_TRACE("uid '" + std::to_string(uid) + "'"); in expect_no_passwd_id()
554 SCOPED_TRACE("gid '" + std::to_string(gid) + "'"); in expect_no_group_id()
Dstdlib_test.cpp809 std::string min{std::to_string(std::numeric_limits<T>::min())}; in CheckStrToInt()
825 std::string max{std::to_string(std::numeric_limits<T>::max())}; in CheckStrToInt()