Lines Matching refs:capacity
30 UScriptCode *dest, int32_t capacity, UErrorCode *err) { in setCodes() argument
33 if(length > capacity) { in setCodes()
44 setOneCode(UScriptCode script, UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in setOneCode() argument
46 if(1 > capacity) { in setOneCode()
56 UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in getCodesFromLocale() argument
69 return setCodes(JAPANESE, UPRV_LENGTHOF(JAPANESE), scripts, capacity, err); in getCodesFromLocale()
72 return setCodes(KOREAN, UPRV_LENGTHOF(KOREAN), scripts, capacity, err); in getCodesFromLocale()
79 return setCodes(HAN_BOPO, UPRV_LENGTHOF(HAN_BOPO), scripts, capacity, err); in getCodesFromLocale()
88 return setOneCode(scriptCode, scripts, capacity, err); in getCodesFromLocale()
98 int32_t capacity, in uscript_getCode() argument
109 (fillIn == NULL ? capacity != 0 : capacity < 0)) { in uscript_getCode()
119 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()
124 length = getCodesFromLocale(nameOrAbbrOrLocale, fillIn, capacity, err); in uscript_getCode()
131 length = getCodesFromLocale(likely, fillIn, capacity, err); in uscript_getCode()
140 return setOneCode(code, fillIn, capacity, err); in uscript_getCode()