/external/libvpx/libvpx/third_party/googletest/src/src/ |
gtest-port.cc | 435 return String::Format("%s:", file_name).c_str(); 438 return String::Format("%s(%d):", file_name, line).c_str(); 440 return String::Format("%s:%d:", file_name, line).c_str(); 456 return String::Format("%s:%d", file_name, line).c_str(); 467 << FormatFileLocation(file, line).c_str() << ": "; 522 remove(filename_.c_str()); 534 FILE* const file = posix::FOpen(filename_.c_str(), "r"); 656 env_var << ToUpper(full_flag.c_str()[i]); 677 printf("%s", msg.GetString().c_str()); 694 printf("%s", msg.GetString().c_str()); [all...] |
/external/llvm/utils/unittest/googletest/ |
gtest-port.cc | 435 return String::Format("%s:", file_name).c_str(); 438 return String::Format("%s(%d):", file_name, line).c_str(); 440 return String::Format("%s:%d:", file_name, line).c_str(); 456 return String::Format("%s:%d", file_name, line).c_str(); 467 << FormatFileLocation(file, line).c_str() << ": "; 526 remove(filename_.c_str()); 538 FILE* const file = posix::FOpen(filename_.c_str(), "r"); 660 env_var << ToUpper(full_flag.c_str()[i]); 681 printf("%s", msg.GetString().c_str()); 698 printf("%s", msg.GetString().c_str()); [all...] |
/external/srec/tools/grxmlcompile/ |
netw_dump.cpp | 57 outfile.open ( fileName.c_str() ); 84 outfile << arc[loc]->fromId << separator << arc[loc]->toId << separator << inLabel.c_str() << std::endl; 110 outfile.open ( fileName.c_str() ); 174 outfile << arc[loc]->fromId << Separator << arc[loc]->toId << Separator << inLabel.c_str() << Separator << outLabel.c_str() << std::endl; 203 outfile.open ( fileName.c_str() ); 218 outfile << arc[loc]->fromId << separator << arc[loc]->toId << separator << Eps << separator << outLabel.c_str() << std::endl; 230 outfile << arc[loc]->fromId << separator << arc[loc]->toId << separator << ".wb" << separator << outLabel.c_str() << std::endl; 277 outfile.open ( fileName.c_str() ); 292 outfile << arc[loc]->fromId << separator << arc[loc]->toId << separator << Eps << separator << outLabel.c_str() << std::endl [all...] |
/external/chromium/base/ |
stringprintf_unittest.cc | 80 EXPECT_STREQ(src, out.c_str()); 85 EXPECT_STREQ(srcw, outw.c_str()); 109 EXPECT_STREQ(ref, out.c_str()); 134 EXPECT_STREQ(src, out.c_str()); 148 EXPECT_STREQ(L"", out.c_str());
|
/external/protobuf/src/google/protobuf/testing/ |
googletest.cc | 125 GOOGLE_CHECK(mkdir(name_.c_str(), 0777) == 0) << strerror(errno); 158 int fd = open(stdout_capture_filename_.c_str(), 173 int fd = open(stderr_capture_filename_.c_str(), 193 remove(stdout_capture_filename_.c_str()); 208 remove(stderr_capture_filename_.c_str());
|
/external/skia/legacy/src/views/ |
SkStaticTextView.cpp | 39 SkScalar width = fPaint.measureText(fText.c_str(), fText.size()); 45 int lines = width > 0 ? SkTextLineBreaker::CountLines(fText.c_str(), fText.size(), fPaint, width) : 0; 94 memcpy(text, fText.c_str(), fText.size()); 100 this->setText(text.c_str(), text.size()); 148 box.draw(canvas, fText.c_str(), fText.size(), fPaint);
|
/external/skia/tools/ |
filtermain.cpp | 46 SkFILEStream inStream(inFile.c_str()); 52 SkDebugf("Could not read file %s\n", inFile.c_str()); 105 SkFILEWStream outStream(outFile.c_str()); 175 SkOSFile::Iter iter(inDir.c_str(), "skp"); 185 SkDebugf("Executing %s\n", inputFilename.c_str());
|
/sdk/emulator/opengl/host/tools/emugen/ |
TypeFactory.cpp | 71 FILE *fp = fopen(filename.c_str(), "rt"); 73 perror(filename.c_str()); 125 VarConverter *v = getVarConverter(atoi(size.c_str())); 127 fprintf(stderr, "Error: %d : unknown var width: %d\n", lc, atoi(size.c_str())); 134 lc, name.c_str(), lc);
|
/external/tinyxml/ |
tinyxml.h | 449 const char *Value() const { return value.c_str (); } 497 const TiXmlNode* FirstChild( const std::string& _value ) const { return FirstChild (_value.c_str ()); } ///< STL std::string form. 498 TiXmlNode* FirstChild( const std::string& _value ) { return FirstChild (_value.c_str ()); } ///< STL std::string form. 499 const TiXmlNode* LastChild( const std::string& _value ) const { return LastChild (_value.c_str ()); } ///< STL std::string form. 500 TiXmlNode* LastChild( const std::string& _value ) { return LastChild (_value.c_str ()); } ///< STL std::string form. 527 const TiXmlNode* IterateChildren( const std::string& _value, const TiXmlNode* previous ) const { return IterateChildren (_value.c_str (), previous); } ///< STL std::string form. 528 TiXmlNode* IterateChildren( const std::string& _value, TiXmlNode* previous ) { return IterateChildren (_value.c_str (), previous); } ///< STL std::string form. 575 const TiXmlNode* PreviousSibling( const std::string& _value ) const { return PreviousSibling (_value.c_str ()); } ///< STL std::string form. 576 TiXmlNode* PreviousSibling( const std::string& _value ) { return PreviousSibling (_value.c_str ()); } ///< STL std::string form. 577 const TiXmlNode* NextSibling( const std::string& _value) const { return NextSibling (_value.c_str ()); } ///< STL std::string form [all...] |
/external/chromium/chrome/browser/sync/glue/ |
http_bridge_unittest.cc | 181 http_bridge->SetURL(echo.spec().c_str(), echo.IntPort()); 183 payload.length() + 1, payload.c_str()); 204 http_bridge->SetURL(echo_header.spec().c_str(), echo_header.IntPort()); 208 test_payload.c_str()); 221 EXPECT_NE(std::string::npos, response.find(test_payload.c_str())); 231 http_bridge->SetURL(echo_header.spec().c_str(), echo_header.IntPort()); 236 test_payload.c_str()); 249 EXPECT_NE(std::string::npos, response.find(test_payload.c_str())); 258 http_bridge->SetURL(echo_header.spec().c_str(), echo_header.IntPort()); 262 test_payload.c_str()); [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
content_setting_bubble_gtk.cc | 99 GtkWidget* label = gtk_label_new(content.title.c_str()); 115 GtkWidget* label = gtk_label_new(BuildElidedText(name).c_str()); 155 BuildElidedText(i->title).c_str()); 177 gtk_radio_button_new_with_label(NULL, elided.c_str()) : 180 elided.c_str()); 202 GtkWidget* label = gtk_label_new(BuildElidedText(i->title).c_str()); 221 custom_link = gtk_chrome_link_button_new(content.custom_link.c_str()); 225 custom_link = gtk_label_new(content.custom_link.c_str()); 240 gtk_chrome_link_button_new(content.manage_link.c_str()); 246 l10n_util::GetStringUTF8(IDS_DONE).c_str()); [all...] |
first_run_bubble.cc | 132 l10n_util::GetStringUTF8(IDS_FR_BUBBLE_TITLE).c_str()); 137 l10n_util::GetStringUTF8(IDS_FR_BUBBLE_SUBTEXT).c_str()); 142 l10n_util::GetStringFUTF8(IDS_FR_BUBBLE_QUESTION, search_engine).c_str()); 146 l10n_util::GetStringFUTF8(IDS_FR_BUBBLE_OK, search_engine).c_str()); 148 l10n_util::GetStringUTF8(IDS_FR_BUBBLE_CHANGE).c_str()); 185 GetDefaultSearchEngineName(profile_)).c_str()); 190 gtk_label_new(l10n_util::GetStringUTF8(IDS_FR_BUBBLE_SUBTEXT).c_str());
|
/external/chromium/chrome/browser/ui/views/ |
about_ipc_dialog.cc | 110 LVIF_TEXT | LVIF_PARAM, 0, wname.c_str(), 0, 0, 0, i->first); 112 messages->SetItemText(index, 0, wname.c_str()); 317 int index = message_list_.InsertItem(count, sent_str.c_str()); 319 message_list_.SetItemText(index, kTimeColumn, sent_str.c_str()); 321 ASCIIToWide(data.channel).c_str()); 326 UTF8ToWide(message_name).c_str()); 328 UTF8ToWide(data.flags).c_str()); 335 message_list_.SetItemText(index, kDispatchColumn, temp.c_str()); 341 message_list_.SetItemText(index, kProcessColumn, temp.c_str()); 344 UTF8ToWide(data.params).c_str()); [all...] |
/external/stressapptest/src/ |
worker.cc | 316 cpuset_format(&cpu_mask_).c_str()); 320 CurrentCpusFormat().c_str(), 321 cpuset_format(&cpu_mask_).c_str()); 442 cpuset_format(&process_mask).c_str()); 446 cpuset_format(thread_mask).c_str(), 447 cpuset_format(&process_mask).c_str()); 619 CurrentCpusFormat().c_str(), 686 devicename_.c_str(), 818 ProcessError(&recorded[0], 0, errormessage.c_str()); 838 ProcessError(&recorded[err], priority, errormessage.c_str()); [all...] |
/external/chromium/chrome/browser/password_manager/ |
native_backend_gnome_x.cc | 332 form.origin.spec().c_str(), // Display name. 333 UTF16ToUTF8(form.password_value).c_str(), 337 "origin_url", form.origin.spec().c_str(), 338 "action_url", form.action.spec().c_str(), 339 "username_element", UTF16ToUTF8(form.username_element).c_str(), 340 "username_value", UTF16ToUTF8(form.username_value).c_str(), 341 "password_element", UTF16ToUTF8(form.password_element).c_str(), 342 "submit_element", UTF16ToUTF8(form.submit_element).c_str(), 343 "signon_realm", form.signon_realm.c_str(), 346 "date_created", base::Int64ToString(date_created).c_str(), [all...] |
/external/open-vcdiff/src/ |
vcdecoder4_test.cc | 43 EXPECT_EQ(expected_target_.c_str(), output_); 54 EXPECT_EQ(expected_target_.c_str(), output_); 66 EXPECT_EQ(expected_target_.c_str(), output_); 78 EXPECT_EQ(expected_target_.c_str(), output_); 254 EXPECT_EQ(expected_target_.c_str(), output_); 282 EXPECT_EQ(expected_target_.c_str(), 298 EXPECT_EQ(expected_target_.substr(0, 89).c_str(), output_); 313 EXPECT_EQ(expected_target_.c_str(), output_chunk1 + output_chunk2); 333 EXPECT_EQ(expected_target_.c_str(), 349 EXPECT_EQ(expected_target_.c_str(), output_) [all...] |
/external/chromium/chrome/browser/chromeos/ |
user_cros_settings_provider.cc | 79 local_state->RegisterBooleanPref((pref_path + kTrustedSuffix).c_str(), 83 local_state->RegisterBooleanPref(pref_path.c_str(), false); 85 local_state->RegisterBooleanPref(pref_path.c_str(), true); 87 local_state->RegisterStringPref(pref_path.c_str(), ""); 90 local_state->RegisterListPref(pref_path.c_str()); 115 prefs->ClearPref(name.c_str()); 117 prefs->SetBoolean(name.c_str(), value); 126 prefs->ClearPref(name.c_str()); 128 prefs->SetString(name.c_str(), value); 179 if (prefs->IsManagedPreference(name.c_str())) [all...] |
/external/chromium/chrome/browser/ |
shell_integration_win.cc | 167 FAILED(persist_file->Load(shortcut.value().c_str(), STGM_READ))) { 184 shortcut.value().c_str(), 190 expected_app_id.c_str()); 209 lstrcmpi(chrome_exe_.value().c_str(), source.c_str())) 219 L"\"%ls\" %ls", source.c_str(), arguments.c_str())); 328 hr = pAAR->QueryAppIsDefault(kChromeProtocols[i].c_str(), AT_URLPROTOCOL, 329 AL_EFFECTIVE, app_name.c_str(), &result); 338 GetShortPathName(app_path.value().c_str(), [all...] |
/external/marisa-trie/lib/marisa/ |
trie-inline.h | 25 return lookup(str.c_str(), str.length()); 31 return find(str.c_str(), str.length(), 38 return find(str.c_str(), str.length(), 44 return find_first(str.c_str(), str.length(), key_length); 49 return find_last(str.c_str(), str.length(), key_length); 71 return find_callback(str.c_str(), str.length(), callback); 76 return predict(str.c_str(), str.length(), key_ids, keys, max_num_results); 82 return predict(str.c_str(), str.length(), key_ids, keys, max_num_results); 87 return predict_breadth_first(str.c_str(), str.length(), 94 return predict_breadth_first(str.c_str(), str.length() [all...] |
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
trie-inline.h | 25 return lookup(str.c_str(), str.length()); 31 return find(str.c_str(), str.length(), 38 return find(str.c_str(), str.length(), 44 return find_first(str.c_str(), str.length(), key_length); 49 return find_last(str.c_str(), str.length(), key_length); 72 return find_callback(str.c_str(), str.length(), callback); 77 return predict(str.c_str(), str.length(), key_ids, keys, max_num_results); 83 return predict(str.c_str(), str.length(), key_ids, keys, max_num_results); 88 return predict_breadth_first(str.c_str(), str.length(), 95 return predict_breadth_first(str.c_str(), str.length() [all...] |
/external/chromium/base/win/ |
event_trace_controller_unittest.cc | 107 ASSERT_HRESULT_SUCCEEDED(prop.SetLoggerFileName(name.c_str())); 108 ASSERT_HRESULT_SUCCEEDED(prop.SetLoggerName(name.c_str())); 109 ASSERT_STREQ(name.c_str(), prop.GetLoggerFileName()); 110 ASSERT_STREQ(name.c_str(), prop.GetLoggerName()); 113 ASSERT_HRESULT_FAILED(prop.SetLoggerFileName(name2.c_str())); 114 ASSERT_HRESULT_FAILED(prop.SetLoggerName(name2.c_str())); 148 temp.value().c_str());
|
/external/chromium/chrome/browser/ui/gtk/importer/ |
import_progress_dialog_gtk.cc | 29 gtk_label_set_text(GTK_LABEL(label), status.c_str()); 76 l10n_util::GetStringUTF8(IDS_IMPORT_PROGRESS_TITLE).c_str(), 91 importer_name).c_str()); 99 l10n_util::GetStringUTF8(IDS_IMPORT_PROGRESS_STATUS_HISTORY).c_str()); 106 l10n_util::GetStringUTF8(IDS_IMPORT_PROGRESS_STATUS_BOOKMARKS).c_str()); 113 l10n_util::GetStringUTF8(IDS_IMPORT_PROGRESS_STATUS_SEARCH).c_str()); 120 l10n_util::GetStringUTF8(IDS_IMPORT_PROGRESS_STATUS_PASSWORDS).c_str());
|
/external/llvm/unittests/ADT/ |
SmallStringTest.cpp | 50 EXPECT_STREQ("aaa", theString.c_str()); 57 EXPECT_STREQ("abc", theString.c_str()); 64 EXPECT_STREQ("abc", theString.c_str()); 72 EXPECT_STREQ("abc", theString.c_str()); 80 EXPECT_STREQ("abcabc", theString.c_str()); 88 EXPECT_STREQ("abcabc", theString.c_str()); 97 EXPECT_STREQ("abcabc", theString.c_str());
|
/external/oprofile/pp/ |
oparchive.cpp | 66 if (!(dir = opendir(stats_path.c_str()))) { 74 create_path(archive_stats_path.c_str())) { 90 create_path(archive_stats_path.c_str())) { 109 if (!options::list_files && create_path(options::outdirectory.c_str())) { 148 create_path(exe_archive_file.c_str())) { 173 create_dir(dest_debug_dir.c_str())) { 207 create_path(sample_archive_file.c_str())) {
|
/external/skia/src/gpu/gl/ |
GrGLShaderVar.h | 216 * Shortcut for this->getName().c_str(); 218 const char* c_str() const { return this->getName().c_str(); } function in class:GrGLShaderVar 272 this->getName().c_str()); 277 this->getName().c_str(), 283 this->getName().c_str()); 313 this->getName().c_str(), 320 this->getName().c_str(),
|