| /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 [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...] |
| /src/external/bsd/tradcpp/dist/ |
| array.c | 90 array_insert(struct array *a, unsigned index_) 95 arrayassert(index_ < a->num); 97 movers = a->num - index_; 101 memmove(a->v + index_+1, a->v + index_, movers*sizeof(*a->v)); 105 array_remove(struct array *a, unsigned index_) 110 arrayassert(index_ < a->num); 112 movers = a->num - (index_ + 1); 113 memmove(a->v + index_, a->v + index_+1, movers*sizeof(*a->v)) [all...] |
| array.h | 62 ARRAYINLINE void *array_get(const struct array *, unsigned index_); 63 ARRAYINLINE void array_set(const struct array *, unsigned index_, void *val); 66 void array_insert(struct array *a, unsigned index_); 67 void array_remove(struct array *a, unsigned index_); 79 array_get(const struct array *a, unsigned index_) 81 arrayassert(index_ < a->num); 82 return a->v[index_]; 86 array_set(const struct array *a, unsigned index_, void *val) 88 arrayassert(index_ < a->num); 89 a->v[index_] = val 95 unsigned index_ = a->num; local [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/dwarf2/ |
| line-header.h | 41 file_entry (const char *name_, file_name_index index_, dir_index d_index_, 44 index (index_),
|
| /src/external/gpl3/gdb/dist/gdb/dwarf2/ |
| line-header.h | 41 file_entry (const char *name_, file_name_index index_, dir_index d_index_, 44 index (index_),
|
| /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/ |
| gtest-death-test-internal.h | 270 : file_(a_file), line_(a_line), index_(an_index), 280 int index() const { return index_; } 286 int index_; member in class:testing::internal::InternalRunDeathTestFlag
|
| gtest-param-util.h | 224 : base_(base), value_(value), index_(index), step_(step) {} 232 index_++; 245 CheckedDowncastToActualType<const Iterator>(&other)->index_; 246 return index_ == other_index; 252 base_(other.base_), value_(other.value_), index_(other.index_), 260 int index_; member in class:testing::internal::RangeGenerator::Iterator
|
| /src/external/gpl3/gdb.old/dist/gdb/tui/ |
| tui-layout.c | 786 old_size_info (int index_, int min_size_, int max_size_) 787 : index (index_),
|
| /src/external/gpl3/gdb/dist/gdb/tui/ |
| tui-layout.c | 786 old_size_info (int index_, int min_size_, int max_size_) 787 : index (index_),
|