Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
6c1848b1
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
接近 2 年 前同步成功
通知
1
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看板
提交
6c1848b1
编写于
2月 10, 2018
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Misc warning fixes
上级
7039803b
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
9 addition
and
9 deletion
+9
-9
test/api/test-blob.c
test/api/test-blob.c
+1
-1
test/api/test-buffer.c
test/api/test-buffer.c
+7
-7
test/api/test-ot-tag.c
test/api/test-ot-tag.c
+1
-1
未找到文件。
test/api/test-blob.c
浏览文件 @
6c1848b1
...
@@ -116,7 +116,7 @@ free_up_free (fixture_t *fixture)
...
@@ -116,7 +116,7 @@ free_up_free (fixture_t *fixture)
static
uintptr_t
static
uintptr_t
get_pagesize
(
void
)
get_pagesize
(
void
)
{
{
uintptr_t
pagesize
=
-
1
;
uintptr_t
pagesize
=
(
uintptr_t
)
-
1
;
#if defined(HAVE_SYSCONF) && defined(_SC_PAGE_SIZE)
#if defined(HAVE_SYSCONF) && defined(_SC_PAGE_SIZE)
pagesize
=
(
uintptr_t
)
sysconf
(
_SC_PAGE_SIZE
);
pagesize
=
(
uintptr_t
)
sysconf
(
_SC_PAGE_SIZE
);
...
...
test/api/test-buffer.c
浏览文件 @
6c1848b1
...
@@ -764,15 +764,15 @@ typedef struct {
...
@@ -764,15 +764,15 @@ typedef struct {
/* note: we skip the first and last item from utf32 when adding to buffer */
/* note: we skip the first and last item from utf32 when adding to buffer */
static
const
utf32_conversion_test_t
utf32_conversion_tests
[]
=
{
static
const
utf32_conversion_test_t
utf32_conversion_tests
[]
=
{
{{
0x41
,
0x004D
,
0x0430
,
0x4E8C
,
0xD800
,
0xDF02
,
0x61
}
,
{
0x004D
,
0x0430
,
0x4E8C
,
-
3
,
-
3
}},
{{
0x41
,
0x004D
,
0x0430
,
0x4E8C
,
0xD800
,
0xDF02
,
0x61
}
,
{
0x004D
,
0x0430
,
0x4E8C
,
(
hb_codepoint_t
)
-
3
,
(
hb_codepoint_t
)
-
3
}},
{{
0x41
,
0x004D
,
0x0430
,
0x4E8C
,
0x10302
,
0x61
}
,
{
0x004D
,
0x0430
,
0x4E8C
,
0x10302
}},
{{
0x41
,
0x004D
,
0x0430
,
0x4E8C
,
0x10302
,
0x61
}
,
{
0x004D
,
0x0430
,
0x4E8C
,
0x10302
}},
{{
0x41
,
0xD800
,
0xDF02
,
0x61
},
{
-
3
,
-
3
}},
{{
0x41
,
0xD800
,
0xDF02
,
0x61
},
{
(
hb_codepoint_t
)
-
3
,
(
hb_codepoint_t
)
-
3
}},
{{
0x41
,
0xD800
,
0xDF02
},
{
-
3
}},
{{
0x41
,
0xD800
,
0xDF02
},
{
(
hb_codepoint_t
)
-
3
}},
{{
0x41
,
0x61
,
0xD800
,
0xDF02
},
{
0x61
,
-
3
}},
{{
0x41
,
0x61
,
0xD800
,
0xDF02
},
{
0x61
,
(
hb_codepoint_t
)
-
3
}},
{{
0x41
,
0xD800
,
0x61
,
0xDF02
},
{
-
3
,
0x61
}},
{{
0x41
,
0xD800
,
0x61
,
0xDF02
},
{
(
hb_codepoint_t
)
-
3
,
0x61
}},
{{
0x41
,
0xDF00
,
0x61
},
{
-
3
}},
{{
0x41
,
0xDF00
,
0x61
},
{
(
hb_codepoint_t
)
-
3
}},
{{
0x41
,
0x10FFFF
,
0x61
},
{
0x10FFFF
}},
{{
0x41
,
0x10FFFF
,
0x61
},
{
0x10FFFF
}},
{{
0x41
,
0x110000
,
0x61
},
{
-
3
}},
{{
0x41
,
0x110000
,
0x61
},
{
(
hb_codepoint_t
)
-
3
}},
{{
0x41
,
0x61
},
{
0
}}
{{
0x41
,
0x61
},
{
0
}}
};
};
...
...
test/api/test-ot-tag.c
浏览文件 @
6c1848b1
...
@@ -37,7 +37,7 @@ static void
...
@@ -37,7 +37,7 @@ static void
test_simple_tags
(
const
char
*
s
,
hb_script_t
script
)
test_simple_tags
(
const
char
*
s
,
hb_script_t
script
)
{
{
hb_script_t
tag
;
hb_script_t
tag
;
hb_
script
_t
t1
,
t2
;
hb_
tag
_t
t1
,
t2
;
g_test_message
(
"Testing script %c%c%c%c: tag %s"
,
HB_UNTAG
(
hb_script_to_iso15924_tag
(
script
)),
s
);
g_test_message
(
"Testing script %c%c%c%c: tag %s"
,
HB_UNTAG
(
hb_script_to_iso15924_tag
(
script
)),
s
);
tag
=
hb_tag_from_string
(
s
,
-
1
);
tag
=
hb_tag_from_string
(
s
,
-
1
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录