Lines Matching refs:supported
370 ResTable_config supported, requested; in TEST() local
372 fillIn(NULL, NULL, NULL, NULL, &supported); in TEST()
375 EXPECT_TRUE(supported.match(requested)); in TEST()
377 fillIn("en", "CA", NULL, NULL, &supported); in TEST()
380 EXPECT_FALSE(supported.match(requested)); in TEST()
382 fillIn("tl", "PH", NULL, NULL, &supported); in TEST()
385 EXPECT_TRUE(supported.match(requested)); in TEST()
387 fillIn("qaa", "FR", NULL, NULL, &supported); in TEST()
390 EXPECT_FALSE(supported.match(requested)); in TEST()
392 fillIn("qaa", "FR", "Latn", NULL, &supported); in TEST()
395 EXPECT_FALSE(supported.match(requested)); in TEST()
397 fillIn("qaa", "FR", NULL, NULL, &supported); in TEST()
400 EXPECT_FALSE(supported.match(requested)); in TEST()
402 fillIn("qaa", NULL, NULL, NULL, &supported); in TEST()
406 EXPECT_TRUE(supported.match(requested)); in TEST()
408 fillIn("qaa", "CA", NULL, NULL, &supported); in TEST()
411 EXPECT_TRUE(supported.match(requested)); in TEST()
413 fillIn("az", NULL, NULL, NULL, &supported); in TEST()
417 EXPECT_TRUE(supported.match(requested)); in TEST()
419 fillIn("az", NULL, NULL, NULL, &supported); in TEST()
422 EXPECT_FALSE(supported.match(requested)); in TEST()
424 fillIn("az", NULL, NULL, NULL, &supported); in TEST()
427 EXPECT_FALSE(supported.match(requested)); in TEST()
429 fillIn("az", "IR", NULL, NULL, &supported); in TEST()
433 EXPECT_TRUE(supported.match(requested)); in TEST()
435 fillIn("en", NULL, NULL, NULL, &supported); in TEST()
438 EXPECT_FALSE(supported.match(requested)); in TEST()
440 fillIn("en", "XA", NULL, NULL, &supported); in TEST()
443 EXPECT_FALSE(supported.match(requested)); in TEST()
445 fillIn("en", "XA", NULL, NULL, &supported); in TEST()
448 EXPECT_TRUE(supported.match(requested)); in TEST()
450 fillIn("ar", NULL, NULL, NULL, &supported); in TEST()
453 EXPECT_FALSE(supported.match(requested)); in TEST()
455 fillIn("ar", "XB", NULL, NULL, &supported); in TEST()
458 EXPECT_FALSE(supported.match(requested)); in TEST()
460 fillIn("ar", "XB", NULL, NULL, &supported); in TEST()
463 EXPECT_TRUE(supported.match(requested)); in TEST()
465 fillIn("ar", "EG", NULL, NULL, &supported); in TEST()
467 memcpy(&supported.localeNumberingSystem, "latn", 4); in TEST()
468 EXPECT_TRUE(supported.match(requested)); in TEST()
472 ResTable_config supported, requested; in TEST() local
474 fillIn("fr", "FR", NULL, NULL, &supported); in TEST()
478 memset(supported.localeScript, '\0', 4); in TEST()
479 supported.localeScriptWasComputed = false; in TEST()
481 EXPECT_TRUE(supported.match(requested)); in TEST()