Home
last modified time | relevance | path

Searched refs:opos (Results 1 – 25 of 37) sorted by relevance

12

/third_party/ltp/testcases/kernel/fs/stream/
Dstream03.c55 off_t opos; in main() local
190 opos = ftello(stream); in main()
192 if (opos != 0) { in main()
195 ", wanted opos=0)", (int64_t) opos); in main()
205 opos = ftello(stream); in main()
207 if (opos != strlen(junk)) { in main()
210 PRId64 ")", strlen(junk), (int64_t) opos); in main()
216 opos = ftello(stream); in main()
218 if (opos != 0) { in main()
221 ", wanted opos=0)", (int64_t) opos); in main()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Duuid.c18 u8 *opos; in uuid_str2bin() local
21 opos = bin; in uuid_str2bin()
23 if (hexstr2bin(pos, opos, 4)) in uuid_str2bin()
26 opos += 4; in uuid_str2bin()
28 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) in uuid_str2bin()
31 opos += 2; in uuid_str2bin()
33 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) in uuid_str2bin()
36 opos += 2; in uuid_str2bin()
38 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) in uuid_str2bin()
41 opos += 2; in uuid_str2bin()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Duuid.c18 u8 *opos; in uuid_str2bin() local
21 opos = bin; in uuid_str2bin()
23 if (hexstr2bin(pos, opos, 4)) in uuid_str2bin()
26 opos += 4; in uuid_str2bin()
28 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) in uuid_str2bin()
31 opos += 2; in uuid_str2bin()
33 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) in uuid_str2bin()
36 opos += 2; in uuid_str2bin()
38 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) in uuid_str2bin()
41 opos += 2; in uuid_str2bin()
[all …]
/third_party/freetype/src/autofit/
Daflatin2.c1219 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin2_hints_compute_edges()
1220 edge->pos = edge->opos; in af_latin2_hints_compute_edges()
1823 FT_Pos dist = stem_edge->opos - base_edge->opos; in af_latin2_align_linked_edge()
1834 stem_edge-hints->axis[dim].edges, stem_edge->opos / 64.0, in af_latin2_align_linked_edge()
1846 serif->pos = base->pos + ( serif->opos - base->opos ); in af_latin2_align_serif_edge()
1912 edge1-edges, edge1->opos / 64.0, blue->fit / 64.0, in af_latin2_hint_edges()
1928 anchor_drift = ( anchor->pos - anchor->opos ); in af_latin2_hint_edges()
1931 ( edge2->pos - edge2->opos ) ) >> 1; in af_latin2_hint_edges()
1972 org_len = edge2->opos - edge->opos; in af_latin2_hint_edges()
1986 org_center = edge->opos + ( org_len >> 1 ); in af_latin2_hint_edges()
[all …]
Daflatin.c2241 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin_hints_compute_edges()
2242 edge->pos = edge->opos; in af_latin_hints_compute_edges()
2936 dist = stem_edge->opos - base_edge->opos; in af_latin_align_linked_edge()
2937 base_delta = base_edge->pos - base_edge->opos; in af_latin_align_linked_edge()
2949 stem_edge - hints->axis[dim].edges, stem_edge->opos / 64.0, in af_latin_align_linked_edge()
2964 serif->pos = base->pos + ( serif->opos - base->opos ); in af_latin_align_serif_edge()
3073 edge1 - edges, edge1->opos / 64.0, blue->fit / 64.0, in af_latin_hint_edges()
3078 edge1 - edges, edge1->opos / 64.0, blue->fit / 64.0, in af_latin_hint_edges()
3144 org_len = edge2->opos - edge->opos; in af_latin_hint_edges()
3168 org_center = edge->opos + ( org_len >> 1 ); in af_latin_hint_edges()
[all …]
Dafcjk.c1126 edge->opos = FT_MulFix( seg->pos, scale ); in af_cjk_hints_compute_edges()
1127 edge->pos = edge->opos; in af_cjk_hints_compute_edges()
1637 FT_Pos dist = stem_edge->opos - base_edge->opos; in af_cjk_align_linked_edge()
1649 stem_edge->opos / 64.0, stem_edge->pos / 64.0, in af_cjk_align_linked_edge()
1664 serif->pos = base->pos + ( serif->opos - base->opos ); in af_cjk_align_serif_edge()
1717 org_len = edge2->opos - edge->opos; in af_hint_normal_stem()
1722 org_center = ( edge->opos + edge2->opos ) / 2 + anchor; in af_hint_normal_stem()
1795 if ( edge->opos < edge2->opos ) in af_hint_normal_stem()
1870 edge1 - edges, edge1->fpos, edge1->opos / 64.0, in af_cjk_hint_edges()
1984 target = left->opos + ( right->opos - left->opos ) / 2 + delta - 16; in af_cjk_hint_edges()
[all …]
Dafhints.c619 (int)edge->opos / 64.0, in af_glyph_hints_dump_edges()
625 edge->opos / 64.0, in af_glyph_hints_dump_edges()
1349 u = edge->pos - ( edge->opos - ou ); in af_glyph_hints_align_strong_points()
1364 u = edge->pos + ( ou - edge->opos ); in af_glyph_hints_align_strong_points()
Dafhints.h291 FT_Pos opos; /* original, scaled position */ member
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Daflatin2.c1219 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin2_hints_compute_edges()
1220 edge->pos = edge->opos; in af_latin2_hints_compute_edges()
1823 FT_Pos dist = stem_edge->opos - base_edge->opos; in af_latin2_align_linked_edge()
1834 stem_edge-hints->axis[dim].edges, stem_edge->opos / 64.0, in af_latin2_align_linked_edge()
1846 serif->pos = base->pos + ( serif->opos - base->opos ); in af_latin2_align_serif_edge()
1912 edge1-edges, edge1->opos / 64.0, blue->fit / 64.0, in af_latin2_hint_edges()
1928 anchor_drift = ( anchor->pos - anchor->opos ); in af_latin2_hint_edges()
1931 ( edge2->pos - edge2->opos ) ) >> 1; in af_latin2_hint_edges()
1972 org_len = edge2->opos - edge->opos; in af_latin2_hint_edges()
1986 org_center = edge->opos + ( org_len >> 1 ); in af_latin2_hint_edges()
[all …]
Daflatin.c2242 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin_hints_compute_edges()
2243 edge->pos = edge->opos; in af_latin_hints_compute_edges()
2937 dist = stem_edge->opos - base_edge->opos; in af_latin_align_linked_edge()
2938 base_delta = base_edge->pos - base_edge->opos; in af_latin_align_linked_edge()
2950 stem_edge - hints->axis[dim].edges, stem_edge->opos / 64.0, in af_latin_align_linked_edge()
2965 serif->pos = base->pos + ( serif->opos - base->opos ); in af_latin_align_serif_edge()
3074 edge1 - edges, edge1->opos / 64.0, blue->fit / 64.0, in af_latin_hint_edges()
3079 edge1 - edges, edge1->opos / 64.0, blue->fit / 64.0, in af_latin_hint_edges()
3145 org_len = edge2->opos - edge->opos; in af_latin_hint_edges()
3169 org_center = edge->opos + ( org_len >> 1 ); in af_latin_hint_edges()
[all …]
Dafcjk.c1127 edge->opos = FT_MulFix( seg->pos, scale ); in af_cjk_hints_compute_edges()
1128 edge->pos = edge->opos; in af_cjk_hints_compute_edges()
1638 FT_Pos dist = stem_edge->opos - base_edge->opos; in af_cjk_align_linked_edge()
1650 stem_edge->opos / 64.0, stem_edge->pos / 64.0, in af_cjk_align_linked_edge()
1665 serif->pos = base->pos + ( serif->opos - base->opos ); in af_cjk_align_serif_edge()
1718 org_len = edge2->opos - edge->opos; in af_hint_normal_stem()
1723 org_center = ( edge->opos + edge2->opos ) / 2 + anchor; in af_hint_normal_stem()
1796 if ( edge->opos < edge2->opos ) in af_hint_normal_stem()
1871 edge1 - edges, edge1->fpos, edge1->opos / 64.0, in af_cjk_hint_edges()
1985 target = left->opos + ( right->opos - left->opos ) / 2 + delta - 16; in af_cjk_hint_edges()
[all …]
Dafhints.c619 (int)edge->opos / 64.0, in af_glyph_hints_dump_edges()
625 edge->opos / 64.0, in af_glyph_hints_dump_edges()
1349 u = edge->pos - ( edge->opos - ou ); in af_glyph_hints_align_strong_points()
1364 u = edge->pos + ( ou - edge->opos ); in af_glyph_hints_align_strong_points()
Dafhints.h291 FT_Pos opos; /* original, scaled position */ member
/third_party/skia/third_party/externals/freetype/src/autofit/
Daflatin.c2261 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin_hints_compute_edges()
2262 edge->pos = edge->opos; in af_latin_hints_compute_edges()
2945 dist = stem_edge->opos - base_edge->opos; in af_latin_align_linked_edge()
2946 base_delta = base_edge->pos - base_edge->opos; in af_latin_align_linked_edge()
2958 stem_edge - hints->axis[dim].edges, stem_edge->opos / 64.0, in af_latin_align_linked_edge()
2973 serif->pos = base->pos + ( serif->opos - base->opos ); in af_latin_align_serif_edge()
3082 edge1 - edges, edge1->opos / 64.0, blue->fit / 64.0, in af_latin_hint_edges()
3087 edge1 - edges, edge1->opos / 64.0, blue->fit / 64.0, in af_latin_hint_edges()
3153 org_len = edge2->opos - edge->opos; in af_latin_hint_edges()
3177 org_center = edge->opos + ( org_len >> 1 ); in af_latin_hint_edges()
[all …]
Dafcjk.c1120 edge->opos = FT_MulFix( seg->pos, scale ); in af_cjk_hints_compute_edges()
1121 edge->pos = edge->opos; in af_cjk_hints_compute_edges()
1620 FT_Pos dist = stem_edge->opos - base_edge->opos; in af_cjk_align_linked_edge()
1632 stem_edge->opos / 64.0, stem_edge->pos / 64.0, in af_cjk_align_linked_edge()
1647 serif->pos = base->pos + ( serif->opos - base->opos ); in af_cjk_align_serif_edge()
1700 org_len = edge2->opos - edge->opos; in af_hint_normal_stem()
1705 org_center = ( edge->opos + edge2->opos ) / 2 + anchor; in af_hint_normal_stem()
1778 if ( edge->opos < edge2->opos ) in af_hint_normal_stem()
1853 edge1 - edges, edge1->fpos, edge1->opos / 64.0, in af_cjk_hint_edges()
1967 target = left->opos + ( right->opos - left->opos ) / 2 + delta - 16; in af_cjk_hint_edges()
[all …]
Dafhints.h291 FT_Pos opos; /* original, scaled position */ member
Dafhints.c717 (int)edge->opos / 64.0, in af_glyph_hints_dump_edges()
723 edge->opos / 64.0, in af_glyph_hints_dump_edges()
1444 u = edge->pos - ( edge->opos - ou ); in af_glyph_hints_align_strong_points()
1459 u = edge->pos + ( ou - edge->opos ); in af_glyph_hints_align_strong_points()
/third_party/alsa-lib/test/
Dmidiloop.c68 int i, j, k, opos, ipos, patsize; in main() local
142 k = ipos = opos = err = 0; in main()
148 if (opos > 0) in main()
151 printf("match success: ipos = %i, opos = %i [%i:0x%x]\n", ipos, opos, k, obuf[k]); in main()
152 k++; opos++; in main()
178 printf("Time diff: %lliusec (%lli bytes/sec)\n", diff, ((long long)opos * 1000000) / diff); in main()
/third_party/ffmpeg/libavcodec/
Daptxdec.c140 int pos, opos, channel, sample, ret; in aptx_decode_frame() local
154 for (pos = 0, opos = 0; opos < frame->nb_samples; pos += s->block_size, opos += 4) { in aptx_decode_frame()
164 AV_WN32A(&frame->data[channel][4*(opos+sample)], in aptx_decode_frame()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_gpsk_common.c42 u8 *opos; in eap_gpsk_gkdf_cmac() local
55 opos = buf; in eap_gpsk_gkdf_cmac()
63 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_cmac()
64 opos += clen; in eap_gpsk_gkdf_cmac()
77 u8 *opos; in eap_gpsk_gkdf_sha256() local
90 opos = buf; in eap_gpsk_gkdf_sha256()
98 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_sha256()
99 opos += clen; in eap_gpsk_gkdf_sha256()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_gpsk_common.c42 u8 *opos; in eap_gpsk_gkdf_cmac() local
55 opos = buf; in eap_gpsk_gkdf_cmac()
63 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_cmac()
64 opos += clen; in eap_gpsk_gkdf_cmac()
77 u8 *opos; in eap_gpsk_gkdf_sha256() local
90 opos = buf; in eap_gpsk_gkdf_sha256()
98 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_sha256()
99 opos += clen; in eap_gpsk_gkdf_sha256()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_common.c31 u8 hash[SHA256_MAC_LEN], *opos; in wps_kdf() local
46 opos = res; in wps_kdf()
53 os_memcpy(opos, hash, SHA256_MAC_LEN); in wps_kdf()
54 opos += SHA256_MAC_LEN; in wps_kdf()
57 os_memcpy(opos, hash, left); in wps_kdf()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_common.c31 u8 hash[SHA256_MAC_LEN], *opos; in wps_kdf() local
46 opos = res; in wps_kdf()
53 os_memcpy(opos, hash, SHA256_MAC_LEN); in wps_kdf()
54 opos += SHA256_MAC_LEN; in wps_kdf()
57 os_memcpy(opos, hash, left); in wps_kdf()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dx509v3.c88 char *ipos, *opos; in x509_str_strip_whitespace() local
91 ipos = opos = a; in x509_str_strip_whitespace()
98 *opos++ = *ipos++; in x509_str_strip_whitespace()
102 *opos-- = '\0'; in x509_str_strip_whitespace()
103 if (opos > a && x509_whitespace(*opos)) in x509_str_strip_whitespace()
104 *opos = '\0'; in x509_str_strip_whitespace()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dx509v3.c88 char *ipos, *opos; in x509_str_strip_whitespace() local
91 ipos = opos = a; in x509_str_strip_whitespace()
98 *opos++ = *ipos++; in x509_str_strip_whitespace()
102 *opos-- = '\0'; in x509_str_strip_whitespace()
103 if (opos > a && x509_whitespace(*opos)) in x509_str_strip_whitespace()
104 *opos = '\0'; in x509_str_strip_whitespace()

12