Home
last modified time | relevance | path

Searched refs:os2 (Results 1 – 25 of 231) sorted by relevance

12345678910

/external/sfntly/cpp/src/test/
Dverify_os2.cc58 OS2TablePtr os2 = down_cast<OS2Table*>(table); in VerifyOS_2() local
59 if (os2 == NULL) { in VerifyOS_2()
63 EXPECT_EQ(os2->TableVersion(), OS2_VERSION); in VerifyOS_2()
64 EXPECT_EQ(os2->XAvgCharWidth(), OS2_XAVG_CHAR_WIDTH); in VerifyOS_2()
65 EXPECT_EQ(os2->UsWeightClass(), OS2_US_WEIGHT_CLASS); in VerifyOS_2()
66 EXPECT_EQ(os2->UsWidthClass(), OS2_US_WIDTH_CLASS); in VerifyOS_2()
67 EXPECT_EQ(os2->FsType(), OS2_FS_TYPE); in VerifyOS_2()
68 EXPECT_EQ(os2->YSubscriptXSize(), OS2_YSUBS_XSIZE); in VerifyOS_2()
69 EXPECT_EQ(os2->YSubscriptYSize(), OS2_YSUBS_YSIZE); in VerifyOS_2()
70 EXPECT_EQ(os2->YSubscriptXOffset(), OS2_YSUBS_XOFFSET); in VerifyOS_2()
[all …]
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.assign/
Dmove_assign.pass.cpp48 test_ostream<char> os2(&sb2); in main() local
49 os2 = (std::move(os1)); in main()
58 assert(os2.rdbuf() == &sb2); in main()
59 assert(os2.tie() == 0); in main()
60 assert(os2.fill() == ' '); in main()
61 assert(os2.rdstate() == os2.goodbit); in main()
62 assert(os2.exceptions() == os2.goodbit); in main()
63 assert(os2.flags() == (os2.skipws | os2.dec)); in main()
64 assert(os2.precision() == 6); in main()
65 assert(os2.getloc().name() == "C"); in main()
[all …]
Dmember_swap.pass.cpp43 test_ostream<char> os2(&sb2); in main() local
44 os1.swap(os2); in main()
53 assert(os2.rdbuf() == &sb2); in main()
54 assert(os2.tie() == 0); in main()
55 assert(os2.fill() == ' '); in main()
56 assert(os2.rdstate() == os2.goodbit); in main()
57 assert(os2.exceptions() == os2.goodbit); in main()
58 assert(os2.flags() == (os2.skipws | os2.dec)); in main()
59 assert(os2.precision() == 6); in main()
60 assert(os2.getloc().name() == "C"); in main()
[all …]
/external/llvm-project/libcxx/test/std/input.output/iostream.format/output.streams/ostream.assign/
Dmember_swap.pass.cpp44 test_ostream<char> os2(&sb2); in main() local
45 os1.swap(os2); in main()
54 assert(os2.rdbuf() == &sb2); in main()
55 assert(os2.tie() == 0); in main()
56 assert(os2.fill() == ' '); in main()
57 assert(os2.rdstate() == os2.goodbit); in main()
58 assert(os2.exceptions() == os2.goodbit); in main()
59 assert(os2.flags() == (os2.skipws | os2.dec)); in main()
60 assert(os2.precision() == 6); in main()
61 assert(os2.getloc().name() == "C"); in main()
[all …]
Dmove_assign.pass.cpp49 test_ostream<char> os2(&sb2); in main() local
50 os2 = (std::move(os1)); in main()
59 assert(os2.rdbuf() == &sb2); in main()
60 assert(os2.tie() == 0); in main()
61 assert(os2.fill() == ' '); in main()
62 assert(os2.rdstate() == os2.goodbit); in main()
63 assert(os2.exceptions() == os2.goodbit); in main()
64 assert(os2.flags() == (os2.skipws | os2.dec)); in main()
65 assert(os2.precision() == 6); in main()
66 assert(os2.getloc().name() == "C"); in main()
[all …]
/external/freetype/builds/os2/
Ddetect.mk23 PLATFORM := os2
28 ifeq ($(PLATFORM),os2)
36 CONFIG_FILE := os2-gcc.mk
41 CONFIG_FILE := os2-icc.mk
50 CONFIG_FILE := os2-wat.mk
59 CONFIG_FILE := os2-bcc.mk
68 CONFIG_FILE := os2-dev.mk
Dos2-gcc.mk17 include $(TOP_DIR)/builds/os2/os2-def.mk
Dos2-def.mk19 BUILD_DIR := $(TOP_DIR)/builds/os2
20 PLATFORM := os2
Dos2-dev.mk21 include $(TOP_DIR)/builds/os2/os2-def.mk
/external/llvm-project/llvm/unittests/Support/
DDebugTest.cpp19 raw_string_ostream os1(s1), os2(s2); in TEST() local
29 DEBUG_WITH_TYPE("A", os2 << "A"); in TEST()
30 DEBUG_WITH_TYPE("B", os2 << "B"); in TEST()
31 EXPECT_EQ("A", os2.str()); in TEST()
/external/freetype/src/base/
Dftfstype.c29 TT_OS2* os2; in FT_Get_FSType_Flags() local
53 if ( ( os2 = (TT_OS2*)FT_Get_Sfnt_Table( face, FT_SFNT_OS2 ) ) != NULL && in FT_Get_FSType_Flags()
54 os2->version != 0xFFFFU ) in FT_Get_FSType_Flags()
55 return os2->fsType; in FT_Get_FSType_Flags()
/external/freetype/src/sfnt/
Dttload.c1124 TT_OS2* os2; in tt_face_load_os2() local
1216 os2 = &face->os2; in tt_face_load_os2()
1218 if ( FT_STREAM_READ_FIELDS( os2_fields, os2 ) ) in tt_face_load_os2()
1221 os2->ulCodePageRange1 = 0; in tt_face_load_os2()
1222 os2->ulCodePageRange2 = 0; in tt_face_load_os2()
1223 os2->sxHeight = 0; in tt_face_load_os2()
1224 os2->sCapHeight = 0; in tt_face_load_os2()
1225 os2->usDefaultChar = 0; in tt_face_load_os2()
1226 os2->usBreakChar = 0; in tt_face_load_os2()
1227 os2->usMaxContext = 0; in tt_face_load_os2()
[all …]
Dsfobjs.c964 LOAD_( os2 ); in sfnt_load_face()
968 face->os2.version = 0xFFFFU; in sfnt_load_face()
1000 if ( face->os2.version != 0xFFFFU && face->os2.fsSelection & 256 ) in sfnt_load_face()
1089 if ( has_outline == TRUE && face->os2.version != 0xFFFFU ) in sfnt_load_face()
1095 if ( face->os2.fsSelection & 512 ) /* bit 9 */ in sfnt_load_face()
1097 else if ( face->os2.fsSelection & 1 ) /* bit 0 */ in sfnt_load_face()
1100 if ( face->os2.fsSelection & 32 ) /* bit 5 */ in sfnt_load_face()
1193 FT_Short avgwidth = face->os2.xAvgCharWidth; in sfnt_load_face()
1200 if ( em_size == 0 || face->os2.version == 0xFFFFU ) in sfnt_load_face()
1312 if ( face->os2.version != 0xFFFFU && face->os2.fsSelection & 128 ) in sfnt_load_face()
[all …]
/external/fonttools/Tests/ttLib/tables/
DO_S_2f_2_test.py32 font['OS/2'] = os2 = newTable('OS/2')
39 os2.setUnicodeRanges({0, 1, 9})
43 self.assertEqual(os2.recalcUnicodeRanges(font, pruneOnly=True), {0, 9})
45 self.assertEqual(os2.recalcUnicodeRanges(font), {0, 7, 9})
49 self.assertEqual(os2.recalcUnicodeRanges(font), {0, 7, 9, 57, 122})
/external/deqp-deps/glslang/Test/
Dhlsl.flattenOpaque.frag5 struct os2 {
12 os2 s2;
24 float4 os2Call1(os2 s)
29 float4 os2Call2(os2 s, float2 f2)
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dhlsl.flattenOpaque.frag5 struct os2 {
12 os2 s2;
24 float4 os2Call1(os2 s)
29 float4 os2Call2(os2 s, float2 f2)
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dhlsl.flattenOpaque.frag.out35 0:25 Function Definition: os2Call1(struct-os2-p1-t211; ( temp 4-component vector of float)
53 0:30 Function Definition: os2Call2(struct-os2-p1-t211;vf2; ( temp 4-component vector of float)
100 0:38 Function Call: os2Call1(struct-os2-p1-t211; ( temp 4-component vector of float)
116 0:39 Function Call: os2Call2(struct-os2-p1-t211;vf2; ( temp 4-component vector of float)
184 0:25 Function Definition: os2Call1(struct-os2-p1-t211; ( temp 4-component vector of float)
202 0:30 Function Definition: os2Call2(struct-os2-p1-t211;vf2; ( temp 4-component vector of float)
249 0:38 Function Call: os2Call1(struct-os2-p1-t211; ( temp 4-component vector of float)
265 0:39 Function Call: os2Call2(struct-os2-p1-t211;vf2; ( temp 4-component vector of float)
315 Name 23 "os2"
316 MemberName 23(os2) 0 "s2D"
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.flattenOpaque.frag.out35 0:25 Function Definition: os2Call1(struct-os2-p1-t211; ( temp 4-component vector of float)
53 0:30 Function Definition: os2Call2(struct-os2-p1-t211;vf2; ( temp 4-component vector of float)
100 0:38 Function Call: os2Call1(struct-os2-p1-t211; ( temp 4-component vector of float)
116 0:39 Function Call: os2Call2(struct-os2-p1-t211;vf2; ( temp 4-component vector of float)
184 0:25 Function Definition: os2Call1(struct-os2-p1-t211; ( temp 4-component vector of float)
202 0:30 Function Definition: os2Call2(struct-os2-p1-t211;vf2; ( temp 4-component vector of float)
249 0:38 Function Call: os2Call1(struct-os2-p1-t211; ( temp 4-component vector of float)
265 0:39 Function Call: os2Call2(struct-os2-p1-t211;vf2; ( temp 4-component vector of float)
315 Name 23 "os2"
316 MemberName 23(os2) 0 "s2D"
[all …]
/external/python/cpython2/Modules/
D_localemodule.c285 PyObject *os1, *os2, *result = NULL; in PyLocale_strcoll()
289 if (!PyArg_UnpackTuple(args, "strcoll", 2, 2, &os1, &os2)) in PyLocale_strcoll()
292 if (PyString_Check(os1) && PyString_Check(os2)) in PyLocale_strcoll()
294 PyString_AS_STRING(os2))); in PyLocale_strcoll()
296 if (!PyUnicode_Check(os1) && !PyUnicode_Check(os2)) { in PyLocale_strcoll()
306 if (!PyUnicode_Check(os2)) { in PyLocale_strcoll()
307 os2 = PyUnicode_FromObject(os2); in PyLocale_strcoll()
308 if (!os2) { in PyLocale_strcoll()
326 len2 = PyUnicode_GET_SIZE(os2) + 1; in PyLocale_strcoll()
332 if (PyUnicode_AsWideChar((PyUnicodeObject*)os2, ws2, len2) == -1) in PyLocale_strcoll()
[all …]
/external/llvm-project/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
Dpointer.pass.cpp71 std::ostream os2(&sb2); in main() local
73 os2 << &n2; in main()
74 assert(os2.good()); in main()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
Dpointer.pass.cpp70 std::ostream os2(&sb2); in main() local
72 os2 << &n2; in main()
73 assert(os2.good()); in main()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DTarTestCase.java87 ArchiveOutputStream os2 = null; in testTarArchiveLongNameCreation() local
92 os2 = new ArchiveStreamFactory().createArchiveOutputStream("tar", out2); in testTarArchiveLongNameCreation()
101 os2.putArchiveEntry(entry); in testTarArchiveLongNameCreation()
102 IOUtils.copy(new FileInputStream(file1), os2); in testTarArchiveLongNameCreation()
103 os2.closeArchiveEntry(); in testTarArchiveLongNameCreation()
107 if (os2 != null){ in testTarArchiveLongNameCreation()
108 os2.close(); in testTarArchiveLongNameCreation()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream_sentry/
Dconstruct.pass.cpp54 std::ostream os2(&sb2); in main() local
55 os.tie(&os2); in main()
/external/llvm-project/libcxx/test/std/input.output/iostream.format/output.streams/ostream_sentry/
Dconstruct.pass.cpp55 std::ostream os2(&sb2); in main() local
56 os.tie(&os2); in main()
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp1397 TT_OS2* os2 = (TT_OS2*) FT_Get_Sfnt_Table(face, ft_sfnt_os2); in generateFontMetrics() local
1398 if (os2) { in generateFontMetrics()
1399 x_height = SkIntToScalar(os2->sxHeight) / upem * fScale.y(); in generateFontMetrics()
1400 avgCharWidth = SkIntToScalar(os2->xAvgCharWidth) / upem; in generateFontMetrics()
1401 strikeoutThickness = SkIntToScalar(os2->yStrikeoutSize) / upem; in generateFontMetrics()
1402 strikeoutPosition = -SkIntToScalar(os2->yStrikeoutPosition) / upem; in generateFontMetrics()
1405 if (os2->version != 0xFFFF && os2->version >= 2) { in generateFontMetrics()
1406 cap_height = SkIntToScalar(os2->sCapHeight) / upem * fScale.y(); in generateFontMetrics()
1419 if (os2 && os2->version != 0xFFFF && (os2->fsSelection & kUseTypoMetricsMask)) { in generateFontMetrics()
1420 ascent = -SkIntToScalar(os2->sTypoAscender) / upem; in generateFontMetrics()
[all …]

12345678910