Lines Matching refs:search_items
1241 struct mpl_search search_items; in mcp_cmd_search() local
1258 search_items.len = 0; in mcp_cmd_search()
1265 if (ARRAY_SIZE(search_items.search) < (sizeof(scp_cmd.len) + in mcp_cmd_search()
1270 memcpy(&search_items.search[search_items.len], &scp_cmd.len, sizeof(scp_cmd.len)); in mcp_cmd_search()
1271 search_items.len += sizeof(scp_cmd.len); in mcp_cmd_search()
1273 memcpy(&search_items.search[search_items.len], &scp_cmd.type, in mcp_cmd_search()
1275 search_items.len += sizeof(scp_cmd.type); in mcp_cmd_search()
1284 if (ARRAY_SIZE(search_items.search) < (sizeof(scp_cmd.len) + sizeof(scp_cmd.len) + in mcp_cmd_search()
1289 memcpy(&search_items.search[search_items.len], &scp_cmd.len, sizeof(scp_cmd.len)); in mcp_cmd_search()
1290 search_items.len += sizeof(scp_cmd.len); in mcp_cmd_search()
1292 memcpy(&search_items.search[search_items.len], &scp_cmd.type, in mcp_cmd_search()
1294 search_items.len += sizeof(scp_cmd.type); in mcp_cmd_search()
1296 strcpy(&search_items.search[search_items.len], scp_cmd.param); in mcp_cmd_search()
1297 search_items.len += strlen(scp_cmd.param); in mcp_cmd_search()
1298 search_items.search[search_items.len] = '\0'; in mcp_cmd_search()
1301 err = bt_mcc_send_search(conn, &search_items); in mcp_cmd_search()