Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
anbox
提交
63b0abfb
A
anbox
项目概览
openeuler
/
anbox
通知
24
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
anbox
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
63b0abfb
编写于
8月 11, 2020
作者:
O
openeuler-ci-bot
提交者:
Gitee
8月 11, 2020
浏览文件
操作
浏览文件
下载
差异文件
!78 codestyle: fixed codestyle check bugs
Merge pull request !78 from zhdguy/master
上级
08a70601
fb8b2a88
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
24 addition
and
6 deletion
+24
-6
external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculatorThreadInfo.cpp
...shared/OpenglCodecCommon/ChecksumCalculatorThreadInfo.cpp
+3
-3
external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculatorThreadInfo.h
...l/shared/OpenglCodecCommon/ChecksumCalculatorThreadInfo.h
+3
-3
external/backward-cpp/backward.hpp
external/backward-cpp/backward.hpp
+5
-0
src/anbox/cli.h
src/anbox/cli.h
+1
-0
src/anbox/graphics/emugl/ColorBuffer.cpp
src/anbox/graphics/emugl/ColorBuffer.cpp
+6
-0
src/anbox/graphics/emugl/Renderer.cpp
src/anbox/graphics/emugl/Renderer.cpp
+3
-0
src/anbox/network/delegate_connection_creator.h
src/anbox/network/delegate_connection_creator.h
+1
-0
src/anbox/rpc/pending_call_cache.cpp
src/anbox/rpc/pending_call_cache.cpp
+1
-0
src/anbox/rpc/pending_call_cache.h
src/anbox/rpc/pending_call_cache.h
+1
-0
未找到文件。
external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculatorThreadInfo.cpp
浏览文件 @
63b0abfb
...
...
@@ -70,7 +70,7 @@ size_t ChecksumCalculatorThreadInfo::checksumByteSize() {
return
getChecksumCalculatorThreadInfo
()
->
m_protocol
.
checksumByteSize
();
}
bool
ChecksumCalculatorThreadInfo
::
writeChecksum
(
void
*
buf
,
bool
ChecksumCalculatorThreadInfo
::
writeChecksum
(
const
void
*
buf
,
size_t
bufLen
,
void
*
outputChecksum
,
size_t
outputChecksumLen
)
{
...
...
@@ -80,7 +80,7 @@ bool ChecksumCalculatorThreadInfo::writeChecksum(void* buf,
return
protocol
.
writeChecksum
(
outputChecksum
,
outputChecksumLen
);
}
bool
ChecksumCalculatorThreadInfo
::
validate
(
void
*
buf
,
bool
ChecksumCalculatorThreadInfo
::
validate
(
const
void
*
buf
,
size_t
bufLen
,
void
*
checksum
,
size_t
checksumLen
)
{
...
...
@@ -90,7 +90,7 @@ bool ChecksumCalculatorThreadInfo::validate(void* buf,
return
protocol
.
validate
(
checksum
,
checksumLen
);
}
void
ChecksumCalculatorThreadInfo
::
validOrDie
(
void
*
buf
,
void
ChecksumCalculatorThreadInfo
::
validOrDie
(
const
void
*
buf
,
size_t
bufLen
,
void
*
checksum
,
size_t
checksumLen
,
...
...
external/android-emugl/shared/OpenglCodecCommon/ChecksumCalculatorThreadInfo.h
浏览文件 @
63b0abfb
...
...
@@ -36,16 +36,16 @@ public:
}
static
size_t
checksumByteSize
();
static
bool
writeChecksum
(
void
*
buf
,
static
bool
writeChecksum
(
const
void
*
buf
,
size_t
bufLen
,
void
*
outputChecksum
,
size_t
outputChecksumLen
);
static
bool
validate
(
void
*
buf
,
static
bool
validate
(
const
void
*
buf
,
size_t
bufLen
,
void
*
checksum
,
size_t
checksumLen
);
static
void
validOrDie
(
void
*
buf
,
static
void
validOrDie
(
const
void
*
buf
,
size_t
bufLen
,
void
*
checksum
,
size_t
checksumLen
,
...
...
external/backward-cpp/backward.hpp
浏览文件 @
63b0abfb
...
...
@@ -621,6 +621,7 @@ public:
class
StackTraceImplBase
{
public:
StackTraceImplBase
()
:
_thread_id
(
0
),
_skip
(
0
)
{}
~
StackTraceImplBase
()
{}
size_t
thread_id
()
const
{
return
_thread_id
;
...
...
@@ -3493,6 +3494,7 @@ public:
inliner_context_size
(
5
),
trace_context_size
(
7
)
{}
~
Printer
()
{}
template
<
typename
ST
>
FILE
*
print
(
ST
&
st
,
FILE
*
fp
=
stderr
)
{
...
...
@@ -3716,6 +3718,8 @@ public:
_loaded
=
success
;
}
~
SignalHandling
()
{}
bool
loaded
()
const
{
return
_loaded
;
}
static
void
handleSignal
(
int
,
siginfo_t
*
info
,
void
*
_ctx
)
{
...
...
@@ -3785,6 +3789,7 @@ private:
class
SignalHandling
{
public:
SignalHandling
(
const
std
::
vector
<
int
>&
=
std
::
vector
<
int
>
())
{}
~
SignalHandling
()
{}
bool
init
()
{
return
false
;
}
bool
loaded
()
{
return
false
;
}
};
...
...
src/anbox/cli.h
浏览文件 @
63b0abfb
...
...
@@ -148,6 +148,7 @@ class TypedReferenceFlag : public Flag {
/// description and value.
TypedReferenceFlag
(
const
Name
&
name
,
const
Description
&
description
,
T
&
value
)
:
Flag
{
name
,
description
},
value_
{
value
}
{}
~
TypedReferenceFlag
()
{}
/// @brief Option generated by specify_option tries to unwrap a value of type T
/// from value, relying on operator>> to read from given string s.
...
...
src/anbox/graphics/emugl/ColorBuffer.cpp
浏览文件 @
63b0abfb
...
...
@@ -239,6 +239,9 @@ void ColorBuffer::subUpdate(int x, int y, int width, int height,
bool
ColorBuffer
::
blitFromCurrentReadBuffer
()
{
RenderThreadInfo
*
tInfo
=
RenderThreadInfo
::
get
();
if
(
!
tInfo
)
{
return
false
;
}
if
(
!
tInfo
->
currContext
)
{
// no Current context
return
false
;
...
...
@@ -300,6 +303,9 @@ bool ColorBuffer::bindToTexture() {
return
false
;
}
RenderThreadInfo
*
tInfo
=
RenderThreadInfo
::
get
();
if
(
!
tInfo
)
{
return
false
;
}
if
(
!
tInfo
->
currContext
)
{
return
false
;
}
...
...
src/anbox/graphics/emugl/Renderer.cpp
浏览文件 @
63b0abfb
...
...
@@ -470,6 +470,9 @@ void Renderer::drainRenderContext() {
std
::
unique_lock
<
std
::
mutex
>
l
(
m_lock
);
RenderThreadInfo
*
tinfo
=
RenderThreadInfo
::
get
();
if
(
!
tinfo
)
{
return
;
}
if
(
tinfo
->
m_contextSet
.
empty
())
return
;
for
(
std
::
set
<
HandleType
>::
iterator
it
=
tinfo
->
m_contextSet
.
begin
();
it
!=
tinfo
->
m_contextSet
.
end
();
++
it
)
{
...
...
src/anbox/network/delegate_connection_creator.h
浏览文件 @
63b0abfb
...
...
@@ -33,6 +33,7 @@ class DelegateConnectionCreator : public ConnectionCreator<stream_protocol> {
stream_protocol
>>
const
&
)
>
delegate
)
:
delegate_
(
delegate
)
{}
~
DelegateConnectionCreator
()
{}
void
create_connection_for
(
std
::
shared_ptr
<
boost
::
asio
::
basic_stream_socket
<
stream_protocol
>>
const
&
...
...
src/anbox/rpc/pending_call_cache.cpp
浏览文件 @
63b0abfb
...
...
@@ -27,6 +27,7 @@
namespace
anbox
{
namespace
rpc
{
PendingCallCache
::
PendingCallCache
()
{}
PendingCallCache
::~
PendingCallCache
()
{}
void
PendingCallCache
::
save_completion_details
(
anbox
::
protobuf
::
rpc
::
Invocation
const
&
invocation
,
...
...
src/anbox/rpc/pending_call_cache.h
浏览文件 @
63b0abfb
...
...
@@ -41,6 +41,7 @@ namespace rpc {
class
PendingCallCache
{
public:
PendingCallCache
();
~
PendingCallCache
();
void
save_completion_details
(
anbox
::
protobuf
::
rpc
::
Invocation
const
&
invocation
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录