HomeSort by relevance Sort by last modified time
    Searched refs:c_str (Results 26 - 50 of 1553) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/llvm/utils/unittest/googletest/
gtest-filepath.cc 120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
130 const char* const last_sep = strrchr(c_str(), kPathSeparator);
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator);
163 dir = String(c_str(), last_sep + 1 - c_str());
182 file = String::Format("%s.%s", base_name.c_str(), extension);
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
197 relative_path.c_str()));
    [all...]
  /frameworks/base/tools/localize/
XLIFFFile_test.cpp 21 str.id.c_str(), str.index,
22 str.value->ContentsToString(ANDROID_NAMESPACES).c_str(),
23 str.pos.ToString().c_str(), str.file.c_str(), str.version,
24 str.versionString.c_str());
26 printf("XML:[[%s]]\n", xf->ToString().c_str());
74 printf("OLD=\"%s\"\n", oldString.c_str());
75 printf("NEW=\"%s\"\n", newString.c_str());
83 fprintf(stderr, " actual='%s'\n", oldString.c_str());
94 fprintf(stderr, " actual='%s'\n", newString.c_str());
    [all...]
Perforce_test.cpp 9 printf("err=%d result=[[%s]]\n", err, result.c_str());
35 printf("[%zd] '%s'\n", i, results[i].c_str());
46 printf("err=%d result=[[%s]]\n", err, result.c_str());
file_utils.cpp 22 return string(String8(path.c_str()).getPathDir().string());
53 const char* str = file.c_str();
103 log_printf("get_values_file filename=%s\n", filename.c_str());
112 fprintf(stderr, "unable to parse file: %s\n", filename.c_str());
128 fd = open(filename.c_str(), O_RDONLY);
130 fprintf(stderr, "unable to open file: %s\n", filename.c_str());
147 fprintf(stderr, "unable to parse file: %s\n", filename.c_str());
156 printf("\r%s file %zd of %zd...", message.c_str(), j, J);
163 mkdirs(parent_dir(filename).c_str());
164 int fd = open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC, 0666)
    [all...]
  /development/tools/emulator/opengl/host/tools/emugen/
EntryPoint.cpp 113 fprintf(stderr, "line: %d: Parsing error in field <%s>\n", lc, field.c_str());
119 fprintf(stderr, "UNKNOWN retval: %s\n", linestr.c_str());
134 fprintf(stderr, "line: %d: Parsing error in field <%s>\n", lc, field.c_str());
140 fprintf(stderr, "%d: Unknown type: %s\n", lc, vartype.c_str());
162 m_retval.type()->name().c_str(),
163 name_prefix.c_str(),
164 m_name.c_str(),
165 name_suffix.c_str());
167 if (ctx_param != "") fprintf(fp, "%s ", ctx_param.c_str());
172 fprintf(fp, "%s %s", m_vars[i].type()->name().c_str(),
    [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");
97 return mkdir(name.c_str(), mode) == 0;
124 HANDLE find_handle = FindFirstFile((name + "/*").c_str(), &find_data);
127 DeleteFile(name.c_str());
128 RemoveDirectory(name.c_str());
138 RemoveDirectory(path.c_str());
140 DeleteFile(path.c_str());
146 RemoveDirectory(name.c_str());
    [all...]
  /external/chromium/base/
environment.cc 40 return GetVarImpl(alternate_case_var.c_str(), result);
63 UTF8ToWide(variable_name).c_str(), NULL, 0);
68 ::GetEnvironmentVariable(UTF8ToWide(variable_name).c_str(), value.get(),
81 return !setenv(variable_name, new_value.c_str(), 1);
84 return !!SetEnvironmentVariable(UTF8ToWide(variable_name).c_str(),
85 UTF8ToWide(new_value).c_str());
95 return !!SetEnvironmentVariable(UTF8ToWide(variable_name).c_str(), NULL);
string16_unittest.cc 22 stream.str().c_str());
49 stream.str().c_str());
  /external/chromium/chrome/browser/chromeos/input_method/
xkeyboard_unittest.cc 67 "", GetMap(kVoidKey, kVoidKey, kVoidKey)).c_str());
70 EXPECT_STREQ("", CreateFullXkbLayoutName("us", ModifierMap()).c_str());
75 EXPECT_STREQ("", CreateFullXkbLayoutName("us", tmp_map).c_str());
80 EXPECT_STREQ("", CreateFullXkbLayoutName("us", tmp_map).c_str());
83 EXPECT_STREQ("", CreateFullXkbLayoutName("us", tmp_map).c_str());
86 EXPECT_STREQ("", CreateFullXkbLayoutName("us", tmp_map).c_str());
91 EXPECT_STREQ("", CreateFullXkbLayoutName("us", tmp_map).c_str());
94 EXPECT_STREQ("", CreateFullXkbLayoutName("us", tmp_map).c_str());
100 GetMap(kCapsLockKey, kVoidKey, kVoidKey)).c_str());
104 GetMap(kVoidKey, kCapsLockKey, kVoidKey)).c_str());
    [all...]
  /external/chromium/chrome/browser/profiles/
profile_dependency_manager_unittest.cc 66 EXPECT_STREQ("service", (*shutdown_order())[0].c_str());
78 EXPECT_STREQ("child", (*shutdown_order())[0].c_str());
79 EXPECT_STREQ("parent", (*shutdown_order())[1].c_str());
93 EXPECT_STREQ("child2", (*shutdown_order())[0].c_str());
94 EXPECT_STREQ("child1", (*shutdown_order())[1].c_str());
95 EXPECT_STREQ("parent", (*shutdown_order())[2].c_str());
116 EXPECT_STREQ("child_of_2", (*shutdown_order())[0].c_str());
117 EXPECT_STREQ("child_of_12", (*shutdown_order())[1].c_str());
118 EXPECT_STREQ("child_of_1", (*shutdown_order())[2].c_str());
119 EXPECT_STREQ("parent2", (*shutdown_order())[3].c_str());
    [all...]
  /external/protobuf/gtest/src/
gtest-filepath.cc 105 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
106 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
118 const char* const last_sep = strrchr(c_str(), kPathSeparator);
129 const char* const last_sep = strrchr(c_str(), kPathSeparator);
132 dir = String(c_str(), last_sep + 1 - c_str());
151 file = String::Format("%s.%s", base_name.c_str(), extension);
153 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
165 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
166 relative_path.c_str()));
    [all...]
  /external/oprofile/libutil++/
file_manip.cpp 37 if (stat(source.c_str(), &buf))
43 ifstream in(source.c_str());
51 int fd = open(destination.c_str(), O_RDWR|O_CREAT, mode);
59 retval = chown(destination.c_str(), buf.st_uid, buf.st_gid);
63 ofstream out(destination.c_str(), ios::trunc);
72 if (utime(destination.c_str(), &utim))
82 return !stat(dirname.c_str(), &st) && S_ISDIR(st.st_mode);
91 if (stat(file1.c_str(), &st1) == 0 && stat(file2.c_str(), &st2) == 0) {
103 if (!realpath(name.c_str(), tmp)
    [all...]
glob_filter.cpp 23 return fnmatch(s.c_str(), str_.c_str(), 0) != FNM_NOMATCH;
  /external/chromium/webkit/glue/
simple_webmimeregistry_impl.cc 33 if (!net::IsSupportedMimeType(ToASCIIOrEmpty(mime_type).c_str()))
40 if (!net::IsSupportedImageMimeType(ToASCIIOrEmpty(mime_type).c_str()))
47 if (!net::IsSupportedJavascriptMimeType(ToASCIIOrEmpty(mime_type).c_str()))
55 if (!net::IsSupportedMediaMimeType(ToASCIIOrEmpty(mime_type).c_str()))
59 if (net::IsStrictMediaMimeType(ToASCIIOrEmpty(mime_type).c_str())) {
66 net::ParseCodecString(ToASCIIOrEmpty(codecs).c_str(),
69 if (!net::IsSupportedStrictMediaMimeType(ToASCIIOrEmpty(mime_type).c_str(),
79 net::ParseCodecString(ToASCIIOrEmpty(codecs).c_str(), &parsed_codecs, true);
89 if (!net::IsSupportedNonImageMimeType(ToASCIIOrEmpty(mime_type).c_str()))
  /external/chromium/chrome/common/
child_process_logging_linux.cc 36 url.possibly_invalid_spec().c_str(),
47 base::strlcpy(g_client_id, str.c_str(), kClientIdSize);
64 gpu_info.driver_version.c_str(),
68 gpu_info.pixel_shader_version.c_str(),
72 gpu_info.vertex_shader_version.c_str(),
  /external/chromium/chrome/browser/metrics/
user_metrics.cc 18 Record(action.c_str(), profile);
30 Record(action.c_str());
47 Record(action.c_str());
  /external/gtest/test/
gtest_stress_test.cc 72 TestPropertyKeyIs matches_key(IdToKey(id, suffix).c_str());
75 EXPECT_STREQ(IdToString(id).c_str(), node->element().value());
97 Test::RecordProperty(IdToKey(id, "string").c_str(), IdToString(id).c_str());
98 Test::RecordProperty(IdToKey(id, "int").c_str(), id);
99 Test::RecordProperty("shared_key", IdToString(id).c_str());
  /external/protobuf/gtest/test/
gtest_stress_test.cc 70 TestPropertyKeyIs matches_key(IdToKey(id, suffix).c_str());
74 EXPECT_STREQ(IdToString(id).c_str(), property->value());
96 Test::RecordProperty(IdToKey(id, "string").c_str(), IdToString(id).c_str());
97 Test::RecordProperty(IdToKey(id, "int").c_str(), id);
98 Test::RecordProperty("shared_key", IdToString(id).c_str());
  /external/valgrind/tsan/
common_util.cc 32 const char* c_text = text.c_str();
33 const char* c_wildcard = wildcard.c_str();
99 SysRes sres = VG_(open)((const Char*)file_name.c_str(), VKI_O_RDONLY, 0);
103 ret = fopen(file_name.c_str(), "r");
105 ret = open(file_name.c_str(), O_RDONLY);
108 Report("ERROR: can not open file %s\n", file_name.c_str());
  /libcore/luni/src/main/native/
java_lang_System.cpp 37 if (message.c_str() == NULL) {
39 LOGE("message.c_str() == NULL");
53 LOG_PRI(priority, LOG_TAG, "%s", message.c_str());
63 if (name.c_str() == NULL) {
67 if (signature.c_str() == NULL) {
70 jfieldID fieldID = env->GetStaticFieldID(clazz, name.c_str(), signature.c_str());
java_io_File.cpp 45 if (path.c_str() == NULL) {
50 if (!readlink(path.c_str(), result)) {
54 return env->NewStringUTF(result.c_str());
59 if (path.c_str() == NULL) {
65 if (!realpath(path.c_str(), result)) {
69 return env->NewStringUTF(result.c_str());
74 if (path.c_str() == NULL) {
80 if (stat(path.c_str(), &sb) == -1) {
88 return (utime(path.c_str(), &times) == 0);
137 if (path.c_str() == NULL)
    [all...]
  /external/chromium/chrome/browser/history/
history_publisher.cc 35 contents.c_str(),
36 title.c_str(),
  /external/chromium/chrome/browser/net/websocket_experiment/
websocket_experiment_runner.cc 115 GURL(StringPrintf("ws://%s/live_exp", experiment_host.c_str()));
117 StringPrintf("ws://%s/live_exp", experiment_host.c_str());
119 GURL(StringPrintf("http://%s/", experiment_host.c_str()));
124 GURL(StringPrintf("wss://%s/live_exp", experiment_host.c_str()));
126 StringPrintf("wss://%s/live_exp", experiment_host.c_str());
128 GURL(StringPrintf("https://%s/", experiment_host.c_str()));
135 experiment_host.c_str(), kAlternativePort));
138 experiment_host.c_str(), kAlternativePort);
141 experiment_host.c_str(), kAlternativePort));
147 GURL(StringPrintf("ws://%s/live_exp", experiment_host.c_str()));
    [all...]
  /external/webkit/Tools/DumpRenderTree/win/
HistoryDelegate.cpp 142 url.c_str(),
143 title.c_str(),
144 httpMethod.c_str(),
147 redirectSource.c_str());
165 printf("WebView performed a client redirect from \"%S\" to \"%S\".\n", source.c_str(), destination.c_str());
182 printf("WebView performed a server redirect from \"%S\" to \"%S\".\n", source.c_str(), destination.c_str());
199 printf("WebView updated the title for history URL \"%S\" to \"%S\".\n", url.c_str(), title.c_str());
    [all...]
  /external/chromium/chrome/browser/accessibility/
renderer_accessibility_browsertest.cc 107 EXPECT_STREQ(url_str, GetAttr(tree, WebAccessibility::ATTR_DOC_URL).c_str());
110 GetAttr(tree, WebAccessibility::ATTR_DOC_TITLE).c_str());
112 "html", GetAttr(tree, WebAccessibility::ATTR_DOC_DOCTYPE).c_str());
114 "text/html", GetAttr(tree, WebAccessibility::ATTR_DOC_MIMETYPE).c_str());
115 EXPECT_STREQ("Accessibility Test", UTF16ToUTF8(tree.name).c_str());
122 EXPECT_STREQ("body", GetAttr(body, WebAccessibility::ATTR_HTML_TAG).c_str());
123 EXPECT_STREQ("block", GetAttr(body, WebAccessibility::ATTR_DISPLAY).c_str());
131 "input", GetAttr(button, WebAccessibility::ATTR_HTML_TAG).c_str());
132 EXPECT_STREQ("push", UTF16ToUTF8(button.name).c_str());
134 "inline-block", GetAttr(button, WebAccessibility::ATTR_DISPLAY).c_str());
    [all...]

Completed in 6981 milliseconds

12 3 4 5 6 7 8 91011>>