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

1 2 3 4 5 67 8 91011>>

  /external/skia/src/gpu/effects/
GrTextureDomain.cpp 65 uniName.c_str(), &name);
73 inCoords.c_str());
80 inCoords.c_str(), fDomainName.c_str(), fDomainName.c_str());
84 clampedCoords.c_str());
92 const char* domain = fDomainName.c_str();
103 inCoords.c_str());
108 builder->codeAppendf("float x = (%s).x;", inCoords.c_str());
111 builder->codeAppendf("float y = (%s).y;", inCoords.c_str());
    [all...]
  /art/compiler/optimizing/
parallel_move_test.cc 191 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str());
193 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str());
202 ASSERT_STREQ("(2 -> 3) (1 -> 2) (1 -> 4) (0 -> 1)", resolver.GetMessage().c_str());
204 ASSERT_STREQ("(2 -> 3) (1 -> 2) (0 -> 1) (2 -> 4)", resolver.GetMessage().c_str());
218 ASSERT_STREQ("(1 <-> 0)", resolver.GetMessage().c_str());
220 ASSERT_STREQ("(1 -> T0) (0 -> 1) (T0 -> 0)", resolver.GetMessage().c_str());
229 ASSERT_STREQ("(1 -> 2) (1 <-> 0)", resolver.GetMessage().c_str());
231 ASSERT_STREQ("(1 -> 2) (0 -> 1) (2 -> 0)", resolver.GetMessage().c_str());
240 ASSERT_STREQ("(0 -> 2) (1 <-> 0)", resolver.GetMessage().c_str());
242 ASSERT_STREQ("(0 -> 2) (1 -> 0) (2 -> 1)", resolver.GetMessage().c_str());
    [all...]
  /art/runtime/
oat_file_assistant_test.cc 92 ASSERT_EQ(0, rename(dalvik_cache.c_str(), dalvik_cache_tmp.c_str())) << strerror(errno);
111 ASSERT_EQ(0, rename(dalvik_cache_tmp.c_str(), dalvik_cache.c_str())) << strerror(errno);
115 std::unique_ptr<OatFile> odex_file(OatFile::Open(odex_location.c_str(),
116 odex_location.c_str(),
121 dex_location.c_str(),
232 std::unique_ptr<OatFile> oat_file(OatFile::Open(oat_location->c_str(),
233 oat_location->c_str(),
250 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false)
    [all...]
reflection-inl.h 93 PrettyDescriptor(srcType).c_str(),
94 PrettyDescriptor(dstType).c_str()).c_str());
97 PrettyDescriptor(srcType).c_str(),
98 PrettyDescriptor(dstType).c_str()).c_str());
  /external/llvm/lib/Support/
GraphWriter.cpp 146 args.push_back(ViewerPath.c_str());
149 args.push_back(Filename.c_str());
158 args.push_back(ViewerPath.c_str());
159 args.push_back(Filename.c_str());
169 args.push_back(ViewerPath.c_str());
170 args.push_back(Filename.c_str());
180 args.push_back(ViewerPath.c_str());
181 args.push_back(Filename.c_str());
223 args.push_back(GeneratorPath.c_str());
230 args.push_back(Filename.c_str());
    [all...]
  /external/skia/samplecode/
SampleUnpremul.cpp 97 failure.printf("Failed to decode %s", fCurrFile.c_str());
99 canvas->drawText(failure.c_str(), failure.size(), 0, height, paint);
104 SkString header(SkOSPath::Basename(fCurrFile.c_str()));
107 canvas->drawText(header.c_str(), header.size(), 0, height, paint);
112 canvas->drawText(header.c_str(), header.size(), 0, height, paint);
116 canvas->drawText(header.c_str(), header.size(), 0, height, paint);
155 fFileIter.reset(fResPath.c_str());
161 fCurrFile = SkOSPath::Join(fResPath.c_str(), basename.c_str());
170 SkFILEStream stream(fCurrFile.c_str());
    [all...]
  /external/skia/tests/
GrGLSLPrettyPrintTest.cpp 94 testStr.push_back(input1.c_str());
96 testStr.push_back(input2.c_str());
98 testStr.push_back(input3.c_str());
100 testStr.push_back(input4.c_str());
102 testStr.push_back(input5.c_str());
104 testStr.push_back(input6.c_str());
113 testStr.push_back(neg1.c_str());
115 testStr.push_back(neg2.c_str());
117 testStr.push_back(neg3.c_str());
122 true).c_str() != nullptr)
    [all...]
PDFDocumentTest.cpp 48 SkString path = SkOSPath::Join(tmpDir.c_str(), "aborted.pdf");
52 SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(path.c_str()));
61 FILE* file = fopen(path.c_str(), "r");
76 SkString path = SkOSPath::Join(tmpDir.c_str(), "file.pdf");
78 SkAutoTUnref<SkDocument> doc(SkDocument::CreatePDF(path.c_str()));
86 FILE* file = fopen(path.c_str(), "r");
  /system/netd/server/
PhysicalNetwork.cpp 29 if (int ret = RouteController::addInterfaceToDefaultNetwork(interface.c_str(), permission)) {
30 ALOGE("failed to add interface %s to default netId %u", interface.c_str(), netId);
42 if (int ret = RouteController::removeInterfaceFromDefaultNetwork(interface.c_str(),
44 ALOGE("failed to remove interface %s from default netId %u", interface.c_str(), netId);
97 if (int ret = RouteController::modifyPhysicalNetworkPermission(mNetId, interface.c_str(),
100 interface.c_str(), mNetId, mPermission, permission);
156 if (int ret = RouteController::addInterfaceToPhysicalNetwork(mNetId, interface.c_str(),
158 ALOGE("failed to add interface %s to netId %u", interface.c_str(), mNetId);
183 if (int ret = RouteController::removeInterfaceFromPhysicalNetwork(mNetId, interface.c_str(),
185 ALOGE("failed to remove interface %s from netId %u", interface.c_str(), mNetId)
    [all...]
  /system/tools/aidl/tests/
fake_io_delegate.cpp 105 package.c_str(), class_name.c_str());
108 package.c_str(), class_name.c_str(),
109 cpp_header.c_str());
118 package.c_str(), class_name.c_str());
126 string contents = StringPrintf("package %s;\n", package.c_str());
129 class_name.c_str(), subclass.c_str());
    [all...]
  /external/webrtc/webrtc/libjingle/xmllite/
xmlparser_unittest.cc 159 parser.Parse(fragment.c_str(), fragment.length(), false);
163 parser.Parse(fragment.c_str(), fragment.length(), false);
167 parser.Parse(fragment.c_str(), fragment.length(), false);
171 parser.Parse(fragment.c_str(), fragment.length(), false);
176 parser.Parse(fragment.c_str(), fragment.length(), false);
181 parser.Parse(fragment.c_str(), fragment.length(), false);
185 parser.Parse(fragment.c_str(), fragment.length(), false);
196 parser.Parse(fragment.c_str(), fragment.length(), false);
202 parser.Parse(fragment.c_str(), fragment.length(), false);
212 parser.Parse(fragment.c_str(), fragment.length(), false)
    [all...]
  /system/core/init/
builtins.cpp 143 ERROR("failed to set bootloader message: %s", err.c_str());
250 return write_file("/proc/sys/kernel/domainname", args[1].c_str());
274 return add_environment(args[1].c_str(), args[2].c_str());
278 return write_file("/proc/sys/kernel/hostname", args[1].c_str());
282 return __ifupdown(args[1].c_str(), 1);
296 return insmod(args[1].c_str(), options.c_str());
309 ret = make_dir(args[1].c_str(), mode);
312 ret = fchmodat(AT_FDCWD, args[1].c_str(), mode, AT_SYMLINK_NOFOLLOW)
    [all...]
  /system/core/libcutils/tests/
PropertiesTest.cpp 135 int len = SetAndGetProperty(maxLengthString.c_str());
137 EXPECT_STREQ(maxLengthString.c_str(), mValue);
149 EXPECT_GT(0, property_set(PROPERTY_TEST_KEY, oneLongerString.c_str()));
168 int len = property_get(PROPERTY_TEST_KEY, mValue, oneLongerString.c_str());
170 EXPECT_STREQ(maxLengthString.c_str(), mValue);
232 " 2", "2 ", "+0", "-0", " +0 ", longMaxString.c_str(), longMinString.c_str(),
235 longStringOverflow.c_str(), longStringUnderflow.c_str(),
279 " 2", "2 ", "+0", "-0", " +0 ", intMaxString.c_str(), intMinString.c_str()
    [all...]
  /external/webrtc/webrtc/base/
win32filesystem.cc 42 DWORD res = ::GetFileAttributes(path16.c_str());
61 return (::CreateDirectory(path16.c_str(), NULL) != 0);
67 if (fs && !fs->Open(filename.pathname().c_str(), mode.c_str(), NULL)) {
164 ToUtf16(filename.pathname()).c_str(),
188 return ::DeleteFile(ToUtf16(filename.pathname()).c_str()) != 0;
195 return ::RemoveDirectory(ToUtf16(no_slash).c_str()) != 0;
224 if (::GetTempFileName(ToUtf16(dir.pathname()).c_str(),
225 ToUtf16(prefix).c_str(), 0, filename) != 0)
239 return ::MoveFile(ToUtf16(old_path.pathname()).c_str(),
    [all...]
  /bionic/tests/
dlext_test.cpp 113 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC));
115 handle_ = android_dlopen_ext(lib_path.c_str(), RTLD_NOW, &extinfo);
131 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC));
135 ASSERT_EQ(0, OpenArchive(lib_path.c_str(), &handle));
144 handle_ = android_dlopen_ext(lib_path.c_str(), RTLD_NOW, &extinfo);
156 ASSERT_TRUE(realpath(lib_path.c_str(), lib_realpath_buf) == lib_realpath_buf);
161 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC));
240 void* handle = dlopen((lib_path + "!/libdir/libatest_simple_zip.so").c_str(), RTLD_NOW);
253 void* handle = dlopen((lib_path + "!/libdir/libtest_dt_runpath_d_zip.so").c_str(), RTLD_NOW);
280 android_update_LD_LIBRARY_PATH(lib_path.c_str());
    [all...]
  /build/tools/atree/
files.cpp 167 it->first.c_str(), it->second.c_str());
190 f = fopen(filename.c_str(), "r");
193 filename.c_str(), strerror(errno));
201 filename.c_str(), strerror(errno));
211 filename.c_str(), strerror(errno));
226 filename.c_str(), strerror(errno));
264 printf("'%s' ", words[k].c_str());
305 filename.c_str(), i+1, p, errstr.c_str());
    [all...]
  /external/clang/tools/libclang/
CXCompilationDatabase.cpp 23 fprintf(stderr, "LIBCLANG TOOLING ERROR: %s\n", ErrorMsg.c_str());
111 return cxstring::createRef(cmd->Directory.c_str());
121 return cxstring::createRef(cmd->Filename.c_str());
144 return cxstring::createRef(Cmd->CommandLine[Arg].c_str());
167 return cxstring::createRef(Cmd->MappedSources[I].first.c_str());
181 return cxstring::createRef(Cmd->MappedSources[I].second.c_str());
  /external/libcxx/src/
random.cpp 41 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
57 : __f_(open(__token.c_str(), O_RDONLY))
60 __throw_system_error(errno, ("random_device failed to open " + __token).c_str());
96 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
99 __throw_system_error(error, ("random device failed to open " + __token).c_str());
125 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
  /external/llvm/lib/Fuzzer/
FuzzerIO.cpp 25 if (stat(Path.c_str(), &St))
38 DIR *D = opendir(Dir.c_str());
40 Printf("No such directory: %s; exiting\n", Dir.c_str());
54 Printf("No such directory: %s; exiting\n", Path.c_str());
68 Printf("%s", FileToString(Path).c_str());
73 FILE *Out = fopen(Path.c_str(), "w");
  /external/skia/tools/
ThermalManager.cpp 48 SkOSFile::Iter thermalZoneIt(fullPath.c_str());
94 fullPath.appendf("/%s", pointName.c_str());
95 fPoint = OpenFileAndReadInt32(fullPath.c_str());
101 SkDebugf("Trip point %s base - %d trip point-%d\n", fullPath.c_str(),
111 SkDebugf("%s/%s would trip {%d,%d,%d,%d}\n", fThermalZoneRoot.c_str(),
112 fPointName.c_str(), fBase, currentTemp, fPoint, fThreshold);
  /external/webrtc/webrtc/modules/audio_processing/transient/
file_utils_unittest.cc 143 file->OpenFile(test_filename.c_str(),
148 << kTestFileName.c_str();
187 file->OpenFile(test_filename.c_str(),
192 << kTestFileName.c_str();
234 file->OpenFile(test_filename.c_str(),
239 << kTestFileName.c_str();
279 file->OpenFile(test_filename.c_str(),
284 << kTestFileNamef.c_str();
321 file->OpenFile(test_filename.c_str(),
326 << kTestFileName.c_str();
    [all...]
  /external/webrtc/webrtc/tools/converter/
converter.cc 38 FILE* output_file = fopen(output_file_name.c_str(), "wb");
43 output_file_name.c_str());
72 ReadRGBAFrame(input_file_name.c_str(), input_frame_size, rgba_buffer);
76 if (remove(input_file_name.c_str()) != 0) {
77 fprintf(stderr, "Cannot delete file %s\n", input_file_name.c_str());
162 int result = STAT(file_name_to_check.c_str(), &file_info);
  /external/webrtc/webrtc/tools/
simple_command_line_parser.cc 38 fprintf(stderr, "Wrong switch format: %s\n", flag.c_str());
48 fprintf(stderr, "Wrong switch format: %s\n", flag.c_str());
79 fprintf(stdout, "%s=%s, ", flag_iter->first.c_str(),
80 flag_iter->second.c_str());
98 fprintf(stdout, "Flag '%s' is not recognized\n", flag_name.c_str());
114 fprintf(stdout, "%s", usage_message_.c_str());
  /external/webrtc/webrtc/voice_engine/test/auto_test/standard/
file_before_streaming_test.cc 44 FILE* input_file = fopen(input_filename_.c_str(), "wb");
55 output_filename_.c_str()));
61 FILE* output_file = fopen(output_filename_.c_str(), "rb");
84 FILE* output_file = fopen(output_filename_.c_str(), "rb");
107 channel_, input_filename_.c_str(), true));
125 channel_, input_filename_.c_str(), true));
  /frameworks/av/media/libstagefright/rtsp/
APacketSource.cpp 83 char c = s.c_str()[i];
265 const char *s = val.c_str();
425 if (!strncmp(desc.c_str(), "H264/", 5)) {
436 MakeAVCCodecSpecificData(params.c_str(), &encWidth, &encHeight);
456 } else if (!strncmp(desc.c_str(), "H263-2000/", 10)
457 || !strncmp(desc.c_str(), "H263-1998/", 10)) {
468 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) {
473 desc.c_str(), &sampleRate, &numChannels);
479 MakeAACCodecSpecificData(params.c_str());
484 } else if (!strncmp(desc.c_str(), "AMR/", 4))
    [all...]

Completed in 547 milliseconds

1 2 3 4 5 67 8 91011>>