Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
ed07422c
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
1 年多 前同步成功
通知
0
Star
18
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Harfbuzz
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ed07422c
编写于
5月 10, 2010
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Further cleanup of sizeof
上级
a82ef7a8
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
25 addition
and
6 deletion
+25
-6
src/hb-open-type-private.hh
src/hb-open-type-private.hh
+5
-2
src/hb-ot-layout-common-private.hh
src/hb-ot-layout-common-private.hh
+4
-0
src/hb-ot-layout-gdef-private.hh
src/hb-ot-layout-gdef-private.hh
+4
-0
src/hb-ot-layout-gpos-private.hh
src/hb-ot-layout-gpos-private.hh
+7
-3
src/hb-ot-layout-gsub-private.hh
src/hb-ot-layout-gsub-private.hh
+3
-1
src/hb-ot-layout-gsubgpos-private.hh
src/hb-ot-layout-gsubgpos-private.hh
+2
-0
未找到文件。
src/hb-open-type-private.hh
浏览文件 @
ed07422c
...
...
@@ -120,7 +120,7 @@ static const void *_NullPool[32 / sizeof (void *)];
/* Generic template for nul-content sizeof-sized Null objects. */
template
<
typename
Type
>
static
inline
const
Type
&
Null
()
{
ASSERT_STATIC
(
sizeof
(
Type
)
<=
sizeof
(
_NullPool
));
ASSERT_STATIC
(
Type
::
min_size
<=
sizeof
(
_NullPool
));
return
*
CastP
<
Type
>
(
_NullPool
);
}
...
...
@@ -673,7 +673,10 @@ struct HeadlessArrayOf
}
USHORT
len
;
/*Type array[VAR];*/
private:
Type
arrayX
[
VAR
];
public:
DEFINE_SIZE_VAR
(
sizeof
(
USHORT
),
Type
);
};
...
...
src/hb-ot-layout-common-private.hh
浏览文件 @
ed07422c
...
...
@@ -439,6 +439,8 @@ struct Coverage
CoverageFormat1
format1
[
VAR
];
CoverageFormat2
format2
[
VAR
];
}
u
;
public:
DEFINE_SIZE_MIN
(
2
);
};
...
...
@@ -559,6 +561,8 @@ struct ClassDef
ClassDefFormat1
format1
[
VAR
];
ClassDefFormat2
format2
[
VAR
];
}
u
;
public:
DEFINE_SIZE_MIN
(
2
);
};
...
...
src/hb-ot-layout-gdef-private.hh
浏览文件 @
ed07422c
...
...
@@ -195,6 +195,8 @@ struct CaretValue
CaretValueFormat2
format2
[
VAR
];
CaretValueFormat3
format3
[
VAR
];
}
u
;
public:
DEFINE_SIZE_MIN
(
2
);
};
struct
LigGlyph
...
...
@@ -309,6 +311,8 @@ struct MarkGlyphSets
USHORT
format
;
/* Format identifier */
MarkGlyphSetsFormat1
format1
[
VAR
];
}
u
;
public:
DEFINE_SIZE_MIN
(
2
);
};
...
...
src/hb-ot-layout-gpos-private.hh
浏览文件 @
ed07422c
...
...
@@ -335,6 +335,8 @@ struct Anchor
AnchorFormat2
format2
[
VAR
];
AnchorFormat3
format3
[
VAR
];
}
u
;
public:
DEFINE_SIZE_MIN
(
2
);
};
...
...
@@ -460,7 +462,7 @@ struct SinglePosFormat1
* value(s)--applied to all glyphs in
* the Coverage table */
public:
DEFINE_SIZE_VAR
(
6
,
Value
Record
);
DEFINE_SIZE_VAR
(
6
,
Value
);
};
struct
SinglePosFormat2
...
...
@@ -504,7 +506,7 @@ struct SinglePosFormat2
ValueRecord
values
;
/* Array of ValueRecords--positioning
* values applied to glyphs */
public:
DEFINE_SIZE_VAR
(
8
,
Value
Record
);
DEFINE_SIZE_VAR
(
8
,
Value
);
};
struct
SinglePos
...
...
@@ -552,7 +554,7 @@ struct PairValueRecord
ValueRecord
values
;
/* Positioning data for the first glyph
* followed by for second glyph */
public:
DEFINE_SIZE_VAR
(
2
,
Value
Record
);
DEFINE_SIZE_VAR
(
2
,
Value
);
};
struct
PairSet
...
...
@@ -1487,6 +1489,8 @@ struct PosLookupSubTable
ChainContextPos
chainContext
[
VAR
];
ExtensionPos
extension
[
VAR
];
}
u
;
public:
DEFINE_SIZE_MIN
(
2
);
};
...
...
src/hb-ot-layout-gsub-private.hh
浏览文件 @
ed07422c
...
...
@@ -443,7 +443,7 @@ struct Ligature
* with the second component--ordered
* in writing direction */
public:
DEFINE_SIZE_
STATIC
(
4
);
DEFINE_SIZE_
VAR
(
4
,
GlyphID
);
};
struct
LigatureSet
...
...
@@ -758,6 +758,8 @@ struct SubstLookupSubTable
ExtensionSubst
extension
[
VAR
];
ReverseChainSingleSubst
reverseChainContextSingle
[
VAR
];
}
u
;
public:
DEFINE_SIZE_MIN
(
2
);
};
...
...
src/hb-ot-layout-gsubgpos-private.hh
浏览文件 @
ed07422c
...
...
@@ -330,6 +330,8 @@ struct RuleSet
OffsetArrayOf
<
Rule
>
rule
;
/* Array of Rule tables
* ordered by preference */
public:
DEFINE_SIZE_VAR
(
2
,
OffsetTo
<
Rule
>
);
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录