/frameworks/base/tools/localize/ |
H A D | ValuesFile_test.cpp | 21 printf("%s: '%s'[%d]='%s' (%s) <!-- %s -->\n", str.pos.ToString().c_str(), 22 str.id.c_str(), str.index, 23 str.value->ContentsToString(ANDROID_NAMESPACES).c_str(), 24 str.config.ToString().c_str(), str.comment.c_str()); 27 printf("XML:[[%s]]\n", canonical.c_str()); 47 fprintf(stderr, "canonical=[[%s]]\n", canonical.c_str());
|
H A D | localize_test.cpp | 15 fprintf(stderr, " locale='%s'\n", locale.c_str()); 16 fprintf(stderr, " expected='%s'\n", expected.c_str()); 17 fprintf(stderr, " result='%s'\n", result.c_str()); 22 fprintf(stderr, " locale='%s'\n", locale.c_str()); 23 fprintf(stderr, " expected='%s'\n", expected.c_str()); 24 fprintf(stderr, " result='%s'\n", result.c_str()); 63 printf("XLIFF was [[%s]]\n", xliff->ToString().c_str()); 69 printf("XLIFF is [[%s]]\n", xliff->ToString().c_str()); 75 printf("STRING!!! id=%s value='%s' pos=%s file=%s version=%d(%s)\n", str.id.c_str(), 76 str.value->ContentsToString(ANDROID_NAMESPACES).c_str(), [all...] |
H A D | XLIFFFile_test.cpp | 21 str.id.c_str(), str.index, 22 str.value->ContentsToString(ANDROID_NAMESPACES).c_str(), 23 str.pos.ToString().c_str(), str.file.c_str(), str.version, 24 str.versionString.c_str()); 26 printf("XML:[[%s]]\n", xf->ToString().c_str()); 74 printf("OLD=\"%s\"\n", oldString.c_str()); 75 printf("NEW=\"%s\"\n", newString.c_str()); 83 fprintf(stderr, " actual='%s'\n", oldString.c_str()); 94 fprintf(stderr, " actual='%s'\n", newString.c_str()); [all...] |
H A D | Perforce_test.cpp | 9 printf("err=%d result=[[%s]]\n", err, result.c_str()); 35 printf("[%zd] '%s'\n", i, results[i].c_str()); 46 printf("err=%d result=[[%s]]\n", err, result.c_str());
|
H A D | file_utils.cpp | 22 return string(String8(path.c_str()).getPathDir().string()); 53 const char* str = file.c_str(); 103 log_printf("get_values_file filename=%s\n", filename.c_str()); 112 fprintf(stderr, "unable to parse file: %s\n", filename.c_str()); 128 fd = open(filename.c_str(), O_RDONLY); 130 fprintf(stderr, "unable to open file: %s\n", filename.c_str()); 147 fprintf(stderr, "unable to parse file: %s\n", filename.c_str()); 156 printf("\r%s file %zd of %zd...", message.c_str(), j, J); 163 mkdirs(parent_dir(filename).c_str()); 164 int fd = open(filename.c_str(), O_RDW [all...] |
H A D | SourcePos.cpp | 89 fprintf(to, "%s:%d: %s\n", this->file.c_str(), this->line, this->error.c_str()); 91 fprintf(to, "%s: %s\n", this->file.c_str(), this->error.c_str()); 121 snprintf(buf, sizeof(buf)-1, "%s:%d", this->file.c_str(), this->line); 123 snprintf(buf, sizeof(buf)-1, "%s:", this->file.c_str());
|
H A D | Configuration.cpp | 65 language->assign(in.c_str(), 2); 66 region->assign(in.c_str()+3, 2);
|
H A 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, 40 it->config.ToString().c_str(), it->file.c_str(), 41 it->value->ToString(ANDROID_NAMESPACES).c_str()); 219 fprintf(stderr, "localize import: unable to read file %s\n", xliffFilename->c_str()); 231 log_printf("mf.translated=%s mf.original=%s locale=%s\n", mf.translated.c_str(), 232 mf.original.c_str(), xliff->TargetConfig().locale.c_str()); 236 xliffFilename->c_str(), f->c_str()); [all...] |
H A D | merge_res_and_xliff_test.cpp | 43 printf("======= RESULT =======\n%s===============\n", result->ToString().c_str());
|
H A D | localize.cpp | 199 config.c_str()); 265 printf("settingsFile=%s\n", settingsFile.c_str()); 266 printf("rootDir=%s\n", rootDir.c_str()); 267 printf("outDir=%s\n", outDir.c_str()); 269 printf("config[%zd]=%s\n", i, configs[i].c_str()); 305 fprintf(stderr, "Configuration: %s (%zd of %zd)\n", config.c_str(), i+1, 307 fprintf(stderr, " Old CL: %s\n", setting.oldVersion.c_str()); 308 fprintf(stderr, " Current CL: %s\n", setting.currentVersion.c_str()); 331 //printf("currentFile=[%s]\n", currentFile->ToString().c_str()); 333 fprintf(stderr, "error reading file %s@%s\n", resFile.c_str(), [all...] |
H A D | Perforce.cpp | 26 log_printf("Perforce::RunCommand: %s\n", cmd.c_str()); 46 cmd.c_str(), 93 write(2, error.c_str(), error.length()); 116 const char* str = text.c_str(); 165 int count = sscanf(text.c_str(), "Change %lld on", &n);
|
H A D | xmb.cpp | 142 fprintf(stderr, "error reading file %s\n", resFile.c_str()); 165 printf("tag: %s\n", it->c_str()); 170 FILE* f = fopen(outfile.c_str(), "wb"); 172 fprintf(stderr, "can't open outputfile: %s\n", outfile.c_str()); 176 fprintf(f, "%s\n", localizationbundle->ToString(NS_MAP).c_str());
|
H A D | XMLHandler_test.cpp | 50 int fd = open(filename.c_str(), O_RDONLY); 76 //printf("[[%s]]\n", result.c_str()); 89 //printf("[[%s]]\n", result.c_str()); 103 //printf("[[%s]]\n", result.c_str()); 117 //printf("[[%s]]\n", result.c_str());
|
H A D | res_check.cpp | 85 pos.Error("unguarded percent: '%s'\n", string.c_str());
|
/frameworks/base/tools/aidl/ |
H A 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());
|
H A D | AST.cpp | 84 fprintf(to, "%s\n", this->comment.c_str()); 87 fprintf(to, "%s %s", this->variable->type->QualifiedName().c_str(), 88 this->variable->name.c_str()); 90 fprintf(to, " = %s", this->value.c_str()); 111 fprintf(to, "%s", this->value.c_str()); 152 fprintf(to, "%s%s %s", this->type->QualifiedName().c_str(), dim.c_str(), 153 this->name.c_str()); 159 fprintf(to, "%s", name.c_str()); 187 fprintf(to, "%s", this->clazz->QualifiedName().c_str()); [all...] |
H A 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); 583 FILE* to = fopen(options.depFileName.c_str(), "wb"); 594 fprintf(to, "%s: \\\n", options.outputFileName.c_str()); 595 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slash); 674 FILE* f = fopen(filename.c_str(), "r [all...] |
H A D | Type.cpp | 195 __FILE__, __LINE__, m_qualifiedName.c_str()); 204 __FILE__, __LINE__, m_qualifiedName.c_str()); 213 __FILE__, __LINE__, m_qualifiedName.c_str()); 222 __FILE__, __LINE__, m_qualifiedName.c_str()); 232 __FILE__, __LINE__, m_qualifiedName.c_str()); 241 __FILE__, __LINE__, m_qualifiedName.c_str()); 1155 string base(normalized.c_str(), baseIndex); 1173 string s(normalized.c_str()+start, end-start); 1225 t->Package().c_str(), t->Name().c_str(), [all...] |
/frameworks/base/media/libstagefright/ |
H A D | HTTPDataSource.cpp | 38 host.c_str(), port, path.c_str()); 49 status_t err = mHttp->connect(host.c_str(), port); 57 request.append(path.c_str()); 61 request.append(host.c_str()); 109 LOGV("Redirecting to %s\n", location.c_str()); 115 const char *start = host.c_str() + colonPos + 1; 129 mStartingHost = host.c_str(); 130 mStartingPath = path.c_str(); 140 const char *s = timeout.c_str(); [all...] |
H A D | string.cpp | 41 mString.setTo(from.c_str() + start, length); 48 const char *string::c_str() const { function in class:android::string
|
/frameworks/base/media/libstagefright/include/ |
H A D | stagefright_string.h | 35 const char *c_str() const;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Typeface.cpp | 22 const char* c_str() const { return fCStr; } function in class:AutoJavaStringToUTF8 39 face = SkTypeface::CreateFromName(str.c_str(), style); 128 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); 141 return SkTypeface::CreateFromFile(str.c_str());
|
/frameworks/base/media/libdrm/mobile2/src/roap/ |
H A D | RoapMessageHandler.cpp | 49 ifstream xmlStream(msgTemplate.c_str());
|
/frameworks/base/media/libdrm/mobile2/src/util/xml/ |
H A D | DomExpatAgent.cpp | 51 if (ExpatWrapper::decode(content.c_str(), content.length(), 1) == 0) 103 if (!name->compare(mTopElementPtr->getTagName()->c_str()))
|
/frameworks/base/media/libdrm/mobile2/src/rights/ |
H A D | Ro.cpp | 489 constraint->setCount(atoi(token->c_str())); 496 constraint->setStartTime(convertISO8601DateTimeToLong(token->c_str())); 503 constraint->setEndTime(convertISO8601DateTimeToLong(token->c_str())); 509 constraint->setInterval(atoi(token->c_str())); 516 constraint->setAccumulated(convertISO8601PeriodToLong(token->c_str())); 522 constraint->setTimedCount(atoi(token->c_str())); 535 constraint->setTimer(atoi(token->c_str()));
|