HelenOS sources

array             169 kernel/generic/include/macros.h #define sizeof_array(array) \
array             170 kernel/generic/include/macros.h 	(sizeof(array) / sizeof((array)[0]))
array              74 uspace/app/sbi/src/builtin/bi_task.c 	rdata_array_t *array;
array              90 uspace/app/sbi/src/builtin/bi_task.c 	array = var->u.array_v;
array              91 uspace/app/sbi/src/builtin/bi_task.c 	assert(array->rank == 1);
array              92 uspace/app/sbi/src/builtin/bi_task.c 	dim = array->extent[0];
array             106 uspace/app/sbi/src/builtin/bi_task.c 		arg = array->element[idx];
array              86 uspace/app/sbi/src/rdata.c static int rdata_array_get_dim(rdata_array_t *array);
array             293 uspace/app/sbi/src/rdata.c 	rdata_array_t *array;
array             295 uspace/app/sbi/src/rdata.c 	array = calloc(1, sizeof(rdata_array_t));
array             296 uspace/app/sbi/src/rdata.c 	if (array == NULL) {
array             301 uspace/app/sbi/src/rdata.c 	array->rank = rank;
array             302 uspace/app/sbi/src/rdata.c 	array->extent = calloc(rank, sizeof(int));
array             303 uspace/app/sbi/src/rdata.c 	if (array == NULL) {
array             308 uspace/app/sbi/src/rdata.c 	return array;
array             436 uspace/app/sbi/src/rdata.c void rdata_array_alloc_element(rdata_array_t *array)
array             440 uspace/app/sbi/src/rdata.c 	dim = rdata_array_get_dim(array);
array             442 uspace/app/sbi/src/rdata.c 	array->element = calloc(dim, sizeof(rdata_var_t *));
array             443 uspace/app/sbi/src/rdata.c 	if (array->element == NULL) {
array             456 uspace/app/sbi/src/rdata.c static int rdata_array_get_dim(rdata_array_t *array)
array             461 uspace/app/sbi/src/rdata.c 	for (didx = 0; didx < array->rank; ++didx)
array             462 uspace/app/sbi/src/rdata.c 		dim = dim * array->extent[didx];
array              77 uspace/app/sbi/src/rdata.h void rdata_array_alloc_element(rdata_array_t *array);
array            1202 uspace/app/sbi/src/run.c 	rdata_array_t *array;
array            1285 uspace/app/sbi/src/run.c 		array = rdata_array_new(1);
array            1286 uspace/app/sbi/src/run.c 		array->extent[0] = n_vargs;
array            1287 uspace/app/sbi/src/run.c 		rdata_array_alloc_element(array);
array            1297 uspace/app/sbi/src/run.c 			array->element[idx] = elem_var;
array            1304 uspace/app/sbi/src/run.c 		var->u.array_v = array;
array            1403 uspace/app/sbi/src/run_expr.c 	rdata_array_t *array;
array            1429 uspace/app/sbi/src/run_expr.c 	array = rdata_array_new(titem->u.tarray->rank);
array            1477 uspace/app/sbi/src/run_expr.c 		array->extent[i] = iextent;
array            1478 uspace/app/sbi/src/run_expr.c 		length = length * array->extent[i];
array            1484 uspace/app/sbi/src/run_expr.c 	array->element = calloc(length, sizeof(rdata_var_t *));
array            1485 uspace/app/sbi/src/run_expr.c 	if (array->element == NULL) {
array            1495 uspace/app/sbi/src/run_expr.c 		array->element[i] = elem_var;
array            1500 uspace/app/sbi/src/run_expr.c 	array_var->u.array_v = array;
array            2283 uspace/app/sbi/src/run_expr.c 	rdata_array_t *array;
array            2303 uspace/app/sbi/src/run_expr.c 	array = base->u.address->u.var_a->vref->u.array_v;
array            2315 uspace/app/sbi/src/run_expr.c 		if (i >= array->rank) {
array            2317 uspace/app/sbi/src/run_expr.c 			    array->rank);
array            2333 uspace/app/sbi/src/run_expr.c 		if (rc != EOK || arg_val < 0 || arg_val >= array->extent[i]) {
array            2347 uspace/app/sbi/src/run_expr.c 		elem_index = elem_index * array->extent[i] + arg_val;
array            2353 uspace/app/sbi/src/run_expr.c 	if (i < array->rank) {
array            2355 uspace/app/sbi/src/run_expr.c 		    array->rank);
array            2366 uspace/app/sbi/src/run_expr.c 	addr_var->vref = array->element[elem_index];
array              55 uspace/app/tester/tester.h #define sizeof_array(array) \
array              56 uspace/app/tester/tester.h 	(sizeof(array) / sizeof((array)[0]))
array              75 uspace/drv/bus/usb/xhci/scratchpad.c 	uint64_t *array = hc->scratchpad_array.virt;
array              78 uspace/drv/bus/usb/xhci/scratchpad.c 		array[i] = host2xhci(64, dma_buffer_phys(&hc->scratchpad_array,
array              42 uspace/lib/c/include/macros.h #define ARRAY_SIZE(array)   (sizeof(array) / sizeof(array[0]))
array              69 uspace/lib/cpp/include/__bits/adt/array.hpp         void swap(array& other)
array             175 uspace/lib/cpp/include/__bits/adt/array.hpp     void swap(array<T, N>& lhs, array<T, N>& rhs) noexcept(noexcept(lhs.swap(rhs)))
array             188 uspace/lib/cpp/include/__bits/adt/array.hpp     struct tuple_size<array<T, N>>
array             196 uspace/lib/cpp/include/__bits/adt/array.hpp     struct tuple_element<I, array<T, N>>
array             201 uspace/lib/cpp/include/__bits/adt/array.hpp     constexpr T& get(array<T, N>& arr) noexcept
array             209 uspace/lib/cpp/include/__bits/adt/array.hpp     constexpr T&& get(array<T, N>&& arr) noexcept
array             215 uspace/lib/cpp/include/__bits/adt/array.hpp     constexpr const T& get(const array<T, N>& arr) noexcept
array            1050 uspace/lib/cpp/include/__bits/iterator.hpp     constexpr T* begin(T (&array)[N]) noexcept
array            1052 uspace/lib/cpp/include/__bits/iterator.hpp         return array;
array            1056 uspace/lib/cpp/include/__bits/iterator.hpp     constexpr T* end(T (&array)[N]) noexcept
array            1058 uspace/lib/cpp/include/__bits/iterator.hpp         return array + N;
array            1100 uspace/lib/cpp/include/__bits/iterator.hpp     reverse_iterator<T*> rbegin(T (&array)[N])
array            1102 uspace/lib/cpp/include/__bits/iterator.hpp         return reverse_iterator<T*>{array + N};
array            1106 uspace/lib/cpp/include/__bits/iterator.hpp     reverse_iterator<T*> rend(T (&array)[N])
array            1108 uspace/lib/cpp/include/__bits/iterator.hpp         return reverse_iterator<T*>{array};
array            1146 uspace/lib/cpp/include/__bits/iterator.hpp     constexpr size_t size(T (&array)[N]) noexcept
array            1158 uspace/lib/cpp/include/__bits/iterator.hpp     constexpr bool empty(T (&array)[N]) noexcept
array            1182 uspace/lib/cpp/include/__bits/iterator.hpp     constexpr T* data(T (&array)[N]) noexcept
array            1184 uspace/lib/cpp/include/__bits/iterator.hpp         return array;
array              92 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 5> data2{1, 2, 3, 4, 5};
array             124 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 7> data3{1, 2, 3, 3, 4, 6, 5};
array             147 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 6> data4{1, 2, 3, 4, 5, 6};
array             148 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 6> data5{1, 2, 3, 4, 6, 5};
array             193 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 4> data1{10, 20, 30, 40};
array             194 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 7> data2{1, 2, 3, 4, 5, 6, 7};
array             207 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 8> data3{1, 2, 3, 4, 5, 6, 7, 8};
array             219 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 4> data4{0, 0, 0, 0};
array             220 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 9> data5{1, 2, 3, 4, 5, 6, 7, 8, 9};
array             242 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<std::string, 3> data6{"A", "B", "C"};
array             243 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<std::string, 3> data7{"", "", ""};
array             260 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 4> data8{1, 2, 3, 4};
array             261 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 4> data9{10, 20, 30, 40};
array             283 uspace/lib/cpp/src/__bits/test/algorithm.cpp         std::array<int, 4> data10{1, 2, 3, 4};
array              45 uspace/lib/cpp/src/__bits/test/array.cpp         std::array<int, 4> arr1{1, 2, 3, 4};
array              62 uspace/lib/cpp/src/__bits/test/array.cpp         std::array<int, 4> arr2{arr1};
array              82 uspace/lib/cpp/src/__bits/test/array.cpp         std::array<int, 4> arr3{};
array             104 uspace/lib/cpp/src/__bits/test/array.cpp         std::array<int, 3> arr4{1, 2, 3};
array              96 uspace/lib/cpp/src/__bits/test/numeric.cpp         std::array<int, 5> result{};
array              42 uspace/lib/posix/include/libc/macros.h #define ARRAY_SIZE(array)   (sizeof(array) / sizeof(array[0]))
array             308 uspace/srv/fs/exfat/exfat_directory.c 	exfat_dentry_t *array = NULL, *de;
array             315 uspace/srv/fs/exfat/exfat_directory.c 	array = (exfat_dentry_t *) malloc(count * sizeof(exfat_dentry_t));
array             316 uspace/srv/fs/exfat/exfat_directory.c 	if (!array)
array             321 uspace/srv/fs/exfat/exfat_directory.c 			free(array);
array             324 uspace/srv/fs/exfat/exfat_directory.c 		array[i] = *de;
array             327 uspace/srv/fs/exfat/exfat_directory.c 			free(array);
array             333 uspace/srv/fs/exfat/exfat_directory.c 		free(array);
array             338 uspace/srv/fs/exfat/exfat_directory.c 	array[0].file.attr = host2uint16_t_le(df->attr);
array             339 uspace/srv/fs/exfat/exfat_directory.c 	array[1].stream.firstc = host2uint32_t_le(ds->firstc);
array             340 uspace/srv/fs/exfat/exfat_directory.c 	array[1].stream.flags = ds->flags;
array             341 uspace/srv/fs/exfat/exfat_directory.c 	array[1].stream.valid_data_size = host2uint64_t_le(ds->valid_data_size);
array             342 uspace/srv/fs/exfat/exfat_directory.c 	array[1].stream.data_size = host2uint64_t_le(ds->data_size);
array             343 uspace/srv/fs/exfat/exfat_directory.c 	array[0].file.checksum =
array             344 uspace/srv/fs/exfat/exfat_directory.c 	    host2uint16_t_le(exfat_directory_set_checksum((uint8_t *)array,
array             351 uspace/srv/fs/exfat/exfat_directory.c 			free(array);
array             354 uspace/srv/fs/exfat/exfat_directory.c 		*de = array[i];
array             358 uspace/srv/fs/exfat/exfat_directory.c 			free(array);
array             362 uspace/srv/fs/exfat/exfat_directory.c 	free(array);
HelenOS homepage, sources at GitHub