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
jimsh0.c:11524
static
struct
lsort_info
*
sort_info
;
References
Location
Referrer
Text
jimsh0.c:11524
static
struct
lsort_info
*
sort_info
;
jimsh0.c:11530
ListSortIndexHelper()
if
(
Jim_ListIndex
(
sort_info
->
interp
,
*
lhsObj
,
sort_info
->
index
,
&
lObj
,
JIM_ERRMSG
)
!=
JIM_OK
||
jimsh0.c:11531
ListSortIndexHelper()
Jim_ListIndex
(
sort_info
->
interp
,
*
rhsObj
,
sort_info
->
index
,
&
rObj
,
JIM_ERRMSG
)
!=
JIM_OK
)
{
jimsh0.c:11532
ListSortIndexHelper()
longjmp
(
sort_info
->
jmpbuf
,
JIM_ERR
)
;
jimsh0.c:11534
ListSortIndexHelper()
return
sort_info
->
subfn
(
&
lObj
,
&
rObj
)
;
jimsh0.c:11540
ListSortString()
return
Jim_StringCompareObj
(
sort_info
->
interp
,
*
lhsObj
,
*
rhsObj
,
0
)
*
sort_info
->
order
;
jimsh0.c:11545
ListSortStringNoCase()
return
Jim_StringCompareObj
(
sort_info
->
interp
,
*
lhsObj
,
*
rhsObj
,
1
)
*
sort_info
->
order
;
jimsh0.c:11552
ListSortInteger()
if
(
Jim_GetWide
(
sort_info
->
interp
,
*
lhsObj
,
&
lhs
)
!=
JIM_OK
||
jimsh0.c:11553
ListSortInteger()
Jim_GetWide
(
sort_info
->
interp
,
*
rhsObj
,
&
rhs
)
!=
JIM_OK
)
{
jimsh0.c:11554
ListSortInteger()
longjmp
(
sort_info
->
jmpbuf
,
JIM_ERR
)
;
jimsh0.c:11557
ListSortInteger()
return
JimSign
(
lhs
-
rhs
)
*
sort_info
->
order
;
jimsh0.c:11564
ListSortReal()
if
(
Jim_GetDouble
(
sort_info
->
interp
,
*
lhsObj
,
&
lhs
)
!=
JIM_OK
||
jimsh0.c:11565
ListSortReal()
Jim_GetDouble
(
sort_info
->
interp
,
*
rhsObj
,
&
rhs
)
!=
JIM_OK
)
{
jimsh0.c:11566
ListSortReal()
longjmp
(
sort_info
->
jmpbuf
,
JIM_ERR
)
;
jimsh0.c:11572
ListSortReal()
return
sort_info
->
order
;
jimsh0.c:11574
ListSortReal()
return
-
sort_info
->
order
;
jimsh0.c:11585
ListSortCommand()
compare_script
=
Jim_DuplicateObj
(
sort_info
->
interp
,
sort_info
->
command
)
;
jimsh0.c:11586
ListSortCommand()
Jim_ListAppendElement
(
sort_info
->
interp
,
compare_script
,
*
lhsObj
)
;
jimsh0.c:11587
ListSortCommand()
Jim_ListAppendElement
(
sort_info
->
interp
,
compare_script
,
*
rhsObj
)
;
jimsh0.c:11589
ListSortCommand()
rc
=
Jim_EvalObj
(
sort_info
->
interp
,
compare_script
)
;
jimsh0.c:11591
ListSortCommand()
if
(
rc
!=
JIM_OK
||
Jim_GetWide
(
sort_info
->
interp
,
Jim_GetResult
(
sort_info
->
interp
)
,
&
ret
)
!=
JIM_OK
)
{
jimsh0.c:11592
ListSortCommand()
longjmp
(
sort_info
->
jmpbuf
,
rc
)
;
jimsh0.c:11595
ListSortCommand()
return
JimSign
(
ret
)
*
sort_info
->
order
;
jimsh0.c:11607
ListRemoveDuplicates()
Jim_DecrRefCount
(
sort_info
->
interp
,
ele
[
dst
]
)
;
jimsh0.c:11641
ListSortElements()
prev_info
=
sort_info
;
jimsh0.c:11642
ListSortElements()
sort_info
=
info
;
jimsh0.c:11683
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