HomeSort by relevance Sort by last modified time
    Searched full:c_str (Results 501 - 525 of 3714) sorted by null

<<21222324252627282930>>

  /external/gtest/test/
gtest-filepath_test.cc 78 filepath.RemoveTrailingPathSeparator().c_str());
92 posix::ChDir(original_dir.c_str());
97 const char* const cwd_without_drive = strchr(cwd.c_str(), ':');
504 remove(testdata_file_.c_str());
505 remove(unique_file0_.c_str());
506 remove(unique_file1_.c_str());
507 posix::RmDir(testdata_path_.c_str());
511 remove(testdata_file_.c_str());
512 remove(unique_file0_.c_str());
513 remove(unique_file1_.c_str());
    [all...]
  /external/skia/tools/
create_test_font.cpp 66 outPath = SkOSPath::Join(outPath.c_str(), "test_font_");
77 FILE* out = fopen(outPath.c_str(), "w");
78 fprintf(out, "%s%s\n\n", gHeader, SkOSPath::Basename(__FILE__).c_str());
87 const char* first = str.c_str();
109 const char* cStr = str.c_str();
114 out->appendf("%sf", str.c_str());
233 const char* fontname = strippedStr.c_str();
236 fprintf(out, "%s", ptsOut.c_str());
285 fprintf(out, "%s\n};\n\n", widthsStr.c_str());
309 fprintf(out, "%s\n};\n\n", metricsStr.c_str());
    [all...]
  /external/skia/tools/kilobench/
kilobench.cpp 72 DEFINE_int32(loops, kDefaultLoops, loops_help_txt().c_str());
81 #define HUMANIZE(ms) humanize(ms).c_str()
94 fSKPs.push_back() = SkOSPath::Join(FLAGS_skps[0], path.c_str());
138 if (!ReadPicture(path.c_str(), &pic)) {
142 SkString name = SkOSPath::Basename(path.c_str());
143 return new VisualSKPBench(name.c_str(), pic.get());
251 SkString dir = SkOSPath::Dirname(filename.c_str());
252 if (!sk_mkdir(dir.c_str())) {
253 SkDebugf("Can't make dir %s.\n", dir.c_str());
256 SkFILEWStream stream(filename.c_str());
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/test/
gtest-filepath_test.cc 78 filepath.RemoveTrailingPathSeparator().c_str());
92 posix::ChDir(original_dir.c_str());
97 const char* const cwd_without_drive = strchr(cwd.c_str(), ':');
504 remove(testdata_file_.c_str());
505 remove(unique_file0_.c_str());
506 remove(unique_file1_.c_str());
507 posix::RmDir(testdata_path_.c_str());
511 remove(testdata_file_.c_str());
512 remove(unique_file0_.c_str());
513 remove(unique_file1_.c_str());
    [all...]
  /external/xmlrpcpp/src/
XmlRpcClient.cpp 118 XmlRpcSocket::getErrorMsg().c_str());
121 _connectionState, XmlRpcSocket::getErrorMsg().c_str());
172 XmlRpcUtil::error("Error in XmlRpcClient::doConnect: Could not create socket (%s).", XmlRpcSocket::getErrorMsg().c_str());
183 XmlRpcUtil::error("Error in XmlRpcClient::doConnect: Could not set socket to non-blocking IO mode (%s).", XmlRpcSocket::getErrorMsg().c_str());
190 XmlRpcUtil::error("Error in XmlRpcClient::doConnect: Could not connect to server (%s).", XmlRpcSocket::getErrorMsg().c_str());
261 XmlRpcUtil::log(5, "XmlRpcClient::writeRequest (attempt %d):\n%s\n", _sendAttempts+1, _request.c_str());
265 XmlRpcUtil::error("Error in XmlRpcClient::writeRequest: write error (%s).",XmlRpcSocket::getErrorMsg().c_str());
300 XmlRpcSocket::getErrorMsg().c_str(), getfd());
306 char *hp = (char*)_header.c_str(); // Start of header
359 XmlRpcUtil::error("Error in XmlRpcClient::readResponse: read error (%s).",XmlRpcSocket::getErrorMsg().c_str());
    [all...]
XmlRpcServer.cpp 75 XmlRpcUtil::error("XmlRpcServer::bindAndListen: Could not create socket (%s).", XmlRpcSocket::getErrorMsg().c_str());
85 XmlRpcUtil::error("XmlRpcServer::bindAndListen: Could not set socket to non-blocking input mode (%s).", XmlRpcSocket::getErrorMsg().c_str());
93 XmlRpcUtil::error("XmlRpcServer::bindAndListen: Could not set SO_REUSEADDR socket option (%s).", XmlRpcSocket::getErrorMsg().c_str());
101 XmlRpcUtil::error("XmlRpcServer::bindAndListen: Could not bind to specified port (%s).", XmlRpcSocket::getErrorMsg().c_str());
109 XmlRpcUtil::error("XmlRpcServer::bindAndListen: Could not set socket in listening mode (%s).", XmlRpcSocket::getErrorMsg().c_str());
152 XmlRpcUtil::error("XmlRpcServer::acceptConnection: Could not accept connection (%s).", XmlRpcSocket::getErrorMsg().c_str());
157 XmlRpcUtil::error("XmlRpcServer::acceptConnection: Could not set socket to non-blocking input mode (%s).", XmlRpcSocket::getErrorMsg().c_str());
  /ndk/sources/third_party/googletest/googletest/test/
gtest-filepath_test.cc 78 filepath.RemoveTrailingPathSeparator().c_str());
92 posix::ChDir(original_dir.c_str());
97 const char* const cwd_without_drive = strchr(cwd.c_str(), ':');
504 remove(testdata_file_.c_str());
505 remove(unique_file0_.c_str());
506 remove(unique_file1_.c_str());
507 posix::RmDir(testdata_path_.c_str());
511 remove(testdata_file_.c_str());
512 remove(unique_file0_.c_str());
513 remove(unique_file1_.c_str());
    [all...]
  /system/connectivity/shill/
eap_credentials.cc 102 anonymous_identity_.c_str()),
104 client_cert_.c_str()),
105 KeyVal(WPASupplicant::kNetworkPropertyEapIdentity, identity_.c_str()),
107 password_.c_str()),
109 private_key_.c_str()),
111 private_key_password_.c_str()),
114 KeyVal(WPASupplicant::kNetworkPropertyEapCaCert, ca_cert.c_str()),
116 ca_cert_id_.c_str()),
117 KeyVal(WPASupplicant::kNetworkPropertyEapEap, eap_.c_str()),
119 inner_eap_.c_str()),
    [all...]
  /system/core/adb/
usb_linux.cpp 122 std::unique_ptr<DIR, int(*)(DIR*)> bus_dir(opendir(base.c_str()), closedir);
131 std::unique_ptr<DIR, int(*)(DIR*)> dev_dir(opendir(bus_name.c_str()), closedir);
148 if (is_known_device(dev_name.c_str())) {
152 int fd = unix_open(dev_name.c_str(), O_RDONLY | O_CLOEXEC);
177 DBGX("[ %s is V:%04x P:%04x ]\n", dev_name.c_str(), vid, pid);
281 register_device_callback(dev_name.c_str(), devpath,
432 D("[ usb read %d fd = %d], path=%s", xfer, h->fd, h->path.c_str());
434 D("[ usb read %d ] = %d, path=%s", xfer, n, h->path.c_str());
531 usb->fd = unix_open(usb->path.c_str(), O_RDWR | O_CLOEXEC);
534 usb->fd = unix_open(usb->path.c_str(), O_RDONLY | O_CLOEXEC)
    [all...]
  /build/kati/
eval.cc 88 LOG("Assign: %s=%s", lhs.c_str(), rhs->DebugString().c_str());
128 LOG("Rule: %s", rule->DebugString().c_str());
179 LOG("Command: %s", stmt->expr->DebugString().c_str());
218 LOG("%s", a->DebugString().c_str());
230 LOG("%s", stmt->DebugString().c_str());
314 ERROR("%s:%d: %s", LOCF(loc_), msg.c_str());
  /cts/tests/tests/jni/libjnitest/
android_jni_cts_LinkerNamespacesTest.cpp 66 if (stat(path.c_str(), &sb) != -1) {
97 std::unique_ptr<void, int (*)(void*)> handle(dlopen(path.c_str(), RTLD_NOW), dlclose);
105 std::string baselib = basename(path.c_str());
137 std::unique_ptr<DIR, decltype(dir_deleter)> dirp(opendir(dir.c_str()), dir_deleter);
173 std::string soname(ScopedUtfChars(env, java_soname.get()).c_str());
242 void* handle = dlopen(library.c_str(), RTLD_NOW);
265 return env->NewStringUTF(error_str.c_str());
  /external/libchrome/base/
environment.cc 44 return GetVarImpl(alternate_case_var.c_str(), result);
68 UTF8ToWide(variable_name).c_str(), NULL, 0);
73 ::GetEnvironmentVariable(UTF8ToWide(variable_name).c_str(), value.get(),
86 return !setenv(variable_name, new_value.c_str(), 1);
89 return !!SetEnvironmentVariable(UTF8ToWide(variable_name).c_str(),
90 UTF8ToWide(new_value).c_str());
100 return !!SetEnvironmentVariable(UTF8ToWide(variable_name).c_str(), NULL);
  /external/llvm/lib/Target/
TargetMachineC.cpp 85 *ErrorMessage = strdup(Error.c_str());
165 return strdup(StringRep.c_str());
170 return strdup(StringRep.c_str());
175 return strdup(StringRep.c_str());
212 *ErrorMessage = strdup(error.c_str());
227 *ErrorMessage = strdup(EC.message().c_str());
249 return strdup(sys::getDefaultTargetTriple().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());
HashingTest.cpp 107 EXPECT_EQ(hash_combine_range(s.c_str(), s.c_str() + s.size()), hash_value(s));
108 EXPECT_EQ(hash_combine_range(s.c_str(), s.c_str() + s.size() - 1),
110 EXPECT_EQ(hash_combine_range(s.c_str() + 1, s.c_str() + s.size() - 1),
114 EXPECT_EQ(hash_combine_range(ws.c_str(), ws.c_str() + ws.size()),
116 EXPECT_EQ(hash_combine_range(ws.c_str(), ws.c_str() + ws.size() - 1)
    [all...]
  /external/parameter-framework/upstream/xmlserializer/
XmlElement.cpp 76 return xmlHasProp(_pXmlElement, (const xmlChar *)strAttributeName.c_str()) != NULL;
87 xmlChar *pucXmlValue = xmlGetProp((xmlNode *)_pXmlElement, (const xmlChar *)name.c_str());
204 setAttribute(name, value.c_str());
214 xmlNewProp(_pXmlElement, BAD_CAST name.c_str(), BAD_CAST value);
220 setAttribute(name, std::to_string(value).c_str());
230 xmlAddChild(_pXmlElement, xmlNewText(BAD_CAST strContent.c_str()));
237 xmlNodePtr pChildNode = xmlNewChild(_pXmlElement, NULL, BAD_CAST strType.c_str(), NULL);
  /system/extras/memory_replay/tests/
LineBufferTest.cpp 43 write(tmp_file_->fd, line_data.c_str(), line_data.size())) != -1);
62 write(tmp_file_->fd, line_data.c_str(), line_data.size())) != -1);
83 write(tmp_file_->fd, line_data.c_str(), line_data.size())) != -1);
112 write(tmp_file_->fd, line_data.c_str(), line_data.size())) != -1);
142 write(tmp_file_->fd, line_data.c_str(), line_data.size())) != -1);
177 write(tmp_file_->fd, line_data.c_str(), line_data.size())) != -1);
212 write(tmp_file_->fd, line_data.c_str(), line_data.size())) != -1);
  /system/extras/multinetwork/
httpurl.cpp 108 parameters->hostname.c_str(),
109 parameters->port.c_str(),
113 rval = getaddrinfo(parameters->hostname.c_str(),
114 parameters->port.c_str(),
188 parameters.path.c_str(), parameters.host.c_str()));
189 const ssize_t sent = write(fd, request.c_str(), request.size());
  /external/skia/bench/
nanobench.cpp 89 DEFINE_int32(loops, kDefaultLoops, loops_help_txt().c_str());
131 #define HUMANIZE(ms) humanize(ms).c_str()
197 "Timings might not be accurate.\n", this->config.name.c_str());
283 SkString dir = SkOSPath::Dirname(filename.c_str());
284 if (!sk_mkdir(dir.c_str())) {
285 SkDebugf("Can't make dir %s.\n", dir.c_str());
288 SkFILEWStream stream(filename.c_str());
290 SkDebugf("Can't write %s.\n", filename.c_str());
566 fSKPs.push_back() = SkOSPath::Join(FLAGS_skps[0], path.c_str());
612 if (SkCommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) {
    [all...]
  /frameworks/av/media/libstagefright/rtsp/
MyTransmitter.h 105 mConn->connect(mServerURL.c_str(), reply);
225 addAuthentication(&request, "ANNOUNCE", mStreamURL.c_str());
236 mConn->sendRequest(request.c_str(), reply);
244 MD5_Update(&m, s.c_str(), s.size());
274 if (!strncmp(value.c_str(), "Basic", 5)) {
277 CHECK(!strncmp(value.c_str(), "Digest", 6));
282 CHECK_EQ(value.c_str()[i + 6], '\"');
411 addAuthentication(&request, "SETUP", mTrackURL.c_str());
421 mConn->sendRequest(request.c_str(), reply);
494 CHECK(GetAttribute(transport.c_str(), "server_port", &value))
    [all...]
  /frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerDecoder.cpp 122 ALOGV("[%s] onMessage: %s", mComponentName.c_str(), msg->debugString().c_str());
260 mIsAudio = !strncasecmp("audio/", mime.c_str(), 6);
261 mIsVideoAVC = !strcasecmp(MEDIA_MIMETYPE_VIDEO_AVC, mime.c_str());
265 ALOGV("[%s] onConfigure (surface=%p)", mComponentName.c_str(), mSurface.get());
268 mCodecLooper, mime.c_str(), false /* encoder */, NULL /* err */, mPid);
275 ALOGI("[%s] creating", mComponentName.c_str());
277 mCodecLooper, mComponentName.c_str(), NULL /* err */, mPid);
282 (secure ? "secure " : ""), mime.c_str());
303 ALOGE("Failed to configure %s decoder (err=%d)", mComponentName.c_str(), err)
    [all...]
  /art/runtime/
dex_file_test.cc 170 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex, tmp.GetFilename().c_str()));
209 EXPECT_TRUE(DexFile::GetChecksum(GetLibCoreDexFileNames()[0].c_str(), &checksum, &error_msg))
362 const char* dex_location = dex_location_str.c_str();
372 UniqueCPtr<const char[]> dex_location_real(realpath(file.GetFilename().c_str(), nullptr));
375 ASSERT_EQ(dex_location, DexFile::GetDexCanonicalLocation(dex_location.c_str()));
376 std::string multidex_location = DexFile::GetMultiDexLocation(1, dex_location.c_str());
377 ASSERT_EQ(multidex_location, DexFile::GetDexCanonicalLocation(multidex_location.c_str()));
380 ASSERT_EQ(0, symlink(dex_location.c_str(), dex_location_sym.c_str()));
382 ASSERT_EQ(dex_location, DexFile::GetDexCanonicalLocation(dex_location_sym.c_str()));
    [all...]
  /external/pdfium/fpdfsdk/src/javascript/
global.cpp 238 pData->data.sKey.UTF8Decode().c_str(),
246 pData->data.sKey.UTF8Decode().c_str(),
254 pData->data.sKey.UTF8Decode().c_str(),
255 pData->data.sData.UTF8Decode().c_str());
266 pData->data.sKey.UTF8Decode().c_str(), pObj);
274 pData->data.sKey.UTF8Decode().c_str());
333 v8::Local<v8::Value> v = FXJS_GetObjectElement(isolate, pObj, ws.c_str());
383 FXJS_PutObjectNumber(NULL, pObj, pObjData->sKey.UTF8Decode().c_str(),
387 FXJS_PutObjectBoolean(NULL, pObj, pObjData->sKey.UTF8Decode().c_str(),
391 FXJS_PutObjectString(NULL, pObj, pObjData->sKey.UTF8Decode().c_str(),
    [all...]
  /external/deqp/execserver/
xsExecutionServer.cpp 276 DBG_PRINT(("TestMessage: '%s'\n", msg.test.c_str()));
291 DBG_PRINT(("ExecuteBinaryMessage: '%s', '%s', '%s', '%s'\n", msg.name.c_str(), msg.params.c_str(), msg.workDir.c_str(), msg.caseList.substr(0, 10).c_str()));
292 getTestDriver()->startProcess(msg.name.c_str(), msg.params.c_str(), msg.workDir.c_str(), msg.caseList.c_str());
  /external/deqp/modules/gles31/functional/
es31fUniformBlockTests.cpp 56 de::toString(ndx).c_str(), "", bufferMode, features, (deUint32)ndx+baseSeed));
79 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_vertex").c_str(), "", type, layoutFlags|DECLARE_VERTEX, numInstances));
80 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_fragment").c_str(), "", type, layoutFlags|DECLARE_FRAGMENT, numInstances));
83 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_both").c_str(), "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances));
218 createBlockBasicTypeCases(layoutGroup, m_context, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(),
251 createBlockBasicTypeCases(layoutGroup, m_context, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(),
281 modeGroup->addChild(new Block2LevelStructArrayCase(m_context, (baseName + "_vertex").c_str(), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0));
282 modeGroup->addChild(new Block2LevelStructArrayCase(m_context, (baseName + "_fragment").c_str(), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0));
285 modeGroup->addChild(new Block2LevelStructArrayCase(m_context, (baseName + "_both").c_str(), "", baseFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0));

Completed in 1058 milliseconds

<<21222324252627282930>>