/external/syslinux/gpxe/src/core/ |
D | btext.c | 66 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/libopus/src/ |
D | opus_compare.c | 115 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/common/ |
D | ubrk.cpp | 149 const UBreakIterator *bi, in ubrk_safeClone() argument 157 if (bi == NULL) { in ubrk_safeClone() 168 BreakIterator *newBI = ((BreakIterator *)bi)->clone(); in ubrk_safeClone() 180 ubrk_close(UBreakIterator *bi) in ubrk_close() argument 182 delete (BreakIterator *)bi; in ubrk_close() 186 ubrk_setText(UBreakIterator* bi, in ubrk_setText() argument 193 ((BreakIterator*)bi)->setText(&ut, *status); in ubrk_setText() 201 ubrk_setUText(UBreakIterator *bi, in ubrk_setUText() argument 205 ((BreakIterator*)bi)->setText(text, *status); in ubrk_setUText() 213 ubrk_current(const UBreakIterator *bi) in ubrk_current() argument [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | rbbiapts.cpp | 382 …RuleBasedBreakIterator* bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInst… in TestIteration() local 383 if (U_FAILURE(status) || bi == NULL) { in TestIteration() 386 delete bi; in TestIteration() 389 …bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInstance(Locale::getDefault(), st… in TestIteration() 390 if (U_FAILURE(status) || bi == NULL) { in TestIteration() 393 delete bi; in TestIteration() 396 …bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createLineInstance(Locale::getDefault(), st… in TestIteration() 397 if (U_FAILURE(status) || bi == NULL) { in TestIteration() 400 delete bi; in TestIteration() 403 …bi = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createSentenceInstance(Locale::getDefault()… in TestIteration() [all …]
|
D | rbbitst.cpp | 328 BreakIterator* bi = BreakIterator::createWordInstance(Locale("th"), status); in TestBug3818() local 329 if (U_FAILURE(status) || bi == NULL) { in TestBug3818() 333 bi->setText(thaiStr); in TestBug3818() 335 int32_t startOfSecondWord = bi->following(1); in TestBug3818() 340 startOfSecondWord = bi->following(0); in TestBug3818() 345 delete bi; in TestBug3818() 354 void RBBITest::generalIteratorTest(RuleBasedBreakIterator& bi, BITestData &td) in generalIteratorTest() argument 357 bi.setText(td.fDataToBreak); in generalIteratorTest() 359 testFirstAndNext(bi, td); in generalIteratorTest() 361 testLastAndPrevious(bi, td); in generalIteratorTest() [all …]
|
D | rbbitst.h | 95 void generalIteratorTest(RuleBasedBreakIterator& bi, BITestData &td); 99 void testFirstAndNext(RuleBasedBreakIterator& bi, BITestData &td); 103 void testLastAndPrevious(RuleBasedBreakIterator& bi, BITestData &td); 107 void testFollowing(RuleBasedBreakIterator& bi, BITestData &td); 111 void testPreceding(RuleBasedBreakIterator& bi, BITestData &td); 115 void testIsBoundary(RuleBasedBreakIterator& bi, BITestData &td); 122 void RunMonkey(BreakIterator *bi, RBBIMonkeyKind &mk, const char *name, uint32_t seed, 126 void runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi); 132 RuleBasedBreakIterator *bi);
|
/external/harfbuzz_ng/util/ |
D | ansi-print.cc | 227 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/ |
D | RBBIPerf.java | 26 RuleBasedBreakIterator bi; field in RBBIPerf 61 … bi = (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/wpa_supplicant_8/src/ap/ |
D | dpp_hostapd.c | 44 struct dpp_bootstrap_info *bi; in hapd_dpp_next_id() local 47 dl_list_for_each(bi, &hapd->dpp_bootstrap, struct dpp_bootstrap_info, in hapd_dpp_next_id() 49 if (bi->id > max_id) in hapd_dpp_next_id() 50 max_id = bi->id; in hapd_dpp_next_id() 64 struct dpp_bootstrap_info *bi; in hostapd_dpp_qr_code() local 67 bi = dpp_parse_qr_code(cmd); in hostapd_dpp_qr_code() 68 if (!bi) in hostapd_dpp_qr_code() 71 bi->id = hapd_dpp_next_id(hapd); in hostapd_dpp_qr_code() 72 dl_list_add(&hapd->dpp_bootstrap, &bi->list); in hostapd_dpp_qr_code() 75 dpp_notify_new_qr_code(auth, bi) == 1) { in hostapd_dpp_qr_code() [all …]
|
/external/clang/test/CodeGen/ |
D | zvector.c | 14 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/common/unicode/ |
D | ubrk.h | 319 const UBreakIterator *bi, 341 ubrk_close(UBreakIterator *bi); 375 ubrk_setText(UBreakIterator* bi, 399 ubrk_setUText(UBreakIterator* bi, 414 ubrk_current(const UBreakIterator *bi); 426 ubrk_next(UBreakIterator *bi); 438 ubrk_previous(UBreakIterator *bi); 448 ubrk_first(UBreakIterator *bi); 460 ubrk_last(UBreakIterator *bi); 472 ubrk_preceding(UBreakIterator *bi, [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cbiapts.c | 524 UBreakIterator *bi; in testOpenRules() local 528 bi = ubrk_openRules(ruleSourceU, -1, /* The rules */ in testOpenRules() 534 bi = 0; in testOpenRules() 537 return bi; in testOpenRules() 563 UBreakIterator *bi = testOpenRules(rules); in TestBreakIteratorRules() local 564 if (bi == NULL) {return;} in TestBreakIteratorRules() 566 ubrk_setText(bi, uData, -1, &status); in TestBreakIteratorRules() 568 pos = ubrk_first(bi); in TestBreakIteratorRules() 580 tag = ubrk_getRuleStatus(bi); in TestBreakIteratorRules() 587 pos = ubrk_next(bi); in TestBreakIteratorRules() [all …]
|
/external/syslinux/gpxe/src/crypto/axtls/ |
D | bigint.c | 59 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 …]
|
D | bigint.h | 38 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/boringssl/src/crypto/fipsmodule/bn/asm/ |
D | co-586.pl | 23 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/wpa_supplicant_8/wpa_supplicant/ |
D | dpp_supplicant.c | 62 struct dpp_bootstrap_info *bi; in wpas_dpp_next_id() local 65 dl_list_for_each(bi, &wpa_s->dpp_bootstrap, struct dpp_bootstrap_info, in wpas_dpp_next_id() 67 if (bi->id > max_id) in wpas_dpp_next_id() 68 max_id = bi->id; in wpas_dpp_next_id() 82 struct dpp_bootstrap_info *bi; in wpas_dpp_qr_code() local 85 bi = dpp_parse_qr_code(cmd); in wpas_dpp_qr_code() 86 if (!bi) in wpas_dpp_qr_code() 89 bi->id = wpas_dpp_next_id(wpa_s); in wpas_dpp_qr_code() 90 dl_list_add(&wpa_s->dpp_bootstrap, &bi->list); in wpas_dpp_qr_code() 93 dpp_notify_new_qr_code(auth, bi) == 1) { in wpas_dpp_qr_code() [all …]
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | flatrep.h | 130 uint32 bi = index & (kWidth - 1); in Find() local 132 const uint32 x = b->marker[bi]; in Find() 133 if (x == marker && equal_(b->key(bi), k)) { in Find() 134 return {true, b, bi}; in Find() 157 uint32 bi = index & (kWidth - 1); in FindOrInsert() local 159 const uint32 x = b->marker[bi]; in FindOrInsert() 160 if (x == marker && equal_(b->key(bi), k)) { in FindOrInsert() 161 return {true, b, bi}; in FindOrInsert() 165 di = bi; in FindOrInsert() 170 bi = di; in FindOrInsert() [all …]
|
/external/iptables/extensions/ |
D | libxt_bpf.c | 124 static void bpf_parse_obj_pinned(struct xt_bpf_info_v1 *bi, in bpf_parse_obj_pinned() argument 127 bi->fd = bpf_obj_get(filepath); in bpf_parse_obj_pinned() 128 if (bi->fd < 0) in bpf_parse_obj_pinned() 133 if (fcntl(bi->fd, F_SETFD, FD_CLOEXEC) == -1) { in bpf_parse_obj_pinned() 142 struct xt_bpf_info *bi = (void *) cb->data; in bpf_parse() local 147 bpf_parse_string(bi->bpf_program, &bi->bpf_program_num_elem, in bpf_parse() 148 ARRAY_SIZE(bi->bpf_program), cb->arg); in bpf_parse() 157 struct xt_bpf_info_v1 *bi = (void *) cb->data; in bpf_parse_v1() local 162 bpf_parse_string(bi->bpf_program, &bi->bpf_program_num_elem, in bpf_parse_v1() 163 ARRAY_SIZE(bi->bpf_program), cb->arg); in bpf_parse_v1() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | BreakTransliterator.java | 24 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/libjpeg-turbo/ |
D | jccoefct.c | 149 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/icu/icu4c/source/i18n/ |
D | brktrans.cpp | 76 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/classes/translit/src/com/ibm/icu/text/ |
D | BreakTransliterator.java | 23 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBIAPITest.java | 397 BreakIterator bi = BreakIterator.getWordInstance(ULocale.ENGLISH); in TestRuleStatus() local 399 bi.setText("# "); in TestRuleStatus() 400 assertEquals(null, bi.next(), 1); in TestRuleStatus() 401 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NONE); in TestRuleStatus() 402 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NONE_LIMIT); in TestRuleStatus() 404 bi.setText("3 "); in TestRuleStatus() 405 assertEquals(null, bi.next(), 1); in TestRuleStatus() 406 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NUMBER); in TestRuleStatus() 407 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NUMBER_LIMIT); in TestRuleStatus() 409 bi.setText("a "); in TestRuleStatus() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBIAPITest.java | 400 BreakIterator bi = BreakIterator.getWordInstance(ULocale.ENGLISH); in TestRuleStatus() local 402 bi.setText("# "); in TestRuleStatus() 403 assertEquals(null, bi.next(), 1); in TestRuleStatus() 404 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NONE); in TestRuleStatus() 405 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NONE_LIMIT); in TestRuleStatus() 407 bi.setText("3 "); in TestRuleStatus() 408 assertEquals(null, bi.next(), 1); in TestRuleStatus() 409 assertTrue(null, bi.getRuleStatus() >= RuleBasedBreakIterator.WORD_NUMBER); in TestRuleStatus() 410 assertTrue(null, bi.getRuleStatus() < RuleBasedBreakIterator.WORD_NUMBER_LIMIT); in TestRuleStatus() 412 bi.setText("a "); in TestRuleStatus() [all …]
|
/external/clang/test/Sema/ |
D | zvector.c | 15 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 …]
|