Home
last modified time | relevance | path

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

123

/external/autotest/server/cros/bluetooth/
Dbluetooth_gatt_client_utils.py160 for prop_name in self.PROPERTIES:
161 self.properties[prop_name] = self.read_property(prop_name)
208 for prop_name in GATT_Service.PROPERTIES:
209 if serv_a.properties[prop_name] != serv_b.properties[prop_name]:
211 (serv_a.uuid, prop_name,
212 serv_a.properties[prop_name],
213 serv_b.properties[prop_name]))
266 for prop_name in self.PROPERTIES:
267 self.properties[prop_name] = self.read_property(prop_name)
326 for prop_name in GATT_Characteristic.PROPERTIES:
[all …]
/external/u-boot/drivers/core/
Dof_extra.c49 int ofnode_decode_region(ofnode node, const char *prop_name, fdt_addr_t *basep, in ofnode_decode_region() argument
55 debug("%s: %s: %s\n", __func__, ofnode_get_name(node), prop_name); in ofnode_decode_region()
56 cell = ofnode_get_property(node, prop_name, &len); in ofnode_decode_region()
74 char prop_name[50]; in ofnode_decode_memory_region() local
90 snprintf(prop_name, sizeof(prop_name), "%s-memory%s", mem_type, in ofnode_decode_memory_region()
92 mem = ofnode_read_string(config_node, prop_name); in ofnode_decode_memory_region()
95 prop_name); in ofnode_decode_memory_region()
115 snprintf(prop_name, sizeof(prop_name), "%s-offset%s", mem_type, in ofnode_decode_memory_region()
117 if (ofnode_decode_region(config_node, prop_name, &offset, in ofnode_decode_memory_region()
120 prop_name); in ofnode_decode_memory_region()
/external/u-boot/include/
Dfdtdec.h314 const char *prop_name, int index, int na, int ns,
336 int node, const char *prop_name, int index, fdt_size_t *sizep,
362 const char *prop_name, int index, fdt_size_t *sizep,
389 const char *prop_name);
417 const char *prop_name, fdt_size_t *sizep);
455 s32 fdtdec_get_int(const void *blob, int node, const char *prop_name,
468 unsigned int fdtdec_get_uint(const void *blob, int node, const char *prop_name,
494 uint64_t fdtdec_get_uint64(const void *blob, int node, const char *prop_name,
659 int fdtdec_lookup_phandle(const void *blob, int node, const char *prop_name);
674 int fdtdec_get_int_array(const void *blob, int node, const char *prop_name,
[all …]
/external/u-boot/tools/dtoc/
Dfdt.py319 def DeleteProp(self, prop_name): argument
329 CheckErr(self._fdt._fdt_obj.delprop(self.Offset(), prop_name),
330 "Node '%s': delete property: '%s'" % (self.path, prop_name))
331 del self.props[prop_name]
334 def AddZeroProp(self, prop_name): argument
340 self.props[prop_name] = Prop(self, None, prop_name,
343 def AddEmptyProp(self, prop_name, len): argument
354 self.props[prop_name] = Prop(self, None, prop_name, value)
356 def _CheckProp(self, prop_name): argument
368 if prop_name not in self.props:
[all …]
/external/u-boot/lib/
Dfdtdec_common.c21 int fdtdec_get_int(const void *blob, int node, const char *prop_name, in fdtdec_get_int() argument
27 debug("%s: %s: ", __func__, prop_name); in fdtdec_get_int()
28 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_int()
39 unsigned int fdtdec_get_uint(const void *blob, int node, const char *prop_name, in fdtdec_get_uint() argument
45 debug("%s: %s: ", __func__, prop_name); in fdtdec_get_uint()
46 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_uint()
Dfdtdec.c82 const char *prop_name, int index, int na, in fdtdec_get_addr_size_fixed() argument
91 debug("%s: %s: ", __func__, prop_name); in fdtdec_get_addr_size_fixed()
93 prop = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_addr_size_fixed()
128 int node, const char *prop_name, in fdtdec_get_addr_size_auto_parent() argument
150 return fdtdec_get_addr_size_fixed(blob, node, prop_name, index, na, in fdtdec_get_addr_size_auto_parent()
155 const char *prop_name, int index, in fdtdec_get_addr_size_auto_noparent() argument
169 return fdtdec_get_addr_size_auto_parent(blob, parent, node, prop_name, in fdtdec_get_addr_size_auto_noparent()
174 const char *prop_name, fdt_size_t *sizep) in fdtdec_get_addr_size() argument
178 return fdtdec_get_addr_size_fixed(blob, node, prop_name, 0, in fdtdec_get_addr_size()
183 fdt_addr_t fdtdec_get_addr(const void *blob, int node, const char *prop_name) in fdtdec_get_addr() argument
[all …]
/external/v8/infra/testing/
DPRESUBMIT.py64 def _check_properties(error_msg, src_dict, prop_name, supported_keys): argument
65 properties = src_dict.get(prop_name, {})
67 return error_msg('Value for %s must be a dict' % 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])
79 return error_msg('If specified, %s must be an int' % prop_name)
81 return error_msg('If specified, %s must be >=%d' % (prop_name, lower_bound))
83 return error_msg('If specified, %s must be <=%d' % (prop_name, upper_bound))
/external/grpc-grpc/src/core/lib/security/util/
Djson_util.cc29 const char* prop_name) { in grpc_json_get_string_property() argument
36 if (strcmp(child->key, prop_name) == 0) break; in grpc_json_get_string_property()
39 gpr_log(GPR_ERROR, "Invalid or missing %s property.", prop_name); in grpc_json_get_string_property()
46 const char* prop_name, in grpc_copy_json_string_property() argument
48 const char* prop_value = grpc_json_get_string_property(json, prop_name); in grpc_copy_json_string_property()
Djson_util.h35 const char* prop_name);
40 const char* prop_name, char** copied_value);
/external/python/oauth2client/oauth2client/
Dclientsecrets.py98 for prop_name in VALID_CLIENT[client_type]['required']:
99 if prop_name not in client_info:
102 prop_name, client_type))
103 for prop_name in VALID_CLIENT[client_type]['string']:
104 if client_info[prop_name].startswith('[['):
106 'Property "{0}" is not configured.'.format(prop_name))
/external/arm-trusted-firmware/drivers/st/clk/
Dstm32mp_clkfunc.c73 bool fdt_osc_read_bool(enum stm32mp_osc_id osc_id, const char *prop_name) in fdt_osc_read_bool() argument
105 if (fdt_getprop(fdt, subnode, prop_name, NULL) != NULL) { in fdt_osc_read_bool()
121 const char *prop_name, uint32_t dflt_value) in fdt_osc_read_uint32_default() argument
153 return fdt_read_uint32_default(subnode, prop_name, dflt_value); in fdt_osc_read_uint32_default()
203 int fdt_rcc_read_uint32_array(const char *prop_name, in fdt_rcc_read_uint32_array() argument
218 return fdt_read_uint32_array(node, prop_name, array, count); in fdt_rcc_read_uint32_array()
254 const fdt32_t *fdt_rcc_read_prop(const char *prop_name, int *lenp) in fdt_rcc_read_prop() argument
269 cuint = fdt_getprop(fdt, node, prop_name, &len); in fdt_rcc_read_prop()
/external/arm-trusted-firmware/include/drivers/st/
Dstm32mp_clkfunc.h17 bool fdt_osc_read_bool(enum stm32mp_osc_id osc_id, const char *prop_name);
19 const char *prop_name,
24 int fdt_rcc_read_uint32_array(const char *prop_name,
27 const fdt32_t *fdt_rcc_read_prop(const char *prop_name, int *lenp);
/external/pdfium/fxjs/xfa/
Djse_define.h27 #define JSE_PROP(prop_name) \ argument
28 static void prop_name##_static(CJX_Object* node, CFXJSE_Value* value, \
31 static_cast<Type__*>(node)->prop_name(value, setting, attribute); \
33 void prop_name(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute)
/external/cldr/tools/scripts/
Dcldr-svnprops-check.py125 prop_name, prop_val = prop.split("=", 1)
128 prop_name, prop_val = prop, ""
129 prop_name = prop_name.strip()
134 proplist.append((prop_name, prop_val))
/external/drm_hwcomposer/include/
Ddrmdevice.h66 int GetPlaneProperty(const DrmPlane &plane, const char *prop_name,
68 int GetCrtcProperty(const DrmCrtc &crtc, const char *prop_name,
70 int GetConnectorProperty(const DrmConnector &connector, const char *prop_name,
85 int GetProperty(uint32_t obj_id, uint32_t obj_type, const char *prop_name,
/external/u-boot/common/
Dimage-fit.c113 char *prop_name, int err) in fit_get_debug() argument
116 prop_name, (ulong)fit, noffset, fit_get_name(fit, noffset, NULL), in fit_get_debug()
1707 const char *prop_name) in fit_conf_get_prop_node_count() argument
1709 return fdt_stringlist_count(fit, noffset, prop_name); in fit_conf_get_prop_node_count()
1713 const char *prop_name, int index) in fit_conf_get_prop_node_index() argument
1719 uname = fdt_stringlist_get(fit, noffset, prop_name, index, &len); in fit_conf_get_prop_node_index()
1727 const char *prop_name) in fit_conf_get_prop_node() argument
1729 return fit_conf_get_prop_node_index(fit, noffset, prop_name, 0); in fit_conf_get_prop_node()
1748 int fit_get_node_from_config(bootm_headers_t *images, const char *prop_name, in fit_get_node_from_config() argument
1756 prop_name, images->fit_uname_cfg, addr); in fit_get_node_from_config()
[all …]
/external/pdfium/fxjs/
Djs_define.h139 #define JS_STATIC_PROP(err_name, prop_name, class_name) \ argument
140 static void get_##prop_name##_static( \
143 JSPropGetter<class_name, &class_name::get_##prop_name>( \
146 static void set_##prop_name##_static( \
149 JSPropSetter<class_name, &class_name::set_##prop_name>( \
/external/u-boot/drivers/tpm/
Dtpm_tis_sandbox.c95 char prop_name[20]; in sandbox_tpm_read_state() local
97 sprintf(prop_name, "nvdata%d", i); in sandbox_tpm_read_state()
98 prop = fdt_getprop(blob, node, prop_name, &len); in sandbox_tpm_read_state()
128 char prop_name[20]; in sandbox_tpm_write_state() local
131 sprintf(prop_name, "nvdata%d", i); in sandbox_tpm_write_state()
132 fdt_setprop(blob, node, prop_name, in sandbox_tpm_write_state()
/external/chromium-trace/catapult/devil/devil/android/tools/
Dsystem_app_test.py50 def dict_setprop(prop_name, value): argument
51 system_props[prop_name] = value
53 def dict_getprop(prop_name): argument
54 return system_props.get(prop_name, '')
/external/u-boot/drivers/pinctrl/
Dpinctrl-sti.c213 const char *prop_name; in sti_pinctrl_set_state() local
231 fdt_getprop_by_offset(blob, property_offset, &prop_name, in sti_pinctrl_set_state()
236 prop_name, "#gpio-cells", in sti_pinctrl_set_state()
253 prop_name, cells, in sti_pinctrl_set_state()
/external/u-boot/arch/sandbox/cpu/
Dstate.c308 int state_setprop(int node, const char *prop_name, const void *data, int size) in state_setprop() argument
314 fdt_getprop(state->state_fdt, node, prop_name, &len); in state_setprop()
317 ret = state_ensure_space(size - len + strlen(prop_name) + 32); in state_setprop()
323 ret = fdt_setprop(blob, node, prop_name, data, size); in state_setprop()
326 __func__, prop_name, fdt_get_name(blob, node, NULL), in state_setprop()
/external/drm_hwcomposer/drm/
Ddrmdevice.cpp534 const char *prop_name, DrmProperty *property) { in GetProperty() argument
546 if (!strcmp(p->name, prop_name)) { in GetProperty()
557 int DrmDevice::GetPlaneProperty(const DrmPlane &plane, const char *prop_name, in GetPlaneProperty() argument
559 return GetProperty(plane.id(), DRM_MODE_OBJECT_PLANE, prop_name, property); in GetPlaneProperty()
562 int DrmDevice::GetCrtcProperty(const DrmCrtc &crtc, const char *prop_name, in GetCrtcProperty() argument
564 return GetProperty(crtc.id(), DRM_MODE_OBJECT_CRTC, prop_name, property); in GetCrtcProperty()
568 const char *prop_name, in GetConnectorProperty() argument
570 return GetProperty(connector.id(), DRM_MODE_OBJECT_CONNECTOR, prop_name, in GetConnectorProperty()
/external/dtc/pylibfdt/
Dlibfdt.i317 def delprop(self, nodeoffset, prop_name):
327 return check_err(fdt_delprop(self._fdt, nodeoffset, prop_name))
329 def getprop(self, nodeoffset, prop_name, quiet=()):
343 pdata = check_err_null(fdt_getprop(self._fdt, nodeoffset, prop_name),
/external/freetype/src/base/
Dftbdf.c64 const char* prop_name, in FT_Get_BDF_Property() argument
83 error = service->get_property( face, prop_name, aproperty ); in FT_Get_BDF_Property()
/external/perfetto/src/traced/service/
Dbuiltin_producer.cc145 const char* prop_name) { in MaybeInitiateLazyStop() argument
155 [weak_this, cur_generation, lazy_state, prop_name] { in MaybeInitiateLazyStop()
160 weak_this->SetAndroidProperty(prop_name, ""); in MaybeInitiateLazyStop()

123