Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
c2c2a843
Commit
c2c2a843
authored
Feb 05, 2019
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile fixes
parent
e346db0a
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
26 deletions
+26
-26
sev/lib/sev/src/sev_dbhdf5.cpp
sev/lib/sev/src/sev_dbhdf5.cpp
+4
-4
src/exp/inc/src/pwr_class.h
src/exp/inc/src/pwr_class.h
+5
-5
src/lib/rt/src/rt_errh.c
src/lib/rt/src/rt_errh.c
+2
-2
src/lib/rt/src/rt_errh.h
src/lib/rt/src/rt_errh.h
+2
-2
src/lib/rt/src/rt_errl.c
src/lib/rt/src/rt_errl.c
+1
-1
src/lib/rt/src/rt_errl.h
src/lib/rt/src/rt_errl.h
+2
-2
src/lib/rt/src/rt_gdh.c
src/lib/rt/src/rt_gdh.c
+4
-4
src/lib/rt/src/rt_gdh.h
src/lib/rt/src/rt_gdh.h
+6
-6
No files found.
sev/lib/sev/src/sev_dbhdf5.cpp
View file @
c2c2a843
...
...
@@ -4832,18 +4832,18 @@ int sev_dbhdf5::time_to_idx(hid_t dataset_id, hid_t memspace_id,
idx
=
size
-
1
;
get_time
(
dataset_id
,
memspace_id
,
dataspace_id
,
mtype
,
idx
,
&
time
);
printf
(
"%d Search time : %d %d
\n
"
,
idx
,
stime
,
time
);
if
(
ABS
(
time
-
stime
)
<=
resolution
)
{
if
(
ABS
(
(
int
)
time
-
(
int
)
stime
)
<=
resolution
)
{
*
ridx
=
idx
;
return
1
;
}
if
(
prev_time
&&
ABS
(
time
-
prev_time
)
<=
1
)
{
if
(
ABS
(
time
-
low_time
)
>
ABS
(
high_time
-
time
))
if
(
prev_time
&&
ABS
(
(
int
)
time
-
(
int
)
prev_time
)
<=
1
)
{
if
(
ABS
(
(
int
)
time
-
(
int
)
low_time
)
>
ABS
((
int
)
high_time
-
(
int
)
time
))
idx
=
high_idx
-
(
high_idx
-
low_idx
)
/
10
;
else
idx
=
low_idx
+
(
high_idx
-
low_idx
)
/
10
;
get_time
(
dataset_id
,
memspace_id
,
dataspace_id
,
mtype
,
idx
,
&
time
);
printf
(
"%d Search time : %d %d
\n
"
,
idx
,
stime
,
time
);
if
(
ABS
(
time
-
stime
)
<=
resolution
)
{
if
(
ABS
(
(
int
)
time
-
(
int
)
stime
)
<=
resolution
)
{
*
ridx
=
idx
;
return
1
;
}
...
...
src/exp/inc/src/pwr_class.h
View file @
c2c2a843
...
...
@@ -834,7 +834,7 @@ struct pwr_s_Value {
struct
pwr_s_DbCallBack
{
pwr_tString80
MethodName
pwr_dAlignLW
;
pwr_tString40
MethodArguments
[
5
]
pwr_dAlignW
;
pwr_tStatus
(
*
Method
)()
pwr_dAlignLW
;
/* Address to method. */
pwr_tStatus
(
*
Method
)(
void
)
pwr_dAlignLW
;
/* Address to method. */
pwr_tUInt32
Flags
pwr_dAlignW
;
};
...
...
@@ -851,7 +851,7 @@ struct pwr_s_MenuCascade {
pwr_tString40
ButtonName
pwr_dAlignLW
;
pwr_tString80
FilterName
pwr_dAlignW
;
pwr_tString40
FilterArguments
[
5
]
pwr_dAlignW
;
pwr_tBoolean
(
*
Filter
)()
pwr_dAlignLW
;
/* Address to method
pwr_tBoolean
(
*
Filter
)(
void
)
pwr_dAlignLW
;
/* Address to method
visibility function. */
};
...
...
@@ -861,8 +861,8 @@ struct pwr_s_MenuButton {
pwr_tString80
MethodArguments
[
5
]
pwr_dAlignW
;
pwr_tString80
FilterName
pwr_dAlignW
;
pwr_tString80
FilterArguments
[
5
]
pwr_dAlignW
;
pwr_tStatus
(
*
Method
)()
pwr_dAlignLW
;
/* Address to method. */
pwr_tBoolean
(
*
Filter
)()
pwr_dAlignLW
;
/* Address to method
pwr_tStatus
(
*
Method
)(
void
)
pwr_dAlignLW
;
/* Address to method. */
pwr_tBoolean
(
*
Filter
)(
void
)
pwr_dAlignLW
;
/* Address to method
visibility function. */
pwr_tUInt32
Flags
pwr_dAlignW
;
};
...
...
@@ -872,7 +872,7 @@ struct pwr_s_MenuRef {
pwr_tString40
RefAttribute
pwr_dAlignW
;
pwr_tString80
FilterName
pwr_dAlignW
;
pwr_tString40
FilterArguments
[
5
]
pwr_dAlignW
;
pwr_tBoolean
(
*
Filter
)()
pwr_dAlignLW
;
/* Address to method
pwr_tBoolean
(
*
Filter
)(
void
)
pwr_dAlignLW
;
/* Address to method
visibility function. */
};
...
...
src/lib/rt/src/rt_errh.c
View file @
c2c2a843
...
...
@@ -113,7 +113,7 @@ static unsigned int do_div(int*, unsigned int);
static
int
skip_atoi
(
const
char
**
);
static
char
*
number
(
char
*
,
int
,
int
,
int
,
int
,
int
);
void
errh_Interactive
()
void
errh_Interactive
(
void
)
{
interactive
=
1
;
}
...
...
@@ -164,7 +164,7 @@ void errh_SetStatus(pwr_tStatus sts)
* @brief Get application index for the process.
* \return Application index.
*/
errh_eAnix
errh_Anix
()
errh_eAnix
errh_Anix
(
void
)
{
return
errh_anix
;
}
...
...
src/lib/rt/src/rt_errh.h
View file @
c2c2a843
...
...
@@ -217,7 +217,7 @@ typedef struct {
pwr_tStatus
errh_Init
(
const
char
*
programName
,
errh_eAnix
anix
);
void
errh_SetStatus
(
pwr_tStatus
sts
);
void
errh_Interactive
();
void
errh_Interactive
(
void
);
char
*
errh_GetMsg
(
const
pwr_tStatus
sts
,
char
*
buf
,
int
bufSize
);
char
*
errh_GetText
(
const
pwr_tStatus
sts
,
char
*
buf
,
int
bufSize
);
char
*
errh_Log
(
char
*
buff
,
char
severity
,
const
char
*
msg
,
...);
...
...
@@ -236,7 +236,7 @@ void* errh_ErrArgAF(char* s);
void
*
errh_ErrArgL
(
int
val
);
void
errh_CErrLog
(
pwr_tStatus
sts
,
...);
char
*
errh_Message
(
char
*
string
,
char
severity
,
char
*
msg
,
...);
errh_eAnix
errh_Anix
();
errh_eAnix
errh_Anix
(
void
);
void
errh_SetAnix
(
errh_eAnix
anix
);
void
errh_SetName
(
char
*
name
);
errh_eSeverity
errh_Severity
(
pwr_tStatus
);
...
...
src/lib/rt/src/rt_errl.c
View file @
c2c2a843
...
...
@@ -176,7 +176,7 @@ void errl_Init(const char* termName,
return
;
}
void
errl_Unlink
()
void
errl_Unlink
(
void
)
{
#if !defined(OS_MACOS) && !defined(OS_FREEBSD) && !defined(OS_OPENBSD)
char
name
[
64
];
...
...
src/lib/rt/src/rt_errl.h
View file @
c2c2a843
...
...
@@ -49,12 +49,12 @@
#define LOG_MAX_MSG_SIZE 256
/* length of logstring */
pwr_tStatus
errl_Exit
();
pwr_tStatus
errl_Exit
(
void
);
void
errl_Init
(
const
char
*
termname
,
void
(
*
log_cb
)(
void
*
,
char
*
,
char
,
pwr_tStatus
,
int
,
int
),
void
*
userdata
);
void
errl_SetTerm
(
const
char
*
termname
);
void
errl_SetFile
(
const
char
*
filename
);
void
errl_Unlink
();
void
errl_Unlink
(
void
);
#endif
src/lib/rt/src/rt_gdh.c
View file @
c2c2a843
...
...
@@ -613,7 +613,7 @@ pwr_tStatus gdh_DLUnrefObjectInfo(
* @brief Removes all direct links set up by this process.
*/
void
gdh_DLUnrefObjectInfoAll
()
void
gdh_DLUnrefObjectInfoAll
(
void
)
{
gdh_ScopeLock
{
...
...
@@ -2206,7 +2206,7 @@ pwr_tStatus gdh_NameToPointer(const char* name, /**< The name of the object. */
*@return pwr_tStatus
*/
pwr_tStatus
gdh_NethandlerRunning
()
pwr_tStatus
gdh_NethandlerRunning
(
void
)
{
pwr_tStatus
sts
=
GDH__SUCCESS
;
...
...
@@ -2974,7 +2974,7 @@ pwr_tStatus gdh_SubUnrefObjectInfo(
*
*/
void
gdh_SubUnrefObjectInfoAll
()
void
gdh_SubUnrefObjectInfoAll
(
void
)
{
gdh_ScopeLock
{
...
...
@@ -3415,7 +3415,7 @@ pwr_tStatus gdh_UnrefObjectInfo(
* @see gdh_DLUnrefObjectInfoAll, gdhSubUnrefObjectInfoAll
* @return pwr_tStatus
*/
pwr_tStatus
gdh_UnrefObjectInfoAll
()
pwr_tStatus
gdh_UnrefObjectInfoAll
(
void
)
{
gdh_DLUnrefObjectInfoAll
();
gdh_SubUnrefObjectInfoAll
();
...
...
src/lib/rt/src/rt_gdh.h
View file @
c2c2a843
...
...
@@ -201,7 +201,7 @@ pwr_tStatus gdh_DLRefObjectInfoAttrref(
pwr_tStatus
gdh_DLUnrefObjectInfo
(
pwr_tDlid
directLinkId
);
void
gdh_DLUnrefObjectInfoAll
();
void
gdh_DLUnrefObjectInfoAll
(
void
);
pwr_tStatus
gdh_FReadObject
(
char
*
filename
,
pwr_tAttrRef
*
arp
);
...
...
@@ -321,7 +321,7 @@ pwr_tStatus gdh_NameToObjid(const char* objectName, pwr_tObjid* objid);
pwr_tStatus
gdh_NameToPointer
(
const
char
*
objectName
,
void
**
objectData
);
pwr_tStatus
gdh_NethandlerRunning
();
pwr_tStatus
gdh_NethandlerRunning
(
void
);
pwr_tStatus
gdh_ObjidToName
(
pwr_tObjid
oid
,
char
*
namebuf
,
pwr_tUInt32
size
,
pwr_tBitMask
nametype
);
...
...
@@ -368,13 +368,13 @@ pwr_tStatus gdh_SetSubscriptionDefaults(
pwr_tStatus
gdh_SubUnrefObjectInfo
(
pwr_tSubid
subid
);
void
gdh_SubUnrefObjectInfoAll
();
void
gdh_SubUnrefObjectInfoAll
(
void
);
pwr_tStatus
gdh_SubUnrefObjectInfoList
(
unsigned
int
nEntry
,
pwr_tSubid
*
subid
);
pwr_tStatus
gdh_UnrefObjectInfo
(
pwr_tSubid
subid
);
pwr_tStatus
gdh_UnrefObjectInfoAll
();
pwr_tStatus
gdh_UnrefObjectInfoAll
(
void
);
pwr_tStatus
gdh_VolumeIdToName
(
pwr_tVid
vid
,
char
*
name
,
int
size
);
...
...
@@ -401,9 +401,9 @@ pwr_tStatus gdh_IsMountClean(pwr_tObjid object, pwr_tBoolean* isMountClean);
* Exclusive mode
*/
void
gdh_ExclusiveModeOn
();
void
gdh_ExclusiveModeOn
(
void
);
void
gdh_ExclusiveModeOff
();
void
gdh_ExclusiveModeOff
(
void
);
pwr_tStatus
gdh_GetTrueObjectBodyDef
(
pwr_tCid
cid
,
gdh_sAttrDef
**
bodydef
,
int
*
rows
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment