Home
last modified time | relevance | path

Searched refs:residue (Results 1 – 25 of 46) sorted by relevance

12

/third_party/openssl/crypto/modes/
Dcts128.c32 size_t residue, n; in CRYPTO_cts128_encrypt_block() local
37 if ((residue = len % 16) == 0) in CRYPTO_cts128_encrypt_block()
38 residue = 16; in CRYPTO_cts128_encrypt_block()
40 len -= residue; in CRYPTO_cts128_encrypt_block()
47 for (n = 0; n < residue; ++n) in CRYPTO_cts128_encrypt_block()
50 memcpy(out, out - 16, residue); in CRYPTO_cts128_encrypt_block()
53 return len + residue; in CRYPTO_cts128_encrypt_block()
62 size_t residue, n; in CRYPTO_nistcts128_encrypt_block() local
67 residue = len % 16; in CRYPTO_nistcts128_encrypt_block()
69 len -= residue; in CRYPTO_nistcts128_encrypt_block()
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dtoken_enc.c153 uint32_t residue = v - 3; in VP8RecordCoeffTokens() local
154 if (residue < (8 << 1)) { // VP8Cat3 (3b) in VP8RecordCoeffTokens()
157 residue -= (8 << 0); in VP8RecordCoeffTokens()
160 } else if (residue < (8 << 2)) { // VP8Cat4 (4b) in VP8RecordCoeffTokens()
163 residue -= (8 << 1); in VP8RecordCoeffTokens()
166 } else if (residue < (8 << 3)) { // VP8Cat5 (5b) in VP8RecordCoeffTokens()
169 residue -= (8 << 2); in VP8RecordCoeffTokens()
175 residue -= (8 << 3); in VP8RecordCoeffTokens()
180 AddConstantToken(tokens, !!(residue & mask), *tab++); in VP8RecordCoeffTokens()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dtoken_enc.c153 uint32_t residue = v - 3; in VP8RecordCoeffTokens() local
154 if (residue < (8 << 1)) { // VP8Cat3 (3b) in VP8RecordCoeffTokens()
157 residue -= (8 << 0); in VP8RecordCoeffTokens()
160 } else if (residue < (8 << 2)) { // VP8Cat4 (4b) in VP8RecordCoeffTokens()
163 residue -= (8 << 1); in VP8RecordCoeffTokens()
166 } else if (residue < (8 << 3)) { // VP8Cat5 (5b) in VP8RecordCoeffTokens()
169 residue -= (8 << 2); in VP8RecordCoeffTokens()
175 residue -= (8 << 3); in VP8RecordCoeffTokens()
180 AddConstantToken(tokens, !!(residue & mask), *tab++); in VP8RecordCoeffTokens()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
DdecNumber.cpp529 Int residue; /* rounding residue */ in uprv_decNumberFromString() local
723 residue=0; in uprv_decNumberFromString()
724 decSetCoeff(dn, set, res, d, &residue, &status); in uprv_decNumberFromString()
726 decFinalize(dn, set, &residue, &status); in uprv_decNumberFromString()
732 residue=0; in uprv_decNumberFromString()
733 decFinalize(dn, set, &residue, &status); in uprv_decNumberFromString()
1467 Int residue=0; /* (no residue) */ in uprv_decNumberLog10() local
1472 decCopyFit(w, rhs, &aset, &residue, &copystat); /* copy & shorten */ in uprv_decNumberLog10()
1480 residue=0; in uprv_decNumberLog10()
1481 decCopyFit(res, w, set, &residue, &status); /* copy & round */ in uprv_decNumberLog10()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
DdecNumber.cpp529 Int residue; /* rounding residue */ in uprv_decNumberFromString() local
723 residue=0; in uprv_decNumberFromString()
724 decSetCoeff(dn, set, res, d, &residue, &status); in uprv_decNumberFromString()
726 decFinalize(dn, set, &residue, &status); in uprv_decNumberFromString()
732 residue=0; in uprv_decNumberFromString()
733 decFinalize(dn, set, &residue, &status); in uprv_decNumberFromString()
1467 Int residue=0; /* (no residue) */ in uprv_decNumberLog10() local
1472 decCopyFit(w, rhs, &aset, &residue, &copystat); /* copy & shorten */ in uprv_decNumberLog10()
1480 residue=0; in uprv_decNumberLog10()
1481 decCopyFit(res, w, set, &residue, &status); /* copy & round */ in uprv_decNumberLog10()
[all …]
/third_party/icu/icu4c/source/i18n/
DdecNumber.cpp529 Int residue; /* rounding residue */ in uprv_decNumberFromString() local
723 residue=0; in uprv_decNumberFromString()
724 decSetCoeff(dn, set, res, d, &residue, &status); in uprv_decNumberFromString()
726 decFinalize(dn, set, &residue, &status); in uprv_decNumberFromString()
732 residue=0; in uprv_decNumberFromString()
733 decFinalize(dn, set, &residue, &status); in uprv_decNumberFromString()
1467 Int residue=0; /* (no residue) */ in uprv_decNumberLog10() local
1472 decCopyFit(w, rhs, &aset, &residue, &copystat); /* copy & shorten */ in uprv_decNumberLog10()
1480 residue=0; in uprv_decNumberLog10()
1481 decCopyFit(res, w, set, &residue, &status); /* copy & round */ in uprv_decNumberLog10()
[all …]
/third_party/node/deps/icu-small/source/i18n/
DdecNumber.cpp529 Int residue; /* rounding residue */ in uprv_decNumberFromString() local
723 residue=0; in uprv_decNumberFromString()
724 decSetCoeff(dn, set, res, d, &residue, &status); in uprv_decNumberFromString()
726 decFinalize(dn, set, &residue, &status); in uprv_decNumberFromString()
732 residue=0; in uprv_decNumberFromString()
733 decFinalize(dn, set, &residue, &status); in uprv_decNumberFromString()
1467 Int residue=0; /* (no residue) */ in uprv_decNumberLog10() local
1472 decCopyFit(w, rhs, &aset, &residue, &copystat); /* copy & shorten */ in uprv_decNumberLog10()
1480 residue=0; in uprv_decNumberLog10()
1481 decCopyFit(res, w, set, &residue, &status); /* copy & round */ in uprv_decNumberLog10()
[all …]
/third_party/NuttX/drivers/usbdev/gadget/
Df_mass_storage.c440 fmass->residue = len; in done_scsi_mode_sense()
565 fmass->residue -= data_size; /* doread * 512 */ in done_scsi_read()
569 db, buf, lba - doread , doread, amount, amount_left, fmass->residue); in done_scsi_read()
677 fmass->residue -= do_write << 9; /* doread * 512 */ in done_scsi_write()
687 fmass->residue -= do_write << 9; /* doread * 512 */ in done_scsi_write()
722 fmass->residue = 0; in done_scsi_inquiry()
789 fmass->residue = fmass->data_size; in fmass_check_receive_cbw()
911 fmass->residue -= reply_temp; in fmass_do_scsi_command()
936 else if (fmass->residue == 0) in fmass_handle_scsi_data()
946 fmass->task_state, fmass->residue); in fmass_handle_scsi_data()
[all …]
Df_mass_storage.h201 uint32_t residue; member
/third_party/ffmpeg/libavcodec/
Dwmalosslessdec.c537 unsigned quo = 0, residue; in decode_channel_residues() local
548 residue = quo; in decode_channel_residues()
552 residue = (quo << rem_bits) + rem; in decode_channel_residues()
555 s->ave_sum[ch] = residue + s->ave_sum[ch] - in decode_channel_residues()
558 residue = (residue >> 1) ^ -(residue & 1); in decode_channel_residues()
559 s->channel_residues[ch][i] = residue; in decode_channel_residues()
762 int icoef, ilms, num_lms, residue, input; \
770 residue = s->channel_residues[ch][icoef]; \
776 WMASIGN(residue)); \
777 input = residue + (unsigned)((int)pred >> s->cdlms[ch][ilms].scaling); \
Dvorbisenc.c93 int *residue; member
425 mc->residue = av_malloc(sizeof(int) * mc->submaps); in create_vorbis_context()
426 if (!mc->floor || !mc->residue) in create_vorbis_context()
430 mc->residue[i] = 0; in create_vorbis_context()
712 put_bits(&pb, 8, mc->residue[j]); in put_main_header()
1181 if (residue_encode(venc, &venc->residues[mapping->residue[mapping->mux[0]]], in vorbis_encode_frame()
1242 av_freep(&venc->mappings[i].residue); in vorbis_encode_close()
Dvorbisdec.c1683 vorbis_residue *residue; in vorbis_parse_audio_packet() local
1699 residue = &vc->residues[mapping->submap_residue[i]]; in vorbis_parse_audio_packet()
1705 ret = vorbis_residue_decode(vc, residue, ch, do_not_decode, ch_res_ptr, vlen, ch_left); in vorbis_parse_audio_packet()
1743 float *residue = vc->channel_residues + res_chan[j] * blocksize / 2; in vorbis_parse_audio_packet() local
1746 float *buf = residue; in vorbis_parse_audio_packet()
/third_party/NuttX/include/nuttx/usb/
Dstorage.h98 uint8_t residue[4]; /* Amount not transferred */ member
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c323 uint32_t residue, uint8_t status);
1540 uint32_t residue; in umass_t_bbb_status_callback() local
1565 residue = UGETDW(sc->csw.dCSWDataResidue); in umass_t_bbb_status_callback()
1567 if ((!residue) || (sc->sc_quirks & IGNORE_RESIDUE)) { in umass_t_bbb_status_callback()
1568 residue = (sc->sc_transfer.data_len - in umass_t_bbb_status_callback()
1571 if (residue > sc->sc_transfer.data_len) { in umass_t_bbb_status_callback()
1573 "to %d bytes\n", residue, sc->sc_transfer.data_len); in umass_t_bbb_status_callback()
1574 residue = sc->sc_transfer.data_len; in umass_t_bbb_status_callback()
1607 "%d\n", residue); in umass_t_bbb_status_callback()
1615 "%d\n", residue); in umass_t_bbb_status_callback()
[all …]
/third_party/node/deps/icu-small/source/common/
Dcharstr.cpp161 int32_t residue = number % 10; in appendNumber() local
163 this->append(std::abs(residue) + '0', status); in appendNumber()
/third_party/skia/third_party/externals/icu/source/common/
Dcharstr.cpp161 int32_t residue = number % 10; in appendNumber() local
163 this->append(std::abs(residue) + '0', status); in appendNumber()
/third_party/icu/icu4c/source/common/
Dcharstr.cpp161 int32_t residue = number % 10; in appendNumber() local
163 this->append(std::abs(residue) + '0', status); in appendNumber()
/third_party/e2fsprogs/misc/
Dfuse2fs.c3406 off_t residue; in clean_block_middle() local
3410 residue = offset % fs->blocksize; in clean_block_middle()
3411 if (residue == 0) in clean_block_middle()
3431 memset(*buf + residue, 0, len); in clean_block_middle()
3442 off_t residue; in clean_block_edge() local
3445 residue = offset % fs->blocksize; in clean_block_edge()
3446 if (residue == 0) in clean_block_edge()
3467 memset(*buf, 0, residue); in clean_block_edge()
3469 memset(*buf + residue, 0, fs->blocksize - residue); in clean_block_edge()
/third_party/bounds_checking_function/src/
Doutput.inl295 …E void SecU64Div10(SecUnsignedInt64 divisor, SecUnsignedInt64 *quotient, SecUnsignedInt32 *residue) argument
310 *residue = (SecUnsignedInt32)(divisor - ((*quotient) * 10)); /* Quotient mul 10 */
318 SecUnsignedInt64 *quotient, SecUnsignedInt32 *residue) argument
322 SecU64Div10(divisor, quotient, residue);
326 *residue = (SecUnsignedInt32)SECUREC_DIV_RESIDUE_HEX(divisor);
330 *residue = (SecUnsignedInt32)SECUREC_DIV_RESIDUE_OCTAL(divisor);
/third_party/python/Lib/test/decimaltestdata/
DdqAdd.decTest234 -- and some more, including residue effects and different roundings
533 -- and some more residue effects and different roundings
1126 -- Gappy coefficients; check residue handling even with full coefficient gap
DddAdd.decTest235 -- and some more, including residue effects and different roundings
509 -- and some more residue effects and different roundings
1070 -- Gappy coefficients; check residue handling even with full coefficient gap
DddCompareSig.decTest510 -- residue cases at lower precision
DdqCompareSig.decTest510 -- residue cases at lower precision
DdqSubtract.decTest352 -- and some more, including residue effects and different roundings
DdqCompareTotalMag.decTest518 -- old residue cases

12