Lines Matching defs:fieldLen
473 int32_t fieldLen[5] = {0};
517 fieldLen[fieldIdx-1] = (int32_t)(separator - field[fieldIdx-1]);
527 fieldLen[fieldIdx-1] = (int32_t)(separator - field[fieldIdx-1]);
529 fieldLen[fieldIdx-1] = length - (int32_t)(field[fieldIdx-1] - fullName);
532 if (fieldLen[0] >= (int32_t)(sizeof(language)))
538 if (fieldLen[0] > 0) {
540 uprv_memcpy(language, fullName, fieldLen[0]);
541 language[fieldLen[0]] = 0;
543 if (fieldLen[1] == 4 && ISASCIIALPHA(field[1][0]) &&
547 uprv_memcpy(script, field[1], fieldLen[1]);
548 script[fieldLen[1]] = 0;
552 if (fieldLen[variantField] == 2 || fieldLen[variantField] == 3) {
554 uprv_memcpy(country, field[variantField], fieldLen[variantField]);
555 country[fieldLen[variantField]] = 0;
557 } else if (fieldLen[variantField] == 0) {
561 if (fieldLen[variantField] > 0) {