Lines Matching defs:data

145     options[JAVA_PACKAGE].value = "com.ibm.icu.impl.data";
219 "\t-i or --icudatadir directory for locating any needed intermediate data files,\n"
226 "\t defaults to com.ibm.icu.impl.data\n");
293 /* Note: u_init() will try to open ICU property data.
358 * loading ICU data files without udata_open().
372 poolFile = T_FileStream_open(poolFileName.data(), "rb");
374 fprintf(stderr, "unable to open pool bundle file %s\n", poolFileName.data());
379 fprintf(stderr, "the pool bundle file %s is too small\n", poolFileName.data());
384 fprintf(stderr, "unable to allocate memory for the pool bundle file %s\n", poolFileName.data());
392 fprintf(stderr, "unable to read the pool bundle file %s\n", poolFileName.data());
397 * The swapper functions also test that the data looks like
404 poolFileName.data(), u_errorName(status));
411 poolFileName.data(), u_errorName(status));
416 fprintf(stderr, "invalid format of pool bundle file %s\n", poolFileName.data());
424 fprintf(stderr, "insufficient indexes[] in pool bundle file %s\n", poolFileName.data());
447 poolFileName.data());
497 poolFileName.data());
536 "CLDR 26/ICU 54 unihan data is small, except\n"
537 "the ucadata-unihan.icu version of the collation root data\n"
558 gCurrentFileName = theCurrentFileName.data();
560 printf("Processing file \"%s\"\n", theCurrentFileName.data());
600 LocalPointer<SRBRoot> data;
620 * When a filename ../../../data/root.txt is specified,
621 * we presume that the input directory is ../../../data
628 inputDir = inputDirBuf.data();
639 * genrb -s. /home/icu/data
640 * genrb -s. icu/data
642 * genrb -s. /icu/data --- the absolute path specified. -s redundant
644 * genrb -s. icu/data --- start from CWD and look in icu/data dir
660 ucbuf.adoptInstead(ucbuf_open(openFileName.data(), &cp,getShowWarning(),true, &status));
663 fprintf(stderr, "couldn't open file %s\n", openFileName.data());
668 openFileName.data(), u_errorName(status));
675 /* Parse the data into an SRBRoot */
676 data.adoptInstead(parse(ucbuf.getAlias(), inputDir, outputDir, filename,
679 if (data.isNull() || U_FAILURE(status)) {
694 std::ifstream f(filterFileName.data());
696 std::cerr << "genrb error: unable to open " << filterFileName.data() << std::endl;
716 // Apply the filter to the data
718 data->fRoot->applyFilter(filter, path, data.getAlias());
722 data->fWritePoolBundle = newPoolBundle;
723 data->compactKeys(status);
725 const char *newKeys = data->getKeyBytes(&newKeysLength);
741 data->fUsePoolBundle = &poolBundle;
752 bundle_write_java(data.getAlias(), outputDir, outputEnc,
756 bundle_write_xml(data.getAlias(), outputDir, outputEnc,
760 /* Write the data to the file */
761 data->write(outputDir, packageName, outputFileName, sizeof(outputFileName), status);