OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:index_
(Results
1 - 2
of
2
) sorted by relevancy
/src/games/sail/
array.h
55
void *array_get(const struct array *, unsigned
index_
);
56
void array_set(const struct array *, unsigned
index_
, void *val);
59
int array_insert(struct array *a, unsigned
index_
);
60
void array_remove(struct array *a, unsigned
index_
);
76
array_get(const struct array *a, unsigned
index_
)
78
arrayassert(
index_
< a->num);
79
return a->v[
index_
];
83
array_set(const struct array *a, unsigned
index_
, void *val)
85
arrayassert(
index_
< a->num);
86
a->v[
index_
] = val
92
unsigned
index_
= a->num;
local in function:array_add
[
all
...]
array.c
91
array_insert(struct array *a, unsigned
index_
)
96
arrayassert(
index_
< a->num);
98
movers = a->num -
index_
;
104
memmove(a->v +
index_
+1, a->v +
index_
, movers*sizeof(*a->v));
109
array_remove(struct array *a, unsigned
index_
)
114
arrayassert(
index_
< a->num);
116
movers = a->num - (
index_
+ 1);
117
memmove(a->v +
index_
, a->v +
index_
+1, movers*sizeof(*a->v))
[
all
...]
Completed in 13 milliseconds
Indexes created Wed Oct 22 13:09:56 GMT 2025