/external/libchrome/base/ |
logging.cc | 167 DeleteFile(log_name.c_str()); 171 unlink(log_name.c_str()); 293 g_log_file = CreateFile(g_log_file_name->c_str(), FILE_APPEND_DATA, 305 g_log_file = CreateFile(g_log_file_name->c_str(), FILE_APPEND_DATA, 314 g_log_file = fopen(g_log_file_name->c_str(), "a"); 478 MessageBoxW(nullptr, base::UTF8ToUTF16(str).c_str(), L"Fatal error", 544 OutputDebugStringA(str_newline.c_str()); 602 asl_facility.c_str(), 656 asl_set(asl_message.get(), ASL_KEY_MSG, str_newline.c_str()); 678 __android_log_write(priority, "chromium", str_newline.c_str()); [all...] |
/external/llvm/tools/llvm-size/ |
llvm-size.cpp | 133 << format(fmt.str().c_str(), Seg.vmsize); 147 outs() << format(fmt.str().c_str(), Sec.size); 155 outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n"; 159 << format(fmt.str().c_str(), Seg.vmsize); 173 outs() << format(fmt.str().c_str(), Sec.size); 181 outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n"; 184 outs() << "total " << format(fmt.str().c_str(), total) << "\n"; 311 outs() << format(fmt.str().c_str(), static_cast<const char *>("section"), 330 outs() << format(fmt.str().c_str(), namestr.c_str(), size, addr) [all...] |
/external/skia/debugger/QT/ |
SkDebuggerGUI.cpp | 274 fInspectorWidget.setText(clipStack.c_str(), SkInspectorWidget::kClipStack_TabType); 281 SkFILEWStream file(filename.c_str()); 347 info.append(QString((*currInfo)[i]->c_str())); 675 SkAutoTDelete<SkStream> stream(new SkFILEStream(fileName.c_str())); 739 item->setData(Qt::DisplayRole, commandString.c_str()); 742 if (0 == strcmp("Restore", commandString.c_str()) || 743 0 == strcmp("EndDrawPicture", commandString.c_str())) { 749 if (0 == strcmp("Save", commandString.c_str()) || 750 0 == strcmp("SaveLayer", commandString.c_str()) || 751 0 == strcmp("BeginDrawPicture", commandString.c_str())) { [all...] |
/system/connectivity/shill/net/ |
netlink_attribute.cc | 760 *output = StringPrintf("'%s'", value.c_str()); 766 reinterpret_cast<const unsigned char*>(value_.c_str()), 791 *output = StringPrintf("[SSID=%s]", temp.c_str()); 916 "%s_%d", array_template.attribute_name.c_str(), id); 952 list->CreateRawAttribute(id, attribute_name.c_str()); 955 list->CreateU8Attribute(id, attribute_name.c_str()); 958 list->CreateU16Attribute(id, attribute_name.c_str()); 961 list->CreateU32Attribute(id, attribute_name.c_str()); 965 list->CreateU64Attribute(id, attribute_name.c_str()); 968 list->CreateFlagAttribute(id, attribute_name.c_str()); [all...] |
/system/core/init/ |
init.cpp | 147 ERROR("no such service '%s'\n", name.c_str()); 158 ERROR("unknown control msg '%s'\n", msg.c_str()); 361 int fd = open(console_name.c_str(), O_RDWR | O_CLOEXEC); 396 property_set(android::base::StringPrintf("ro.kernel.%s", key.c_str()).c_str(), value.c_str()); 401 strlcpy(qemu, value.c_str(), sizeof(qemu)); 403 property_set(android::base::StringPrintf("ro.boot.%s", key.c_str() + 12).c_str(), 404 value.c_str()); [all...] |
/system/update_engine/common/ |
utils_unittest.cc | 77 EXPECT_TRUE(utils::WriteFile(file.value().c_str(), data.data(), data.size())); 79 EXPECT_TRUE(utils::ReadFileChunk(file.value().c_str(), kSize, 10, &in_data)); 81 EXPECT_TRUE(utils::ReadFileChunk(file.value().c_str(), 0, -1, &in_data)); 84 EXPECT_TRUE(utils::ReadFileChunk(file.value().c_str(), 10, 20, &in_data)); 97 EXPECT_TRUE(utils::WriteFile(temp_file.c_str(), "", 0)); 99 EXPECT_EQ(0, symlink(temp_file.c_str(), temp_symlink.c_str())); 100 EXPECT_FALSE(utils::IsSymlink(temp_dir.c_str())); 101 EXPECT_FALSE(utils::IsSymlink(temp_file.c_str())); 102 EXPECT_TRUE(utils::IsSymlink(temp_symlink.c_str())); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
vktSSBOLayoutTests.cpp | 118 BufferBlock& block = m_interface.allocBlock((string("Block") + (char)('A' + m_blockNdx)).c_str()); 126 block.setInstanceName((string("block") + (char)('A' + m_blockNdx)).c_str()); 195 block.addMember(BufferVar(name.c_str(), type, flags)); 223 glu::StructType& structType = m_interface.allocStruct((string("s") + genName('A', 'Z', m_structNdx)).c_str()); 229 structType.addMember((string("m") + (char)('A' + ndx)).c_str(), memberTypes[ndx]); 339 group->addChild(new RandomSSBOLayoutCase(testCtx, de::toString(ndx).c_str(), "", bufferMode, features, (deUint32)ndx+baseSeed)); 809 layoutGroup->addChild(new BlockBasicTypeCase(m_testCtx, caseName.c_str(), "", VarType(type, precision), layoutFlags[layoutFlagNdx].flags, 0)); 822 layoutGroup->addChild(new BlockBasicTypeCase(m_testCtx, caseName.c_str(), "", glu::VarType(type, precision), layoutFlags[layoutFlagNdx].flags|matrixFlags[matFlagNdx].flags, 0)); 853 layoutGroup->addChild(new BlockBasicTypeCase(m_testCtx, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(), "", 884 layoutGroup->addChild(new BlockBasicUnsizedArrayCase(m_testCtx, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(), "", [all...] |
/external/deqp/modules/gles31/functional/ |
es31fSSBOLayoutTests.cpp | 125 BufferBlock& block = m_interface.allocBlock((string("Block") + (char)('A' + m_blockNdx)).c_str()); 133 block.setInstanceName((string("block") + (char)('A' + m_blockNdx)).c_str()); 206 block.addMember(BufferVar(name.c_str(), type, flags)); 236 glu::StructType& structType = m_interface.allocStruct((string("s") + genName('A', 'Z', m_structNdx)).c_str()); 242 structType.addMember((string("m") + (char)('A' + ndx)).c_str(), memberTypes[ndx]); 348 group->addChild(new RandomSSBOLayoutCase(context, de::toString(ndx).c_str(), "", bufferMode, features, (deUint32)ndx+baseSeed)); 826 layoutGroup->addChild(new BlockBasicTypeCase(m_context, caseName.c_str(), "", VarType(type, precision), layoutFlags[layoutFlagNdx].flags, 0)); 839 layoutGroup->addChild(new BlockBasicTypeCase(m_context, caseName.c_str(), "", glu::VarType(type, precision), layoutFlags[layoutFlagNdx].flags|matrixFlags[matFlagNdx].flags, 0)); 870 layoutGroup->addChild(new BlockBasicTypeCase(m_context, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(), "", 901 layoutGroup->addChild(new BlockBasicUnsizedArrayCase(m_context, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(), "", [all...] |
/external/gtest/test/ |
gtest-printers_test.cc | [all...] |
/external/opencv3/modules/core/test/ |
test_mat.cpp | 158 srcTypeStr.c_str(), dstTypeStr.c_str(), opTypeStr, dimStr ); 572 const char* ptr = s.c_str(); 808 i, sidx.c_str(), all_vals[i], v); 869 ts->printf(cvtest::TS::LOG, "SparseMat M[%s] = %g/%g/%g (while it should be %g)\n", sidx.c_str(), val1, val2, val3, val0 ); 895 ts->printf(cvtest::TS::LOG, "SparseMat: after deleting M[%s], it is =%g/%g (while it should be 0)\n", sidx.c_str(), val1, val2 ); 917 "(%g, %g, %s, %s) vs (%g, %g, %s, %s)\n", si, val1, val2, s1.c_str(), s2.c_str(), 918 min_val, max_val, min_sidx.c_str(), max_sidx.c_str()); [all...] |
/external/sfntly/cpp/src/test/tinyxml/ |
tinyxml.cpp | 77 outString->append( str.c_str() + i, 1 ); 163 target->SetValue (value.c_str() ); 808 fprintf( cfile, "<%s", value.c_str() ); 830 fprintf( cfile, "</%s>", value.c_str() ); 848 fprintf( cfile, "</%s>", value.c_str() ); 971 FILE* file = TiXmlFOpen( value.c_str (), "rb" ); 1219 fprintf (cfile, "%s=\"%s\"", n.c_str(), v.c_str() ); 1227 fprintf (cfile, "%s='%s'", n.c_str(), v.c_str() ); [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest-printers_test.cc | [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-printers_test.cc | [all...] |
/art/runtime/ |
utils.cc | 214 return PrettyDescriptor(java_descriptor->ToModifiedUtf8().c_str()); 331 result += PrettyDescriptor(argument_descriptor.c_str()); 370 result = PrettyReturnType(sig_as_string.c_str()) + " " + result + 371 PrettyArguments(sig_as_string.c_str()); 390 result = PrettyReturnType(sig_as_string.c_str()) + " " + result + 391 PrettyArguments(sig_as_string.c_str()); 541 size_t char_count = CountModifiedUtf8Chars(s.c_str()); 999 *utime = strtoull(fields[11].c_str(), nullptr, 10); 1000 *stime = strtoull(fields[12].c_str(), nullptr, 10); 1001 *task_cpu = strtoull(fields[36].c_str(), nullptr, 10) [all...] |
native_bridge_art_interface.cc | 94 return android::LoadNativeBridge(native_bridge_library_filename.c_str(), 104 android::PreInitializeNativeBridge(dir.c_str(), GetInstructionSetString(kRuntimeISA));
|
/art/compiler/ |
elf_writer_test.cc | 55 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); 63 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str()));
|
/art/compiler/linker/ |
output_stream_test.cc | 71 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); 86 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str()));
|
/art/oatdump/ |
oatdump_test.cc | 41 core_oat_location_ = GetSystemImageFilename(GetCoreOatLocation().c_str(), kRuntimeISA); 64 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path";
|
/art/runtime/base/ |
scoped_flock.cc | 90 file->GetPath().c_str(), strerror(errno)); 96 "Failed to lock file '%s': %s", file->GetPath().c_str(), strerror(errno));
|
/bionic/libc/malloc_debug/ |
Config.cpp | 130 error_log("%s: bad value for option '%s': %s", getprogname(), property->c_str(), 136 error_log("%s: bad value for option '%s'", getprogname(), property->c_str()); 139 getprogname(), property->c_str(), end); 144 getprogname(), property->c_str(), read_value); 243 getprogname(), name.c_str(), feature.min_value, value); 247 getprogname(), name.c_str(), feature.max_value, value); 256 getprogname(), name.c_str()); 365 error_log("%s: unknown option %s", getprogname(), property.c_str());
|
/external/chromium-libpac/src/ |
net_util.cc | 36 if (inet_pton(mode, ip_literal.c_str(), buf) != 1) { 80 int number_of_bits = atoi(parts[1].c_str());
|
/external/clang/unittests/libclang/ |
LibclangTest.cpp | 65 EXPECT_STREQ(Contents, BufStr.c_str()); 347 EXPECT_STREQ(Contents, BufStr.c_str()); 418 ClangTU = clang_parseTranslationUnit(Index, CppName.c_str(), nullptr, 0, 450 const char *Args[] = { "-fmodules", ModulesCache.c_str(), 451 "-I", TestDir.c_str() }; 453 ClangTU = clang_parseTranslationUnit(Index, MName.c_str(), Args, NumArgs, 487 const char *Argv[] = {Clang.c_str(), "-target", "arm-linux-gnueabi", 491 clang_parseTranslationUnit2FullArgv(Index, Filename.c_str(), Argv,
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
dlclose-test.cc | 50 printf("opening %s ... \n", path.c_str()); 51 void *lib = dlopen(path.c_str(), RTLD_NOW);
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkDefs.cpp | 88 throw OutOfMemoryError(result, msgStr.str().c_str(), DE_NULL, file, line); 90 throw Error(result, msgStr.str().c_str(), DE_NULL, file, line);
|
vkDeviceUtil.cpp | 71 layerNamePtrs[ndx] = enabledLayers[ndx].c_str(); 74 extensionNamePtrs[ndx] = enabledExtensions[ndx].c_str();
|