/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/preprocessor/array/ |
H A D | reverse.hpp | 15 # include <msgpack/preprocessor/array/data.hpp> 16 # include <msgpack/preprocessor/array/size.hpp> 23 # define MSGPACK_PP_ARRAY_REVERSE(array) (MSGPACK_PP_ARRAY_SIZE(array), MSGPACK_PP_TUPLE_REVERSE(MSGPACK_PP_ARRAY_SIZE(array), MSGPACK_PP_ARRAY_DATA(array))) 25 # define MSGPACK_PP_ARRAY_REVERSE(array) MSGPACK_PP_ARRAY_REVERSE_I(array) 26 # define MSGPACK_PP_ARRAY_REVERSE_I(array) (MSGPACK_PP_ARRAY_SIZE(array), MSGPACK_PP_TUPLE_REVERS [all...] |
H A D | data.hpp | 21 # define MSGPACK_PP_ARRAY_DATA(array) MSGPACK_PP_TUPLE_ELEM(2, 1, array) 23 # define MSGPACK_PP_ARRAY_DATA(array) MSGPACK_PP_ARRAY_DATA_I(array) 24 # define MSGPACK_PP_ARRAY_DATA_I(array) MSGPACK_PP_ARRAY_DATA_II array
|
H A D | size.hpp | 21 # define MSGPACK_PP_ARRAY_SIZE(array) MSGPACK_PP_TUPLE_ELEM(2, 0, array) 23 # define MSGPACK_PP_ARRAY_SIZE(array) MSGPACK_PP_ARRAY_SIZE_I(array) 24 # define MSGPACK_PP_ARRAY_SIZE_I(array) MSGPACK_PP_ARRAY_SIZE_II array
|
H A D | to_tuple.hpp | 16 # include <msgpack/preprocessor/array/data.hpp> 17 # include <msgpack/preprocessor/array/size.hpp> 22 # define MSGPACK_PP_ARRAY_TO_TUPLE(array) \ 25 MSGPACK_PP_ARRAY_SIZE(array), \ 29 (array) \ 31 # define MSGPACK_PP_ARRAY_TO_TUPLE_EMPTY(array)
|
H A D | elem.hpp | 15 # include <msgpack/preprocessor/array/data.hpp> 16 # include <msgpack/preprocessor/array/size.hpp> 23 # define MSGPACK_PP_ARRAY_ELEM(i, array) MSGPACK_PP_TUPLE_ELEM(MSGPACK_PP_ARRAY_SIZE(array), i, MSGPACK_PP_ARRAY_DATA(array)) 25 # define MSGPACK_PP_ARRAY_ELEM(i, array) MSGPACK_PP_ARRAY_ELEM_I(i, array) 26 # define MSGPACK_PP_ARRAY_ELEM_I(i, array) MSGPACK_PP_TUPLE_ELEM(MSGPACK_PP_ARRAY_SIZE(array), i, MSGPACK_PP_ARRAY_DATA(array)) [all...] |
H A D | pop_back.hpp | 16 # include <msgpack/preprocessor/array/elem.hpp> 17 # include <msgpack/preprocessor/array/size.hpp> 23 # define MSGPACK_PP_ARRAY_POP_BACK(array) MSGPACK_PP_ARRAY_POP_BACK_Z(MSGPACK_PP_DEDUCE_Z(), array) 28 # define MSGPACK_PP_ARRAY_POP_BACK_Z(z, array) MSGPACK_PP_ARRAY_POP_BACK_I(z, MSGPACK_PP_ARRAY_SIZE(array), array) 30 # define MSGPACK_PP_ARRAY_POP_BACK_Z(z, array) MSGPACK_PP_ARRAY_POP_BACK_Z_D(z, array) 31 # define MSGPACK_PP_ARRAY_POP_BACK_Z_D(z, array) MSGPACK_PP_ARRAY_POP_BACK_ [all...] |
H A D | pop_front.hpp | 17 # include <msgpack/preprocessor/array/elem.hpp> 18 # include <msgpack/preprocessor/array/size.hpp> 24 # define MSGPACK_PP_ARRAY_POP_FRONT(array) MSGPACK_PP_ARRAY_POP_FRONT_Z(MSGPACK_PP_DEDUCE_Z(), array) 29 # define MSGPACK_PP_ARRAY_POP_FRONT_Z(z, array) MSGPACK_PP_ARRAY_POP_FRONT_I(z, MSGPACK_PP_ARRAY_SIZE(array), array) 31 # define MSGPACK_PP_ARRAY_POP_FRONT_Z(z, array) MSGPACK_PP_ARRAY_POP_FRONT_Z_D(z, array) 32 # define MSGPACK_PP_ARRAY_POP_FRONT_Z_D(z, array) MSGPACK_PP_ARRAY_POP_FRONT_ [all...] |
H A D | to_list.hpp | 18 # include <msgpack/preprocessor/array/size.hpp> 24 # define MSGPACK_PP_ARRAY_TO_LIST(array) \ 27 MSGPACK_PP_ARRAY_SIZE(array), \ 31 (array) \ 34 # define MSGPACK_PP_ARRAY_TO_LIST_EMPTY(array) MSGPACK_PP_NIL 37 # define MSGPACK_PP_ARRAY_TO_LIST_DO(array) MSGPACK_PP_ARRAY_TO_LIST_I(MSGPACK_PP_TUPLE_TO_LIST, array) 41 # define MSGPACK_PP_ARRAY_TO_LIST_DO(array) MSGPACK_PP_ARRAY_TO_LIST_I(array) 42 # define MSGPACK_PP_ARRAY_TO_LIST_I(array) MSGPACK_PP_TUPLE_TO_LIS [all...] |
H A D | to_seq.hpp | 18 # include <msgpack/preprocessor/array/size.hpp> 24 # define MSGPACK_PP_ARRAY_TO_SEQ(array) \ 27 MSGPACK_PP_ARRAY_SIZE(array), \ 31 (array) \ 33 # define MSGPACK_PP_ARRAY_TO_SEQ_EMPTY(array) 36 # define MSGPACK_PP_ARRAY_TO_SEQ_DO(array) MSGPACK_PP_ARRAY_TO_SEQ_I(MSGPACK_PP_TUPLE_TO_SEQ, array) 40 # define MSGPACK_PP_ARRAY_TO_SEQ_DO(array) MSGPACK_PP_ARRAY_TO_SEQ_I(array) 41 # define MSGPACK_PP_ARRAY_TO_SEQ_I(array) MSGPACK_PP_TUPLE_TO_SE [all...] |
H A D | enum.hpp | 23 # define MSGPACK_PP_ARRAY_ENUM(array) MSGPACK_PP_ARRAY_ENUM_I(MSGPACK_PP_TUPLE_REM_CTOR, array) 27 # define MSGPACK_PP_ARRAY_ENUM(array) MSGPACK_PP_ARRAY_ENUM_I(array) 28 # define MSGPACK_PP_ARRAY_ENUM_I(array) MSGPACK_PP_TUPLE_REM_CTOR ## array 30 # define MSGPACK_PP_ARRAY_ENUM(array) MSGPACK_PP_TUPLE_REM_CTOR array
|
H A D | push_back.hpp | 17 # include <msgpack/preprocessor/array/data.hpp> 18 # include <msgpack/preprocessor/array/size.hpp> 22 # include <msgpack/preprocessor/array/detail/get_data.hpp> 27 # define MSGPACK_PP_ARRAY_PUSH_BACK(array, elem) MSGPACK_PP_ARRAY_PUSH_BACK_I(MSGPACK_PP_ARRAY_SIZE(array), MSGPACK_PP_ARRAY_DATA(array), elem) 29 # define MSGPACK_PP_ARRAY_PUSH_BACK(array, elem) MSGPACK_PP_ARRAY_PUSH_BACK_D(array, elem) 30 # define MSGPACK_PP_ARRAY_PUSH_BACK_D(array, elem) MSGPACK_PP_ARRAY_PUSH_BACK_I(MSGPACK_PP_ARRAY_SIZE(array), MSGPACK_PP_ARRAY_DAT [all...] |
H A D | push_front.hpp | 17 # include <msgpack/preprocessor/array/data.hpp> 18 # include <msgpack/preprocessor/array/size.hpp> 22 # include <msgpack/preprocessor/array/detail/get_data.hpp> 27 # define MSGPACK_PP_ARRAY_PUSH_FRONT(array, elem) MSGPACK_PP_ARRAY_PUSH_FRONT_I(MSGPACK_PP_ARRAY_SIZE(array), MSGPACK_PP_ARRAY_DATA(array), elem) 29 # define MSGPACK_PP_ARRAY_PUSH_FRONT(array, elem) MSGPACK_PP_ARRAY_PUSH_FRONT_D(array, elem) 30 # define MSGPACK_PP_ARRAY_PUSH_FRONT_D(array, elem) MSGPACK_PP_ARRAY_PUSH_FRONT_I(MSGPACK_PP_ARRAY_SIZE(array), MSGPACK_PP_ARRAY_DAT [all...] |
H A D | remove.hpp | 16 # include <msgpack/preprocessor/array/elem.hpp> 17 # include <msgpack/preprocessor/array/push_back.hpp> 18 # include <msgpack/preprocessor/array/size.hpp> 28 # define MSGPACK_PP_ARRAY_REMOVE(array, i) MSGPACK_PP_ARRAY_REMOVE_I(MSGPACK_PP_DEDUCE_D(), array, i) 29 # define MSGPACK_PP_ARRAY_REMOVE_I(d, array, i) MSGPACK_PP_ARRAY_REMOVE_D(d, array, i) 34 # define MSGPACK_PP_ARRAY_REMOVE_D(d, array, i) MSGPACK_PP_TUPLE_ELEM(4, 2, MSGPACK_PP_WHILE_ ## d(MSGPACK_PP_ARRAY_REMOVE_P, MSGPACK_PP_ARRAY_REMOVE_O, (0, i, (0, ()), array))) 36 # define MSGPACK_PP_ARRAY_REMOVE_D(d, array, [all...] |
H A D | replace.hpp | 16 # include <msgpack/preprocessor/array/elem.hpp> 17 # include <msgpack/preprocessor/array/push_back.hpp> 27 # define MSGPACK_PP_ARRAY_REPLACE(array, i, elem) MSGPACK_PP_ARRAY_REPLACE_I(MSGPACK_PP_DEDUCE_D(), array, i, elem) 28 # define MSGPACK_PP_ARRAY_REPLACE_I(d, array, i, elem) MSGPACK_PP_ARRAY_REPLACE_D(d, array, i, elem) 33 # define MSGPACK_PP_ARRAY_REPLACE_D(d, array, i, elem) MSGPACK_PP_TUPLE_ELEM(5, 3, MSGPACK_PP_WHILE_ ## d(MSGPACK_PP_ARRAY_REPLACE_P, MSGPACK_PP_ARRAY_REPLACE_O, (0, i, elem, (0, ()), array))) 35 # define MSGPACK_PP_ARRAY_REPLACE_D(d, array, i, elem) MSGPACK_PP_ARRAY_REPLACE_D_I(d, array, [all...] |
H A D | insert.hpp | 16 # include <msgpack/preprocessor/array/elem.hpp> 17 # include <msgpack/preprocessor/array/push_back.hpp> 18 # include <msgpack/preprocessor/array/size.hpp> 27 # define MSGPACK_PP_ARRAY_INSERT(array, i, elem) MSGPACK_PP_ARRAY_INSERT_I(MSGPACK_PP_DEDUCE_D(), array, i, elem) 28 # define MSGPACK_PP_ARRAY_INSERT_I(d, array, i, elem) MSGPACK_PP_ARRAY_INSERT_D(d, array, i, elem) 33 # define MSGPACK_PP_ARRAY_INSERT_D(d, array, i, elem) MSGPACK_PP_TUPLE_ELEM(5, 3, MSGPACK_PP_WHILE_ ## d(MSGPACK_PP_ARRAY_INSERT_P, MSGPACK_PP_ARRAY_INSERT_O, (0, i, elem, (0, ()), array))) 35 # define MSGPACK_PP_ARRAY_INSERT_D(d, array, [all...] |
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/preprocessor/ |
H A D | array.hpp | 16 # include <msgpack/preprocessor/array/data.hpp> 17 # include <msgpack/preprocessor/array/elem.hpp> 18 # include <msgpack/preprocessor/array/enum.hpp> 19 # include <msgpack/preprocessor/array/insert.hpp> 20 # include <msgpack/preprocessor/array/pop_back.hpp> 21 # include <msgpack/preprocessor/array/pop_front.hpp> 22 # include <msgpack/preprocessor/array/push_back.hpp> 23 # include <msgpack/preprocessor/array/push_front.hpp> 24 # include <msgpack/preprocessor/array/remove.hpp> 25 # include <msgpack/preprocessor/array/replac [all...] |
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/test/suites/api/ |
H A D | test_array.c | 13 json_t *array, *five, *seven, *value; local 16 array = json_array(); 20 if(!array) 21 fail("unable to create array"); 25 if(json_array_size(array) != 0) 26 fail("empty array has nonzero size"); 28 if(!json_array_append(array, NULL)) 31 if(json_array_append(array, five)) 34 if(json_array_size(array) != 1) 35 fail("wrong array siz 119 json_t *array, *five, *seven, *eleven, *value; local 208 json_t *array, *five, *seven; local 277 json_t *array, *five, *seven; local [all...] |
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/ |
H A D | iterator.hpp | 28 inline object* begin(object_array &array) { return array.ptr; } argument 29 inline const object* begin(const object_array &array) { return array.ptr; } argument 30 inline object* end(object_array &array) { return array.ptr + array.size; } argument 31 inline const object* end(const object_array &array) { return array.ptr + array argument [all...] |
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/adaptor/cpp11/ |
H A D | array.hpp | 19 #include <array> 31 namespace array { namespace in namespace:msgpack::adaptor::detail 34 inline std::array<T, N1+N2> concat( 35 std::array<T, N1>&& a1, 36 std::array<T, N2>&& a2, 43 inline std::array<T, N1+N2> concat(std::array<T, N1>&& a1, std::array<T, N2>&& a2) { 49 static std::array<T, N> as(msgpack::object const& o) { 50 msgpack::object* p = o.via.array [all...] |
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/preprocessor/tuple/ |
H A D | push_back.hpp | 19 # include <msgpack/preprocessor/array/push_back.hpp> 20 # include <msgpack/preprocessor/array/to_tuple.hpp>
|
H A D | push_front.hpp | 19 # include <msgpack/preprocessor/array/push_front.hpp> 20 # include <msgpack/preprocessor/array/to_tuple.hpp>
|
/seL4-camkes-master/projects/util_libs/libplatsupport/src/ |
H A D | tqueue.c | 48 if (!tq->array[i].allocated) { 49 tq->array[i].allocated = true; 65 if (tq->array[id].allocated) { 69 tq->array[id].allocated = true; 84 if (!tq->array[id].allocated) { 90 if (tq->array[id].active) { 91 sglib_tqueue_node_t_delete(&tq->queue, &tq->array[id]); 92 tq->array[id].active = false; 95 tq->array[id].allocated = false; 105 if (id < 0 || id > tq->n || !tq->array[i [all...] |
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/adaptor/ |
H A D | vector.hpp | 34 v.reserve(o.via.array.size); 35 if (o.via.array.size > 0) { 36 msgpack::object* p = o.via.array.ptr; 37 msgpack::object* const pend = o.via.array.ptr + o.via.array.size; 53 v.resize(o.via.array.size); 54 if (o.via.array.size > 0) { 55 msgpack::object* p = o.via.array.ptr; 56 msgpack::object* const pend = o.via.array.ptr + o.via.array [all...] |
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/src/ |
H A D | vrefbuffer.c | 25 struct iovec* array; local 36 array = (struct iovec*)malloc( 38 if(array == NULL) { 42 vbuf->tail = array; 43 vbuf->end = array + nfirst; 44 vbuf->array = array; 49 free(array); 76 free(vbuf->array); 96 vbuf->tail = vbuf->array; [all...] |
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/src/ |
H A D | value.c | 339 /*** array ***/ 343 json_array_t *array = jsonp_malloc(sizeof(json_array_t)); local 344 if(!array) 346 json_init(&array->json, JSON_ARRAY); 348 array->entries = 0; 349 array->size = 8; 351 array->table = jsonp_malloc(array->size * sizeof(json_t *)); 352 if(!array->table) { 353 jsonp_free(array); 362 json_delete_array(json_array_t *array) argument 383 json_array_t *array; local 396 json_array_t *array; local 420 array_move(json_array_t *array, size_t dest, size_t src, size_t count) argument 433 json_array_grow(json_array_t *array, size_t amount, int copy) argument 464 json_array_t *array; local 489 json_array_t *array; local 529 json_array_t *array; local 551 json_array_t *array; local 567 json_array_t *array, *other; local 609 json_array_copy(json_t *array) argument 624 json_array_deep_copy(const json_t *array) argument [all...] |