Lines Matching refs:strlen
42 len = strlen(desc); in hls_index_get()
136 if (item_desc[strlen(item_desc) - 1] == '\n') in uvoice_hls_index_update()
137 item_desc[strlen(item_desc) - 1] = '\0'; in uvoice_hls_index_update()
159 if (!strncmp(ptr, "#EXTINF:", strlen("#EXTINF:"))) { in uvoice_hls_index_update()
168 if (item_desc[strlen(item_desc) - 1] == '\n') in uvoice_hls_index_update()
169 item_desc[strlen(item_desc) - 1] = '\0'; in uvoice_hls_index_update()
190 ptr_temp = ptr + strlen(ptr) - 1; in uvoice_hls_index_update()
197 memcpy(hls->seg_desc, ptr, strlen(ptr) + 1); in uvoice_hls_index_update()
201 strlen("#EXT-X-ENDLIST"))) { in uvoice_hls_index_update()
207 if (strlen(hls->seg_desc) + 1 > in uvoice_hls_index_update()
216 strlen(hls->seg_desc) + 1); in uvoice_hls_index_update()
262 if (strlen(hls->base) > 0) { in uvoice_hls_file_next()
274 strlen(hls->base) + 1); in uvoice_hls_file_next()
301 if (item_desc[strlen(item_desc) - 1] == '\n') in uvoice_hls_file_next()
302 item_desc[strlen(item_desc) - 1] = '\0'; in uvoice_hls_file_next()
324 if (!strncmp(ptr, "#EXTINF:", strlen("#EXTINF:"))) { in uvoice_hls_file_next()
328 if (item_desc[strlen(item_desc) - 1] == '\n') in uvoice_hls_file_next()
329 item_desc[strlen(item_desc) - 1] = '\0'; in uvoice_hls_file_next()
348 if (!strncmp(hls->seg_desc, ptr, strlen(ptr) + 1)) { in uvoice_hls_file_next()
356 ptr_temp = ptr + strlen(ptr) - 1; in uvoice_hls_file_next()
363 memcpy(hls->seg_desc, ptr, strlen(ptr) + 1); in uvoice_hls_file_next()
367 strlen("#EXT-X-ENDLIST"))) { in uvoice_hls_file_next()
373 if (strlen(hls->seg_desc) + 1 > in uvoice_hls_file_next()
382 strlen(hls->seg_desc) + 1); in uvoice_hls_file_next()
495 if ((ptr_name - loader->url) <= strlen("http://") || in uvoice_hls_build()
526 int temp_name_len = strlen(PLAYER_LOCAL_TEMP_DIR) + in uvoice_hls_build()
527 strlen("temp.m3u8") + 2; in uvoice_hls_build()
539 strlen(PLAYER_LOCAL_TEMP_DIR) + 1); in uvoice_hls_build()
540 if (*(temp_name + strlen(PLAYER_LOCAL_TEMP_DIR) - 1) == '/') in uvoice_hls_build()
541 snprintf(temp_name + strlen(PLAYER_LOCAL_TEMP_DIR), in uvoice_hls_build()
542 temp_name_len - strlen(PLAYER_LOCAL_TEMP_DIR), in uvoice_hls_build()
545 snprintf(temp_name + strlen(PLAYER_LOCAL_TEMP_DIR), in uvoice_hls_build()
546 temp_name_len - strlen(PLAYER_LOCAL_TEMP_DIR), in uvoice_hls_build()
673 if (item_desc[strlen(item_desc) - 1] == '\n') in uvoice_hls_build()
674 item_desc[strlen(item_desc) - 1] = '\0'; in uvoice_hls_build()
694 if (!strncmp(ptr, "#EXTINF:", strlen("#EXTINF:"))) { in uvoice_hls_build()
695 ptr += strlen("#EXTINF:"); in uvoice_hls_build()
707 if (*(ptr + strlen(ptr) - 1) == '\n') in uvoice_hls_build()
708 *(ptr + strlen(ptr) - 1) = '\0'; in uvoice_hls_build()
735 ptr_temp = ptr + strlen(ptr) - 1; in uvoice_hls_build()
742 memcpy(hls->seg_desc, ptr, strlen(ptr) + 1); in uvoice_hls_build()
759 strlen("#EXT-X-MEDIA-SEQUENCE:"))) { in uvoice_hls_build()
760 ptr += strlen("#EXT-X-MEDIA-SEQUENCE:"); in uvoice_hls_build()
768 strlen("#EXT-X-TARGETDURATION:"))) { in uvoice_hls_build()
769 ptr += strlen("#EXT-X-TARGETDURATION:"); in uvoice_hls_build()
777 strlen("#EXT-X-ENDLIST"))) { in uvoice_hls_build()
799 if (strlen(hls->base) <= 0) { in uvoice_hls_build()
800 memcpy(hls->base, loader->url, strlen(loader->url) + 1); in uvoice_hls_build()
804 if (!strncmp(hls->seg_desc, "http://", strlen("http://")) || in uvoice_hls_build()
805 !strncmp(hls->seg_desc, "https://", strlen("https://"))) { in uvoice_hls_build()
806 if (strlen(hls->seg_desc) + 1 > HTTP_URL_LEN) { in uvoice_hls_build()
813 strlen(hls->seg_desc) + 1); in uvoice_hls_build()
814 } else if (!strncmp(hls->seg_desc, "//", strlen("//"))) { in uvoice_hls_build()
815 if (strlen(hls->seg_desc) + 1 > HTTP_URL_LEN) { in uvoice_hls_build()
820 if (!strncmp(loader->url, "http://", strlen("http://"))) { in uvoice_hls_build()
821 hls->sub = loader->url + strlen("http:"); in uvoice_hls_build()
824 if (strlen(hls->seg_desc) + 1 > in uvoice_hls_build()
829 memcpy(hls->sub, hls->seg_desc, strlen(hls->seg_desc) + 1); in uvoice_hls_build()
830 } else if (!strncmp(loader->url, "https://", strlen("https://"))) { in uvoice_hls_build()
831 hls->sub = loader->url + strlen("https:"); in uvoice_hls_build()
834 memcpy(hls->sub, hls->seg_desc, strlen(hls->seg_desc) + 1); in uvoice_hls_build()
838 ptr = loader->url + strlen(loader->url); in uvoice_hls_build()
850 ptr = hls->seg_desc + strlen(hls->seg_desc); in uvoice_hls_build()
870 strlen(hls->seg_desc)) { in uvoice_hls_build()
885 strlen(hls->seg_desc) + 1); in uvoice_hls_build()