Lines Matching refs:key
46 sme_sensor_upbool(prop_dictionary_t dict, const char *key, bool val)
52 obj = prop_dictionary_get(dict, key);
55 if (!prop_dictionary_set_bool(dict, key, val)) {
57 __func__, key, val));
62 if (!prop_dictionary_set_bool(dict, key, val)) {
64 __func__, key, val));
73 sme_sensor_upint32(prop_dictionary_t dict, const char *key, int32_t val)
79 obj = prop_dictionary_get(dict, key);
82 if (!prop_dictionary_set_int32(dict, key, val)) {
84 __func__, key, val));
89 if (!prop_dictionary_set_int32(dict, key, val)) {
91 __func__, key, val));
100 sme_sensor_upuint32(prop_dictionary_t dict, const char *key, uint32_t val)
106 obj = prop_dictionary_get(dict, key);
109 if (!prop_dictionary_set_uint32(dict, key, val)) {
111 __func__, key, val));
116 if (!prop_dictionary_set_uint32(dict, key, val)) {
118 __func__, key, val));
127 sme_sensor_upstring(prop_dictionary_t dict, const char *key, const char *str)
133 obj = prop_dictionary_get(dict, key);
135 if (!prop_dictionary_set_string(dict, key, str)) {
137 __func__, key, str));
142 if (!prop_dictionary_set_string(dict, key, str)) {
144 __func__, key, str));