/third_party/jerryscript/tests/unit-core/ |
D | test-has-property.c | 36 jerry_value_t prop_name = jerry_create_string_from_utf8 ((jerry_char_t *) "something"); in main() local 41 assert_boolean_and_release (jerry_has_property (object, prop_name), false); in main() 42 assert_boolean_and_release (jerry_has_own_property (object, prop_name), false); in main() 47 assert_boolean_and_release (jerry_has_property (object, prop_name), false); in main() 48 assert_boolean_and_release (jerry_has_own_property (object, prop_name), false); in main() 50 assert_boolean_and_release (jerry_set_property (proto_object, prop_name, prop_value), true); in main() 53 assert_boolean_and_release (jerry_has_property (object, prop_name), true); in main() 54 assert_boolean_and_release (jerry_has_own_property (object, prop_name), false); in main() 56 TEST_ASSERT (jerry_delete_property (proto_object, prop_name)); in main() 57 assert_boolean_and_release (jerry_set_property (object, prop_name, prop_value), true); in main() [all …]
|
D | test-api-property.c | 45 jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) "my_defined_property"); in main() local 47 prop_desc.value = jerry_acquire_value (prop_name); in main() 48 jerry_value_t res = jerry_define_own_property (global_obj_val, prop_name, &prop_desc); in main() 56 bool is_ok = jerry_get_own_property_descriptor (global_obj_val, prop_name, &prop_desc); in main() 78 is_ok = jerry_get_own_property_descriptor (proxy, prop_name, &prop_desc); in main() 83 jerry_release_value (prop_name); in main() 87 prop_name = jerry_create_string ((const jerry_char_t *) "enumerable-property"); in main() 88 res = jerry_define_own_property (global_obj_val, prop_name, &prop_desc); in main() 94 is_ok = jerry_get_own_property_descriptor (global_obj_val, prop_name, &prop_desc); in main() 100 jerry_release_value (prop_name); in main()
|
/third_party/jerryscript/targets/particle/source/ |
D | main.cpp | 79 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/ |
D | handler-register.c | 76 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/ |
D | debug-utils.c | 42 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/grpc/src/core/lib/security/util/ |
D | json_util.cc | 32 const char* prop_name, in grpc_json_get_string_property() argument 41 auto it = json.object_value().find(prop_name); in grpc_json_get_string_property() 45 absl::StrCat("Property ", prop_name, " not found in JSON object.") in grpc_json_get_string_property() 53 absl::StrCat("Property ", prop_name, in grpc_json_get_string_property() 63 const char* prop_name, in grpc_copy_json_string_property() argument 67 grpc_json_get_string_property(json, prop_name, &error); in grpc_copy_json_string_property()
|
D | json_util.h | 37 const char* prop_name, 43 const char* prop_name, char** copied_value);
|
/third_party/jerryscript/tests/unit-ext/ |
D | test-ext-module-empty.c | 43 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()
|
D | test-ext-module-canonical.c | 91 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()
|
D | test-ext-method-register.c | 51 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/grpc/src/core/lib/security/security_connector/fake/ |
D | fake_security_connector.cc | 216 const char* prop_name; in fake_check_peer() local 224 prop_name = peer.properties[0].name; in fake_check_peer() 225 if (prop_name == nullptr || in fake_check_peer() 226 strcmp(prop_name, TSI_CERTIFICATE_TYPE_PEER_PROPERTY) != 0) { in fake_check_peer() 229 prop_name == nullptr ? "<EMPTY>" : prop_name) in fake_check_peer() 239 prop_name = peer.properties[1].name; in fake_check_peer() 240 if (prop_name == nullptr || in fake_check_peer() 241 strcmp(prop_name, TSI_SECURITY_LEVEL_PEER_PROPERTY) != 0) { in fake_check_peer() 244 prop_name == nullptr ? "<EMPTY>" : prop_name) in fake_check_peer()
|
/third_party/gstreamer/gstplugins_bad/gst/frei0r/ |
D | gstfrei0r.c | 71 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/glib/gobject/tests/ |
D | param.c | 500 gchar prop_name[10]; in G_DEFINE_INTERFACE() local 521 g_snprintf (prop_name, sizeof prop_name, "%s-%s", names[i], perms[j]); in G_DEFINE_INTERFACE() 522 pspec = g_param_spec_object (prop_name, prop_name, prop_name, types[i], j); in G_DEFINE_INTERFACE() 688 gchar prop_name[10]; in G_DEFINE_TYPE_WITH_CODE() local 707 g_snprintf (prop_name, sizeof prop_name, "%s-%s", names[i], perms[j]); in G_DEFINE_TYPE_WITH_CODE() 708 g_object_class_override_property (class, 1, prop_name); in G_DEFINE_TYPE_WITH_CODE() 716 …g_snprintf (prop_name, sizeof prop_name, "%s-%s", names[change_this_type], perms[change_this_flag]… in G_DEFINE_TYPE_WITH_CODE() 717 …pspec = g_param_spec_object (prop_name, prop_name, prop_name, types[use_this_type], use_this_flag); in G_DEFINE_TYPE_WITH_CODE()
|
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/ |
D | setInterval-js.cpp | 64 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()
|
D | setTimeout-js.cpp | 64 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()
|
/third_party/pulseaudio/src/pulsecore/ |
D | dbus-shared.c | 55 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/ |
D | gstmotioncells_dynamic_test.c | 134 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/freetype/src/base/ |
D | ftbdf.c | 63 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/skia/third_party/externals/freetype/src/base/ |
D | ftbdf.c | 63 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/flutter/skia/third_party/externals/freetype/src/base/ |
D | ftbdf.c | 64 const char* prop_name, in FT_Get_BDF_Property() argument 83 error = service->get_property( face, prop_name, aproperty ); in FT_Get_BDF_Property()
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | function-pattern2.js | 82 var prop_name = "x"; 85 function g({[prop_name]: a, b = def_val })
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/ |
D | usbd_config.h | 161 const char *prop_name; member 167 const char *prop_name; member
|
/third_party/jerryscript/docs/ |
D | 03.API-EXAMPLE.md | 514 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/python/Objects/ |
D | descrobject.c | 1496 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/jerryscript/tests/jerry/ |
D | regression-test-issue-689.js | 18 new g ({prop_name: 'value'}); property
|