/external/skia/src/svg/parser/ |
SkSVGEllipse.cpp | 28 SkParse::FindScalar(f_cx.c_str(), &cx); 29 SkParse::FindScalar(f_cy.c_str(), &cy); 30 SkParse::FindScalar(f_rx.c_str(), &rx); 31 SkParse::FindScalar(f_ry.c_str(), &ry);
|
/external/skia/tools/skiaserve/urlhandlers/ |
CmdHandler.cpp | 37 sscanf(commands[1].c_str(), "%d", &n); 45 sscanf(commands[1].c_str(), "%d", &n); 53 sscanf(commands[1].c_str(), "%d", &n); 54 sscanf(commands[2].c_str(), "%d", &toggle);
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest-options_test.cc | 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); 76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str()); 100 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); 102 EXPECT_EQ(expected_output_file, output_file.c_str()); 110 _strcmpi("gtest-options_test", exe_str.c_str()) == 0 || 111 _strcmpi("gtest-options-ex_test", exe_str.c_str()) == 0 || 112 _strcmpi("gtest_all_test", exe_str.c_str()) == 0 || 113 _strcmpi("gtest_dll_test", exe_str.c_str()) == 0; 138 posix::ChDir(original_working_dir_.string().c_str()); [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-options_test.cc | 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); 76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str()); 100 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); 102 EXPECT_EQ(expected_output_file, output_file.c_str()); 110 _strcmpi("gtest-options_test", exe_str.c_str()) == 0 || 111 _strcmpi("gtest-options-ex_test", exe_str.c_str()) == 0 || 112 _strcmpi("gtest_all_test", exe_str.c_str()) == 0 || 113 _strcmpi("gtest_dll_test", exe_str.c_str()) == 0; 138 posix::ChDir(original_working_dir_.string().c_str()); [all...] |
/system/netd/server/ |
LocalNetwork.cpp | 38 if (int ret = RouteController::addInterfaceToLocalNetwork(mNetId, interface.c_str())) { 39 ALOGE("failed to add interface %s to local netId %u", interface.c_str(), mNetId); 50 if (int ret = RouteController::removeInterfaceFromLocalNetwork(mNetId, interface.c_str())) { 51 ALOGE("failed to remove interface %s from local netId %u", interface.c_str(), mNetId);
|
VirtualNetwork.cpp | 59 add ? "adding" : "removing", uidRanges.toString().c_str(), mNetId, strerror(-ret)); 70 if (int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, 72 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId); 85 if (int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), 87 ALOGE("failed to remove users on interface %s of netId %u", interface.c_str(), mNetId); 103 if (int ret = RouteController::addInterfaceToVirtualNetwork(mNetId, interface.c_str(), mSecure, 105 ALOGE("failed to add interface %s to VPN netId %u", interface.c_str(), mNetId); 116 if (int ret = RouteController::removeInterfaceFromVirtualNetwork(mNetId, interface.c_str(), 118 ALOGE("failed to remove interface %s from VPN netId %u", interface.c_str(), mNetId);
|
/external/skia/bench/ |
SkipZeroesBench.cpp | 45 return fName.c_str(); 55 SkString fullPath = SkOSPath::Join(resourcePath.c_str(), fFilename.c_str()); 56 SkFILEStream fileStream(fullPath.c_str()); 79 SkDebugf("stream was invalid: %s\n", fFilename.c_str()); 90 SkDebugf("failed to decode %s\n", fFilename.c_str()); 97 SkDebugf("failed to rewind %s\n", fFilename.c_str());
|
/external/skia/src/gpu/glsl/ |
GrGLSLVertexShaderBuilder.cpp | 27 const char* p = posVar.c_str(); 31 this->codeAppendf("{vec2 _posTmp = %s;", posVar.c_str()); 39 posVar.c_str(), fRtAdjustName, 40 posVar.c_str(), fRtAdjustName, 41 posVar.c_str()); 45 posVar.c_str(), fRtAdjustName, fRtAdjustName, 46 posVar.c_str(), fRtAdjustName, fRtAdjustName);
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
file_test.cc | 46 TEST_LOG("Recording to %s for 3 seconds.\n", recording_filename.c_str()); 47 EXPECT_EQ(0, voe_file_->StartRecordingMicrophone(recording_filename.c_str())); 51 TEST_LOG("Playing back %s.\n", recording_filename.c_str()); 53 channel_, recording_filename.c_str())); 70 TEST_LOG("Recording playout to %s.\n", recording_filename.c_str()); 72 channel_, recording_filename.c_str(), &send_codec)); 78 channel_, recording_filename.c_str(), true, false,
|
/system/connectivity/shill/ |
key_file_store.cc | 94 path_.value().c_str(), 138 int ret = rename(path_.value().c_str(), corrupted_path.c_str()); 165 if (g_key_file_has_key(key_file_, group.c_str(), key.c_str(), nullptr)) { 186 return g_key_file_has_group(key_file_, group.c_str()); 192 g_key_file_remove_key(key_file_, group.c_str(), key.c_str(), &error); 204 g_key_file_remove_group(key_file_, group.c_str(), &error); 215 g_key_file_set_comment(key_file_, nullptr, nullptr, header.c_str(), &error) [all...] |
/system/core/init/ |
service.cpp | 85 std::string prop_name = StringPrintf("init.svc.%s", name_.c_str()); 89 name_.c_str(), new_state.c_str()); 93 property_set(prop_name.c_str(), new_state.c_str()); 99 name_.c_str(), pid_); 105 std::string tmp = StringPrintf(ANDROID_SOCKET_DIR "/%s", si.name.c_str()); 106 unlink(tmp.c_str()); 134 "rebooting into recovery mode\n", name_.c_str(), 156 INFO("service %s\n", name_.c_str()); [all...] |
/external/skia/debugger/ |
debuggermain.cpp | 48 usage(commandName.c_str()); 53 usage(commandName.c_str()); 61 if (SkStrEndsWith(input.c_str(), ".skp")) { 62 w.openFile(input.c_str()); 64 w.setupDirectoryWidget(input.c_str());
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
Stream.cpp | 35 ALOGD("%s: Stream %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); 54 ALOGD("%s: 0x%X for Stream %s", __FUNCTION__, strategy, getName().c_str()); 61 ALOGV("%s: 0x%X for Stream %s", __FUNCTION__, mApplicableStrategy, getName().c_str()); 72 ALOGD("%s: 0x%X for Stream %s", __FUNCTION__, mVolumeProfile, getName().c_str()); 79 ALOGV("%s: 0x%X for Stream %s", __FUNCTION__, mVolumeProfile, getName().c_str());
|
/external/deqp/modules/gles31/functional/ |
es31fIntegerStateQueryTests.cpp | 787 FOR_EACH_VERIFIER(new MaxSamplesCase(m_context, (std::string() + "max_color_texture_samples_" + verifierSuffix).c_str(), "Test GL_MAX_COLOR_TEXTURE_SAMPLES", GL_MAX_COLOR_TEXTURE_SAMPLES, 1, verifier)) 788 FOR_EACH_VERIFIER(new MaxSamplesCase(m_context, (std::string() + "max_depth_texture_samples_" + verifierSuffix).c_str(), "Test GL_MAX_DEPTH_TEXTURE_SAMPLES", GL_MAX_DEPTH_TEXTURE_SAMPLES, 1, verifier)) 789 FOR_EACH_VERIFIER(new MaxSamplesCase(m_context, (std::string() + "max_integer_samples_" + verifierSuffix).c_str(), "Test GL_MAX_INTEGER_SAMPLES", GL_MAX_INTEGER_SAMPLES, 1, verifier)) 791 FOR_EACH_VERIFIER(new TexBindingCase(m_context, (std::string() + "texture_binding_2d_multisample_" + verifierSuffix).c_str(), "Test TEXTURE_BINDING_2D_MULTISAMPLE", GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_BINDING_2D_MULTISAMPLE, verifier)) 792 FOR_EACH_VERIFIER(new TexBindingCase(m_context, (std::string() + "texture_binding_2d_multisample_array_" + verifierSuffix).c_str(), "Test TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY", GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY, verifier)) 793 FOR_EACH_VERIFIER(new TexBindingCase(m_context, (std::string() + "texture_binding_cube_map_array_" + verifierSuffix).c_str(), "Test TEXTURE_BINDING_CUBE_MAP_ARRAY", GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_BINDING_CUBE_MAP_ARRAY, verifier)) 794 FOR_EACH_VERIFIER(new TexBindingCase(m_context, (std::string() + "texture_binding_buffer_" + verifierSuffix).c_str(), "Test TEXTURE_BINDING_BUFFER", GL_TEXTURE_BUFFER, GL_TEXTURE_BINDING_BUFFER, verifier)) 796 FOR_EACH_VERIFIER(new MinimumValueCase(m_context, (std::string() + "max_vertex_attrib_relative_offset_" + verifierSuffix).c_str(), "Test MAX_VERTEX_ATTRIB_RELATIVE_OFFSET", GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET, 2047, verifier)) 797 FOR_EACH_VERIFIER(new MinimumValueCase(m_context, (std::string() + "max_vertex_attrib_bindings_" + verifierSuffix).c_str(), "Test MAX_VERTEX_ATTRIB_BINDINGS", GL_MAX_VERTEX_ATTRIB_BINDINGS, 16, verifier)) 798 FOR_EACH_VERIFIER(new MinimumValueCase(m_context, (std::string() + "max_vertex_attrib_stride_" + verifierSuffix).c_str(), "Test MAX_VERTEX_ATTRIB_STRIDE", GL_MAX_VERTEX_ATTRIB_STRIDE, 2048, verifier) [all...] |
/external/google-breakpad/src/common/linux/ |
memory_mapped_file_unittest.cc | 87 ASSERT_TRUE(WriteFile(test_file.c_str(), NULL, 0)); 90 MemoryMappedFile mapped_file(test_file.c_str(), 0); 95 EXPECT_TRUE(mapped_file.Map(test_file.c_str(), 0)); 109 ASSERT_TRUE(WriteFile(test_file.c_str(), data, data_size)); 112 MemoryMappedFile mapped_file(test_file.c_str(), 0); 120 EXPECT_TRUE(mapped_file.Map(test_file.c_str(), 0)); 144 ASSERT_TRUE(WriteFile(test_file1.c_str(), data1, data1_size)); 145 ASSERT_TRUE(WriteFile(test_file2.c_str(), data2, data2_size)); 148 MemoryMappedFile mapped_file(test_file1.c_str(), 0); 154 mapped_file.Map(test_file2.c_str(), 0) [all...] |
/external/protobuf/src/google/protobuf/testing/ |
file.cc | 62 return access(name.c_str(), F_OK) == 0; 67 FILE* file = fopen(name.c_str(), "rb"); 86 FILE* file = fopen(name.c_str(), "wb"); 104 FILE* file = fopen(name.c_str(), "wb"); 115 return mkdir(name.c_str(), mode) == 0; 142 HANDLE find_handle = FindFirstFile((name + "/*").c_str(), &find_data); 145 DeleteFile(name.c_str()); 146 RemoveDirectory(name.c_str()); 156 RemoveDirectory(path.c_str()); 158 DeleteFile(path.c_str()); [all...] |
/external/skia/src/gpu/effects/ |
GrConfigConversionEffect.cpp | 31 fragBuilder->codeAppendf("%s;", tmpDecl.c_str()); 33 fragBuilder->codeAppendf("%s = ", tmpVar.c_str()); 34 fragBuilder->appendTextureLookup(args.fSamplers[0], args.fCoords[0].c_str(), 40 fragBuilder->codeAppendf("%s = %s.%s;", args.fOutputColor, tmpVar.c_str(), 41 swizzle.c_str()); 47 tmpVar.c_str(), tmpVar.c_str(), tmpVar.c_str(), tmpVar.c_str()); 56 tmpVar.c_str(), tmpVar.c_str(), tmpVar.c_str(), tmpVar.c_str()) [all...] |
/bionic/libc/malloc_debug/tests/ |
malloc_debug_unit_tests.cpp | 183 ASSERT_STREQ("", getFakeLogBuf().c_str()); 184 ASSERT_STREQ("", getFakeLogPrint().c_str()); 207 ASSERT_STREQ("", getFakeLogBuf().c_str()); 208 ASSERT_STREQ("", getFakeLogPrint().c_str()); 224 ASSERT_STREQ("", getFakeLogBuf().c_str()); 225 ASSERT_STREQ("", getFakeLogPrint().c_str()); 244 ASSERT_STREQ("", getFakeLogBuf().c_str()); 245 ASSERT_STREQ("", getFakeLogPrint().c_str()); 267 ASSERT_STREQ("", getFakeLogBuf().c_str()); 268 ASSERT_STREQ("", getFakeLogPrint().c_str()); [all...] |
/external/webrtc/webrtc/base/ |
win32regkey_unittest.cc | 68 EXPECT_STREQ(temp_key.c_str(), L""); 72 EXPECT_STREQ(temp_key.c_str(), L""); 77 EXPECT_STREQ(temp_key.c_str(), L"a"); 81 EXPECT_STREQ(temp_key.c_str(), L"a"); 85 EXPECT_STREQ(temp_key.c_str(), L"a"); 89 EXPECT_STREQ(temp_key.c_str(), L"a"); 93 EXPECT_STREQ(temp_key.c_str(), L"a"); 97 EXPECT_STREQ(temp_key.c_str(), L"a"); 101 EXPECT_STREQ(temp_key.c_str(), L"a"); 105 EXPECT_STREQ(temp_key.c_str(), L"a") [all...] |
/frameworks/base/core/jni/ |
android_os_SELinux.cpp | 119 context_c_str = context->c_str(); 147 if (path.c_str() == NULL) { 152 if (context.c_str() == NULL) { 157 char *tmp = const_cast<char *>(context.c_str()); 158 int ret = setfilecon(path.c_str(), tmp); 160 ALOGV("setFileCon(%s, %s) => %d", path.c_str(), context.c_str(), ret); 180 if (path.c_str() == NULL) { 185 int ret = getfilecon(path.c_str(), &tmp); 193 ALOGV("getFileCon(%s) => %s", path.c_str(), context.get()) [all...] |
/external/clang/test/SemaCXX/ |
vararg-class.cpp | 6 class C { char *c_str(); }; 7 struct D { char *c_str(); }; 9 struct F { F(); char *c_str(); }; 17 v(c); // expected-warning {{passing object of class type 'C' through variadic function; did you mean to call '.c_str()'?}} 18 v(d); // expected-warning {{passing object of class type 'D' through variadic function; did you mean to call '.c_str()'?}} 26 // expected-warning@-6 {{passing object of class type 'F' through variadic function; did you mean to call '.c_str()'?}} 29 v(d.c_str()); 30 v(f.c_str()); 43 // expected-note@-4 {{did you mean to call the c_str() method?}}
|
/external/skia/dm/ |
DMJsonWriter.cpp | 55 result["key"]["name"] = gBitmapResults[i].name.c_str(); 56 result["key"]["config"] = gBitmapResults[i].config.c_str(); 57 result["key"]["source_type"] = gBitmapResults[i].sourceType.c_str(); 58 result["options"]["ext"] = gBitmapResults[i].ext.c_str(); 59 result["md5"] = gBitmapResults[i].md5.c_str(); 64 result["key"]["source_options"] = gBitmapResults[i].sourceOptions.c_str(); 78 result["message"] = gFailures[i].message.c_str(); 91 SkFILEWStream stream(path.c_str()); 92 stream.writeText(Json::StyledWriter().write(root).c_str());
|
/external/skia/tests/ |
OSPathTest.cpp | 30 SkString fullName = SkOSPath::Join(dir.c_str(), filename.c_str()); 40 SkString basename = SkOSPath::Basename(fullName.c_str()); 41 SkString dirname = SkOSPath::Dirname(fullName.c_str()); 53 SkDebugf("OOUCH %s %s %s\n", dir.c_str(), strippedDir.c_str(), dirname.c_str()); 61 basename = SkOSPath::Basename(filename.c_str()); 86 SkString baseOfDir = SkOSPath::Basename(dir.c_str());
|
/bootable/recovery/bootloader_message/ |
bootloader_message.cpp | 41 struct fstab* fstab = fs_mgr_read_fstab(fstab_path.c_str()); 70 ret = stat(blk_device.c_str(), &buf); 73 blk_device.c_str(), tries, strerror(errno)); 79 *err += android::base::StringPrintf("failed to stat %s\n", blk_device.c_str()); 92 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_RDONLY)); 94 *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), 99 *err = android::base::StringPrintf("failed to lseek %s: %s", misc_blk_device.c_str(), 104 *err = android::base::StringPrintf("failed to read %s: %s", misc_blk_device.c_str(), 116 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_WRONLY | O_SYNC)); 118 *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), [all...] |
/external/webrtc/webrtc/modules/audio_coding/test/ |
Tester.cc | 39 "acm_allcodecs_trace.txt").c_str()); 51 "acm_encodedecode_trace.txt").c_str()); 64 "acm_fec_trace.txt").c_str()); 78 "acm_isac_trace.txt").c_str()); 93 "acm_twowaycom_trace.txt").c_str()); 106 "acm_stereo_trace.txt").c_str()); 118 "acm_vaddtx_trace.txt").c_str()); 126 "acm_opusdtx_trace.txt").c_str()); 134 "acm_opus_trace.txt").c_str()); 142 "acm_packetloss_trace.txt").c_str()); [all...] |