Lines Matching defs:length
45 /* TODO: Need to check alias name length is less than UCNV_MAX_CONVERTER_NAME_LENGTH */
177 allocString(StringBlock *block, const char *s, int32_t length);
424 uint16_t pos=0, start, limit, length, cnv;
447 length=(uint16_t)(limit-start);
448 converter=allocString(&stringBlock, line+start, length);
477 length=(uint16_t)(limit-start);
484 alias=allocString(&stringBlock, line+start, length);
1085 allocString(StringBlock *block, const char *s, int32_t length) {
1089 if(length<0) {
1090 length=(int32_t)uprv_strlen(s);
1098 top=block->top + (uint32_t)((length + 1 + 1) & ~1);
1107 uprv_memcpy(p, s, length);
1108 p[length] = 0; /* NUL-terminate it */
1109 if((length & 1) == 0) {
1110 p[length + 1] = 0; /* set the padding byte */
1114 if(!uprv_isInvariantString(p, length)) {