Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 25 of 151) sorted by relevance

1234567

/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dbeacon.c48 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in cache_check() local
55 return sub; in cache_check()
99 if (sub->kr_flag) { in bt_mesh_beacon_create()
100 keys = &sub->keys[1]; in bt_mesh_beacon_create()
137 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in secure_beacon_send() local
247 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in update_beacon_observation() local
253 sub->beacons_last = sub->beacons_cur; in update_beacon_observation()
296 if (sub) { in secure_beacon_recv()
312 if (!sub) { in secure_beacon_recv()
322 cache_add(data, sub); in secure_beacon_recv()
[all …]
A Dnet.c96 .sub = {
427 if (sub && sub->kr_flag) { in bt_mesh_net_flags()
468 sub = &bt_mesh.sub[0]; in bt_mesh_net_create()
516 memcpy(&sub->keys[0], &sub->keys[1], sizeof(sub->keys[0])); in bt_mesh_net_revoke_keys()
862 nid = tx->sub->keys[tx->sub->kr_flag].nid; in bt_mesh_net_encode()
1081 sub = &bt_mesh.sub[i]; in net_find_and_decrypt()
1091 rx->sub = sub; in net_find_and_decrypt()
1099 rx->sub = sub; in net_find_and_decrypt()
1111 rx->sub = sub; in net_find_and_decrypt()
1210 enc = rx->sub->keys[rx->sub->kr_flag].enc; in bt_mesh_net_relay()
[all …]
A Dprovisioner_main.c294 sub = &(bt_mesh.sub[0]); in provisioner_upper_init()
368 sub = &bt_mesh.sub[i]; in provisioner_net_key_get()
477 if (!sub || (sub->net_idx != net_idx)) {
789 sub = &bt_mesh.sub[i]; in provisioner_check_net_key()
808 sub = &bt_mesh.sub[i]; in provisioner_check_net_idx()
820 sub = &bt_mesh.sub[i]; in provisioner_check_net_idx()
1077 sub = &bt_mesh.sub[add]; in bt_mesh_provisioner_local_net_key_add()
1135 sub = &bt_mesh.sub[i]; in bt_mesh_provisioner_local_net_key_get()
1162 sub = &bt_mesh.sub[i]; in bt_mesh_provisioner_local_net_key_delete()
1412 sub = &bt_mesh.sub[i]; in bt_mesh_temp_prov_net_idx_set()
[all …]
A Dproxy.c222 .sub = rx->sub, in send_filter_status()
342 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in proxy_send_beacons() local
354 if (!sub) { in bt_mesh_proxy_beacon_send()
378 next_idx = sub - bt_mesh.sub; in bt_mesh_proxy_identity_start()
398 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in bt_mesh_proxy_identity_enable() local
430 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in bt_mesh_proxy_identity_disable() local
1116 err = bt_encrypt_be(sub->keys[sub->kr_flag].identity, tmp, tmp); in node_id_adv()
1149 memcpy(proxy_svc_data + 3, sub->keys[sub->kr_flag].net_id, 8); in net_id_adv()
1184 sub = &bt_mesh.sub[(i + next_idx) % ARRAY_SIZE(bt_mesh.sub)]; in next_sub()
1199 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in sub_count() local
[all …]
A Dsettings.c339 if (!sub) { in net_key_set()
355 if (sub) { in net_key_set()
368 sub = &bt_mesh.sub[i]; in net_key_set()
373 if (!sub) { in net_key_set()
378 sub->net_idx = net_idx; in net_key_set()
849 err = bt_mesh_net_keys_create(&sub->keys[0], sub->keys[0].net); in subnet_init()
857 err = bt_mesh_net_keys_create(&sub->keys[1], sub->keys[1].net); in subnet_init()
861 memset(&sub->keys[0], 0, sizeof(sub->keys[0])); in subnet_init()
953 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in mesh_commit() local
1318 BT_DBG("NetKeyIndex 0x%03x NetKey %s", sub->net_idx, bt_hex(sub->keys[0].net, 16)); in store_net_key()
[all …]
A Dcfg_srv.c102 .sub = sub, in hb_send()
429 if (!sub) { in app_key_set()
920 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in gatt_proxy_set() local
2109 if (!sub) { in net_key_add()
2114 sub = &bt_mesh.sub[i]; in net_key_add()
2193 if (!sub) { in net_key_update()
2280 if (!sub) { in net_key_del()
2319 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in net_key_get() local
2363 if (!sub) { in node_identity_get()
3338 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in bt_mesh_cfg_reset() local
[all …]
A Dfriend.c256 .sub = rx->sub, in bt_mesh_friend_clear()
331 struct bt_mesh_subnet *sub; in create_friend_pdu() local
337 __ASSERT_NO_MSG(sub != NULL); in create_friend_pdu()
338 if (!sub) { in create_friend_pdu()
346 enc = sub->keys[sub->kr_flag].enc; in create_friend_pdu()
347 priv = sub->keys[sub->kr_flag].privacy; in create_friend_pdu()
348 nid = sub->keys[sub->kr_flag].nid; in create_friend_pdu()
430 __ASSERT_NO_MSG(sub != NULL); in encode_update()
437 upd->flags = bt_mesh_net_flags(sub); in encode_update()
665 .sub = &bt_mesh.sub[0], in send_friend_clear()
[all …]
A Dlpn.c183 .net_idx = bt_mesh.sub[0].net_idx, in send_friend_clear()
189 .sub = &bt_mesh.sub[0], in send_friend_clear()
294 .net_idx = bt_mesh.sub[0].net_idx, in send_friend_req()
300 .sub = &bt_mesh.sub[0], in send_friend_req()
360 .net_idx = bt_mesh.sub[0].net_idx, in send_friend_poll()
366 .sub = &bt_mesh.sub[0], in send_friend_poll()
492 struct bt_mesh_subnet *sub = rx->sub; in bt_mesh_lpn_friend_offer() local
642 .net_idx = bt_mesh.sub[0].net_idx, in sub_update()
648 .sub = &bt_mesh.sub[0], in sub_update()
928 struct bt_mesh_subnet *sub = rx->sub; in bt_mesh_lpn_friend_update() local
[all …]
/AliOS-Things-master/components/py_engine/tests/extmod/
A Dure_sub.py11 re.sub
30 print(re.sub("a", A(), "aBCBABCDabcda."))
33 re.sub(
50 print(re.sub("a", "b", "c"))
53 print(re.sub("a", "b", "1a2a3a", 2))
57 re.sub("(a)", "b\\2", "a")
68 print(re.sub("a", "a", "a"))
69 print(re.sub(b".", b"a", b"a"))
70 print(re.sub(re.compile("a"), "a", "a"))
72 re.sub(123, "a", "a")
[all …]
A Ductypes_le.py30 print(S.sub.b0, S.sub.b1)
31 assert S.sub.b0, S.sub.b1 == (0x30, 0x31)
61 S.sub.b0 = ord("2")
A Ductypes_native_le.py40 print(S.sub.b0, S.sub.b1)
41 assert S.sub.b0, S.sub.b1 == (0x30, 0x31)
70 S.sub.b0 = ord("2")
/AliOS-Things-master/components/freetype/src/gzip/
A Dinfblock.c75 ZFREE(z, s->sub.trees.blens); in inflate_blocks_reset()
203 t = s->sub.left; in inflate_blocks()
235 s->sub.trees.index = 0; in inflate_blocks()
239 while (s->sub.trees.index < 4 + (s->sub.trees.table >> 10)) in inflate_blocks()
242 s->sub.trees.blens[border[s->sub.trees.index++]] = (uInt)b & 7; in inflate_blocks()
246 s->sub.trees.blens[border[s->sub.trees.index++]] = 0; in inflate_blocks()
247 s->sub.trees.bb = 7; in inflate_blocks()
248 t = inflate_trees_bits(s->sub.trees.blens, &s->sub.trees.bb, in inflate_blocks()
260 s->sub.trees.index = 0; in inflate_blocks()
269 t = s->sub.trees.bb; in inflate_blocks()
[all …]
A Dinfcodes.c121 j = c->sub.code.need; in inflate_codes()
128 c->sub.lit = t->base; in inflate_codes()
137 c->sub.copy.get = e & 15; in inflate_codes()
144 c->sub.code.need = e; in inflate_codes()
159 j = c->sub.copy.get; in inflate_codes()
168 j = c->sub.code.need; in inflate_codes()
175 c->sub.copy.get = e & 15; in inflate_codes()
182 c->sub.code.need = e; in inflate_codes()
191 j = c->sub.copy.get; in inflate_codes()
198 f = q - c->sub.copy.dist; in inflate_codes()
[all …]
A Dinflate.c43 } sub; /* submode */ member
180 if (((z->state->sub.method << 8) + b) % 31) in inflate()
196 z->state->sub.check.need = (uLong)NEXTBYTE << 24; in inflate()
200 z->state->sub.check.need += (uLong)NEXTBYTE << 16; in inflate()
204 z->state->sub.check.need += (uLong)NEXTBYTE << 8; in inflate()
208 z->state->sub.check.need += (uLong)NEXTBYTE; in inflate()
209 z->adler = z->state->sub.check.need; in inflate()
239 z->state->sub.check.need = (uLong)NEXTBYTE << 24; in inflate()
247 z->state->sub.check.need += (uLong)NEXTBYTE << 8; in inflate()
251 z->state->sub.check.need += (uLong)NEXTBYTE; in inflate()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/masmx86/
A Dinffas32.asm168 sub esp,64
187 sub edx,11
196 sub ebp,ecx
347 sub bl,ah
397 sub bl,cl
429 sub bl,ah
454 sub bl,cl
473 sub ecx,3
497 sub ecx,3
762 sub ecx,3
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djidctfst.S69 sub sp, #local_SIZE
188 sub r1, r4, r0
206 sub r0, r0, r8
228 sub r7, r0, r7, lsl #1
233 sub r3, r3, r4
314 sub r2, r5, r3
316 sub r6, r1, r7
322 sub r1, r4, r0
340 sub r0, r0, r8
341 sub r2, r8, r2
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/masmx64/
A Dinffasx64.asm104 sub bl, ah ; /* bits -= this.bits */
120 sub bl, ah ; /* bits -= this.bits */
142 sub bl, cl
180 sub bl, cl
279 sub eax, ecx ; /* eax -= nbytes */
286 sub eax, ecx ; /* eax -= nbytes */
301 sub rsi, rcx ; /* from -= nbytes */
302 sub ecx, eax ; /* nbytes -= write */
308 sub eax, ecx ; /* len -= nbytes */
315 sub eax, ecx ; /* len -= nbytes */
[all …]
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/
A Dnet.h265 struct bt_mesh_subnet sub[CONFIG_BT_MESH_SUBNET_COUNT]; member
296 struct bt_mesh_subnet *sub; member
311 struct bt_mesh_subnet *sub; member
330 u8_t bt_mesh_net_flags(struct bt_mesh_subnet *sub);
332 bool bt_mesh_kr_update(struct bt_mesh_subnet *sub, u8_t new_kr, bool new_key);
334 void bt_mesh_net_revoke_keys(struct bt_mesh_subnet *sub);
336 int bt_mesh_net_beacon_update(struct bt_mesh_subnet *sub);
342 void bt_mesh_net_sec_update(struct bt_mesh_subnet *sub);
382 int friend_cred_get(struct bt_mesh_subnet *sub, u16_t addr, u8_t *nid, const u8_t **enc, const u8_t…
385 int friend_cred_update(struct bt_mesh_subnet *sub);
[all …]
A Dproxy.h25 void bt_mesh_proxy_beacon_send(struct bt_mesh_subnet *sub);
32 void bt_mesh_proxy_identity_start(struct bt_mesh_subnet *sub);
33 void bt_mesh_proxy_identity_stop(struct bt_mesh_subnet *sub);
/AliOS-Things-master/components/py_engine/tests/micropython/
A Dviper_binop_arith.py17 def sub(x: int, y: int): function
22 sub(1, 2)
23 sub(42, 3)
24 sub(-1, 2)
25 sub(-42, -3)
A Dviper_binop_arith_uint.py15 def sub(x: uint, y: uint): function
20 print(*(x & 0xFFFFFFFF for x in sub(1, 2)))
21 print(*(x & 0xFFFFFFFF for x in sub(-1, -2)))
/AliOS-Things-master/components/oss/src/utils/
A DFileSystemUtils.cc54 std::string sub; in CreateDirectory() local
55 sub.reserve(folder.size()); in CreateDirectory()
58 sub.push_back(c); in CreateDirectory()
60 folder_builder.append(sub); in CreateDirectory()
66 sub.clear(); in CreateDirectory()
134 std::wstring sub; in CreateDirectory() local
135 sub.reserve(folder.size()); in CreateDirectory()
138 sub.push_back(c); in CreateDirectory()
140 folder_builder.append(sub); in CreateDirectory()
146 sub.clear(); in CreateDirectory()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/inflate86/
A Dinffas86.c871 sub bl, cl
922 sub bl, cl
1025 sub eax, ecx
1032 sub eax, ecx /* len -= nbytes */
1035 sub esi, ebp /* from = out - dist */
1046 sub esi, ecx /* from -= nbytes */
1047 sub ecx, eax /* nbytes -= write */
1053 sub eax, ecx /* len -= nbytes */
1060 sub eax, ecx /* len -= nbytes */
1063 sub esi, ebp /* from = out - dist */
[all …]
/AliOS-Things-master/components/SDL2/src/core/linux/
A DSDL_fcitx.c90 DBusMessageIter iter, array, sub; in Fcitx_GetPreeditString() local
98 dbus->message_iter_recurse(&array, &sub); in Fcitx_GetPreeditString()
99 if (dbus->message_iter_get_arg_type(&sub) == DBUS_TYPE_STRING) { in Fcitx_GetPreeditString()
100 dbus->message_iter_get_basic(&sub, &subtext); in Fcitx_GetPreeditString()
116 dbus->message_iter_recurse(&array, &sub); in Fcitx_GetPreeditString()
117 if (dbus->message_iter_get_arg_type(&sub) == DBUS_TYPE_STRING) { in Fcitx_GetPreeditString()
118 dbus->message_iter_get_basic(&sub, &subtext); in Fcitx_GetPreeditString()
219 DBusMessageIter args, array, sub; in FcitxCreateInputContext() local
223 dbus->message_iter_append_basic(&sub, DBUS_TYPE_STRING, &program); in FcitxCreateInputContext()
224 dbus->message_iter_append_basic(&sub, DBUS_TYPE_STRING, &appname); in FcitxCreateInputContext()
[all …]
/AliOS-Things-master/components/uvoice/stream/
A Duvoice_hls.c213 memset(hls->sub, 0, in uvoice_hls_index_update()
215 memcpy(hls->sub, hls->seg_desc, in uvoice_hls_index_update()
379 memset(hls->sub, 0, in uvoice_hls_file_next()
381 memcpy(hls->sub, hls->seg_desc, in uvoice_hls_file_next()
810 hls->sub = loader->url; in uvoice_hls_build()
811 memset(hls->sub, 0, HTTP_URL_LEN); in uvoice_hls_build()
812 memcpy(hls->sub, hls->seg_desc, in uvoice_hls_build()
822 memset(hls->sub, 0, in uvoice_hls_build()
832 memset(hls->sub, 0, in uvoice_hls_build()
882 hls->sub = ptr_name; in uvoice_hls_build()
[all …]

Completed in 66 milliseconds

1234567