OpenOCD
sort_info
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
sort_info
sort_info variable
Syntax
from
jim.c:6785
static
struct
lsort_info
*
sort_info
;
References
Location
Referrer
Text
jim.c:6785
static
struct
lsort_info
*
sort_info
;
jim.c:6791
ListSortIndexHelper()
if
(
Jim_ListIndices
(
sort_info
->
interp
,
*
lhsObj
,
sort_info
->
indexv
,
sort_info
->
indexc
,
&
lObj
,
JIM_ERRMSG
)
!=
JIM_OK
||
jim.c:6792
ListSortIndexHelper()
Jim_ListIndices
(
sort_info
->
interp
,
*
rhsObj
,
sort_info
->
indexv
,
sort_info
->
indexc
,
&
rObj
,
JIM_ERRMSG
)
!=
JIM_OK
)
{
jim.c:6793
ListSortIndexHelper()
longjmp
(
sort_info
->
jmpbuf
,
JIM_ERR
)
;
jim.c:6795
ListSortIndexHelper()
return
sort_info
->
subfn
(
&
lObj
,
&
rObj
)
;
jim.c:6801
ListSortString()
return
Jim_StringCompareObj
(
sort_info
->
interp
,
*
lhsObj
,
*
rhsObj
,
0
)
*
sort_info
->
order
;
jim.c:6806
ListSortStringNoCase()
return
Jim_StringCompareObj
(
sort_info
->
interp
,
*
lhsObj
,
*
rhsObj
,
1
)
*
sort_info
->
order
;
jim.c:6813
ListSortInteger()
if
(
Jim_GetWide
(
sort_info
->
interp
,
*
lhsObj
,
&
lhs
)
!=
JIM_OK
||
jim.c:6814
ListSortInteger()
Jim_GetWide
(
sort_info
->
interp
,
*
rhsObj
,
&
rhs
)
!=
JIM_OK
)
{
jim.c:6815
ListSortInteger()
longjmp
(
sort_info
->
jmpbuf
,
JIM_ERR
)
;
jim.c:6818
ListSortInteger()
return
JimSign
(
lhs
-
rhs
)
*
sort_info
->
order
;
jim.c:6825
ListSortReal()
if
(
Jim_GetDouble
(
sort_info
->
interp
,
*
lhsObj
,
&
lhs
)
!=
JIM_OK
||
jim.c:6826
ListSortReal()
Jim_GetDouble
(
sort_info
->
interp
,
*
rhsObj
,
&
rhs
)
!=
JIM_OK
)
{
jim.c:6827
ListSortReal()
longjmp
(
sort_info
->
jmpbuf
,
JIM_ERR
)
;
jim.c:6833
ListSortReal()
return
sort_info
->
order
;
jim.c:6835
ListSortReal()
return
-
sort_info
->
order
;
jim.c:6846
ListSortCommand()
compare_script
=
Jim_DuplicateObj
(
sort_info
->
interp
,
sort_info
->
command
)
;
jim.c:6847
ListSortCommand()
Jim_ListAppendElement
(
sort_info
->
interp
,
compare_script
,
*
lhsObj
)
;
jim.c:6848
ListSortCommand()
Jim_ListAppendElement
(
sort_info
->
interp
,
compare_script
,
*
rhsObj
)
;
jim.c:6850
ListSortCommand()
rc
=
Jim_EvalObj
(
sort_info
->
interp
,
compare_script
)
;
jim.c:6852
ListSortCommand()
if
(
rc
!=
JIM_OK
||
Jim_GetWide
(
sort_info
->
interp
,
Jim_GetResult
(
sort_info
->
interp
)
,
&
ret
)
!=
JIM_OK
)
{
jim.c:6853
ListSortCommand()
longjmp
(
sort_info
->
jmpbuf
,
rc
)
;
jim.c:6856
ListSortCommand()
return
JimSign
(
ret
)
*
sort_info
->
order
;
jim.c:6873
ListRemoveDuplicates()
Jim_DecrRefCount
(
sort_info
->
interp
,
ele
[
dst
]
)
;
jim.c:6907
ListSortElements()
prev_info
=
sort_info
;
jim.c:6908
ListSortElements()
sort_info
=
info
;
jim.c:6949
ListSortElements()
sort_info
=
prev_info
;
Data Use
Functions writing
sort_info
Functions reading
sort_info
ListSortElements()
all items filtered out
sort_info
ListSortIndexHelper()
ListSortString()
ListSortStringNoCase()
ListSortInteger()
ListSortReal()
ListSortCommand()
ListRemoveDuplicates()
ListSortElements()
all items filtered out
Type of
sort_info
sort_info
lsort_info
all items filtered out