/external/chromium_org/third_party/ots/src/ |
D | os2.cc | 17 OpenTypeOS2 *os2 = new OpenTypeOS2; in ots_os2_parse() local 18 file->os2 = os2; in ots_os2_parse() 20 if (!table.ReadU16(&os2->version) || in ots_os2_parse() 21 !table.ReadS16(&os2->avg_char_width) || in ots_os2_parse() 22 !table.ReadU16(&os2->weight_class) || in ots_os2_parse() 23 !table.ReadU16(&os2->width_class) || in ots_os2_parse() 24 !table.ReadU16(&os2->type) || in ots_os2_parse() 25 !table.ReadS16(&os2->subscript_x_size) || in ots_os2_parse() 26 !table.ReadS16(&os2->subscript_y_size) || in ots_os2_parse() 27 !table.ReadS16(&os2->subscript_x_offset) || in ots_os2_parse() [all …]
|
D | cmap.cc | 69 if (!file->os2) { in ParseFormat4() 195 if (file->os2->first_char_index != 0xFFFF && in ParseFormat4() 197 file->os2->first_char_index > ranges[i].start_range) { in ParseFormat4() 198 file->os2->first_char_index = ranges[i].start_range; in ParseFormat4() 200 if (file->os2->last_char_index != 0xFFFF && in ParseFormat4() 202 file->os2->last_char_index < ranges[i].end_range) { in ParseFormat4() 203 file->os2->last_char_index = ranges[i].end_range; in ParseFormat4()
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
D | verify_os2.cc | 58 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/sfntly/cpp/src/test/ |
D | verify_os2.cc | 58 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/input.output/iostream.format/output.streams/ostream.assign/ |
D | move_assign.pass.cpp | 49 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 …]
|
D | member_swap.pass.cpp | 43 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/chromium_org/third_party/openssl/openssl/crypto/pkcs7/ |
D | example.c | 80 ASN1_OCTET_STRING *os1,*os2; in add_signed_seq2string() local 90 os2=ASN1_OCTET_STRING_new(); in add_signed_seq2string() 92 ASN1_OCTET_STRING_set(os2,(unsigned char*)str1,strlen(str1)); in add_signed_seq2string() 94 i+=i2d_ASN1_OCTET_STRING(os2,NULL); in add_signed_seq2string() 101 i2d_ASN1_OCTET_STRING(os2,&p); in add_signed_seq2string() 107 ASN1_OCTET_STRING_free(os2); in add_signed_seq2string() 129 ASN1_OCTET_STRING *os1,*os2; in get_signed_seq2string() local 143 if ((os2=d2i_ASN1_OCTET_STRING(NULL,&c.p,c.slen)) == NULL) in get_signed_seq2string() 149 *str2=malloc(os2->length+1); in get_signed_seq2string() 151 memcpy(*str2,os2->data,os2->length); in get_signed_seq2string() [all …]
|
/external/openssl/crypto/pkcs7/ |
D | example.c | 80 ASN1_OCTET_STRING *os1,*os2; in add_signed_seq2string() local 90 os2=ASN1_OCTET_STRING_new(); in add_signed_seq2string() 92 ASN1_OCTET_STRING_set(os2,(unsigned char*)str1,strlen(str1)); in add_signed_seq2string() 94 i+=i2d_ASN1_OCTET_STRING(os2,NULL); in add_signed_seq2string() 101 i2d_ASN1_OCTET_STRING(os2,&p); in add_signed_seq2string() 107 ASN1_OCTET_STRING_free(os2); in add_signed_seq2string() 129 ASN1_OCTET_STRING *os1,*os2; in get_signed_seq2string() local 143 if ((os2=d2i_ASN1_OCTET_STRING(NULL,&c.p,c.slen)) == NULL) in get_signed_seq2string() 149 *str2=malloc(os2->length+1); in get_signed_seq2string() 151 memcpy(*str2,os2->data,os2->length); in get_signed_seq2string() [all …]
|
/external/freetype/src/sfnt/ |
D | ttload.c | 952 TT_OS2* os2; in tt_face_load_os2() local 1044 os2 = &face->os2; in tt_face_load_os2() 1046 if ( FT_STREAM_READ_FIELDS( os2_fields, os2 ) ) in tt_face_load_os2() 1049 os2->ulCodePageRange1 = 0; in tt_face_load_os2() 1050 os2->ulCodePageRange2 = 0; in tt_face_load_os2() 1051 os2->sxHeight = 0; in tt_face_load_os2() 1052 os2->sCapHeight = 0; in tt_face_load_os2() 1053 os2->usDefaultChar = 0; in tt_face_load_os2() 1054 os2->usBreakChar = 0; in tt_face_load_os2() 1055 os2->usMaxContext = 0; in tt_face_load_os2() [all …]
|
D | sfobjs.c | 1128 LOAD_( os2 ); in sfnt_load_face() 1132 face->os2.version = 0xFFFFU; in sfnt_load_face() 1177 if ( face->os2.version != 0xFFFFU && face->os2.fsSelection & 256 ) in sfnt_load_face() 1261 if ( has_outline == TRUE && face->os2.version != 0xFFFFU ) in sfnt_load_face() 1267 if ( face->os2.fsSelection & 512 ) /* bit 9 */ in sfnt_load_face() 1269 else if ( face->os2.fsSelection & 1 ) /* bit 0 */ in sfnt_load_face() 1272 if ( face->os2.fsSelection & 32 ) /* bit 5 */ in sfnt_load_face() 1340 FT_Short avgwidth = face->os2.xAvgCharWidth; in sfnt_load_face() 1344 if ( em_size == 0 || face->os2.version == 0xFFFFU ) in sfnt_load_face() 1438 if ( face->os2.version != 0xFFFFU ) in sfnt_load_face() [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
D | ftfstype.c | 30 TT_OS2* os2; in FT_Get_FSType_Flags() local 54 if ( ( os2 = (TT_OS2*)FT_Get_Sfnt_Table( face, ft_sfnt_os2 ) ) != NULL && in FT_Get_FSType_Flags() 55 os2->version != 0xFFFFU ) in FT_Get_FSType_Flags() 56 return os2->fsType; in FT_Get_FSType_Flags()
|
/external/freetype/src/base/ |
D | ftfstype.c | 30 TT_OS2* os2; in FT_Get_FSType_Flags() local 54 if ( ( os2 = (TT_OS2*)FT_Get_Sfnt_Table( face, ft_sfnt_os2 ) ) != NULL && in FT_Get_FSType_Flags() 55 os2->version != 0xFFFFU ) in FT_Get_FSType_Flags() 56 return os2->fsType; in FT_Get_FSType_Flags()
|
/external/chromium_org/third_party/freetype/src/base/ |
D | ftfstype.c | 30 TT_OS2* os2; in FT_Get_FSType_Flags() local 54 if ( ( os2 = (TT_OS2*)FT_Get_Sfnt_Table( face, ft_sfnt_os2 ) ) != NULL && in FT_Get_FSType_Flags() 55 os2->version != 0xFFFFU ) in FT_Get_FSType_Flags() 56 return os2->fsType; in FT_Get_FSType_Flags()
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
D | ttload.c | 955 TT_OS2* os2; in tt_face_load_os2() local 1036 os2 = &face->os2; in tt_face_load_os2() 1038 if ( FT_STREAM_READ_FIELDS( os2_fields, os2 ) ) in tt_face_load_os2() 1041 os2->ulCodePageRange1 = 0; in tt_face_load_os2() 1042 os2->ulCodePageRange2 = 0; in tt_face_load_os2() 1043 os2->sxHeight = 0; in tt_face_load_os2() 1044 os2->sCapHeight = 0; in tt_face_load_os2() 1045 os2->usDefaultChar = 0; in tt_face_load_os2() 1046 os2->usBreakChar = 0; in tt_face_load_os2() 1047 os2->usMaxContext = 0; in tt_face_load_os2() [all …]
|
D | sfobjs.c | 720 LOAD_( os2 ); in sfnt_load_face() 724 face->os2.version = 0xFFFFU; in sfnt_load_face() 769 if ( face->os2.version != 0xFFFFU && face->os2.fsSelection & 256 ) in sfnt_load_face() 849 if ( has_outline == TRUE && face->os2.version != 0xFFFFU ) in sfnt_load_face() 855 if ( face->os2.fsSelection & 512 ) /* bit 9 */ in sfnt_load_face() 857 else if ( face->os2.fsSelection & 1 ) /* bit 0 */ in sfnt_load_face() 860 if ( face->os2.fsSelection & 32 ) /* bit 5 */ in sfnt_load_face() 928 FT_Short avgwidth = face->os2.xAvgCharWidth; in sfnt_load_face() 932 if ( em_size == 0 || face->os2.version == 0xFFFFU ) in sfnt_load_face() 1026 if ( face->os2.version != 0xFFFFU ) in sfnt_load_face() [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/ |
D | ttload.c | 978 TT_OS2* os2; in tt_face_load_os2() local 1059 os2 = &face->os2; in tt_face_load_os2() 1061 if ( FT_STREAM_READ_FIELDS( os2_fields, os2 ) ) in tt_face_load_os2() 1064 os2->ulCodePageRange1 = 0; in tt_face_load_os2() 1065 os2->ulCodePageRange2 = 0; in tt_face_load_os2() 1066 os2->sxHeight = 0; in tt_face_load_os2() 1067 os2->sCapHeight = 0; in tt_face_load_os2() 1068 os2->usDefaultChar = 0; in tt_face_load_os2() 1069 os2->usBreakChar = 0; in tt_face_load_os2() 1070 os2->usMaxContext = 0; in tt_face_load_os2() [all …]
|
D | sfobjs.c | 722 LOAD_( os2 ); in sfnt_load_face() 726 face->os2.version = 0xFFFFU; in sfnt_load_face() 771 if ( face->os2.version != 0xFFFFU && face->os2.fsSelection & 256 ) in sfnt_load_face() 851 if ( has_outline == TRUE && face->os2.version != 0xFFFFU ) in sfnt_load_face() 857 if ( face->os2.fsSelection & 512 ) /* bit 9 */ in sfnt_load_face() 859 else if ( face->os2.fsSelection & 1 ) /* bit 0 */ in sfnt_load_face() 862 if ( face->os2.fsSelection & 32 ) /* bit 5 */ in sfnt_load_face() 930 FT_Short avgwidth = face->os2.xAvgCharWidth; in sfnt_load_face() 934 if ( em_size == 0 || face->os2.version == 0xFFFFU ) in sfnt_load_face() 1028 if ( face->os2.version != 0xFFFFU ) in sfnt_load_face() [all …]
|
/external/libcxx/test/input.output/iostream.format/output.streams/ostream_sentry/ |
D | construct.pass.cpp | 54 std::ostream os2(&sb2); in main() local 55 os.tie(&os2); in main()
|
/external/chromium_org/third_party/ots/ |
D | ots-common.gypi | 54 'src/os2.cc', 55 'src/os2.h',
|
/external/openssl/crypto/rsa/ |
D | rsa_ameth.c | 582 ASN1_STRING *os1 = NULL, *os2 = NULL; in rsa_item_sign() local 637 os2 = ASN1_STRING_dup(os1); in rsa_item_sign() 638 if (!os2) in rsa_item_sign() 641 V_ASN1_SEQUENCE, os2); in rsa_item_sign() 645 os1 = os2 = NULL; in rsa_item_sign()
|
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
D | rsa_ameth.c | 582 ASN1_STRING *os1 = NULL, *os2 = NULL; in rsa_item_sign() local 637 os2 = ASN1_STRING_dup(os1); in rsa_item_sign() 638 if (!os2) in rsa_item_sign() 641 V_ASN1_SEQUENCE, os2); in rsa_item_sign() 645 os1 = os2 = NULL; in rsa_item_sign()
|
/external/libexif/ |
D | config.rpath | 63 mingw* | pw32* | os2*) 364 os2*) 497 os2*)
|
/external/chromium_org/build/secondary/third_party/ots/ |
D | BUILD.gn | 57 "src/os2.cc", 58 "src/os2.h",
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckSecuritySyntaxOnly.cpp | 615 llvm::raw_svector_ostream os2(buf2); in checkCall_rand() local 616 os2 << "Function '" << *FD in checkCall_rand() 623 "Security", os2.str(), CELoc, in checkCall_rand() 731 llvm::raw_svector_ostream os2(buf2); in checkUncheckedReturnValue() local 732 os2 << "The return value from the call to '" << *FD in checkUncheckedReturnValue() 739 "Security", os2.str(), CELoc, in checkUncheckedReturnValue()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/config/ |
D | config.rpath | 67 mingw* | cygwin* | pw32* | os2*) 436 os2*) 597 os2*)
|