Lines Matching refs:spanCondition

861      * @param spanCondition specifies the containment condition
862 * @return the length of the initial substring according to the spanCondition;
863 * 0 if the start of the string does not fit the spanCondition
867 int32_t span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const;
871 * Same as <code>start+span(s.getBuffer()+start, s.length()-start, spanCondition)</code>
875 * @param spanCondition specifies the containment condition
876 * @return the exclusive end of the substring according to the spanCondition;
877 * the substring s.tempSubStringBetween(start, end) fulfills the spanCondition
881 inline int32_t span(const UnicodeString &s, int32_t start, USetSpanCondition spanCondition) const;
894 * @param spanCondition specifies the containment condition
895 * @return the start of the trailing substring according to the spanCondition;
896 * the string length if the end of the string does not fit the spanCondition
900 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const;
904 * Same as <code>spanBack(s.getBuffer(), limit, spanCondition)</code>
909 * @param spanCondition specifies the containment condition
910 * @return the start of the substring according to the spanCondition;
911 * the substring s.tempSubStringBetween(start, limit) fulfills the spanCondition
915 inline int32_t spanBack(const UnicodeString &s, int32_t limit, USetSpanCondition spanCondition) const;
929 * @param spanCondition specifies the containment condition
930 * @return the length of the initial substring according to the spanCondition;
931 * 0 if the start of the string does not fit the spanCondition
935 int32_t spanUTF8(const char *s, int32_t length, USetSpanCondition spanCondition) const;
948 * @param spanCondition specifies the containment condition
949 * @return the start of the trailing substring according to the spanCondition;
950 * the string length if the end of the string does not fit the spanCondition
954 int32_t spanBackUTF8(const char *s, int32_t length, USetSpanCondition spanCondition) const;
1665 inline int32_t UnicodeSet::span(const UnicodeString &s, int32_t start, USetSpanCondition spanCondition) const {
1672 return start+span(s.getBuffer()+start, sLength-start, spanCondition);
1675 inline int32_t UnicodeSet::spanBack(const UnicodeString &s, int32_t limit, USetSpanCondition spanCondition) const {
1682 return spanBack(s.getBuffer(), limit, spanCondition);