Home
last modified time | relevance | path

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

12345678910>>...18

/external/syslinux/gpxe/src/core/
Dbtext.c66 boot_infos_t* bi = &disp_bi;
73 bi->dispDeviceBase = address;
74 bi->dispDeviceRowBytes = pitch;
75 bi->dispDeviceDepth = depth;
76 bi->dispDeviceRect[0] = bi->dispDeviceRect[1] = 0;
77 bi->dispDeviceRect[2] = width;
78 bi->dispDeviceRect[3] = height;
96 boot_infos_t *bi = &disp_bi;
98 if (bi->dispDeviceBase == 0)
103 bi->logicalDisplayBase = phys_to_virt(bi->dispDeviceBase);
[all …]
/external/icu/icu4c/source/common/
Dubrk.cpp127 const UBreakIterator *bi, in ubrk_safeClone() argument
135 if (bi == NULL) { in ubrk_safeClone()
146 BreakIterator *newBI = ((BreakIterator *)bi)->clone(); in ubrk_safeClone()
158 ubrk_close(UBreakIterator *bi) in ubrk_close() argument
160 delete (BreakIterator *)bi; in ubrk_close()
164 ubrk_setText(UBreakIterator* bi, in ubrk_setText() argument
171 ((BreakIterator*)bi)->setText(&ut, *status); in ubrk_setText()
179 ubrk_setUText(UBreakIterator *bi, in ubrk_setUText() argument
183 ((BreakIterator*)bi)->setText(text, *status); in ubrk_setUText()
191 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.cpp381 …RuleBasedBreakIterator* bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInst… in TestIteration() local
382 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
385 delete bi; in TestIteration()
388bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInstance(Locale::getDefault(), st… in TestIteration()
389 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
392 delete bi; in TestIteration()
395bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createLineInstance(Locale::getDefault(), st… in TestIteration()
396 if (U_FAILURE(status) || bi == NULL) { in TestIteration()
399 delete bi; in TestIteration()
402bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createSentenceInstance(Locale::getDefault()… in TestIteration()
[all …]
Drbbitst.h97 void generalIteratorTest(RuleBasedBreakIterator& bi, BITestData &td);
101 void testFirstAndNext(RuleBasedBreakIterator& bi, BITestData &td);
105 void testLastAndPrevious(RuleBasedBreakIterator& bi, BITestData &td);
109 void testFollowing(RuleBasedBreakIterator& bi, BITestData &td);
113 void testPreceding(RuleBasedBreakIterator& bi, BITestData &td);
117 void testIsBoundary(RuleBasedBreakIterator& bi, BITestData &td);
124 void RunMonkey(BreakIterator *bi, RBBIMonkeyKind &mk, const char *name, uint32_t seed,
128 void runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi);
134 RuleBasedBreakIterator *bi);
Drbbitst.cpp288 LocalPointer <BreakIterator> bi(new RuleBasedBreakIterator(rulesString1, parseError, status)); in TestStatusReturn() local
295 bi->setText(testString1); in TestStatusReturn()
296 for (pos=bi->first(); pos!= BreakIterator::DONE; pos=bi->next()) { in TestStatusReturn()
302 int tag = bi->getRuleStatus(); in TestStatusReturn()
371 BreakIterator* bi = BreakIterator::createWordInstance(Locale("th"), status); in TestBug3818() local
372 if (U_FAILURE(status) || bi == NULL) { in TestBug3818()
376 bi->setText(thaiStr); in TestBug3818()
378 int32_t startOfSecondWord = bi->following(1); in TestBug3818()
383 startOfSecondWord = bi->following(0); in TestBug3818()
388 delete bi; 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.java26 RuleBasedBreakIterator bi; field in RBBIPerf
61bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getCharacterInstance(); in setup()
63 bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getWordInstance(); in setup()
65 bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getLineInstance(); in setup()
70 if (bi!=null ) { in setup()
71 bi.setText(testString); in setup()
86 if (bi != null) { in testRBBINext()
87 n = bi.first(); in testRBBINext()
88 for (; n != BreakIterator.DONE; n=bi.next()) { in testRBBINext()
101 if (bi != null) { in testRBBINext()
[all …]
/external/icu/icu4c/source/common/unicode/
Dubrk.h290 const UBreakIterator *bi,
312 ubrk_close(UBreakIterator *bi);
346 ubrk_setText(UBreakIterator* bi,
370 ubrk_setUText(UBreakIterator* bi,
385 ubrk_current(const UBreakIterator *bi);
397 ubrk_next(UBreakIterator *bi);
409 ubrk_previous(UBreakIterator *bi);
419 ubrk_first(UBreakIterator *bi);
431 ubrk_last(UBreakIterator *bi);
443 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/syslinux/gpxe/src/crypto/axtls/
Dbigint.c59 static bigint *bi_int_multiply(BI_CTX *ctx, bigint *bi, comp i);
62 static bigint *trim(bigint *bi);
63 static void more_comps(bigint *bi, int n);
71 static void check(const bigint *bi);
130 bigint *bi_copy(bigint *bi) in bi_copy() argument
132 check(bi); in bi_copy()
133 if (bi->refs != PERMANENT) in bi_copy()
134 bi->refs++; in bi_copy()
135 return bi; in bi_copy()
144 void bi_permanent(bigint *bi) in bi_permanent() argument
[all …]
Dbigint.h38 void bi_permanent(bigint *bi);
39 void bi_depermanent(bigint *bi);
40 void bi_free(BI_CTX *ctx, bigint *bi);
41 bigint *bi_copy(bigint *bi);
42 bigint *bi_clone(BI_CTX *ctx, const bigint *bi);
43 void bi_export(BI_CTX *ctx, bigint *bi, uint8_t *data, int size);
53 bigint *bi_mod_power(BI_CTX *ctx, bigint *bi, bigint *biexp);
54 bigint *bi_mod_power2(BI_CTX *ctx, bigint *bi, bigint *bim, bigint *biexp);
60 void bi_print(const char *label, bigint *bi);
80 bigint *bi_barrett(BI_CTX *ctx, bigint *bi);
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcbiapts.c522 UBreakIterator *bi; in testOpenRules() local
526 bi = ubrk_openRules(ruleSourceU, -1, /* The rules */ in testOpenRules()
532 bi = 0; in testOpenRules()
535 return bi; in testOpenRules()
561 UBreakIterator *bi = testOpenRules(rules); in TestBreakIteratorRules() local
562 if (bi == NULL) {return;} in TestBreakIteratorRules()
564 ubrk_setText(bi, uData, -1, &status); in TestBreakIteratorRules()
566 pos = ubrk_first(bi); in TestBreakIteratorRules()
578 tag = ubrk_getRuleStatus(bi); in TestBreakIteratorRules()
585 pos = ubrk_next(bi); in TestBreakIteratorRules()
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/asm/
Dco-586.pl23 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
28 &comment("mul a[$ai]*b[$bi]");
51 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
56 &comment("sqr a[$ai]*a[$bi]");
62 if ($ai == $bi)
80 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
85 &comment("sqr a[$ai]*a[$bi]");
91 if ($ai == $bi)
114 local($i,$as,$ae,$bs,$be,$ai,$bi);
146 $bi=$bs;
[all …]
/external/f2fs-tools/lib/
Dlibf2fs_io.c105 struct buf_item *bi = calloc(1, sizeof(struct buf_item)); in dev_write_sparse() local
107 if (bi == NULL) { in dev_write_sparse()
110 bi->buf = malloc(byte_len); in dev_write_sparse()
111 if (bi->buf == NULL) { in dev_write_sparse()
112 free(bi); in dev_write_sparse()
116 bi->len = byte_len; in dev_write_sparse()
117 memcpy(bi->buf, buf, byte_len); in dev_write_sparse()
118 bi->next = buf_list; in dev_write_sparse()
119 buf_list = bi; in dev_write_sparse()
121 sparse_file_add_data(f2fs_sparse_file, bi->buf, byte_len, byte_offset/F2FS_BLKSIZE); in dev_write_sparse()
[all …]
/external/iptables/extensions/
Dlibxt_bpf.c122 static void bpf_parse_obj_pinned(struct xt_bpf_info_v1 *bi, in bpf_parse_obj_pinned() argument
125 bi->fd = bpf_obj_get(filepath); in bpf_parse_obj_pinned()
126 if (bi->fd < 0) in bpf_parse_obj_pinned()
131 if (fcntl(bi->fd, F_SETFD, FD_CLOEXEC) == -1) { in bpf_parse_obj_pinned()
140 struct xt_bpf_info *bi = (void *) cb->data; in bpf_parse() local
145 bpf_parse_string(bi->bpf_program, &bi->bpf_program_num_elem, in bpf_parse()
146 ARRAY_SIZE(bi->bpf_program), cb->arg); in bpf_parse()
155 struct xt_bpf_info_v1 *bi = (void *) cb->data; in bpf_parse_v1() local
160 bpf_parse_string(bi->bpf_program, &bi->bpf_program_num_elem, in bpf_parse_v1()
161 ARRAY_SIZE(bi->bpf_program), cb->arg); in bpf_parse_v1()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBreakTransliterator.java24 private BreakIterator bi; field in BreakTransliterator
29 … public BreakTransliterator(String ID, UnicodeFilter filter, BreakIterator bi, String insertion) { in BreakTransliterator() argument
31 this.bi = bi; in BreakTransliterator()
56 if (bi == null) bi = BreakIterator.getWordInstance(new ULocale("th_TH")); in getBreakIterator()
57 return bi; in getBreakIterator()
62 public void setBreakIterator(BreakIterator bi) { in setBreakIterator() argument
63 this.bi = bi; in setBreakIterator()
82 bi.setText(new ReplaceableCharacterIterator(text, pos.start, pos.limit, pos.start)); in handleTransliterate()
94 …for(boundary = bi.first(); boundary != BreakIterator.DONE && boundary < pos.limit; boundary = bi.n… in handleTransliterate()
/external/icu/icu4c/source/i18n/
Dbrktrans.cpp76 LocalPointer<BreakIterator> bi; in handleTransliterate() local
83 bi.moveFrom(nonConstThis->cachedBI); in handleTransliterate()
85 if (bi.isNull()) { in handleTransliterate()
86 bi.adoptInstead(BreakIterator::createWordInstance(Locale::getEnglish(), status)); in handleTransliterate()
92 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { in handleTransliterate()
98 bi->setText(sText); in handleTransliterate()
99 bi->preceding(offsets.start); in handleTransliterate()
105 …for(boundary = bi->next(); boundary != UBRK_DONE && boundary < offsets.limit; boundary = bi->next(… in handleTransliterate()
148 nonConstThis->cachedBI.moveFrom(bi); in handleTransliterate()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIAPITest.java395 BreakIterator bi = BreakIterator.getWordInstance(ULocale.ENGLISH); in TestRuleStatus() local
397 bi.setText("# "); in TestRuleStatus()
398 assertEquals(null, bi.next(), 1); in TestRuleStatus()
399 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NONE); in TestRuleStatus()
400 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NONE_LIMIT); in TestRuleStatus()
402 bi.setText("3 "); in TestRuleStatus()
403 assertEquals(null, bi.next(), 1); in TestRuleStatus()
404 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NUMBER); in TestRuleStatus()
405 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NUMBER_LIMIT); in TestRuleStatus()
407 bi.setText("a "); in TestRuleStatus()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIAPITest.java396 BreakIterator bi = BreakIterator.getWordInstance(ULocale.ENGLISH); in TestRuleStatus() local
398 bi.setText("# "); in TestRuleStatus()
399 assertEquals(null, bi.next(), 1); in TestRuleStatus()
400 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NONE); in TestRuleStatus()
401 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NONE_LIMIT); in TestRuleStatus()
403 bi.setText("3 "); in TestRuleStatus()
404 assertEquals(null, bi.next(), 1); in TestRuleStatus()
405 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NUMBER); in TestRuleStatus()
406 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NUMBER_LIMIT); in TestRuleStatus()
408 bi.setText("a "); in TestRuleStatus()
[all …]
DRBBITestExtended.java42 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 …]
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DBreakTransliterator.java23 private BreakIterator bi; field in BreakTransliterator
28 … public BreakTransliterator(String ID, UnicodeFilter filter, BreakIterator bi, String insertion) { in BreakTransliterator() argument
30 this.bi = bi; in BreakTransliterator()
55 if (bi == null) bi = BreakIterator.getWordInstance(new ULocale("th_TH")); in getBreakIterator()
56 return bi; in getBreakIterator()
61 public void setBreakIterator(BreakIterator bi) { in setBreakIterator() argument
62 this.bi = bi; in setBreakIterator()
81 bi.setText(new ReplaceableCharacterIterator(text, pos.start, pos.limit, pos.start)); in handleTransliterate()
93 …for(boundary = bi.first(); boundary != BreakIterator.DONE && boundary < pos.limit; boundary = bi.n… in handleTransliterate()
/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/libjpeg-turbo/
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/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 …]

12345678910>>...18