Home
last modified time | relevance | path

Searched refs:RBBIDataHeader (Results 1 – 21 of 21) sorted by relevance

/external/cronet/third_party/icu/source/common/
Drbbidata.cpp33 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status) { in RBBIDataWrapper()
38 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt, UErrorCode &status) { in RBBIDataWrapper()
64 … const RBBIDataHeader *rbbidh = reinterpret_cast<const RBBIDataHeader *>(dataAsBytes + headerSize); in RBBIDataWrapper()
92 void RBBIDataWrapper::init(const RBBIDataHeader *data, UErrorCode &status) { in init()
347 RBBIDataHeader *rbbiDH = (RBBIDataHeader *)inBytes; in ubrk_swap()
350 ds->readUInt32(rbbiDH->fLength) < sizeof(RBBIDataHeader)) { in ubrk_swap()
382 RBBIDataHeader *outputDH = (RBBIDataHeader *)outBytes; in ubrk_swap()
469 ds->swapArray32(ds, inBytes, sizeof(RBBIDataHeader), outBytes, status); in ubrk_swap()
Drbbidata.h67 struct RBBIDataHeader { struct
163 RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status);
164 RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt dontAdopt, UErrorCode &status);
171 void init(const RBBIDataHeader *data, UErrorCode &status);
183 const RBBIDataHeader *fHeader;
Drbbirb.cpp137 RBBIDataHeader *RBBIRuleBuilder::flattenData() { in flattenData()
153 int32_t headerSize = align8(sizeof(RBBIDataHeader)); in flattenData()
185 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize); in flattenData()
256 RBBIDataHeader *data = builder.build(status); in createRuleBasedBreakIterator()
278 RBBIDataHeader *RBBIRuleBuilder::build(UErrorCode &status) { in build()
331 RBBIDataHeader *data = flattenData(); // returns NULL if error in build()
Drbbirb.h134 RBBIDataHeader *build(UErrorCode &status);
177 RBBIDataHeader *flattenData(); // Create the flattened (runtime format)
Drbbi.cpp65 RuleBasedBreakIterator::RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
111 if (compiledRules == NULL || ruleLength < sizeof(RBBIDataHeader)) { in RuleBasedBreakIterator()
115 const RBBIDataHeader *data = (const RBBIDataHeader *)compiledRules; in RuleBasedBreakIterator()
/external/icu/icu4c/source/common/
Drbbidata.cpp33 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status) { in RBBIDataWrapper()
38 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt, UErrorCode &status) { in RBBIDataWrapper()
64 … const RBBIDataHeader *rbbidh = reinterpret_cast<const RBBIDataHeader *>(dataAsBytes + headerSize); in RBBIDataWrapper()
92 void RBBIDataWrapper::init(const RBBIDataHeader *data, UErrorCode &status) { in init()
347 RBBIDataHeader *rbbiDH = (RBBIDataHeader *)inBytes; in ubrk_swap()
350 ds->readUInt32(rbbiDH->fLength) < sizeof(RBBIDataHeader)) { in ubrk_swap()
382 RBBIDataHeader *outputDH = (RBBIDataHeader *)outBytes; in ubrk_swap()
469 ds->swapArray32(ds, inBytes, sizeof(RBBIDataHeader), outBytes, status); in ubrk_swap()
Drbbidata.h67 struct RBBIDataHeader { struct
163 RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status);
164 RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt dontAdopt, UErrorCode &status);
171 void init(const RBBIDataHeader *data, UErrorCode &status);
183 const RBBIDataHeader *fHeader;
Drbbirb.cpp137 RBBIDataHeader *RBBIRuleBuilder::flattenData() { in flattenData()
153 int32_t headerSize = align8(sizeof(RBBIDataHeader)); in flattenData()
185 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize); in flattenData()
256 RBBIDataHeader *data = builder.build(status); in createRuleBasedBreakIterator()
278 RBBIDataHeader *RBBIRuleBuilder::build(UErrorCode &status) { in build()
331 RBBIDataHeader *data = flattenData(); // returns NULL if error in build()
Drbbirb.h134 RBBIDataHeader *build(UErrorCode &status);
177 RBBIDataHeader *flattenData(); // Create the flattened (runtime format)
Drbbi.cpp65 RuleBasedBreakIterator::RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
111 if (compiledRules == NULL || ruleLength < sizeof(RBBIDataHeader)) { in RuleBasedBreakIterator()
115 const RBBIDataHeader *data = (const RBBIDataHeader *)compiledRules; in RuleBasedBreakIterator()
/external/icu/libicu/cts_headers/
Drbbidata.h67 struct RBBIDataHeader { struct
163 RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status);
164 RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt dontAdopt, UErrorCode &status);
171 void init(const RBBIDataHeader *data, UErrorCode &status);
183 const RBBIDataHeader *fHeader;
Drbbirb.h134 RBBIDataHeader *build(UErrorCode &status);
177 RBBIDataHeader *flattenData(); // Create the flattened (runtime format)
/external/icu/icu4c/source/common/unicode/
Drbbi.h41 struct RBBIDataHeader;
169 RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status);
/external/icu/libicu/cts_headers/unicode/
Drbbi.h41 struct RBBIDataHeader;
169 RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status);
/external/cronet/third_party/icu/source/common/unicode/
Drbbi.h41 struct RBBIDataHeader;
169 RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRBBIDataWrapper.java165 public RBBIDataHeader fHeader;
244 public final static class RBBIDataHeader { class in RBBIDataWrapper
270 public RBBIDataHeader() { in RBBIDataHeader() method in RBBIDataWrapper.RBBIDataHeader
298 This.fHeader = new RBBIDataHeader(); in get()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRBBIDataWrapper.java168 public RBBIDataHeader fHeader;
248 public final static class RBBIDataHeader { class in RBBIDataWrapper
274 public RBBIDataHeader() { in RBBIDataHeader() method in RBBIDataWrapper.RBBIDataHeader
302 This.fHeader = new RBBIDataHeader(); in get()
/external/icu/icu4c/source/tools/genbrk/
Dgenbrk.cpp310 …uprv_memcpy(dh.info.formatVersion, ((RBBIDataHeader *)outData)->fFormatVersion, sizeof(dh.info.for… in main()
/external/cronet/third_party/icu/source/tools/genbrk/
Dgenbrk.cpp310 …uprv_memcpy(dh.info.formatVersion, ((RBBIDataHeader *)outData)->fFormatVersion, sizeof(dh.info.for… in main()
/external/icu/icu4c/source/test/intltest/
Drbbiapts.cpp1043 builtSource = (const char *)(builtRules + ((RBBIDataHeader*)builtRules)->fRuleSource); in RoundtripRule()
/external/cronet/third_party/icu/source/test/intltest/
Drbbiapts.cpp1043 builtSource = (const char *)(builtRules + ((RBBIDataHeader*)builtRules)->fRuleSource); in RoundtripRule()