Home
last modified time | relevance | path

Searched refs:prop_name (Results 1 – 25 of 49) sorted by relevance

12

/third_party/jerryscript/tests/unit-core/
Dtest-has-property.cpp64 jerry_value_t prop_name = jerry_create_string_from_utf8 ((jerry_char_t *) "something"); variable
69 assert_boolean_and_release (jerry_has_property (object, prop_name), false);
70 assert_boolean_and_release (jerry_has_own_property (object, prop_name), false);
75 assert_boolean_and_release (jerry_has_property (object, prop_name), false);
76 assert_boolean_and_release (jerry_has_own_property (object, prop_name), false);
78 assert_boolean_and_release (jerry_set_property (proto_object, prop_name, prop_value), true);
81 assert_boolean_and_release (jerry_has_property (object, prop_name), true);
82 assert_boolean_and_release (jerry_has_own_property (object, prop_name), false);
84 TEST_ASSERT (jerry_delete_property (proto_object, prop_name));
85 assert_boolean_and_release (jerry_set_property (object, prop_name, prop_value), true);
[all …]
Dtest-api-property.cpp71 jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) "my_defined_property"); variable
73 prop_desc.value = jerry_acquire_value (prop_name);
74 jerry_value_t res = jerry_define_own_property (global_obj_val, prop_name, &prop_desc);
82 bool is_ok = jerry_get_own_property_descriptor (global_obj_val, prop_name, &prop_desc);
104 is_ok = jerry_get_own_property_descriptor (proxy, prop_name, &prop_desc);
109 jerry_release_value (prop_name);
113 prop_name = jerry_create_string ((const jerry_char_t *) "enumerable-property");
114 res = jerry_define_own_property (global_obj_val, prop_name, &prop_desc);
120 is_ok = jerry_get_own_property_descriptor (global_obj_val, prop_name, &prop_desc);
126 jerry_release_value (prop_name);
Dtest-typedarray.cpp121 …jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) test_entries[i].constructor_… in test_typedarray_queries() local
122 jerry_value_t prop_value = jerry_get_property (global_obj_val, prop_name); in test_typedarray_queries()
128 jerry_release_value (prop_name); in test_typedarray_queries()
/third_party/jerryscript/targets/particle/source/
Dmain.cpp79 jerry_value_t prop_name; in init_jerry() local
82 prop_name = jerry_create_string ((const jerry_char_t *) "setLed"); in init_jerry()
83 jerry_release_value (jerry_set_property (object, prop_name, func_obj)); in init_jerry()
84 jerry_release_value (prop_name); in init_jerry()
88 prop_name = jerry_create_string ((const jerry_char_t *) "delay"); in init_jerry()
89 jerry_release_value (jerry_set_property (object, prop_name, func_obj)); in init_jerry()
90 jerry_release_value (prop_name); in init_jerry()
97 prop_name = jerry_create_string ((const jerry_char_t *) "test"); in init_jerry()
98 jerry_release_value (jerry_set_property (global_object, prop_name, object)); in init_jerry()
99 jerry_release_value (prop_name); in init_jerry()
/third_party/jerryscript/jerry-ext/handler/
Dhandler-register.c76 jerry_value_t prop_name = jerry_create_string_from_utf8 ((const jerry_char_t *) entry->name); in jerryx_set_properties() local
77 jerry_value_t result = jerry_set_property (target_object, prop_name, entry->value); in jerryx_set_properties()
79 jerry_release_value (prop_name); in jerryx_set_properties()
159 jerry_value_t prop_name = jerry_create_string_from_utf8 ((const jerry_char_t *) name); in jerryx_get_property_str() local
160 jerry_value_t result_val = jerry_get_property (target_object, prop_name); in jerryx_get_property_str()
161 jerry_release_value (prop_name); in jerryx_get_property_str()
183 jerry_value_t prop_name = jerry_create_string_from_utf8 ((const jerry_char_t *) name); in jerryx_has_property_str() local
184 jerry_value_t has_prop_val = jerry_has_property (target_object, prop_name); in jerryx_has_property_str()
192 jerry_release_value (prop_name); in jerryx_has_property_str()
/third_party/jerryscript/jerry-core/ext/
Ddebug-utils.c42 ecma_string_t *prop_name = ecma_string_from_property_name (prop_iter_p->types[i], in PrintObjectProperties() local
57 prop_name = ecma_concat_ecma_strings(prop_name, separator_str); in PrintObjectProperties()
58 prop_name = ecma_concat_ecma_strings(prop_name, string_value); in PrintObjectProperties()
60 ECMA_STRING_TO_UTF8_STRING(prop_name, buf, buf_size); in PrintObjectProperties()
67 ecma_deref_ecma_string(prop_name); in PrintObjectProperties()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-module-empty.c43 jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) "message"); in main() local
44 jerry_value_t prop = jerry_get_property (module, prop_name); in main()
55 jerry_release_value (prop_name); in main()
58 prop_name = jerry_create_string ((const jerry_char_t *) "moduleName"); in main()
59 prop = jerry_get_property (module, prop_name); in main()
70 jerry_release_value (prop_name); in main()
Dtest-ext-module-canonical.c91 jerry_value_t prop_name = jerry_create_string ((jerry_char_t *) "something"); in main() local
93 jerry_release_value (jerry_set_property (result1, prop_name, prop_value)); in main()
96 prop_value = jerry_get_property (result2, prop_name); in main()
100 jerry_release_value (prop_name); in main()
Dtest-ext-method-register.c51 jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) target_prop); in freeze_property() local
52 jerry_value_t return_value = jerry_define_own_property (target_obj, prop_name, &prop_desc); in freeze_property()
55 jerry_release_value (prop_name); in freeze_property()
/third_party/gstreamer/gstplugins_bad/gst/frei0r/
Dgstfrei0r.c71 gchar *prop_name; in gst_frei0r_klass_install_properties() local
81 prop_name = g_ascii_strdown (param_info->name, -1); in gst_frei0r_klass_install_properties()
82 g_strcanon (prop_name, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "-+", '-'); in gst_frei0r_klass_install_properties()
84 if (!((prop_name[0] >= 'a' && prop_name[0] <= 'z') || in gst_frei0r_klass_install_properties()
85 (prop_name[0] >= 'A' && prop_name[0] <= 'Z'))) { in gst_frei0r_klass_install_properties()
86 gchar *tempstr = prop_name; in gst_frei0r_klass_install_properties()
88 prop_name = g_strconcat ("param-", prop_name, NULL); in gst_frei0r_klass_install_properties()
103 g_param_spec_boolean (prop_name, param_info->name, in gst_frei0r_klass_install_properties()
118 g_param_spec_double (prop_name, param_info->name, in gst_frei0r_klass_install_properties()
127 g_param_spec_string (prop_name, param_info->name, in gst_frei0r_klass_install_properties()
[all …]
/third_party/node/deps/v8/infra/testing/
DPRESUBMIT.py64 def _check_properties(error_msg, src_dict, prop_name, supported_keys): argument
65 properties = src_dict.get(prop_name, {})
71 def _check_int_range(error_msg, src_dict, prop_name, lower_bound=None, argument
73 if prop_name not in src_dict:
77 value = int(src_dict[prop_name])
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/
DsetTimeout-js.cpp64 jerry_value_t prop_name = jerry_create_string((const jerry_char_t*)"setTimeout"); in DECLARE_GLOBAL_FUNCTION() local
65 jerry_value_t func_obj = jerry_get_property(global_obj, prop_name); in DECLARE_GLOBAL_FUNCTION()
66 jerry_release_value(prop_name); in DECLARE_GLOBAL_FUNCTION()
DsetInterval-js.cpp64 jerry_value_t prop_name = jerry_create_string((const jerry_char_t*)"setInterval"); in DECLARE_GLOBAL_FUNCTION() local
65 jerry_value_t func_obj = jerry_get_property(global_obj, prop_name); in DECLARE_GLOBAL_FUNCTION()
66 jerry_release_value(prop_name); in DECLARE_GLOBAL_FUNCTION()
/third_party/pulseaudio/src/pulsecore/
Ddbus-shared.c55 static const char *const prop_name[] = { in pa_dbus_bus_get() local
65 if ((pconn = pa_shared_get(c, prop_name[type]))) in pa_dbus_bus_get()
71 return dbus_connection_new(c, conn, prop_name[type]); in pa_dbus_bus_get()
/third_party/gstreamer/gstplugins_bad/tests/examples/opencv/
Dgstmotioncells_dynamic_test.c134 gchar *prop_name, *prop_value; in main() local
153 prop_name = input_buf; in main()
155 gst_util_set_object_arg (G_OBJECT (mcells), prop_name, prop_value); in main()
/third_party/skia/third_party/externals/freetype/src/base/
Dftbdf.c63 const char* prop_name, in FT_Get_BDF_Property() argument
82 error = service->get_property( face, prop_name, aproperty ); in FT_Get_BDF_Property()
/third_party/jerryscript/tests/jerry/es2015/
Dfunction-pattern2.js82 var prop_name = "x";
85 function g({[prop_name]: a, b = def_val })
/third_party/jerryscript/docs/
D03.API-EXAMPLE.md514 jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) "my_var");
518 jerry_value_t set_result = jerry_set_property (global_object, prop_name, prop_value);
526 jerry_release_value (prop_name);
882 jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) "myFunc");
883 jerry_release_value (jerry_set_property (object, prop_name, func_obj));
884 jerry_release_value (prop_name);
891 prop_name = jerry_create_string ((const jerry_char_t *) "MyObject");
892 jerry_release_value (jerry_set_property (global_object, prop_name, object));
893 jerry_release_value (prop_name);
967 jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) "x");
[all …]
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Dusbd_config.h161 const char *prop_name; member
167 const char *prop_name; member
/third_party/python/Objects/
Ddescrobject.c1496 PyObject *prop_name; member
1559 Py_XSETREF(prop->prop_name, name); in property_set_name()
1583 Py_XDECREF(gs->prop_name); in property_dealloc()
1597 if (gs->prop_name != NULL) { in property_descr_get()
1598 PyErr_Format(PyExc_AttributeError, "unreadable attribute %R", gs->prop_name); in property_descr_get()
1620 if (gs->prop_name != NULL) { in property_descr_set()
1625 gs->prop_name); in property_descr_set()
1679 Py_XINCREF(pold->prop_name); in property_copy()
1680 Py_XSETREF(((propertyobject *) new)->prop_name, pold->prop_name); in property_copy()
1742 Py_XSETREF(self->prop_name, NULL); in property_init_impl()
[all …]
/third_party/node/deps/v8/tools/
Dgenerate-builtins-tests.py105 for prop_name in obj["properties"]:
106 prop = obj["properties"][prop_name]
/third_party/jerryscript/tests/jerry/
Dregression-test-issue-689.js18 new g ({prop_name: 'value'}); property
/third_party/skia/third_party/externals/freetype/include/freetype/internal/services/
Dsvbdf.h38 const char* prop_name,
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftbdf.h202 const char* prop_name,
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dgstlv2utils.c232 gchar *prop_name = g_hash_table_lookup (klass->sym_to_name, port_symbol); in set_port_value() local
235 if (!prop_name) { in set_port_value()
253 g_object_set (obj, prop_name, fvalue, NULL); in set_port_value()
280 gchar *prop_name = g_hash_table_lookup (klass->sym_to_name, port_symbol); in get_port_value() local
283 if (!prop_name) { in get_port_value()
291 g_object_get (obj, prop_name, &fvalue, NULL); in get_port_value()

12