Home
last modified time | relevance | path

Searched refs:njs_is_true (Results 1 – 10 of 10) sorted by relevance

/dports/www/nginx-full/njs-0.7.1/src/
H A Dnjs_boolean.c22 value = njs_is_true(&args[1]) ? &njs_value_true : &njs_value_false; in njs_boolean_constructor()
117 vm->retval = njs_is_true(value) ? njs_string_true : njs_string_false; in njs_boolean_prototype_to_string()
H A Dnjs_object_prop.c656 prop->writable = njs_is_true(&value); in njs_descriptor_prop()
669 prop->enumerable = njs_is_true(&value); in njs_descriptor_prop()
682 prop->configurable = njs_is_true(&value); in njs_descriptor_prop()
H A Dnjs_object.h163 value = njs_is_true(src) ? &njs_string_true : &njs_string_false; in njs_primitive_value_to_key()
H A Dnjs_array.c2077 if (!njs_is_true(&vm->retval)) { in njs_array_handler_every()
2099 if (njs_is_true(&vm->retval)) { in njs_array_handler_some()
2172 if (njs_is_true(&vm->retval)) { in njs_array_handler_find()
2201 if (njs_is_true(&vm->retval)) { in njs_array_handler_find_index()
2258 if (njs_is_true(&vm->retval)) { in njs_array_handler_filter()
H A Dnjs_vmcode.c517 ret = njs_is_true(value1); in njs_vmcode_interpreter()
568 njs_set_boolean(retval, !njs_is_true(value1)); in njs_vmcode_interpreter()
689 ret = njs_is_true(value1); in njs_vmcode_interpreter()
H A Dnjs_json.c1545 if (njs_is_true(value)) { in njs_json_append_value()
1788 if (njs_is_true(value)) { in njs_dump_terminal()
1829 if (njs_is_true(value)) { in njs_dump_terminal()
H A Dnjs_value.c1419 value = njs_is_true(src) ? &njs_string_true : &njs_string_false; in njs_primitive_value_to_string()
1461 if (njs_is_true(src)) { in njs_primitive_value_to_chain()
H A Dnjs_typed_array.c1242 if (!njs_is_true(&vm->retval)) { in njs_typed_array_prototype_iterator()
1255 if (!njs_is_true(&vm->retval)) { in njs_typed_array_prototype_iterator()
1286 if (!njs_is_true(&vm->retval)) { in njs_typed_array_prototype_iterator()
H A Dnjs_value.h506 #define njs_is_true(value) \ macro
/dports/www/nginx-full/njs-0.7.1/external/
H A Dnjs_fs_module.c1052 ret = njs_fs_make_path(vm, path, md, njs_is_true(&recursive), &retval); in njs_fs_mkdir()
1322 if (njs_fast_path(!njs_is_true(&types))) { in njs_fs_readdir()
1533 ret = njs_fs_rmtree(vm, path, njs_is_true(&recursive), &retval); in njs_fs_rmdir()