Searched refs:LY_YANG_ARRAY_SIZE (Results 1 – 4 of 4) sorted by relevance
37 #define LY_YANG_ARRAY_SIZE 8 macro
1430 if (!(dev->deviate_size % LY_YANG_ARRAY_SIZE)) { in yang_read_deviate()1431 deviate = realloc(dev->deviate, (LY_YANG_ARRAY_SIZE + dev->deviate_size) * sizeof *deviate); in yang_read_deviate()1433 memset(deviate + dev->deviate_size, 0, LY_YANG_ARRAY_SIZE * sizeof *deviate); in yang_read_deviate()
87 } else if (!((size) % LY_YANG_ARRAY_SIZE)) { \90 tmp = realloc((current_ptr), (sizeof *(current_ptr)) * ((size) + LY_YANG_ARRAY_SIZE)); \96 …(char *)tmp + (sizeof *(current_ptr)) * (size), 0, (sizeof *(current_ptr)) * LY_YANG_ARRAY_SIZE); \
41 } else if (!((size) % LY_YANG_ARRAY_SIZE)) { \44 tmp = realloc((current_ptr), (sizeof *(current_ptr)) * ((size) + LY_YANG_ARRAY_SIZE)); \50 …(char *)tmp + (sizeof *(current_ptr)) * (size), 0, (sizeof *(current_ptr)) * LY_YANG_ARRAY_SIZE); \