Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
24b8b9b2
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看板
提交
24b8b9b2
编写于
4月 23, 2018
作者:
E
Ebrahim Byagowi
提交者:
Behdad Esfahbod
4月 23, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Resolve clang's used-but-marked-unused warnings
上级
eaf64945
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
22 addition
and
22 deletion
+22
-22
src/hb-debug.hh
src/hb-debug.hh
+2
-2
src/hb-font.cc
src/hb-font.cc
+2
-2
src/hb-ft.cc
src/hb-ft.cc
+4
-4
src/hb-open-type-private.hh
src/hb-open-type-private.hh
+1
-1
src/hb-ot-font.cc
src/hb-ot-font.cc
+3
-3
src/hb-ot-shape-complex-indic-machine.hh
src/hb-ot-shape-complex-indic-machine.hh
+1
-1
src/hb-ot-shape-complex-indic-machine.rl
src/hb-ot-shape-complex-indic-machine.rl
+1
-1
src/hb-ot-shape-complex-khmer-machine.hh
src/hb-ot-shape-complex-khmer-machine.hh
+1
-1
src/hb-ot-shape-complex-khmer-machine.rl
src/hb-ot-shape-complex-khmer-machine.rl
+1
-1
src/hb-ot-shape-complex-myanmar-machine.hh
src/hb-ot-shape-complex-myanmar-machine.hh
+1
-1
src/hb-ot-shape-complex-myanmar-machine.rl
src/hb-ot-shape-complex-myanmar-machine.rl
+1
-1
src/hb-ot-shape-complex-use-machine.hh
src/hb-ot-shape-complex-use-machine.hh
+1
-1
src/hb-ot-shape-complex-use-machine.rl
src/hb-ot-shape-complex-use-machine.rl
+1
-1
src/hb-set.cc
src/hb-set.cc
+1
-1
src/hb-unicode.cc
src/hb-unicode.cc
+1
-1
未找到文件。
src/hb-debug.hh
浏览文件 @
24b8b9b2
...
...
@@ -357,7 +357,7 @@ struct hb_no_trace_t {
(&c->debug_depth, c->get_name (), this, HB_FUNC, \
" ")
#else
#define TRACE_CLOSURE(this) hb_no_trace_t<hb_void_t> trace
HB_UNUSED
#define TRACE_CLOSURE(this) hb_no_trace_t<hb_void_t> trace
#endif
#ifndef HB_DEBUG_COLLECT_GLYPHS
...
...
@@ -369,7 +369,7 @@ struct hb_no_trace_t {
(&c->debug_depth, c->get_name (), this, HB_FUNC, \
" ")
#else
#define TRACE_COLLECT_GLYPHS(this) hb_no_trace_t<hb_void_t> trace
HB_UNUSED
#define TRACE_COLLECT_GLYPHS(this) hb_no_trace_t<hb_void_t> trace
#endif
#ifndef HB_DEBUG_SANITIZE
...
...
src/hb-font.cc
浏览文件 @
24b8b9b2
...
...
@@ -127,7 +127,7 @@ hb_font_get_variation_glyph_parent (hb_font_t *font,
static
hb_position_t
hb_font_get_glyph_h_advance_nil
(
hb_font_t
*
font
HB_UNUSED
,
hb_font_get_glyph_h_advance_nil
(
hb_font_t
*
font
,
void
*
font_data
HB_UNUSED
,
hb_codepoint_t
glyph
,
void
*
user_data
HB_UNUSED
)
...
...
@@ -144,7 +144,7 @@ hb_font_get_glyph_h_advance_parent (hb_font_t *font,
}
static
hb_position_t
hb_font_get_glyph_v_advance_nil
(
hb_font_t
*
font
HB_UNUSED
,
hb_font_get_glyph_v_advance_nil
(
hb_font_t
*
font
,
void
*
font_data
HB_UNUSED
,
hb_codepoint_t
glyph
,
void
*
user_data
HB_UNUSED
)
...
...
src/hb-ft.cc
浏览文件 @
24b8b9b2
...
...
@@ -210,7 +210,7 @@ hb_ft_get_variation_glyph (hb_font_t *font HB_UNUSED,
}
static
hb_position_t
hb_ft_get_glyph_h_advance
(
hb_font_t
*
font
HB_UNUSED
,
hb_ft_get_glyph_h_advance
(
hb_font_t
*
font
,
void
*
font_data
,
hb_codepoint_t
glyph
,
void
*
user_data
HB_UNUSED
)
...
...
@@ -228,7 +228,7 @@ hb_ft_get_glyph_h_advance (hb_font_t *font HB_UNUSED,
}
static
hb_position_t
hb_ft_get_glyph_v_advance
(
hb_font_t
*
font
HB_UNUSED
,
hb_ft_get_glyph_v_advance
(
hb_font_t
*
font
,
void
*
font_data
,
hb_codepoint_t
glyph
,
void
*
user_data
HB_UNUSED
)
...
...
@@ -248,7 +248,7 @@ hb_ft_get_glyph_v_advance (hb_font_t *font HB_UNUSED,
}
static
hb_bool_t
hb_ft_get_glyph_v_origin
(
hb_font_t
*
font
HB_UNUSED
,
hb_ft_get_glyph_v_origin
(
hb_font_t
*
font
,
void
*
font_data
,
hb_codepoint_t
glyph
,
hb_position_t
*
x
,
...
...
@@ -292,7 +292,7 @@ hb_ft_get_glyph_h_kerning (hb_font_t *font,
}
static
hb_bool_t
hb_ft_get_glyph_extents
(
hb_font_t
*
font
HB_UNUSED
,
hb_ft_get_glyph_extents
(
hb_font_t
*
font
,
void
*
font_data
,
hb_codepoint_t
glyph
,
hb_glyph_extents_t
*
extents
,
...
...
src/hb-open-type-private.hh
浏览文件 @
24b8b9b2
...
...
@@ -288,7 +288,7 @@ struct hb_sanitize_context_t :
return
likely
(
this
->
check_range
(
obj
,
obj
->
min_size
));
}
inline
bool
may_edit
(
const
void
*
base
HB_UNUSED
,
unsigned
int
len
HB_UNUSED
)
inline
bool
may_edit
(
const
void
*
base
,
unsigned
int
len
)
{
if
(
this
->
edit_count
>=
HB_SANITIZE_MAX_EDITS
)
return
false
;
...
...
src/hb-ot-font.cc
浏览文件 @
24b8b9b2
...
...
@@ -143,7 +143,7 @@ hb_ot_get_glyph_h_kerning (hb_font_t *font,
}
static
hb_bool_t
hb_ot_get_glyph_extents
(
hb_font_t
*
font
HB_UNUSED
,
hb_ot_get_glyph_extents
(
hb_font_t
*
font
,
void
*
font_data
,
hb_codepoint_t
glyph
,
hb_glyph_extents_t
*
extents
,
...
...
@@ -184,7 +184,7 @@ hb_ot_get_glyph_from_name (hb_font_t *font HB_UNUSED,
}
static
hb_bool_t
hb_ot_get_font_h_extents
(
hb_font_t
*
font
HB_UNUSED
,
hb_ot_get_font_h_extents
(
hb_font_t
*
font
,
void
*
font_data
,
hb_font_extents_t
*
metrics
,
void
*
user_data
HB_UNUSED
)
...
...
@@ -198,7 +198,7 @@ hb_ot_get_font_h_extents (hb_font_t *font HB_UNUSED,
}
static
hb_bool_t
hb_ot_get_font_v_extents
(
hb_font_t
*
font
HB_UNUSED
,
hb_ot_get_font_v_extents
(
hb_font_t
*
font
,
void
*
font_data
,
hb_font_extents_t
*
metrics
,
void
*
user_data
HB_UNUSED
)
...
...
src/hb-ot-shape-complex-indic-machine.hh
浏览文件 @
24b8b9b2
...
...
@@ -1129,7 +1129,7 @@ static const int indic_syllable_machine_en_main = 166;
static
void
find_syllables
(
hb_buffer_t
*
buffer
)
{
unsigned
int
p
,
pe
,
eof
,
ts
HB_UNUSED
,
te
HB_UNUSED
,
act
HB_UNUSED
;
unsigned
int
p
,
pe
,
eof
,
ts
,
te
,
act
;
int
cs
;
hb_glyph_info_t
*
info
=
buffer
->
info
;
...
...
src/hb-ot-shape-complex-indic-machine.rl
浏览文件 @
24b8b9b2
...
...
@@ -104,7 +104,7 @@ main := |*
static void
find_syllables (hb_buffer_t *buffer)
{
unsigned int p, pe, eof, ts
HB_UNUSED, te HB_UNUSED, act HB_UNUSED
;
unsigned int p, pe, eof, ts
, te, act
;
int cs;
hb_glyph_info_t *info = buffer->info;
%%{
...
...
src/hb-ot-shape-complex-khmer-machine.hh
浏览文件 @
24b8b9b2
...
...
@@ -173,7 +173,7 @@ static const int khmer_syllable_machine_en_main = 10;
static
void
find_syllables
(
hb_buffer_t
*
buffer
)
{
unsigned
int
p
,
pe
,
eof
,
ts
HB_UNUSED
,
te
HB_UNUSED
,
act
HB_UNUSED
;
unsigned
int
p
,
pe
,
eof
,
ts
,
te
,
act
;
int
cs
;
hb_glyph_info_t
*
info
=
buffer
->
info
;
...
...
src/hb-ot-shape-complex-khmer-machine.rl
浏览文件 @
24b8b9b2
...
...
@@ -86,7 +86,7 @@ main := |*
static void
find_syllables (hb_buffer_t *buffer)
{
unsigned int p, pe, eof, ts
HB_UNUSED, te HB_UNUSED, act HB_UNUSED
;
unsigned int p, pe, eof, ts
, te, act
;
int cs;
hb_glyph_info_t *info = buffer->info;
%%{
...
...
src/hb-ot-shape-complex-myanmar-machine.hh
浏览文件 @
24b8b9b2
...
...
@@ -294,7 +294,7 @@ static const int myanmar_syllable_machine_en_main = 0;
static
void
find_syllables
(
hb_buffer_t
*
buffer
)
{
unsigned
int
p
,
pe
,
eof
,
ts
HB_UNUSED
,
te
HB_UNUSED
,
act
HB_UNUSED
;
unsigned
int
p
,
pe
,
eof
,
ts
,
te
,
act
;
int
cs
;
hb_glyph_info_t
*
info
=
buffer
->
info
;
...
...
src/hb-ot-shape-complex-myanmar-machine.rl
浏览文件 @
24b8b9b2
...
...
@@ -106,7 +106,7 @@ main := |*
static void
find_syllables (hb_buffer_t *buffer)
{
unsigned int p, pe, eof, ts
HB_UNUSED, te HB_UNUSED, act HB_UNUSED
;
unsigned int p, pe, eof, ts
, te, act
;
int cs;
hb_glyph_info_t *info = buffer->info;
%%{
...
...
src/hb-ot-shape-complex-use-machine.hh
浏览文件 @
24b8b9b2
...
...
@@ -331,7 +331,7 @@ static const int use_syllable_machine_en_main = 4;
static
void
find_syllables
(
hb_buffer_t
*
buffer
)
{
unsigned
int
p
,
pe
,
eof
,
ts
HB_UNUSED
,
te
HB_UNUSED
,
act
HB_UNUSED
;
unsigned
int
p
,
pe
,
eof
,
ts
,
te
,
act
;
int
cs
;
hb_glyph_info_t
*
info
=
buffer
->
info
;
...
...
src/hb-ot-shape-complex-use-machine.rl
浏览文件 @
24b8b9b2
...
...
@@ -153,7 +153,7 @@ main := |*
static void
find_syllables (hb_buffer_t *buffer)
{
unsigned int p, pe, eof, ts
HB_UNUSED, te HB_UNUSED, act HB_UNUSED
;
unsigned int p, pe, eof, ts
, te, act
;
int cs;
hb_glyph_info_t *info = buffer->info;
%%{
...
...
src/hb-set.cc
浏览文件 @
24b8b9b2
...
...
@@ -150,7 +150,7 @@ hb_set_get_user_data (hb_set_t *set,
* Since: 0.9.2
**/
hb_bool_t
hb_set_allocation_successful
(
const
hb_set_t
*
set
HB_UNUSED
)
hb_set_allocation_successful
(
const
hb_set_t
*
set
)
{
return
!
set
->
in_error
;
}
...
...
src/hb-unicode.cc
浏览文件 @
24b8b9b2
...
...
@@ -64,7 +64,7 @@ hb_unicode_general_category_nil (hb_unicode_funcs_t *ufuncs HB_UNUSED,
static
hb_codepoint_t
hb_unicode_mirroring_nil
(
hb_unicode_funcs_t
*
ufuncs
HB_UNUSED
,
hb_codepoint_t
unicode
HB_UNUSED
,
hb_codepoint_t
unicode
,
void
*
user_data
HB_UNUSED
)
{
return
unicode
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录