Lines Matching refs:capacity
28 UScriptCode *dest, int32_t capacity, UErrorCode *err) { in setCodes() argument
31 if(length > capacity) { in setCodes()
42 setOneCode(UScriptCode script, UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in setOneCode() argument
44 if(1 > capacity) { in setOneCode()
54 UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in getCodesFromLocale() argument
67 return setCodes(JAPANESE, UPRV_LENGTHOF(JAPANESE), scripts, capacity, err); in getCodesFromLocale()
70 return setCodes(KOREAN, UPRV_LENGTHOF(KOREAN), scripts, capacity, err); in getCodesFromLocale()
77 return setCodes(HAN_BOPO, UPRV_LENGTHOF(HAN_BOPO), scripts, capacity, err); in getCodesFromLocale()
86 return setOneCode(scriptCode, scripts, capacity, err); in getCodesFromLocale()
96 int32_t capacity, in uscript_getCode() argument
107 (fillIn == NULL ? capacity != 0 : capacity < 0)) { in uscript_getCode()
117 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
122 length = getCodesFromLocale(nameOrAbbrOrLocale, fillIn, capacity, err); in uscript_getCode()
129 length = getCodesFromLocale(likely, fillIn, capacity, err); in uscript_getCode()
138 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()