Home
last modified time | relevance | path

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

12345678910>>...15

/external/icu/icu4c/source/common/
Dubrk.cpp125 const UBreakIterator *bi, in ubrk_safeClone() argument
133 if (bi == NULL) { in ubrk_safeClone()
144 BreakIterator *newBI = ((BreakIterator *)bi)->clone(); in ubrk_safeClone()
156 ubrk_close(UBreakIterator *bi) in ubrk_close() argument
158 delete (BreakIterator *)bi; in ubrk_close()
162 ubrk_setText(UBreakIterator* bi, in ubrk_setText() argument
169 ((BreakIterator*)bi)->setText(&ut, *status); in ubrk_setText()
177 ubrk_setUText(UBreakIterator *bi, in ubrk_setUText() argument
181 ((BreakIterator*)bi)->setText(text, *status); in ubrk_setUText()
189 ubrk_current(const UBreakIterator *bi) in ubrk_current() argument
[all …]
/external/libopus/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/icu/icu4c/source/test/intltest/
Drbbiapts.cpp379 …RuleBasedBreakIterator* bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInst… in TestIteration() local
380 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
383 delete bi; in TestIteration()
386bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInstance(Locale::getDefault(), st… in TestIteration()
387 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
390 delete bi; in TestIteration()
393bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createLineInstance(Locale::getDefault(), st… in TestIteration()
394 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
397 delete bi; in TestIteration()
400bi = (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.cpp337 BreakIterator *bi = new RuleBasedBreakIterator(rulesString1, parseError, status); in TestStatusReturn() local
343 bi->setText(testString1); in TestStatusReturn()
344 for (pos=bi->first(); pos!= BreakIterator::DONE; pos=bi->next()) { in TestStatusReturn()
350 int tag = bi->getRuleStatus(); in TestStatusReturn()
358 delete bi; in TestStatusReturn()
421 BreakIterator* bi = BreakIterator::createWordInstance(Locale("th"), status); in TestBug3818() local
422 if (U_FAILURE(status) || bi == NULL) { in TestBug3818()
426 bi->setText(thaiStr); in TestBug3818()
428 int32_t startOfSecondWord = bi->following(1); in TestBug3818()
433 startOfSecondWord = bi->following(0); in TestBug3818()
[all …]
/external/harfbuzz_ng/util/
Dansi-print.cc227 block_best (const biimage_t &bi, bool *inverse) in block_best() argument
229 assert (bi.width <= CELL_W); in block_best()
230 assert (bi.height <= CELL_H); in block_best()
241 for (unsigned int y = 0; y < bi.height; y++) in block_best()
242 for (unsigned int x = 0; x < bi.width; x++) { in block_best()
243 unsigned int c = bi (x, y); in block_best()
249 quad[2 * y / bi.height][2 * x / bi.width] += c; in block_best()
250 quad_i[2 * y / bi.height][2 * x / bi.width] += c_i; in block_best()
256 for (unsigned int i = 1; i < bi.height; i++) { in block_best()
260 for (unsigned int i = 1; i < bi.width; i++) { in block_best()
[all …]
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DRBBIPerf.java24 RuleBasedBreakIterator bi; field in RBBIPerf
59bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getCharacterInstance(); in setup()
61 bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getWordInstance(); in setup()
63 bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getLineInstance(); in setup()
68 if (bi!=null ) { in setup()
69 bi.setText(testString); in setup()
84 if (bi != null) { in testRBBINext()
85 n = bi.first(); in testRBBINext()
86 for (; n != BreakIterator.DONE; n=bi.next()) { in testRBBINext()
99 if (bi != null) { in testRBBINext()
[all …]
/external/jetty/src/java/org/eclipse/jetty/util/
DB64Code.java115 int bi=0; in encode() local
118 while (bi<stop) in encode()
120 b0=b[bi++]; in encode()
121 b1=b[bi++]; in encode()
122 b2=b[bi++]; in encode()
129 if (bLen!=bi) in encode()
134 b0=b[bi++]; in encode()
135 b1=b[bi++]; in encode()
143 b0=b[bi++]; in encode()
179 int bi=0; in encode() local
[all …]
/external/icu/icu4c/source/common/unicode/
Dubrk.h275 const UBreakIterator *bi,
297 ubrk_close(UBreakIterator *bi);
327 ubrk_setText(UBreakIterator* bi,
351 ubrk_setUText(UBreakIterator* bi,
366 ubrk_current(const UBreakIterator *bi);
378 ubrk_next(UBreakIterator *bi);
390 ubrk_previous(UBreakIterator *bi);
400 ubrk_first(UBreakIterator *bi);
412 ubrk_last(UBreakIterator *bi);
424 ubrk_preceding(UBreakIterator *bi,
[all …]
/external/clang/test/CodeGen/
Dzvector.c14 volatile vector bool int bi, bi2; variable
332 si = bi + si2; in test_add()
344 ui = bi + ui2; in test_add()
520 si = bi - si2; in test_sub()
532 ui = bi - ui2; in test_sub()
941 bi = ~bi2; in test_not()
1027 si = bi & si2; in test_and()
1039 ui = bi & ui2; in test_and()
1043 bi = bi & bi2; in test_and()
1140 bi &= bi2; in test_and_assign()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcbiapts.c520 UBreakIterator *bi; in testOpenRules() local
524 bi = ubrk_openRules(ruleSourceU, -1, /* The rules */ in testOpenRules()
530 bi = 0; in testOpenRules()
533 return bi; in testOpenRules()
559 UBreakIterator *bi = testOpenRules(rules); in TestBreakIteratorRules() local
560 if (bi == NULL) {return;} in TestBreakIteratorRules()
562 ubrk_setText(bi, uData, -1, &status); in TestBreakIteratorRules()
564 pos = ubrk_first(bi); in TestBreakIteratorRules()
576 tag = ubrk_getRuleStatus(bi); in TestBreakIteratorRules()
583 pos = ubrk_next(bi); in TestBreakIteratorRules()
[all …]
/external/boringssl/src/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 …]
/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/iptables/extensions/
Dlibxt_bpf.c42 struct xt_bpf_info *bi = (void *) cb->data; in bpf_parse_string() local
48 if (sscanf(bpf_program, "%hu%c", &bi->bpf_program_num_elem, &sp) != 2 || in bpf_parse_string()
52 if (!bi->bpf_program_num_elem) in bpf_parse_string()
55 if (bi->bpf_program_num_elem > XT_BPF_MAX_NUM_INSTR) in bpf_parse_string()
63 if (i >= bi->bpf_program_num_elem) in bpf_parse_string()
68 &bi->bpf_program[i].code, in bpf_parse_string()
69 &bi->bpf_program[i].jt, in bpf_parse_string()
70 &bi->bpf_program[i].jf, in bpf_parse_string()
71 &bi->bpf_program[i].k) != 4) in bpf_parse_string()
77 if (i != bi->bpf_program_num_elem) in bpf_parse_string()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DBreakTransliterator.java21 private BreakIterator bi; field in BreakTransliterator
26 … public BreakTransliterator(String ID, UnicodeFilter filter, BreakIterator bi, String insertion) { in BreakTransliterator() argument
28 this.bi = bi; in BreakTransliterator()
53 if (bi == null) bi = BreakIterator.getWordInstance(new ULocale("th_TH")); in getBreakIterator()
54 return bi; in getBreakIterator()
59 public void setBreakIterator(BreakIterator bi) { in setBreakIterator() argument
60 this.bi = bi; in setBreakIterator()
78 bi.setText(new ReplaceableCharacterIterator(text, pos.start, pos.limit, pos.start)); in handleTransliterate()
90 …for(boundary = bi.first(); boundary != BreakIterator.DONE && boundary < pos.limit; boundary = bi.n… in handleTransliterate()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBreakTransliterator.java22 private BreakIterator bi; field in BreakTransliterator
27 … public BreakTransliterator(String ID, UnicodeFilter filter, BreakIterator bi, String insertion) { in BreakTransliterator() argument
29 this.bi = bi; in BreakTransliterator()
54 if (bi == null) bi = BreakIterator.getWordInstance(new ULocale("th_TH")); in getBreakIterator()
55 return bi; in getBreakIterator()
60 public void setBreakIterator(BreakIterator bi) { in setBreakIterator() argument
61 this.bi = bi; in setBreakIterator()
79 bi.setText(new ReplaceableCharacterIterator(text, pos.start, pos.limit, pos.start)); in handleTransliterate()
91 …for(boundary = bi.first(); boundary != BreakIterator.DONE && boundary < pos.limit; boundary = bi.n… in handleTransliterate()
/external/icu/icu4c/source/i18n/
Dbrktrans.cpp74 LocalPointer<BreakIterator> bi; in handleTransliterate() local
81 bi.moveFrom(nonConstThis->cachedBI); in handleTransliterate()
83 if (bi.isNull()) { in handleTransliterate()
84 bi.adoptInstead(BreakIterator::createWordInstance(Locale::getEnglish(), status)); in handleTransliterate()
90 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { in handleTransliterate()
96 bi->setText(sText); in handleTransliterate()
97 bi->preceding(offsets.start); in handleTransliterate()
103 …for(boundary = bi->next(); boundary != UBRK_DONE && boundary < offsets.limit; boundary = bi->next(… in handleTransliterate()
146 nonConstThis->cachedBI.moveFrom(bi); in handleTransliterate()
/external/libjpeg-turbo/
Djccoefct.c148 int blkn, bi, ci, yindex, yoffset, blockcnt; in compress_data() local
184 for (bi = blockcnt; bi < compptr->MCU_width; bi++) { in compress_data()
185 coef->MCU_buffer[blkn+bi][0][0] = coef->MCU_buffer[blkn+bi-1][0][0]; in compress_data()
192 for (bi = 0; bi < compptr->MCU_width; bi++) { in compress_data()
193 coef->MCU_buffer[blkn+bi][0][0] = coef->MCU_buffer[blkn-1][0][0]; in compress_data()
249 int bi, ci, h_samp_factor, block_row, block_rows, ndummy; in compress_first_pass() local
290 for (bi = 0; bi < ndummy; bi++) { in compress_first_pass()
291 thisblockrow[bi][0] = lastDC; in compress_first_pass()
311 for (bi = 0; bi < h_samp_factor; bi++) { in compress_first_pass()
312 thisblockrow[bi][0] = lastDC; in compress_first_pass()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jccoefct.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/clang/test/Sema/
Dzvector.c15 vector bool int bi, bi2; variable
56 bi = bi2; in foo()
103 bi = bc2; // expected-error {{incompatible type}} in foo()
120 bi = (vector bool int)ui2; in foo()
141 bi = (vector bool int)ul2; in foo()
181 bi++; // expected-error {{cannot increment}} in foo()
221 bi--; // expected-error {{cannot decrement}} in foo()
243 bi = +bi2; // expected-error {{invalid argument type}} in foo()
269 bi = -bi2; // expected-error {{invalid argument type}} in foo()
295 bi = ~bi2; in foo()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestExtended.java43 BreakIterator bi; field in RBBITestExtended.TestParams
158 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); in TestExtended()
163 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); in TestExtended()
168 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); in TestExtended()
173 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); in TestExtended()
178 tp.bi = BreakIterator.getTitleInstance(tp.currentLocale); in TestExtended()
384 if (t.bi == null) { in executeTest()
388 t.bi.setText(t.dataToBreak.toString()); in executeTest()
393 for (bp = t.bi.first(); bp != BreakIterator.DONE; bp = t.bi.next()) { in executeTest()
422 int rs = t.bi.getRuleStatus(); in executeTest()
[all …]
DRBBIAPITest.java385 BreakIterator bi = BreakIterator.getWordInstance(ULocale.ENGLISH); in TestRuleStatus() local
387 bi.setText("# "); in TestRuleStatus()
388 assertEquals(null, bi.next(), 1); in TestRuleStatus()
389 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NONE); in TestRuleStatus()
390 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NONE_LIMIT); in TestRuleStatus()
392 bi.setText("3 "); in TestRuleStatus()
393 assertEquals(null, bi.next(), 1); in TestRuleStatus()
394 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NUMBER); in TestRuleStatus()
395 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NUMBER_LIMIT); in TestRuleStatus()
397 bi.setText("a "); in TestRuleStatus()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITestExtended.java47 BreakIterator bi; field in RBBITestExtended.TestParams
162 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); in TestExtended()
167 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); in TestExtended()
172 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); in TestExtended()
177 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); in TestExtended()
182 tp.bi = BreakIterator.getTitleInstance(tp.currentLocale); in TestExtended()
388 if (t.bi == null) { in executeTest()
392 t.bi.setText(t.dataToBreak.toString()); in executeTest()
397 for (bp = t.bi.first(); bp != BreakIterator.DONE; bp = t.bi.next()) { in executeTest()
426 int rs = t.bi.getRuleStatus(); in executeTest()
[all …]
DRBBIAPITest.java389 BreakIterator bi = BreakIterator.getWordInstance(ULocale.ENGLISH); in TestRuleStatus() local
391 bi.setText("# "); in TestRuleStatus()
392 assertEquals(null, bi.next(), 1); in TestRuleStatus()
393 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NONE); in TestRuleStatus()
394 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NONE_LIMIT); in TestRuleStatus()
396 bi.setText("3 "); in TestRuleStatus()
397 assertEquals(null, bi.next(), 1); in TestRuleStatus()
398 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NUMBER); in TestRuleStatus()
399 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NUMBER_LIMIT); in TestRuleStatus()
401 bi.setText("a "); in TestRuleStatus()
[all …]
/external/llvm/test/CodeGen/ARM/
Dlsr-icmp-imm.ll18 %bi.06 = phi i32 [ %i.addr.0.bi.0, %for.body ], [ 0, %entry ]
25 %i.addr.0.bi.0 = select i1 %cmp1, i32 %i.addr.05, i32 %bi.06
31 %bi.0.lcssa = phi i32 [ 0, %entry ], [ %i.addr.0.bi.0, %for.body ]
32 ret i32 %bi.0.lcssa

12345678910>>...15