Lines Matching defs:source
14 * This source code is provided as is by Unicode, Inc. No claims are
37 here, but is handled in a separate source file.
48 and if not, whether the problem was in the source or target buffers.
56 sourceStart - pointer to a pointer to the source buffer.
79 sequence is malformed. When "sourceIllegal" is returned, the source
120 sourceExhausted, /* partial character in source, but hit end */
122 sourceIllegal /* source sequence is illegal/malformed */
159 Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd);
161 Boolean isLegalUTF8String(const UTF8 **source, const UTF8 *sourceEnd);
201 * Convert the first UTF8 sequence in the given source buffer to a UTF32
204 * \param [in,out] source A pointer to the source buffer. If the conversion
207 * \param sourceEnd A pointer just past the end of the source buffer.
215 static inline ConversionResult convertUTF8Sequence(const UTF8 **source,
219 if (*source == sourceEnd)
221 unsigned size = getNumBytesForUTF8(**source);
222 if ((ptrdiff_t)size > sourceEnd - *source)
224 return ConvertUTF8toUTF32(source, *source + size, &target, target + 1, flags);