/frameworks/base/core/jni/ |
android_util_jar_StrictJarFile.cpp | 56 if (fileChars.c_str() == NULL) { 61 int32_t error = OpenArchive(fileChars.c_str(), &handle); 93 if (prefixChars.c_str() == NULL) { 103 ZipString entry_name(prefixChars.c_str()); 138 if (entryNameChars.c_str() == NULL) { 144 ZipString(entryNameChars.c_str()), &data);
|
/frameworks/native/vulkan/libvulkan/ |
layers_extensions.cpp | 107 ALOGV("opening layer library '%s'", path_.c_str()); 119 dlhandle_ = android_dlopen_ext(path_.c_str(), RTLD_NOW | RTLD_LOCAL, 122 dlhandle_ = dlopen(path_.c_str(), RTLD_NOW | RTLD_LOCAL); 125 ALOGE("failed to load layer library '%s': %s", path_.c_str(), 137 ALOGV("closing layer library '%s'", path_.c_str()); 153 path_.c_str()); 174 path_.c_str(), result); 184 path_.c_str(), result); 195 path_.c_str(), result); 204 path_.c_str(), result) [all...] |
/prebuilts/misc/common/swig/include/2.0.11/csharp/ |
std_string.i | 36 %typemap(out) string %{ $result = SWIG_csharp_string_callback($1.c_str()); %} 45 %typemap(directorin) string %{ $input = SWIG_csharp_string_callback($1.c_str()); %} 56 %{ SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, $1.c_str()); 74 %typemap(out) const string & %{ $result = SWIG_csharp_string_callback($1->c_str()); %} 92 %typemap(directorin) const string & %{ $input = SWIG_csharp_string_callback($1.c_str()); %} 107 %{ SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, $1.c_str());
|
/external/skia/dm/ |
DM.cpp | 80 SkDebugf("\n\nFAILURE: %s\n\n", err.c_str()); 125 elapsed.c_str(), gRunning.count(), gPending - gRunning.count(), curr, peak); 127 SkDebugf("\t%s\n", task.c_str()); 180 if (!JsonWriter::ReadJson(path.c_str(), add_gold)) { 181 fail(SkStringPrintf("Couldn't read %s for golden results.", path.c_str())); 233 !SkCommandLineFlags::ShouldSkip(FLAGS_match, src->name().c_str())) { 353 SkAutoTUnref<SkData> encoded(SkData::NewFromFileName(path.c_str())); 355 SkDebugf("Couldn't read %s.", path.c_str()); 360 SkDebugf("Couldn't create codec for %s.", path.c_str()); 611 push_src("skp", "", new SKPSrc(SkOSPath::Join(path, file.c_str()))); [all...] |
/external/boringssl/src/tool/ |
generate_ed25519.cc | 40 ScopedFILE file(fopen(path.c_str(), "wb")); 42 fprintf(stderr, "Failed to open '%s': %s\n", path.c_str(), strerror(errno)); 46 fprintf(stderr, "Failed to write to '%s': %s\n", path.c_str(),
|
/external/conscrypt/src/compat/native/ |
ScopedUtfChars.h | 25 // passed a null jstring, and c_str will return NULL. 29 // if (name.c_str() == NULL) { 49 const char* c_str() const { function in class:ScopedUtfChars
|
/external/conscrypt/src/openjdk/native/ |
ScopedUtfChars.h | 25 // passed a null jstring, and c_str will return NULL. 29 // if (name.c_str() == NULL) { 49 const char* c_str() const { function in class:ScopedUtfChars
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/iphone/ |
iPhonePrereqs.h | 44 OIS_CFString(const char* c_str) { m_StringRef = CFStringCreateWithCString(NULL, c_str, kCFStringEncodingUTF8); } 45 OIS_CFString(const std::string &s_str) { m_StringRef = CFStringCreateWithCString(NULL, s_str.c_str(), kCFStringEncodingUTF8); }
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/mac/ |
MacPrereqs.h | 45 OIS_CFString(const char* c_str) { m_StringRef = CFStringCreateWithCString(NULL, c_str, kCFStringEncodingUTF8); } 46 OIS_CFString(const std::string &s_str) { m_StringRef = CFStringCreateWithCString(NULL, s_str.c_str(), kCFStringEncodingUTF8); }
|
/external/opencv3/modules/ml/test/ |
test_gbttest.cpp | 107 if (data->read_csv(datasets[dataset_num].c_str())) 186 gtb->save(model_file_name1.c_str()); 188 gtb->load(model_file_name1.c_str()); 190 gtb->save(model_file_name2.c_str()); 203 ifstream f1( model_file_name1.c_str() ), f2( model_file_name2.c_str() ); 214 lineIdx, lineIdx, s1.c_str(), lineIdx, s2.c_str() ); 221 lineIdx, lineIdx, s1.c_str(), lineIdx, s2.c_str() ); [all...] |
/external/skia/bench/ |
BenchLogger.h | 43 void logError(const SkString& str) { this->nativeLogError(str.c_str()); } 59 this->nativeLogProgress(str.c_str()); 60 this->fileWrite(str.c_str(), str.size());
|
GLVertexAttributesBench.cpp | 38 const char* onGetName() override { return fName.c_str(); } 83 aVars.push_back(GrGLSLShaderVar(aname.c_str(), 94 oVars.push_back(GrGLSLShaderVar(oname.c_str(), 107 vshaderTxt.appendf("%s = %s;\n", oVars[i].c_str(), aVars[i].c_str()); 112 vshaderTxt.appendf("%s = vec4(0, 0, 0, 1);\n", oVars[i].c_str()); 128 fsOutName = oFragColor.c_str(); 144 fshaderTxt.appendf("%s", oVars[0].c_str()); 146 fshaderTxt.appendf(" + %s", oVars[i].c_str()); 152 return CreateProgram(gl, vshaderTxt.c_str(), fshaderTxt.c_str()) [all...] |
/external/skia/tests/ |
FontMgrAndroidParserTest.cpp | 41 REPORTER_ASSERT(reporter, !strcmp(fontFamilies[0]->fNames[0].c_str(), "sans-serif")); 43 !strcmp(fontFamilies[0]->fFonts[0].fFileName.c_str(), firstExpectedFile)); 82 SkDebugf(" basePath %s\n", fontFamilies[i]->fBasePath.c_str()); 84 SkDebugf(" language %s\n", fontFamilies[i]->fLanguage.getTag().c_str()); 87 SkDebugf(" name %s\n", fontFamilies[i]->fNames[j].c_str()); 91 SkDebugf(" file (%d) %s#%d", ffi.fWeight, ffi.fFileName.c_str(), ffi.fIndex); 161 GetResourcePath("android_fonts/pre_v17/system_fonts.xml").c_str(), 162 GetResourcePath("android_fonts/pre_v17/fallback_fonts.xml").c_str()); 179 GetResourcePath("android_fonts/v17/system_fonts.xml").c_str(), 180 GetResourcePath("android_fonts/v17/fallback_fonts.xml").c_str(), [all...] |
/external/skia/tools/skiaserve/urlhandlers/ |
InfoHandler.cpp | 42 sscanf(commands[1].c_str(), "%d", &n); 58 SkAutoTUnref<SkData> data(SkData::NewWithCopy(json.c_str(), strlen(json.c_str())));
|
/external/webrtc/webrtc/modules/audio_device/android/ |
audio_track_jni.cc | 80 ALOGD("ctor%s", GetThreadInfo().c_str()); 103 ALOGD("~dtor%s", GetThreadInfo().c_str()); 109 ALOGD("Init%s", GetThreadInfo().c_str()); 115 ALOGD("Terminate%s", GetThreadInfo().c_str()); 122 ALOGD("InitPlayout%s", GetThreadInfo().c_str()); 133 ALOGD("StartPlayout%s", GetThreadInfo().c_str()); 146 ALOGD("StopPlayout%s", GetThreadInfo().c_str()); 171 ALOGD("SetSpeakerVolume(%d)%s", volume, GetThreadInfo().c_str()); 177 ALOGD("MaxSpeakerVolume%s", GetThreadInfo().c_str()); 184 ALOGD("MaxSpeakerVolume%s", GetThreadInfo().c_str()); [all...] |
/external/webrtc/webrtc/test/testsupport/ |
frame_reader_unittest.cc | 32 FILE* dummy = fopen(temp_filename_.c_str(), "wb"); 33 fprintf(dummy, "%s", kInputFileContents.c_str()); 42 remove(temp_filename_.c_str());
|
trace_to_stderr.cc | 52 fprintf(stderr, "%.2fs %s\n", time_seconds_, msg_log.c_str()); 56 fprintf(stderr, "%s %s\n", msg_time.c_str(), msg_log.c_str());
|
/frameworks/av/media/libstagefright/rtsp/ |
AMPEG4ElementaryAssembler.cpp | 76 s = val.c_str(); 129 mIsGeneric = !strncasecmp(desc.c_str(),"mpeg4-generic/", 14); 133 CHECK(GetAttribute(params.c_str(), "mode", &value)); 135 if (!GetIntegerAttribute(params.c_str(), "sizeLength", &mSizeLength)) { 140 params.c_str(), "indexLength", &mIndexLength)) { 145 params.c_str(), "indexDeltaLength", &mIndexDeltaLength)) { 150 params.c_str(), "CTSDeltaLength", &mCTSDeltaLength)) { 155 params.c_str(), "DTSDeltaLength", &mDTSDeltaLength)) { 161 params.c_str(), "randomAccessIndication", &x)) { 169 params.c_str(), "streamStateIndication" [all...] |
ARTPSource.cpp | 58 if (!strncmp(desc.c_str(), "H264/", 5)) { 61 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) { 63 } else if (!strncmp(desc.c_str(), "H263-1998/", 10) 64 || !strncmp(desc.c_str(), "H263-2000/", 10)) { 67 } else if (!strncmp(desc.c_str(), "AMR/", 4)) { 69 } else if (!strncmp(desc.c_str(), "AMR-WB/", 7)) { 71 } else if (!strncmp(desc.c_str(), "MP4V-ES/", 8) 72 || !strncasecmp(desc.c_str(), "mpeg4-generic/", 14)) { 75 } else if (ARawAudioAssembler::Supports(desc.c_str())) { 76 mAssembler = new ARawAudioAssembler(notify, desc.c_str(), params) [all...] |
/system/core/init/ |
import_parser.cpp | 41 INFO("Added '%s' to import list\n", conf_file.c_str()); 52 s.c_str(), filename.c_str(), strerror(errno));
|
/system/update_engine/payload_consumer/ |
file_writer_unittest.cc | 46 EXPECT_EQ(0, file_writer.Open(path.c_str(), 60 EXPECT_EQ(-ENOENT, file_writer.Open(path.c_str(), 71 EXPECT_EQ(0, file_writer.Open(path.c_str(),
|
/art/compiler/utils/ |
test_dex_file_builder_test.cc | 35 EXPECT_STREQ(dex_location, dex_file->GetLocation().c_str()); 69 EXPECT_STREQ("[I TestClass.intField", PrettyField(0u, *dex_file).c_str()); 74 PrettyMethod(0u, *dex_file).c_str()); 76 PrettyMethod(1u, *dex_file).c_str());
|
/art/runtime/base/ |
hex_dump_test.cc | 37 EXPECT_STREQ(oss.str().c_str(), 46 EXPECT_STREQ(oss.str().c_str(), 59 EXPECT_STREQ(oss.str().c_str() + (kBitsPerIntPtrT / 4), 67 EXPECT_STREQ(oss.str().c_str(),
|
/art/runtime/ |
common_throws.cc | 62 self->ThrowNewException(exception_descriptor, msg.str().c_str()); 78 self->ThrowNewWrappedException(exception_descriptor, msg.str().c_str()); 86 PrettyMethod(method).c_str()).c_str()); 94 /* with_signature */ true).c_str()).c_str()); 107 StringPrintf("length=%d; index=%d", length, index).c_str()); 115 PrettyDescriptor(element_class).c_str(), 116 PrettyDescriptor(array_class).c_str()).c_str()); [all...] |
/art/test/595-profile-saving/ |
profile-saving.cc | 61 CHECK(chars.c_str() != nullptr); 63 CreateProfilingInfoVisitor visitor(soa.Self(), chars.c_str()); 75 CHECK(filename_chars.c_str() != nullptr); 78 return ProfileSaver::HasSeenMethod(std::string(filename_chars.c_str()),
|