Home
last modified time | relevance | path

Searched refs:bi (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/external/chromium_org/third_party/icu/source/common/
Dubrk.cpp125 const UBreakIterator *bi, in ubrk_safeClone() argument
133 if (!pBufferSize || !bi){ in ubrk_safeClone()
143 return (UBreakIterator *)(((BreakIterator*)bi)-> in ubrk_safeClone()
150 ubrk_close(UBreakIterator *bi) in ubrk_close() argument
152 BreakIterator *ubi = (BreakIterator*) bi; in ubrk_close()
164 ubrk_setText(UBreakIterator* bi, in ubrk_setText() argument
169 if (bi == NULL) { in ubrk_setText()
176 BreakIterator *brit = (BreakIterator *)bi; in ubrk_setText()
187 ubrk_setUText(UBreakIterator *bi, in ubrk_setUText() argument
191 if (bi == NULL) { in ubrk_setUText()
[all …]
/external/icu4c/common/
Dubrk.cpp125 const UBreakIterator *bi, in ubrk_safeClone() argument
133 if (!pBufferSize || !bi){ in ubrk_safeClone()
143 return (UBreakIterator *)(((BreakIterator*)bi)-> in ubrk_safeClone()
150 ubrk_close(UBreakIterator *bi) in ubrk_close() argument
152 BreakIterator *ubi = (BreakIterator*) bi; in ubrk_close()
164 ubrk_setText(UBreakIterator* bi, in ubrk_setText() argument
169 BreakIterator *brit = (BreakIterator *)bi; in ubrk_setText()
180 ubrk_setUText(UBreakIterator *bi, in ubrk_setUText() argument
184 RuleBasedBreakIterator *brit = (RuleBasedBreakIterator *)bi; in ubrk_setUText()
193 ubrk_current(const UBreakIterator *bi) in ubrk_current() argument
[all …]
/external/chromium_org/third_party/opus/src/src/
Dopus_compare.c115 int bi; in band_energy() local
121 for(bi=xj=0;bi<_nbands;bi++){ in band_energy()
123 for(;xj<_bands[bi+1];xj++){ in band_energy()
143 _out[(xi*_nbands+bi)*_nchannels]=p[0]/(_bands[bi+1]-_bands[bi]); in band_energy()
145 _out[(xi*_nbands+bi)*_nchannels+1]=p[1]/(_bands[bi+1]-_bands[bi]); in band_energy()
181 int bi; in main() local
262 for(bi=1;bi<NBANDS;bi++){ in main()
264 xb[(xi*NBANDS+bi)*nchannels+ci]+= in main()
265 0.1F*xb[(xi*NBANDS+bi-1)*nchannels+ci]; in main()
269 for(bi=NBANDS-1;bi-->0;){ in main()
[all …]
/external/icu4c/test/intltest/
Drbbiapts.cpp376 …RuleBasedBreakIterator* bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInst… in TestIteration() local
377 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
380 delete bi; in TestIteration()
383bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInstance(Locale::getDefault(), st… in TestIteration()
384 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
387 delete bi; in TestIteration()
390bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createLineInstance(Locale::getDefault(), st… in TestIteration()
391 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
394 delete bi; in TestIteration()
397bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createSentenceInstance(Locale::getDefault()… in TestIteration()
[all …]
Drbbitst.h92 void generalIteratorTest(RuleBasedBreakIterator& bi, BITestData &td);
96 void testFirstAndNext(RuleBasedBreakIterator& bi, BITestData &td);
100 void testLastAndPrevious(RuleBasedBreakIterator& bi, BITestData &td);
104 void testFollowing(RuleBasedBreakIterator& bi, BITestData &td);
108 void testPreceding(RuleBasedBreakIterator& bi, BITestData &td);
112 void testIsBoundary(RuleBasedBreakIterator& bi, BITestData &td);
119 void RunMonkey(BreakIterator *bi, RBBIMonkeyKind &mk, const char *name, uint32_t seed,
123 void runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi);
129 RuleBasedBreakIterator *bi);
Drbbitst.cpp332 RuleBasedBreakIterator *bi = new RuleBasedBreakIterator(rulesString1, parseError, status); in TestStatusReturn() local
338 bi->setText(testString1); in TestStatusReturn()
339 for (pos=bi->first(); pos!= BreakIterator::DONE; pos=bi->next()) { in TestStatusReturn()
345 int tag = bi->getRuleStatus(); in TestStatusReturn()
353 delete bi; in TestStatusReturn()
411 RuleBasedBreakIterator* bi = in TestBug3818() local
413 if (U_FAILURE(status) || bi == NULL) { in TestBug3818()
417 bi->setText(thaiStr); in TestBug3818()
419 int32_t startOfSecondWord = bi->following(1); in TestBug3818()
424 startOfSecondWord = bi->following(0); in TestBug3818()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Drbbiapts.cpp376 …RuleBasedBreakIterator* bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInst… in TestIteration() local
377 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
380 delete bi; in TestIteration()
383bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInstance(Locale::getDefault(), st… in TestIteration()
384 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
387 delete bi; in TestIteration()
390bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createLineInstance(Locale::getDefault(), st… in TestIteration()
391 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
394 delete bi; in TestIteration()
397bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createSentenceInstance(Locale::getDefault()… in TestIteration()
[all …]
Drbbitst.h93 void generalIteratorTest(RuleBasedBreakIterator& bi, BITestData &td);
97 void testFirstAndNext(RuleBasedBreakIterator& bi, BITestData &td);
101 void testLastAndPrevious(RuleBasedBreakIterator& bi, BITestData &td);
105 void testFollowing(RuleBasedBreakIterator& bi, BITestData &td);
109 void testPreceding(RuleBasedBreakIterator& bi, BITestData &td);
113 void testIsBoundary(RuleBasedBreakIterator& bi, BITestData &td);
120 void RunMonkey(BreakIterator *bi, RBBIMonkeyKind &mk, const char *name, uint32_t seed,
124 void runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi);
130 RuleBasedBreakIterator *bi);
/external/harfbuzz_ng/util/
Dansi-print.cc213 block_best (const biimage_t &bi, unsigned int *score, bool *inverse) in block_best() argument
215 assert (bi.width <= CELL_W); in block_best()
216 assert (bi.height <= CELL_H); in block_best()
226 for (unsigned int y = 0; y < bi.height; y++) in block_best()
227 for (unsigned int x = 0; x < bi.width; x++) { in block_best()
228 unsigned int c = bi (x, y); in block_best()
234 quad[2 * y / bi.height][2 * x / bi.width] += c; in block_best()
235 quad_i[2 * y / bi.height][2 * x / bi.width] += c_i; in block_best()
241 for (unsigned int i = 1; i < bi.height; i++) { in block_best()
245 for (unsigned int i = 1; i < bi.width; i++) { in block_best()
[all …]
/external/icu4c/common/unicode/
Dubrk.h261 const UBreakIterator *bi,
279 ubrk_close(UBreakIterator *bi);
309 ubrk_setText(UBreakIterator* bi,
333 ubrk_setUText(UBreakIterator* bi,
348 ubrk_current(const UBreakIterator *bi);
360 ubrk_next(UBreakIterator *bi);
372 ubrk_previous(UBreakIterator *bi);
383 ubrk_first(UBreakIterator *bi);
395 ubrk_last(UBreakIterator *bi);
407 ubrk_preceding(UBreakIterator *bi,
[all …]
/external/chromium_org/third_party/icu/source/common/unicode/
Dubrk.h261 const UBreakIterator *bi,
279 ubrk_close(UBreakIterator *bi);
309 ubrk_setText(UBreakIterator* bi,
327 ubrk_setUText(UBreakIterator* bi,
342 ubrk_current(const UBreakIterator *bi);
354 ubrk_next(UBreakIterator *bi);
366 ubrk_previous(UBreakIterator *bi);
377 ubrk_first(UBreakIterator *bi);
390 ubrk_last(UBreakIterator *bi);
402 ubrk_preceding(UBreakIterator *bi,
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Dbrktrans.cpp41 bi = NULL; in BreakTransliterator()
51 delete bi; in ~BreakTransliterator()
52 bi = NULL; in ~BreakTransliterator()
62 bi = NULL; in BreakTransliterator()
63 if (o.bi != NULL) { in BreakTransliterator()
64 bi = o.bi->clone(); in BreakTransliterator()
90 bi->setText(sText); in handleTransliterate()
91 bi->preceding(offsets.start); in handleTransliterate()
97 …for(boundary = bi->next(); boundary != UBRK_DONE && boundary < offsets.limit; boundary = bi->next(… in handleTransliterate()
160 if (bi == NULL) { in getBreakIterator()
[all …]
/external/icu4c/i18n/
Dbrktrans.cpp41 bi = NULL; in BreakTransliterator()
51 delete bi; in ~BreakTransliterator()
52 bi = NULL; in ~BreakTransliterator()
62 bi = NULL; in BreakTransliterator()
63 if (o.bi != NULL) { in BreakTransliterator()
64 bi = o.bi->clone(); in BreakTransliterator()
90 bi->setText(sText); in handleTransliterate()
91 bi->preceding(offsets.start); in handleTransliterate()
97 …for(boundary = bi->next(); boundary != UBRK_DONE && boundary < offsets.limit; boundary = bi->next(… in handleTransliterate()
160 if (bi == NULL) { in getBreakIterator()
[all …]
/external/openssl/crypto/bn/asm/x86/
Dcomba.pl6 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
11 &comment("mul a[$ai]*b[$bi]");
34 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
39 &comment("sqr a[$ai]*a[$bi]");
45 if ($ai == $bi)
63 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
68 &comment("sqr a[$ai]*a[$bi]");
74 if ($ai == $bi)
97 local($i,$as,$ae,$bs,$be,$ai,$bi);
129 $bi=$bs;
[all …]
/external/openssl/crypto/bn/asm/
Dco-586.pl18 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
23 &comment("mul a[$ai]*b[$bi]");
46 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
51 &comment("sqr a[$ai]*a[$bi]");
57 if ($ai == $bi)
75 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
80 &comment("sqr a[$ai]*a[$bi]");
86 if ($ai == $bi)
109 local($i,$as,$ae,$bs,$be,$ai,$bi);
141 $bi=$bs;
[all …]
Dalpha-mont.pl31 $bi="t5";
82 ldq $bi,0($bp) # bp[0]
87 mulq $hi0,$bi,$lo0
89 umulh $hi0,$bi,$hi0
101 mulq $aj,$bi,$alo
103 umulh $aj,$bi,$ahi
119 mulq $aj,$bi,$alo
128 umulh $aj,$bi,$ahi
165 s8addq $i,$bp,$bi
168 ldq $bi,0($bi)
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/bn/asm/x86/
Dcomba.pl6 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
11 &comment("mul a[$ai]*b[$bi]");
34 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
39 &comment("sqr a[$ai]*a[$bi]");
45 if ($ai == $bi)
63 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
68 &comment("sqr a[$ai]*a[$bi]");
74 if ($ai == $bi)
97 local($i,$as,$ae,$bs,$be,$ai,$bi);
129 $bi=$bs;
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/bn/asm/
Dco-586.pl18 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
23 &comment("mul a[$ai]*b[$bi]");
46 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
51 &comment("sqr a[$ai]*a[$bi]");
57 if ($ai == $bi)
75 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
80 &comment("sqr a[$ai]*a[$bi]");
86 if ($ai == $bi)
109 local($i,$as,$ae,$bs,$be,$ai,$bi);
141 $bi=$bs;
[all …]
Dalpha-mont.pl31 $bi="t5";
82 ldq $bi,0($bp) # bp[0]
87 mulq $hi0,$bi,$lo0
89 umulh $hi0,$bi,$hi0
101 mulq $aj,$bi,$alo
103 umulh $aj,$bi,$ahi
119 mulq $aj,$bi,$alo
128 umulh $aj,$bi,$ahi
165 s8addq $i,$bp,$bi
168 ldq $bi,0($bi)
[all …]
/external/icu4c/test/cintltst/
Dcbiapts.c517 UBreakIterator *bi; in testOpenRules() local
521 bi = ubrk_openRules(ruleSourceU, -1, /* The rules */ in testOpenRules()
527 bi = 0; in testOpenRules()
530 return bi; in testOpenRules()
556 UBreakIterator *bi = testOpenRules(rules); in TestBreakIteratorRules() local
557 if (bi == NULL) {return;} in TestBreakIteratorRules()
559 ubrk_setText(bi, uData, -1, &status); in TestBreakIteratorRules()
561 pos = ubrk_first(bi); in TestBreakIteratorRules()
573 tag = ubrk_getRuleStatus(bi); in TestBreakIteratorRules()
580 pos = ubrk_next(bi); in TestBreakIteratorRules()
[all …]
/external/libvorbis/lib/
Dbitrate.c31 bitrate_manager_info *bi=&ci->bi; in vorbis_bitrate_init() local
35 if(bi && (bi->reservoir_bits>0)){ in vorbis_bitrate_init()
42 bm->avg_bitsper= rint(1.*bi->avg_rate*halfsamples/ratesamples); in vorbis_bitrate_init()
43 bm->min_bitsper= rint(1.*bi->min_rate*halfsamples/ratesamples); in vorbis_bitrate_init()
44 bm->max_bitsper= rint(1.*bi->max_rate*halfsamples/ratesamples); in vorbis_bitrate_init()
51 long desired_fill=bi->reservoir_bits*bi->reservoir_bias; in vorbis_bitrate_init()
81 bitrate_manager_info *bi=&ci->bi; in vorbis_bitrate_addblock() local
88 long desired_fill=bi->reservoir_bits*bi->reservoir_bias; in vorbis_bitrate_addblock()
105 double slewlimit= 15./bi->slew_damp; in vorbis_bitrate_addblock()
157 while(bm->minmax_reservoir+(this_bits-max_target_bits)>bi->reservoir_bits){ in vorbis_bitrate_addblock()
[all …]
/external/chromium_org/chrome/common/
Dchrome_version_info_android.cc28 const base::android::BuildInfo* bi = base::android::BuildInfo::GetInstance(); in GetChannel() local
29 DCHECK(bi && bi->package_name()); in GetChannel()
31 if (!strcmp(bi->package_name(), "com.android.chrome")) in GetChannel()
33 if (!strcmp(bi->package_name(), "com.chrome.beta")) in GetChannel()
35 if (!strcmp(bi->package_name(), "com.google.android.apps.chrome_dev")) in GetChannel()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcbiapts.c511 UBreakIterator *bi; in testOpenRules() local
515 bi = ubrk_openRules(ruleSourceU, -1, /* The rules */ in testOpenRules()
521 bi = 0; in testOpenRules()
524 return bi; in testOpenRules()
550 UBreakIterator *bi = testOpenRules(rules); in TestBreakIteratorRules() local
551 if (bi == NULL) {return;} in TestBreakIteratorRules()
553 ubrk_setText(bi, uData, -1, &status); in TestBreakIteratorRules()
555 pos = ubrk_first(bi); in TestBreakIteratorRules()
567 tag = ubrk_getRuleStatus(bi); in TestBreakIteratorRules()
574 pos = ubrk_next(bi); in TestBreakIteratorRules()
[all …]
/external/qemu/distrib/jpeg-6b/
Djccoefct.c149 int blkn, bi, ci, yindex, yoffset, blockcnt; in compress_data() local
185 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
186 coef->MCU_buffer[blkn+bi][0][0] = coef->MCU_buffer[blkn+bi-1][0][0]; in compress_data()
193 for (bi = 0; bi < compptr->MCU_width; bi++) { in compress_data()
194 coef->MCU_buffer[blkn+bi][0][0] = coef->MCU_buffer[blkn-1][0][0]; in compress_data()
250 int bi, ci, h_samp_factor, block_row, block_rows, ndummy; in compress_first_pass() local
291 for (bi = 0; bi < ndummy; bi++) { in compress_first_pass()
292 thisblockrow[bi][0] = lastDC; in compress_first_pass()
312 for (bi = 0; bi < h_samp_factor; bi++) { in compress_first_pass()
313 thisblockrow[bi][0] = lastDC; in compress_first_pass()
/external/jpeg/
Djccoefct.c149 int blkn, bi, ci, yindex, yoffset, blockcnt; in compress_data() local
185 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
186 coef->MCU_buffer[blkn+bi][0][0] = coef->MCU_buffer[blkn+bi-1][0][0]; in compress_data()
193 for (bi = 0; bi < compptr->MCU_width; bi++) { in compress_data()
194 coef->MCU_buffer[blkn+bi][0][0] = coef->MCU_buffer[blkn-1][0][0]; in compress_data()
250 int bi, ci, h_samp_factor, block_row, block_rows, ndummy; in compress_first_pass() local
291 for (bi = 0; bi < ndummy; bi++) { in compress_first_pass()
292 thisblockrow[bi][0] = lastDC; in compress_first_pass()
312 for (bi = 0; bi < h_samp_factor; bi++) { in compress_first_pass()
313 thisblockrow[bi][0] = lastDC; in compress_first_pass()

12345678910>>...18