Searched refs:num_of_spaces (Results 1 – 1 of 1) sorted by relevance
1532 ecma_number_t num_of_spaces; in ecma_builtin_json_stringify() local1533 ecma_op_to_integer (space, &num_of_spaces); in ecma_builtin_json_stringify()1535 num_of_spaces = JERRY_MIN (10, num_of_spaces); in ecma_builtin_json_stringify()1538 if (num_of_spaces < 1) in ecma_builtin_json_stringify()1544 JMEM_DEFINE_LOCAL_ARRAY (space_buff, num_of_spaces, char); in ecma_builtin_json_stringify()1546 memset (space_buff, LIT_CHAR_SP, (size_t) num_of_spaces); in ecma_builtin_json_stringify()1548 (lit_utf8_size_t) num_of_spaces); in ecma_builtin_json_stringify()