Lines Matching refs:seg_desc
196 memset(hls->seg_desc, 0, sizeof(hls->seg_desc)); in uvoice_hls_index_update()
197 memcpy(hls->seg_desc, ptr, strlen(ptr) + 1); in uvoice_hls_index_update()
207 if (strlen(hls->seg_desc) + 1 > in uvoice_hls_index_update()
215 memcpy(hls->sub, hls->seg_desc, in uvoice_hls_index_update()
216 strlen(hls->seg_desc) + 1); in uvoice_hls_index_update()
263 hls->seg_current = hls_index_get(hls->seg_desc); in uvoice_hls_file_next()
348 if (!strncmp(hls->seg_desc, ptr, strlen(ptr) + 1)) { in uvoice_hls_file_next()
362 memset(hls->seg_desc, 0, sizeof(hls->seg_desc)); in uvoice_hls_file_next()
363 memcpy(hls->seg_desc, ptr, strlen(ptr) + 1); in uvoice_hls_file_next()
373 if (strlen(hls->seg_desc) + 1 > in uvoice_hls_file_next()
381 memcpy(hls->sub, hls->seg_desc, in uvoice_hls_file_next()
382 strlen(hls->seg_desc) + 1); in uvoice_hls_file_next()
741 memset(hls->seg_desc, 0, sizeof(hls->seg_desc)); in uvoice_hls_build()
742 memcpy(hls->seg_desc, ptr, strlen(ptr) + 1); in uvoice_hls_build()
744 seg_current = hls_index_get(hls->seg_desc); 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()
812 memcpy(hls->sub, hls->seg_desc, 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()
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()
834 memcpy(hls->sub, hls->seg_desc, strlen(hls->seg_desc) + 1); in uvoice_hls_build()
847 if (strchr(hls->seg_desc, '/')) { in uvoice_hls_build()
850 ptr = hls->seg_desc + strlen(hls->seg_desc); in uvoice_hls_build()
852 seg_prefix >= hls->seg_desc; seg_prefix--) { in uvoice_hls_build()
854 prefix_len = seg_prefix - hls->seg_desc + 1; in uvoice_hls_build()
861 hls->seg_desc, prefix_len)) { in uvoice_hls_build()
870 strlen(hls->seg_desc)) { in uvoice_hls_build()
884 memcpy(hls->sub, hls->seg_desc, in uvoice_hls_build()
885 strlen(hls->seg_desc) + 1); in uvoice_hls_build()