/frameworks/base/tools/localize/ |
D | localize_test.cpp | 15 fprintf(stderr, " locale='%s'\n", locale.c_str()); in test_filename() 16 fprintf(stderr, " expected='%s'\n", expected.c_str()); in test_filename() 17 fprintf(stderr, " result='%s'\n", result.c_str()); in test_filename() 22 fprintf(stderr, " locale='%s'\n", locale.c_str()); in test_filename() 23 fprintf(stderr, " expected='%s'\n", expected.c_str()); in test_filename() 24 fprintf(stderr, " result='%s'\n", result.c_str()); in test_filename() 63 printf("XLIFF was [[%s]]\n", xliff->ToString().c_str()); in delete_trans_units() 69 printf("XLIFF is [[%s]]\n", xliff->ToString().c_str()); in delete_trans_units() 75 printf("STRING!!! id=%s value='%s' pos=%s file=%s version=%d(%s)\n", str.id.c_str(), in delete_trans_units() 76 str.value->ContentsToString(ANDROID_NAMESPACES).c_str(), in delete_trans_units() [all …]
|
D | ValuesFile_test.cpp | 21 printf("%s: '%s'[%d]='%s' (%s) <!-- %s -->\n", str.pos.ToString().c_str(), in ValuesFile_test() 22 str.id.c_str(), str.index, in ValuesFile_test() 23 str.value->ContentsToString(ANDROID_NAMESPACES).c_str(), in ValuesFile_test() 24 str.config.ToString().c_str(), str.comment.c_str()); in ValuesFile_test() 27 printf("XML:[[%s]]\n", canonical.c_str()); in ValuesFile_test() 47 fprintf(stderr, "canonical=[[%s]]\n", canonical.c_str()); in ValuesFile_test()
|
D | file_utils.cpp | 22 return string(String8(path.c_str()).getPathDir().string()); in parent_dir() 53 const char* str = file.c_str(); in translated_file_name() 103 log_printf("get_values_file filename=%s\n", filename.c_str()); in get_values_file() 112 fprintf(stderr, "unable to parse file: %s\n", filename.c_str()); in get_values_file() 128 fd = open(filename.c_str(), O_RDONLY); in get_local_values_file() 130 fprintf(stderr, "unable to open file: %s\n", filename.c_str()); in get_local_values_file() 147 fprintf(stderr, "unable to parse file: %s\n", filename.c_str()); in get_local_values_file() 156 printf("\r%s file %zd of %zd...", message.c_str(), j, J); in print_file_status() 163 mkdirs(parent_dir(filename).c_str()); in write_to_file() 164 int fd = open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC, 0666); in write_to_file() [all …]
|
D | XLIFFFile_test.cpp | 21 str.id.c_str(), str.index, in Parse_test() 22 str.value->ContentsToString(ANDROID_NAMESPACES).c_str(), in Parse_test() 23 str.pos.ToString().c_str(), str.file.c_str(), str.version, in Parse_test() 24 str.versionString.c_str()); in Parse_test() 26 printf("XML:[[%s]]\n", xf->ToString().c_str()); in Parse_test() 74 printf("OLD=\"%s\"\n", oldString.c_str()); in create_string_node_test() 75 printf("NEW=\"%s\"\n", newString.c_str()); in create_string_node_test() 83 fprintf(stderr, " actual='%s'\n", oldString.c_str()); in create_string_node_test() 94 fprintf(stderr, " actual='%s'\n", newString.c_str()); in create_string_node_test()
|
D | SourcePos.cpp | 89 fprintf(to, "%s:%d: %s\n", this->file.c_str(), this->line, this->error.c_str()); in Print() 91 fprintf(to, "%s: %s\n", this->file.c_str(), this->error.c_str()); in Print() 121 snprintf(buf, sizeof(buf)-1, "%s:%d", this->file.c_str(), this->line); in ToString() 123 snprintf(buf, sizeof(buf)-1, "%s:", this->file.c_str()); in ToString()
|
D | merge_res_and_xliff.cpp | 39 printf("id=%s index=%d config=%s file=%s value='%s'\n", it->id.c_str(), it->index, in printit() 40 it->config.ToString().c_str(), it->file.c_str(), in printit() 41 it->value->ToString(ANDROID_NAMESPACES).c_str()); in printit() 219 fprintf(stderr, "localize import: unable to read file %s\n", xliffFilename->c_str()); in do_merge() 231 log_printf("mf.translated=%s mf.original=%s locale=%s\n", mf.translated.c_str(), in do_merge() 232 mf.original.c_str(), xliff->TargetConfig().locale.c_str()); in do_merge() 236 xliffFilename->c_str(), f->c_str()); in do_merge() 238 files.find(mf)->xliffFilename.c_str()); in do_merge() 307 file->translated.c_str()); in do_merge()
|
D | Perforce_test.cpp | 9 printf("err=%d result=[[%s]]\n", err, result.c_str()); in RunCommand_test() 35 printf("[%zd] '%s'\n", i, results[i].c_str()); in GetResourceFileNames_test() 46 printf("err=%d result=[[%s]]\n", err, result.c_str()); in GetFile_test()
|
/frameworks/base/opengl/tests/hwc/ |
D | hwcRects.cpp | 283 "closing >] in: %s", rectDesc.c_str()); in main() 375 testPrintE("Error parsing format from: %s", rectStr.c_str()); in parseRect() 378 format = hwcTestGraphicFormatLookup(str.c_str()); in parseRect() 380 testPrintE("Unknown graphic format in: %s", rectStr.c_str()); in parseRect() 388 testPrintE("Invalid display frame in: %s", rectStr.c_str()); in parseRect() 413 rectStr.c_str()); in parseRect() 435 testPrintE("Unknown transform of \"%s\" in: %s", str.c_str(), in parseRect() 436 rectStr.c_str()); in parseRect() 450 testPrintE("Unknown blend of \"%s\" in: %s", str.c_str(), in parseRect() 451 rectStr.c_str()); in parseRect() [all …]
|
/frameworks/base/media/libstagefright/httplive/ |
D | M3UParser.cpp | 104 LOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str()); in MakeURL() 143 LOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str()); in MakeURL() 240 CHECK(MakeURL(mBaseURI.c_str(), line.c_str(), &item->mURI)); in parse() 264 status_t err = ParseInt32(line.c_str() + colonPos + 1, &x); in parseMetaData() 288 status_t err = ParseDouble(line.c_str() + colonPos + 1, &x); in parseMetaDataDuration() 335 LOGV("key=%s value=%s", key.c_str(), val.c_str()); in parseStreamInf() 337 if (!strcasecmp("bandwidth", key.c_str())) { in parseStreamInf() 338 const char *s = val.c_str(); in parseStreamInf() 366 char c = line.c_str()[offset]; in FindNextUnquoted() 413 LOGV("key=%s value=%s", key.c_str(), val.c_str()); in parseCipherInfo() [all …]
|
D | LiveSession.cpp | 171 LOGI("onConnect '%s'", url.c_str()); in onConnect() 179 sp<M3UParser> playlist = fetchPlaylist(url.c_str(), &dummy); in onConnect() 182 LOGE("unable to fetch master playlist '%s'.", url.c_str()); in onConnect() 504 sp<M3UParser> playlist = fetchPlaylist(url.c_str(), &unchanged); in onDownloadNext() 510 LOGE("failed to load playlist at url '%s'", url.c_str()); in onDownloadNext() 663 status_t err = fetchFile(uri.c_str(), &buffer); in onDownloadNext() 665 LOGE("failed to fetch .ts segment at url '%s'", uri.c_str()); in onDownloadNext() 768 LOGE("Unsupported cipher method '%s'", method.c_str()); in decryptBuffer() 798 keyURI.c_str(), in decryptBuffer() 816 LOGE("failed to fetch cipher key from '%s'.", keyURI.c_str()); in decryptBuffer() [all …]
|
/frameworks/base/core/jni/ |
D | android_net_wifi_Wifi.cpp | 177 if (bssid.c_str() == NULL) { in android_net_wifi_wpsPbcCommand() 180 return doBooleanCommand("OK", "WPS_PBC %s", bssid.c_str()); in android_net_wifi_wpsPbcCommand() 187 if (bssid.c_str() == NULL) { in android_net_wifi_wpsPinFromAccessPointCommand() 191 if (apPin.c_str() == NULL) { in android_net_wifi_wpsPinFromAccessPointCommand() 194 return doBooleanCommand("OK", "WPS_REG %s %s", bssid.c_str(), apPin.c_str()); in android_net_wifi_wpsPinFromAccessPointCommand() 200 if (bssid.c_str() == NULL) { in android_net_wifi_wpsPinFromDeviceCommand() 203 return doStringCommand(env, "WPS_PIN %s", bssid.c_str()); in android_net_wifi_wpsPinFromDeviceCommand() 209 if (country.c_str() == NULL) { in android_net_wifi_setCountryCodeCommand() 212 return doBooleanCommand("OK", "DRIVER COUNTRY %s", country.c_str()); in android_net_wifi_setCountryCodeCommand() 222 if (name.c_str() == NULL) { in android_net_wifi_setNetworkVariableCommand() [all …]
|
D | com_android_internal_content_NativeLibraryHelper.cpp | 189 …if (strlcpy(localFileName, nativeLibPath.c_str(), sizeof(localFileName)) != nativeLibPath.size()) { in copyFileIfChanged() 209 if (strlcpy(localTmpFileName, nativeLibPath.c_str(), sizeof(localTmpFileName)) in copyFileIfChanged() 278 if (zipFile.open(filePath.c_str()) != NO_ERROR) { in iterateOverNativeFiles() 279 LOGI("Couldn't open APK %s\n", filePath.c_str()); in iterateOverNativeFiles() 317 LOGV("Comparing ABIs %s and %s versus %s\n", cpuAbi.c_str(), cpuAbi2.c_str(), cpuAbiOffset); in iterateOverNativeFiles() 320 && !strncmp(cpuAbiOffset, cpuAbi.c_str(), cpuAbiRegionSize)) { in iterateOverNativeFiles() 321 LOGV("Using ABI %s\n", cpuAbi.c_str()); in iterateOverNativeFiles() 324 && !strncmp(cpuAbiOffset, cpuAbi2.c_str(), cpuAbiRegionSize)) { in iterateOverNativeFiles() 325 LOGV("Using ABI %s\n", cpuAbi2.c_str()); in iterateOverNativeFiles()
|
/frameworks/base/tools/aidl/ |
D | AST.cpp | 84 fprintf(to, "%s\n", this->comment.c_str()); in Write() 87 fprintf(to, "%s %s", this->variable->type->QualifiedName().c_str(), in Write() 88 this->variable->name.c_str()); in Write() 90 fprintf(to, " = %s", this->value.c_str()); in Write() 111 fprintf(to, "%s", this->value.c_str()); in Write() 152 fprintf(to, "%s%s %s", this->type->QualifiedName().c_str(), dim.c_str(), in WriteDeclaration() 153 this->name.c_str()); in WriteDeclaration() 159 fprintf(to, "%s", name.c_str()); in Write() 187 fprintf(to, "%s", this->clazz->QualifiedName().c_str()); in Write() 189 fprintf(to, ".%s", name.c_str()); in Write() [all …]
|
D | search_path.cpp | 46 if (0 == _access(f.c_str(), 0) && /* mode 0=exist */ 47 0 == _access(f.c_str(), 4) ) { /* mode 4=readable */ 49 if (0 == access(f.c_str(), R_OK)) { 51 return strdup(f.c_str());
|
D | aidl.cpp | 206 p = fn.c_str() + (len - expected.length()); 222 valid = !strcasecmp(expected.c_str(), p); 229 filename, name->lineno, name->data, expected.c_str()); 337 type->QualifiedName().c_str()); 346 type->QualifiedName().c_str(), newKind); 348 old->DeclFile().c_str(), old->DeclLine(), oldKind); 586 to = fopen(fileName.c_str(), "wb"); 588 to = fopen(options.depFileName.c_str(), "wb"); 602 fprintf(to, "%s: \\\n", options.outputFileName.c_str()); 607 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slash); [all …]
|
/frameworks/base/media/libstagefright/rtsp/ |
D | ASessionDescription.cpp | 66 if ((size_t)eolPos > i && desc.c_str()[eolPos - 1] == '\r') { in parse() 79 if (line.size() < 2 || line.c_str()[1] != '=') { in parse() 83 LOGI("%s", line.c_str()); in parse() 85 switch (line.c_str()[0]) { in parse() 88 if (strcmp(line.c_str(), "v=0")) { in parse() 123 LOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); in parse() 132 AString(line, 2, line.size() - 2).c_str()); in parse() 151 LOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); in parse() 204 const char *lastSpacePos = strrchr(format.c_str(), ' '); in getFormatType() 238 const char *s = value.c_str(); in getDimensions() [all …]
|
D | APacketSource.cpp | 83 char c = s.c_str()[i]; in decodeHex() 260 const char *s = val.c_str(); in MakeAACCodecSpecificData2() 411 const char *s = desc.c_str() + slashPos + 1; in GetClockRate() 450 if (!strncmp(desc.c_str(), "H264/", 5)) { in APacketSource() 463 MakeAVCCodecSpecificData(params.c_str(), &encWidth, &encHeight); in APacketSource() 483 } else if (!strncmp(desc.c_str(), "H263-2000/", 10) in APacketSource() 484 || !strncmp(desc.c_str(), "H263-1998/", 10)) { in APacketSource() 495 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) { in APacketSource() 500 desc.c_str(), &sampleRate, &numChannels); in APacketSource() 506 MakeAACCodecSpecificData(params.c_str()); in APacketSource() [all …]
|
D | ARTPSource.cpp | 57 if (!strncmp(desc.c_str(), "H264/", 5)) { in ARTPSource() 60 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) { in ARTPSource() 62 } else if (!strncmp(desc.c_str(), "H263-1998/", 10) in ARTPSource() 63 || !strncmp(desc.c_str(), "H263-2000/", 10)) { in ARTPSource() 66 } else if (!strncmp(desc.c_str(), "AMR/", 4)) { in ARTPSource() 68 } else if (!strncmp(desc.c_str(), "AMR-WB/", 7)) { in ARTPSource() 70 } else if (!strncmp(desc.c_str(), "MP4V-ES/", 8) in ARTPSource() 71 || !strncasecmp(desc.c_str(), "mpeg4-generic/", 14)) { in ARTPSource() 74 } else if (ARawAudioAssembler::Supports(desc.c_str())) { in ARTPSource() 75 mAssembler = new ARawAudioAssembler(notify, desc.c_str(), params); in ARTPSource()
|
D | AMPEG4ElementaryAssembler.cpp | 75 s = val.c_str(); in GetIntegerAttribute() 107 mIsGeneric = !strncasecmp(desc.c_str(),"mpeg4-generic/", 14); in AMPEG4ElementaryAssembler() 111 CHECK(GetAttribute(params.c_str(), "mode", &value)); in AMPEG4ElementaryAssembler() 113 if (!GetIntegerAttribute(params.c_str(), "sizeLength", &mSizeLength)) { in AMPEG4ElementaryAssembler() 118 params.c_str(), "indexLength", &mIndexLength)) { in AMPEG4ElementaryAssembler() 123 params.c_str(), "indexDeltaLength", &mIndexDeltaLength)) { in AMPEG4ElementaryAssembler() 128 params.c_str(), "CTSDeltaLength", &mCTSDeltaLength)) { in AMPEG4ElementaryAssembler() 133 params.c_str(), "DTSDeltaLength", &mDTSDeltaLength)) { in AMPEG4ElementaryAssembler() 139 params.c_str(), "randomAccessIndication", &x)) { in AMPEG4ElementaryAssembler() 147 params.c_str(), "streamStateIndication", in AMPEG4ElementaryAssembler() [all …]
|
D | MyHandler.h | 132 mSessionURL.c_str(), &host, &port, &path, &user, &pass)); in mUIDValid() 142 LOGI("rewritten session url: '%s'", mSessionURL.c_str()); in mUIDValid() 159 mConn->connect(mOriginalSessionURL.c_str(), reply); in connect() 224 memcpy(&data[offset], cname.c_str(), cname.size()); in addSDES() 234 memcpy(&data[offset], tool.c_str(), tool.size()); in addSDES() 268 if (!GetAttribute(transport.c_str(), in pokeAHole() 274 struct hostent *ent = gethostbyname(mSessionHost.c_str()); in pokeAHole() 277 mSessionHost.c_str()); in pokeAHole() 284 addr.sin_addr.s_addr = inet_addr(source.c_str()); in pokeAHole() 287 if (!GetAttribute(transport.c_str(), in pokeAHole() [all …]
|
D | ARTSPConnection.cpp | 170 const char *colonPos = strchr(host->c_str(), ':'); in ParseURL() 180 size_t colonOffset = colonPos - host->c_str(); in ParseURL() 227 if (!ParseURL(url.c_str(), &host, &port, &path, &mUser, &mPass) in onConnect() 233 LOGE("Malformed rtsp url %s", url.c_str()); in onConnect() 243 LOGV("user = '%s', pass = '%s'", mUser.c_str(), mPass.c_str()); in onConnect() 246 struct hostent *ent = gethostbyname(host.c_str()); in onConnect() 248 LOGE("Unknown host %s", host.c_str()); in onConnect() 405 reply->setString("original-request", request.c_str(), request.size()); in onSendRequest() 422 LOGV("request: '%s'", request.c_str()); in onSendRequest() 427 send(mSocket, request.c_str() + numBytesSent, in onSendRequest() [all …]
|
D | MyTransmitter.h | 104 mConn->connect(mServerURL.c_str(), reply); in MyTransmitter() 222 addAuthentication(&request, "ANNOUNCE", mStreamURL.c_str()); in issueAnnounce() 233 mConn->sendRequest(request.c_str(), reply); in issueAnnounce() 241 MD5_Update(&m, s.c_str(), s.size()); in H() 271 if (!strncmp(value.c_str(), "Basic", 5)) { in authenticate() 274 CHECK(!strncmp(value.c_str(), "Digest", 6)); in authenticate() 279 CHECK_EQ(value.c_str()[i + 6], '\"'); in authenticate() 408 addAuthentication(&request, "SETUP", mTrackURL.c_str()); in onMessageReceived() 418 mConn->sendRequest(request.c_str(), reply); in onMessageReceived() 491 CHECK(GetAttribute(transport.c_str(), "server_port", &value)); in onMessageReceived() [all …]
|
/frameworks/base/media/libstagefright/chromium_http/ |
D | support.cpp | 73 "%s:%d: %s", file, line, str.c_str()); in logMessageHandler() 141 TickCountToString(time).c_str(), in AddEntry() 144 EventPhaseToString(phase)).c_str()); in AddEntry() 171 mUserAgent = ua.c_str(); in SfRequestContext() 289 request->status().os_error()).c_str()); in OnResponseStarted() 300 request->GetResponseCode()).c_str()); in OnResponseStarted() 310 request->GetResponseCode()).c_str()); in OnResponseStarted() 324 MY_LOGV(StringPrintf("response headers: %s", headers.c_str()).c_str()); in OnResponseStarted() 330 request->GetExpectedContentSize(), contentType.c_str()); in OnResponseStarted() 337 request->status().status()).c_str()); in OnReadCompleted() [all …]
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
D | Script.cpp | 266 if (objFile.open(objPath.c_str(), OpenMode::Read) < 0) { in internalLoadCache() 272 if (infoFile.open(infoPath.c_str(), OpenMode::Read) < 0) { in internalLoadCache() 402 ::unlink(objPath.c_str()); in internalCompile() 404 ::unlink(infoPath.c_str()); in internalCompile() 410 if (objFile.open(objPath.c_str(), OpenMode::Write) >= 0 && in internalCompile() 411 infoFile.open(infoPath.c_str(), OpenMode::Write) >= 0) { in internalCompile() 444 if (unlink(objPath.c_str()) != 0) { in internalCompile() 446 objPath.c_str(), strerror(errno)); in internalCompile() 452 if (unlink(infoPath.c_str()) != 0) { in internalCompile() 454 infoPath.c_str(), strerror(errno)); in internalCompile()
|
/frameworks/base/media/libstagefright/ |
D | ACodec.cpp | 378 mComponentName.c_str(), in allocateBuffersOnPort() 392 mComponentName.c_str(), "OMX.TI.DUCATI1.VIDEO.DECODER")) { in allocateBuffersOnPort() 492 mComponentName.c_str(), newBufferCount, err); in allocateOutputBuffersFromNativeWindow() 508 mComponentName.c_str(), def.nBufferCountActual, def.nBufferSize); in allocateOutputBuffersFromNativeWindow() 538 mComponentName.c_str(), in allocateOutputBuffersFromNativeWindow() 568 mComponentName.c_str(), info->mBufferID); in cancelBufferToNativeWindow() 733 mComponentName.c_str(), role); in setComponentRole() 774 } else if (!strcmp("OMX.Nvidia.aac.decoder", mComponentName.c_str())) { in configureCodec() 941 if (!strcmp("OMX.TI.Video.encoder", mComponentName.c_str())) { in setVideoPortFormatType() 1099 mComponentName.c_str(), in allYourBuffersAreBelongToUs() [all …]
|