Lines Matching refs:gint
60 static gint icy_metaint = 0;
65 static int udp_establish_listener (gint *sock);
66 static int udp_check_for_data(gint sock);
71 static gint sock, rd_index, wr_index, buffer_length, prebuffer_length;
85 static void base64_encode (const gchar *s, gchar *store, gint length) in base64_encode()
98 gint i; in base64_encode()
125 gint len1 = strlen (user) + 1 + strlen (passwd); in basic_authentication_encode()
126 gint len2 = BASE64_LENGTH (len1); in basic_authentication_encode()
202 static gint http_used(void) in http_used()
209 static gint http_free(void) in http_free()
216 static void http_wait_for_data(gint bytes) in http_wait_for_data()
237 int flac_http_read(gpointer data, gint length) in flac_http_read()
239 gint len, cnt, off = 0, meta_len, meta_off = 0, i; in flac_http_read()
295 …cnt = min4(len, buffer_length - rd_index, http_used(), icy_metaint - (gint) (buffer_read % icy_met… in flac_http_read()
318 gint ret; in http_check_for_data()
330 gint flac_http_read_line(gchar * buf, gint size) in flac_http_read_line()
332 gint i = 0; in flac_http_read_line()
358 gint cnt, error, port, cport; in http_connect()
408 address.sin_port = (gint) g_htons(cport); in http_connect()
615 gint cnt, written; in http_buffer_loop()
804 gint len, i; in udp_check_for_data()