Lines Matching defs:LENGTHOF
13 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof(array[0]))
244 for(i=0; i<LENGTHOF(codepoints); ++i){
355 if(LENGTHOF(expectedLong)!=(USCRIPT_CODE_LIMIT-USCRIPT_BALINESE)) {
369 for(i=0; i<LENGTHOF(expectedLong); i++){
373 len = uscript_getCode(expectedShort[i], fillIn, LENGTHOF(fillIn), &status);
454 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode);
460 length=uscript_getScriptExtensions(0x0640, NULL, LENGTHOF(scripts), &errorCode);
493 length=uscript_getScriptExtensions(-1, scripts, LENGTHOF(scripts), &errorCode);
499 length=uscript_getScriptExtensions(0x110000, scripts, LENGTHOF(scripts), &errorCode);
513 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode);
521 length=uscript_getScriptExtensions(0xfdf2, scripts, LENGTHOF(scripts), &errorCode);
527 length=uscript_getScriptExtensions(0xff65, scripts, LENGTHOF(scripts), &errorCode);
539 if(uscript_getSampleString(USCRIPT_LATIN, sample, LENGTHOF(sample), &errorCode)!=1 ||
552 if(uscript_getSampleString(USCRIPT_INVALID_CODE, sample, LENGTHOF(sample), &errorCode)!=0 ||
604 for(i=0; i<LENGTHOF(falseValues); ++i) {
609 for(i=0; i<LENGTHOF(trueValues); ++i) {