Home
last modified time | relevance | path

Searched refs:in_pos (Results 1 – 13 of 13) sorted by relevance

/external/qemu/telephony/
Dmodem_driver.c35 int in_pos; member
53 int ret = sizeof(md->in_buff) - md->in_pos; in modem_driver_can_read()
87 md->in_buff[ md->in_pos ] = c; in modem_driver_read()
88 md->in_pos++; in modem_driver_read()
96 if (md->in_pos == 0) /* skip empty lines */ in modem_driver_read()
99 md->in_buff[ md->in_pos ] = 0; in modem_driver_read()
100 md->in_pos = 0; in modem_driver_read()
118 md->in_buff[ md->in_pos++ ] = c; in modem_driver_read()
119 if (md->in_pos == sizeof(md->in_buff)) { in modem_driver_read()
121 md->in_pos = 0; in modem_driver_read()
[all …]
Dsimulator.c26 int in_pos; member
99 ret = sys_channel_read( client->channel, client->in_buff + client->in_pos, 1 ); in client_handler()
105 if (client->in_buff[client->in_pos] == '\r' || in client_handler()
106 client->in_buff[client->in_pos] == '\n' ) { in client_handler()
108 client->in_buff[client->in_pos] = 0; in client_handler()
110 if (client->in_pos > 0) { in client_handler()
112 client->in_pos = 0; in client_handler()
115 client->in_pos += 1; in client_handler()
Dtest2.c42 int in_pos; member
111 ret = sys_channel_read( client->channel, client->in_buff + client->in_pos, 1 ); in client_handler()
117 if (client->in_buff[client->in_pos] == '\r' || in client_handler()
118 client->in_buff[client->in_pos] == '\n' ) { in client_handler()
120 client->in_buff[client->in_pos] = 0; in client_handler()
127 client->in_pos = 0; in client_handler()
129 client->in_pos += 1; in client_handler()
/external/harfbuzz/src/
Dharfbuzz-buffer.c164 buffer->in_pos = 0; in hb_buffer_clear()
243 tmp_pos = buffer->in_pos; in _hb_buffer_swap()
244 buffer->in_pos = buffer->out_pos; in _hb_buffer_swap()
291 properties = buffer->in_string[buffer->in_pos].properties; in _hb_buffer_add_output_glyphs()
292 cluster = buffer->in_string[buffer->in_pos].cluster; in _hb_buffer_add_output_glyphs()
294 component = buffer->in_string[buffer->in_pos].component; in _hb_buffer_add_output_glyphs()
296 ligID = buffer->in_string[buffer->in_pos].ligID; in _hb_buffer_add_output_glyphs()
310 buffer->in_pos += num_in; in _hb_buffer_add_output_glyphs()
341 buffer->out_string[buffer->out_pos] = buffer->in_string[buffer->in_pos]; in _hb_buffer_copy_output_glyph()
344 buffer->in_pos++; in _hb_buffer_copy_output_glyph()
Dharfbuzz-gpos.c1039 sp->ValueFormat, POSITION( buffer->in_pos ) ); in Lookup_SinglePos()
1048 sp->ValueFormat, POSITION( buffer->in_pos ) ); in Lookup_SinglePos()
1057 (buffer->in_pos)++; in Lookup_SinglePos()
1527 POSITION( buffer->in_pos ) ); in Lookup_PairPos1()
1566 return Get_ValueRecord( gpi, &c2r->Value2, format2, POSITION( buffer->in_pos ) ); in Lookup_PairPos2()
1585 if ( buffer->in_pos >= buffer->in_length - 1 ) in Lookup_PairPos()
1600 first_pos = buffer->in_pos; in Lookup_PairPos()
1601 (buffer->in_pos)++; in Lookup_PairPos()
1609 if ( buffer->in_pos == buffer->in_length ) in Lookup_PairPos()
1611 buffer->in_pos = first_pos; in Lookup_PairPos()
[all …]
Dharfbuzz-gsub.c981 if ( buffer->in_pos + lig->ComponentCount > buffer->in_length ) in Lookup_LigatureSubst()
991 for ( i = 1, j = buffer->in_pos + 1; i < lig->ComponentCount; i++, j++ ) in Lookup_LigatureSubst()
1020 if ( j == buffer->in_pos + i ) /* No input glyphs skipped */ in Lookup_LigatureSubst()
1025 if ( IN_LIGID( buffer->in_pos ) ) in Lookup_LigatureSubst()
1059 (buffer->in_pos)++; in Lookup_LigatureSubst()
1094 old_pos = buffer->in_pos; in Do_ContextSubst()
1103 i += buffer->in_pos - old_pos; in Do_ContextSubst()
1836 if ( buffer->in_pos + sr[k].GlyphCount > buffer->in_length ) in Lookup_ContextSubst1()
1839 for ( i = 1, j = buffer->in_pos + 1; i < sr[k].GlyphCount; i++, j++ ) in Lookup_ContextSubst1()
1925 if ( buffer->in_pos + sr->GlyphCount > buffer->in_length ) in Lookup_ContextSubst2()
[all …]
Dharfbuzz-buffer-private.h77 #define IN_CURGLYPH() (buffer->in_string[buffer->in_pos].gindex)
78 #define IN_CURITEM() (&buffer->in_string[buffer->in_pos])
Dharfbuzz-buffer.h70 HB_UInt in_pos; member
/external/wpa_supplicant_8/src/tls/
Dtlsv1_server.c116 u8 *msg = NULL, *in_msg, *in_pos, *in_end, alert, ct; in tlsv1_server_handshake() local
142 in_pos = in_msg; in tlsv1_server_handshake()
147 while (in_pos < in_end) { in tlsv1_server_handshake()
148 in_msg_len = in_end - in_pos; in tlsv1_server_handshake()
149 if (tlsv1_server_process_handshake(conn, ct, in_pos, in tlsv1_server_handshake()
152 in_pos += in_msg_len; in tlsv1_server_handshake()
Dtlsv1_client.c137 u8 *msg = NULL, *in_msg, *in_pos, *in_end, alert, ct; in tlsv1_client_handshake() local
168 in_pos = in_msg; in tlsv1_client_handshake()
173 while (in_pos < in_end) { in tlsv1_client_handshake()
174 in_msg_len = in_end - in_pos; in tlsv1_client_handshake()
175 if (tlsv1_client_process_handshake(conn, ct, in_pos, in tlsv1_client_handshake()
180 in_pos += in_msg_len; in tlsv1_client_handshake()
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dtlsv1_server.c116 u8 *msg = NULL, *in_msg, *in_pos, *in_end, alert, ct; in tlsv1_server_handshake() local
142 in_pos = in_msg; in tlsv1_server_handshake()
147 while (in_pos < in_end) { in tlsv1_server_handshake()
148 in_msg_len = in_end - in_pos; in tlsv1_server_handshake()
149 if (tlsv1_server_process_handshake(conn, ct, in_pos, in tlsv1_server_handshake()
152 in_pos += in_msg_len; in tlsv1_server_handshake()
Dtlsv1_client.c137 u8 *msg = NULL, *in_msg, *in_pos, *in_end, alert, ct; in tlsv1_client_handshake() local
168 in_pos = in_msg; in tlsv1_client_handshake()
173 while (in_pos < in_end) { in tlsv1_client_handshake()
174 in_msg_len = in_end - in_pos; in tlsv1_client_handshake()
175 if (tlsv1_client_process_handshake(conn, ct, in_pos, in tlsv1_client_handshake()
180 in_pos += in_msg_len; in tlsv1_client_handshake()
/external/wpa_supplicant/
Dtlsv1_client.c1828 u8 *msg = NULL, *in_msg, *in_pos, *in_end, alert, ct; in tlsv1_client_handshake() local
1858 in_pos = in_msg; in tlsv1_client_handshake()
1863 while (in_pos < in_end) { in tlsv1_client_handshake()
1864 in_msg_len = in_end - in_pos; in tlsv1_client_handshake()
1865 if (tlsv1_client_process_handshake(conn, ct, in_pos, in tlsv1_client_handshake()
1868 in_pos += in_msg_len; in tlsv1_client_handshake()