/frameworks/av/media/libstagefright/ |
MediaCodecListOverrides.cpp | 70 *width = strtol(sWidth.c_str(), NULL, 10); 71 *height = strtol(sHeight.c_str(), NULL, 10); 89 *bitrate = strtol(minBitrate.c_str(), NULL, 10); 132 ALOGV("doProfileEncoderInputBuffers: name %s, mime %s", name.c_str(), mime.c_str()); 140 ALOGV("doProfileEncoderInputBuffers: format %s", format->debugString().c_str()); 148 sp<MediaCodec> codec = MediaCodec::CreateByComponentName(looper, name.c_str(), &err); 150 ALOGE("Failed to create codec: %s", name.c_str()); 156 ALOGE("Failed to configure codec: %s with mime: %s", name.c_str(), mime.c_str()); [all...] |
/system/tools/aidl/ |
ast_java.cpp | 71 to->Write("%s\n", this->comment.c_str()); 74 to->Write("%s %s", this->variable->type->JavaType().c_str(), 75 this->variable->name.c_str()); 77 to->Write(" = %s", this->value.c_str()); 85 to->Write("%s", this->value.c_str()); 91 to->Write("\"%s\"", this->value.c_str()); 105 to->Write("%s%s %s", this->type->JavaType().c_str(), dim.c_str(), 106 this->name.c_str()); 109 void Variable::Write(CodeWriter* to) const { to->Write("%s", name.c_str()); } [all...] |
/cts/tests/tests/security/jni/ |
android_security_cts_MMapExecutableTest.cpp | 42 int fd = open(filename.c_str(), O_RDONLY); 44 ALOGE("open %s: %s", filename.c_str(), strerror(errno)); 50 ALOGE("fstat %s: %s", filename.c_str(), strerror(errno)); 55 ALOGE("file %s is too small", filename.c_str()); 63 ALOGE("mmap %s: %s", filename.c_str(), strerror(errno)); 68 ALOGE("munmap %s: %s", filename.c_str(), strerror(errno));
|
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/ |
open_pointer.pass.cpp | 23 assert(f.open(temp.c_str(), std::ios_base::out) != 0); 29 assert(f.open(temp.c_str(), std::ios_base::in) != 0); 35 std::remove(temp.c_str()); 38 assert(f.open(temp.c_str(), std::ios_base::out) != 0); 44 assert(f.open(temp.c_str(), std::ios_base::in) != 0); 50 remove(temp.c_str());
|
/external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/ |
open_pointer.pass.cpp | 30 fs.open(temp.c_str()); 35 std::ifstream fs(temp.c_str()); 40 std::remove(temp.c_str()); 47 fs.open(temp.c_str()); 52 std::wifstream fs(temp.c_str()); 57 std::remove(temp.c_str());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.members/ |
open_pointer.pass.cpp | 23 assert(f.open(temp.c_str(), std::ios_base::out) != 0); 29 assert(f.open(temp.c_str(), std::ios_base::in) != 0); 35 std::remove(temp.c_str()); 38 assert(f.open(temp.c_str(), std::ios_base::out) != 0); 44 assert(f.open(temp.c_str(), std::ios_base::in) != 0); 50 remove(temp.c_str());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.members/ |
open_pointer.pass.cpp | 30 fs.open(temp.c_str()); 35 std::ifstream fs(temp.c_str()); 40 std::remove(temp.c_str()); 47 fs.open(temp.c_str()); 52 std::wifstream fs(temp.c_str()); 57 std::remove(temp.c_str());
|
/system/core/base/ |
parsenetaddress.cpp | 39 *error = StringPrintf("bad IPv6 address '%s'", address.c_str()); 60 *error = StringPrintf("no host in '%s'", address.c_str()); 65 if (sscanf(port_str.c_str(), "%d", port) != 1 || *port <= 0 || 67 *error = StringPrintf("bad port number '%s' in '%s'", port_str.c_str(), 68 address.c_str()); 75 StringPrintf(ipv6 ? "[%s]:%d" : "%s:%d", host->c_str(), *port);
|
/art/runtime/native/ |
dalvik_system_DexFile.cc | 118 // // ... use name.c_str() 133 const char* c_str() const { function in class:art::NullableScopedUtfChars 164 if (sourceName.c_str() == nullptr) { 177 dex_files = runtime->GetOatFileManager().OpenDexFilesFromOat(sourceName.c_str(), 178 outputName.c_str(), 203 ThrowWrappedIOException("%s", it->c_str()); 267 if (class_name.c_str() == nullptr) { 271 const std::string descriptor(DotToDescriptor(class_name.c_str())); 272 const size_t hash(ComputeModifiedUtf8Hash(descriptor.c_str())); 274 const DexFile::ClassDef* dex_class_def = dex_file->FindClassDef(descriptor.c_str(), hash) [all...] |
/external/webrtc/webrtc/base/ |
stringencode_unittest.cc | 239 ASSERT_STREQ("middle", fields.at(1).c_str()); 245 ASSERT_STREQ("middle", fields.at(1).c_str()); 258 ASSERT_STREQ("B", fields.at(1).c_str()); 262 ASSERT_STREQ("B", fields.at(1).c_str()); 263 ASSERT_STREQ("E", fields.at(4).c_str()); 272 ASSERT_STREQ("C", fields.at(2).c_str()); 276 ASSERT_STREQ("A B", fields.at(0).c_str()); 280 ASSERT_STREQ("D", fields.at(0).c_str()); 281 ASSERT_STREQ("A B", fields.at(1).c_str()); 285 ASSERT_STREQ("D", fields.at(0).c_str()); [all...] |
/external/skia/tools/ |
get_images_from_skps.cpp | 28 sk_mkdir(SkOSPath::Join(gOutputDir, ext).c_str()); 42 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "jpg").c_str(), ""); 47 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "png").c_str(), ""); 52 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "gif").c_str(), ""); 57 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "webp").c_str(), ""); 62 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "bmp").c_str(), ""); 67 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "wbmp").c_str(), ""); 72 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "ico").c_str(), ""); 77 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "dng").c_str(), ""); 91 FILE* file = sk_fopen(path.c_str(), kWrite_SkFILE_Flag) [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
ParameterManagerWrapper.cpp | 51 ALOGD("policy-parameter-manager: %s", log.c_str()); 55 ALOGW("policy-parameter-manager: %s", log.c_str()); 108 ALOGE("%s: Policy PFW start error: %s", __FUNCTION__, error.c_str()); 119 "CriterionType %s already added", typeName.c_str()); 120 ALOGD("%s: Adding new criterionType %s", __FUNCTION__, typeName.c_str()); 131 "CriterionType %s not found", typeName.c_str()); 133 numericValue, literalValue.c_str(), typeName.c_str()); 187 cnode *node = config_find(root, gInclusiveCriterionTypeTag.c_str()); 197 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str()); [all...] |
/system/tpm/tpm_manager/common/ |
print_tpm_nvram_interface_proto.cc | 38 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 62 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 68 GetProtoDebugStringWithIndent(value.status(), indent_size + 2).c_str()); 83 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 102 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 108 GetProtoDebugStringWithIndent(value.status(), indent_size + 2).c_str()); 123 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 134 base::HexEncode(value.data().data(), value.data().size()).c_str()); 149 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 155 GetProtoDebugStringWithIndent(value.status(), indent_size + 2).c_str()); [all...] |
/system/update_engine/common/ |
test_utils.cc | 108 ssize_t r = readlink(path.c_str(), buf.data(), buf.size()); 116 char *path = strdup(dir_path.Append("xattr_test_XXXXXX").value().c_str()); 146 return utils::WriteFile(path.c_str(), data.data(), data.size()); 150 return utils::WriteFile(path.c_str(), data.data(), data.size()); 167 HANDLE_EINTR(open(out_lo_dev_name->c_str(), O_RDWR | O_LARGEFILE)); 170 TEST_AND_RETURN_FALSE_ERRNO(mknod(out_lo_dev_name->c_str(), 174 HANDLE_EINTR(open(out_lo_dev_name->c_str(), O_RDWR | O_LARGEFILE)); 182 PLOG(ERROR) << "Loop device " << out_lo_dev_name->c_str() 188 int data_fd = open(filename.c_str(), 200 base::FilePath(filename).BaseName().value().c_str(), [all...] |
/system/core/debuggerd/test/ |
tombstone_test.cpp | 120 ASSERT_STREQ(expected_dump, tombstone_contents.c_str()); 122 ASSERT_STREQ("", amfd_data_.c_str()); 125 ASSERT_STREQ("", getFakeLogBuf().c_str()); 126 ASSERT_STREQ("", getFakeLogPrint().c_str()); 155 ASSERT_STREQ(expected_dump, tombstone_contents.c_str()); 157 ASSERT_STREQ("", amfd_data_.c_str()); 160 ASSERT_STREQ("", getFakeLogBuf().c_str()); 161 ASSERT_STREQ("", getFakeLogPrint().c_str()); 196 ASSERT_STREQ(expected_dump, tombstone_contents.c_str()); 198 ASSERT_STREQ("", amfd_data_.c_str()); [all...] |
/art/runtime/base/ |
stringprintf_test.cc | 25 EXPECT_STREQ("00107e59", StringPrintf("%08zx", size).c_str()); 26 EXPECT_STREQ("0x00107e59", StringPrintf("0x%08zx", size).c_str());
|
/external/google-breakpad/src/common/windows/ |
string_utils.cc | 56 if ((err = mbstowcs_s(&wcs_length, NULL, 0, mbs.c_str(), _TRUNCATE)) != 0) { 61 if ((wcs_length = mbstowcs(NULL, mbs.c_str(), mbs.length())) == (size_t)-1) { 73 if ((err = mbstowcs_s(NULL, &wcs_v[0], wcs_length, mbs.c_str(), 78 if (mbstowcs(&wcs_v[0], mbs.c_str(), mbs.length()) == (size_t)-1) { 99 if ((err = wcstombs_s(&mbs_length, NULL, 0, wcs.c_str(), _TRUNCATE)) != 0) { 104 if ((mbs_length = wcstombs(NULL, wcs.c_str(), wcs.length())) == (size_t)-1) { 116 if ((err = wcstombs_s(NULL, &mbs_v[0], mbs_length, wcs.c_str(), 121 if (wcstombs(&mbs_v[0], wcs.c_str(), wcs.length()) == (size_t)-1) {
|
/external/google-breakpad/src/tools/windows/converter/ |
ms_symbol_server_converter.cc | 75 if (SSCANF(identifier.c_str(), 89 if (SSCANF(identifier.c_str(), "%08X%x", &signature_, &age_) != 2) { 196 error, path_.c_str()); 204 int error = remove(path_.c_str()); 229 debug_or_code_file.c_str(), 230 debug_or_code_id.c_str(), 231 version.c_str()); 238 const_cast<char *>(symbol_path_.c_str()), 242 debug_or_code_file.c_str(), 243 debug_or_code_id.c_str(), [all...] |
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/ |
member_swap.pass.cpp | 26 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out 28 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out 46 std::remove(temp1.c_str()); 47 std::remove(temp2.c_str()); 49 std::wfstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out 51 std::wfstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out 69 std::remove(temp1.c_str()); 70 std::remove(temp2.c_str());
|
nonmember_swap.pass.cpp | 27 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out 29 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out 47 std::remove(temp1.c_str()); 48 std::remove(temp2.c_str()); 50 std::wfstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out 52 std::wfstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out 70 std::remove(temp1.c_str()); 71 std::remove(temp2.c_str());
|
/external/libweave/src/ |
component_manager_impl.cc | 54 name.c_str(), path.c_str()); 62 "Trait '%s' is undefined", trait.c_str()); 114 name.c_str(), path.c_str()); 137 "There is no component array named '%s' at path '%s'", name.c_str(), 138 path.c_str()); 145 name.c_str(), path.c_str(), index); 168 "Trait '%s' must be an object", it.key().c_str()); [all...] |
/external/skia/include/svg/parser/ |
SkSVGAttribute.h | 37 parser._addAttributeLen(#attr, f_##attr.c_str(), f_##attr.size()) 41 parser._addAttributeLen(#attr, f_##alias.c_str(), f_##alias.size())
|
/external/skia/src/gpu/gl/ |
GrGLStencilAttachment.cpp | 42 traceMemoryDump->setMemoryBacking(dumpName.c_str(), "gl_renderbuffer", 43 renderbuffer_id.c_str());
|
GrGLTransferBuffer.cpp | 49 traceMemoryDump->setMemoryBacking(dumpName.c_str(), "gl_buffer", 50 buffer_id.c_str());
|
/external/skia/src/svg/parser/ |
SkSVGGradient.cpp | 76 SkASSERT(strcmp(units.c_str(), "userSpaceOnUse") == 0); 80 if (baseColor.c_str()[0] != '#') 87 f_id.append(baseColor.c_str() + 1); 94 SkASSERT(color.c_str()[0] == '#'); 97 replacement.append(color.c_str() + 1, 2); // add stop colors using given color, turning existing stop color into alpha 98 SkASSERT(baseColor.c_str()[0] == '#'); 100 replacement.append(baseColor.c_str() + 1); 104 const char* originalPtr = originalColors.c_str(); // restore original gradient values
|