Home
last modified time | relevance | path

Searched refs:nleft (Results 1 – 14 of 14) sorted by relevance

/third_party/ltp/testcases/kernel/fs/doio/
Dpattern.c42 int nb, ncmp, nleft; in pattern_check() local
49 nleft = buflen; in pattern_check()
59 if (nleft < nb) { in pattern_check()
60 return (memcmp(cp, pat + patshift, nleft) ? -1 : 0); in pattern_check()
65 nleft -= nb; in pattern_check()
71 if (nleft < nb) { in pattern_check()
72 return (memcmp(cp, pat, nleft) ? -1 : 0); in pattern_check()
77 nleft -= nb; in pattern_check()
89 nb = (ncmp < nleft) ? ncmp : nleft; in pattern_check()
95 nleft -= nb; in pattern_check()
[all …]
/third_party/ltp/testcases/kernel/sched/clisrv/
Dwriten.c30 int nleft, nwritten; in writen() local
32 nleft = nbytes; in writen()
33 while (nleft > 0) { in writen()
34 nwritten = write(fd, ptr, nleft); in writen()
37 nleft -= nwritten; in writen()
40 return (nbytes - nleft); in writen()
/third_party/openssl/crypto/cmac/
Dcmac.c164 size_t nleft; in CMAC_Update() local
165 nleft = bl - ctx->nlast_block; in CMAC_Update()
166 if (dlen < nleft) in CMAC_Update()
167 nleft = dlen; in CMAC_Update()
168 memcpy(ctx->last_block + ctx->nlast_block, data, nleft); in CMAC_Update()
169 dlen -= nleft; in CMAC_Update()
170 ctx->nlast_block += nleft; in CMAC_Update()
174 data += nleft; in CMAC_Update()
/third_party/flutter/skia/third_party/externals/freetype/src/cff/
Dcffload.c953 FT_UInt nleft; in cff_charset_load() local
968 if ( FT_READ_USHORT( nleft ) ) in cff_charset_load()
973 if ( FT_READ_BYTE( nleft ) ) in cff_charset_load()
978 if ( glyph_sid > 0xFFFFL - nleft ) in cff_charset_load()
981 " nleft=%d -> %d\n", nleft, 0xFFFFL - glyph_sid )); in cff_charset_load()
982 nleft = ( FT_UInt )( 0xFFFFL - glyph_sid ); in cff_charset_load()
986 for ( i = 0; j < num_glyphs && i <= nleft; i++, j++, glyph_sid++ ) in cff_charset_load()
1714 FT_UInt nleft; in cff_encoding_load() local
1722 for ( j = 0; j < count; j++, i += nleft ) in cff_encoding_load()
1729 if ( FT_READ_BYTE( nleft ) ) in cff_encoding_load()
[all …]
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffload.c957 FT_UInt nleft; in cff_charset_load() local
972 if ( FT_READ_USHORT( nleft ) ) in cff_charset_load()
977 if ( FT_READ_BYTE( nleft ) ) in cff_charset_load()
982 if ( glyph_sid > 0xFFFFL - nleft ) in cff_charset_load()
985 " nleft=%d -> %ld\n", nleft, 0xFFFFL - glyph_sid )); in cff_charset_load()
986 nleft = ( FT_UInt )( 0xFFFFL - glyph_sid ); in cff_charset_load()
990 for ( i = 0; j < num_glyphs && i <= nleft; i++, j++, glyph_sid++ ) in cff_charset_load()
1721 FT_UInt nleft; in cff_encoding_load() local
1729 for ( j = 0; j < count; j++, i += nleft ) in cff_encoding_load()
1736 if ( FT_READ_BYTE( nleft ) ) in cff_encoding_load()
[all …]
/third_party/freetype/src/cff/
Dcffload.c959 FT_UInt nleft; in cff_charset_load() local
974 if ( FT_READ_USHORT( nleft ) ) in cff_charset_load()
979 if ( FT_READ_BYTE( nleft ) ) in cff_charset_load()
984 if ( glyph_sid > 0xFFFFL - nleft ) in cff_charset_load()
987 " nleft=%d -> %ld\n", nleft, 0xFFFFL - glyph_sid )); in cff_charset_load()
988 nleft = ( FT_UInt )( 0xFFFFL - glyph_sid ); in cff_charset_load()
992 for ( i = 0; j < num_glyphs && i <= nleft; i++, j++, glyph_sid++ ) in cff_charset_load()
1720 FT_UInt nleft; in cff_encoding_load() local
1728 for ( j = 0; j < count; j++, i += nleft ) in cff_encoding_load()
1735 if ( FT_READ_BYTE( nleft ) ) in cff_encoding_load()
[all …]
/third_party/pulseaudio/src/pulse/
Dvolume.c725 pa_volume_t left, nleft, right, nright, m; in set_balance() local
734 nleft = m; in set_balance()
736 nleft = (1.0f - new_balance) * m; in set_balance()
743 v->values[c] = nleft; in set_balance()
745 …[c] = (pa_volume_t) PA_CLAMP_VOLUME(((uint64_t) v->values[c] * (uint64_t) nleft) / (uint64_t) left… in set_balance()
Dohos_pa_volume.c741 pa_volume_t left, nleft, right, nright, m; in set_balance() local
750 nleft = m; in set_balance()
752 nleft = (1.0f - new_balance) * m; in set_balance()
759 v->values[c] = nleft; in set_balance()
761 …[c] = (pa_volume_t) PA_CLAMP_VOLUME(((uint64_t) v->values[c] * (uint64_t) nleft) / (uint64_t) left… in set_balance()
/third_party/python/Modules/
D_winapi.c1480 DWORD nread, navail, nleft; in _winapi_PeekNamedPipe_impl() local
1494 &navail, &nleft); in _winapi_PeekNamedPipe_impl()
1502 return Py_BuildValue("NII", buf, navail, nleft); in _winapi_PeekNamedPipe_impl()
1506 ret = PeekNamedPipe(handle, NULL, 0, NULL, &navail, &nleft); in _winapi_PeekNamedPipe_impl()
1511 return Py_BuildValue("II", navail, nleft); in _winapi_PeekNamedPipe_impl()
/third_party/freetype/
DChangeLog.245261 * src/cff/cffload.c (cff_charset_load): Report the original `nleft'
5262 and truncated `nleft'.
DChangeLog.215075 * src/cff/cffload (cff_encoding_load): `nleft' must be FT_UInt,
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
DChangeLog.245261 * src/cff/cffload.c (cff_charset_load): Report the original `nleft'
5262 and truncated `nleft'.
DChangeLog.215075 * src/cff/cffload (cff_encoding_load): `nleft' must be FT_UInt,
/third_party/flutter/skia/third_party/externals/freetype/
DChangeLog.245261 * src/cff/cffload.c (cff_charset_load): Report the original `nleft'
5262 and truncated `nleft'.