Home | History | Annotate | Download | only in toolutil

Lines Matching defs:Package

8 *   file name:  package.cpp
16 * Read, modify, and write ICU .dat data package files.
33 #include "package.h"
186 fprintf(stderr, "icupkg: \"%s\" is not recognized as a package filename (must end with .dat)\n",
192 fprintf(stderr, "icupkg: the package name \"%s\" is too long (>=%ld)\n",
371 // .dat package file representation ---------------------------------------- ***
386 Package::Package() {
404 // create a header for an empty package
420 Package::~Package() {
435 Package::readPackage(const char *filename) {
488 fprintf(stderr, "icupkg: data format %02x.%02x.%02x.%02x (format version %02x) is not recognized as an ICU .dat package\n",
519 fprintf(stderr, "icupkg: too few bytes (%ld after header) for a .dat package\n",
523 /* do not modify the package length variable until the last item's length is set */
552 fprintf(stderr, "icupkg failed to swap the input .dat package item name strings\n");
566 * New-style ICU .dat packages use tree separators ('/') between package names,
569 * use an underscore ('_') between package and item names.
577 // old-style .dat package
580 // new-style .dat package
589 // skip the package part of the item name, error if it does not match the actual package name
590 // or if nothing follows the package name
636 Package::getInType() {
641 Package::writePackage(const char *filename, char outType, const char *comment) {
724 // prepare and swap the package name with a tree separator
731 fprintf(stderr, "icupkg: swapInvChars(output package name) failed - %s\n", u_errorName(errorCode));
744 // create the output item names in sorted order, with the package name prepended to each
844 Package::findItem(const char *name, int32_t length) const {
882 Package::findItems(const char *pattern) {
918 Package::findNextItem() {
964 Package::setMatchMode(uint32_t mode) {
969 Package::addItem(const char *name) {
974 Package::addItem(const char *name, uint8_t *data, int32_t length, UBool isDataOwned, char type) {
1012 Package::addFile(const char *filesPath, const char *name) {
1023 Package::addItems(const Package &listPkg) {
1033 Package::removeItem(int32_t idx) {
1053 Package::removeItems(const char *pattern) {
1063 Package::removeItems(const Package
1073 Package::extractItem(const char *filesPath, const char *outName, int32_t idx, char outType) {
1131 Package::extractItem(const char *filesPath, int32_t idx, char outType) {
1136 Package::extractItems(const char *filesPath, const char *pattern, char outType) {
1146 Package::extractItems(const char *filesPath, const Package &listPkg, char outType) {
1156 Package::getItemCount() const {
1161 Package::getItem(int32_t idx) const {
1169 Package::checkDependency(void *context, const char *itemName, const char *targetName) {
1170 // check dependency: make sure the target item is in the package
1171 Package *me=(Package *)context;
1179 Package::checkDependencies() {
1186 Package::enumDependencies(void *context, CheckDependency check) {
1195 Package::allocString(UBool in, int32_t length) {
1221 Package::sortItems() {
1230 void Package::setItemCapacity(int32_t max)
1249 void Package::ensureItemCapacity()