/external/u-boot/drivers/mtd/ |
D | cfi_mtd.c | 30 int error, sect; in cfi_mtd_erase() local 32 for (sect = 0; sect < fi->sector_count; sect++) { in cfi_mtd_erase() 33 if (a_start == fi->start[sect]) in cfi_mtd_erase() 34 s_first = sect; in cfi_mtd_erase() 36 if (sect < fi->sector_count - 1) { in cfi_mtd_erase() 37 if (a_end == fi->start[sect + 1]) { in cfi_mtd_erase() 38 s_last = sect; in cfi_mtd_erase() 42 s_last = sect; in cfi_mtd_erase() 135 int sect; in cfi_mtd_set_erasesize() local 145 for (sect = 0; sect < fi->sector_count; sect++) { in cfi_mtd_set_erasesize() [all …]
|
D | pic32_flash.c | 108 int prot, sect; in flash_erase() local 123 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 124 if (info->protect[sect]) in flash_erase() 135 for (sect = s_first; sect <= s_last; sect++) { in flash_erase() 136 if (info->protect[sect]) in flash_erase() 143 sect_start = CPHYSADDR(info->start[sect]); in flash_erase() 168 sect_end = info->start[sect] + info->size / info->sector_count; in flash_erase() 169 invalidate_dcache_range(info->start[sect], sect_end); in flash_erase() 176 int page_erase(flash_info_t *info, int sect) in page_erase() argument 353 int sect; in pic32_flash_bank_init() local [all …]
|
D | cfi_flash.c | 197 unsigned long flash_sector_size(flash_info_t *info, flash_sect_t sect) in flash_sector_size() argument 199 if (sect != (info->sector_count - 1)) in flash_sector_size() 200 return info->start[sect + 1] - info->start[sect]; in flash_sector_size() 202 return info->start[0] + info->size - info->start[sect]; in flash_sector_size() 209 flash_map(flash_info_t *info, flash_sect_t sect, uint offset) in flash_map() argument 213 return (void *)(info->start[sect] + byte_offset); in flash_map() 216 static inline void flash_unmap(flash_info_t *info, flash_sect_t sect, in flash_unmap() argument 320 static ulong flash_read_long (flash_info_t *info, flash_sect_t sect, in flash_read_long() argument 329 addr = flash_map(info, sect, offset); in flash_read_long() 348 flash_unmap(info, sect, offset, addr); in flash_read_long() [all …]
|
D | st_smi.c | 535 flash_sect_t sect; in flash_erase() local 542 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 543 if (info->protect[sect]) in flash_erase() 553 for (sect = s_first; sect <= s_last; sect++) { in flash_erase() 554 if (info->protect[sect] == 0) { in flash_erase() 555 if (smi_sector_erase(info, sect)) in flash_erase()
|
D | altera_qspi.c | 141 u32 sect; in altera_qspi_erase() local 165 sect = addr / mtd->erasesize; in altera_qspi_erase() 166 sect <<= 8; in altera_qspi_erase() 167 sect |= QUADSPI_MEM_OP_SECTOR_ERASE; in altera_qspi_erase() 168 debug("erase %08x\n", sect); in altera_qspi_erase() 169 writel(sect, ®s->mem_op); in altera_qspi_erase() 173 debug("erase %08x fail %x\n", sect, stat); in altera_qspi_erase()
|
/external/llvm/tools/llvm-c-test/ |
D | object.c | 23 LLVMSectionIteratorRef sect; in llvm_object_list_sections() local 37 sect = LLVMGetSections(O); in llvm_object_list_sections() 38 while (!LLVMIsSectionIteratorAtEnd(O, sect)) { in llvm_object_list_sections() 39 printf("'%s': @0x%08" PRIx64 " +%" PRIu64 "\n", LLVMGetSectionName(sect), in llvm_object_list_sections() 40 LLVMGetSectionAddress(sect), LLVMGetSectionSize(sect)); in llvm_object_list_sections() 42 LLVMMoveToNextSection(sect); in llvm_object_list_sections() 45 LLVMDisposeSectionIterator(sect); in llvm_object_list_sections() 55 LLVMSectionIteratorRef sect; in llvm_object_list_symbols() local 70 sect = LLVMGetSections(O); in llvm_object_list_symbols() 74 LLVMMoveToContainingSection(sect, sym); in llvm_object_list_symbols() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/ |
D | object.c | 23 LLVMSectionIteratorRef sect; in llvm_object_list_sections() local 37 sect = LLVMGetSections(O); in llvm_object_list_sections() 38 while (!LLVMIsSectionIteratorAtEnd(O, sect)) { in llvm_object_list_sections() 39 printf("'%s': @0x%08" PRIx64 " +%" PRIu64 "\n", LLVMGetSectionName(sect), in llvm_object_list_sections() 40 LLVMGetSectionAddress(sect), LLVMGetSectionSize(sect)); in llvm_object_list_sections() 42 LLVMMoveToNextSection(sect); in llvm_object_list_sections() 45 LLVMDisposeSectionIterator(sect); in llvm_object_list_sections() 55 LLVMSectionIteratorRef sect; in llvm_object_list_symbols() local 70 sect = LLVMGetSections(O); in llvm_object_list_symbols() 74 LLVMMoveToContainingSection(sect, sym); in llvm_object_list_symbols() [all …]
|
/external/openssh/ |
D | krl.c | 553 struct sshbuf *sect; in revoked_certs_generate() local 556 if ((sect = sshbuf_new()) == NULL) in revoked_certs_generate() 600 if ((r = put_bitmap(sect, bitmap)) != 0) in revoked_certs_generate() 607 (r = sshbuf_put_stringb(buf, sect)) != 0) in revoked_certs_generate() 609 sshbuf_reset(sect); in revoked_certs_generate() 617 sshbuf_reset(sect); in revoked_certs_generate() 628 if ((r = sshbuf_put_u64(sect, in revoked_certs_generate() 639 if ((r = sshbuf_put_u64(sect, rs->lo + i)) != 0) in revoked_certs_generate() 644 if ((r = sshbuf_put_u64(sect, rs->lo)) != 0 || in revoked_certs_generate() 645 (r = sshbuf_put_u64(sect, rs->hi)) != 0) in revoked_certs_generate() [all …]
|
/external/u-boot/board/cobra5272/ |
D | flash.c | 131 int iflag, cflag, prot, sect; in flash_erase() local 151 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 152 if (info->protect[sect]) { in flash_erase() 174 for (sect = s_first; sect <= s_last && !ctrlc (); sect++) { in flash_erase() 175 printf ("Erasing sector %2d ... ", sect); in flash_erase() 180 if (info->protect[sect] == 0) { /* not protected */ in flash_erase() 182 (volatile u16 *) (info->start[sect]); in flash_erase()
|
/external/u-boot/cmd/ |
D | fdc.c | 125 unsigned int sect; /* sectors per track */ member 251 unsigned long head,track,sect,timeout; in fdc_issue_cmd() local 252 track = pCMD->blnr / (pFG->sect * pFG->head); /* track nr */ in fdc_issue_cmd() 253 sect = pCMD->blnr % (pFG->sect * pFG->head); /* remaining blocks */ in fdc_issue_cmd() 254 head = sect / pFG->sect; /* head nr */ in fdc_issue_cmd() 255 sect = sect % pFG->sect; /* remaining blocks */ in fdc_issue_cmd() 256 sect++; /* sectors are 1 based */ in fdc_issue_cmd() 258 pCMD->cmd[0],track,head,sect,pCMD->drive,pCMD->blnr); in fdc_issue_cmd() 271 pCMD->cmd[SECTOR]=(unsigned char) sect; /* sector */ in fdc_issue_cmd() 273 pCMD->cmd[LAST_TRACK]=pFG->sect; /* End of track */ in fdc_issue_cmd() [all …]
|
D | flash.c | 207 int sect; in flash_fill_sect_ranges() local 218 for (sect=0; sect < info->sector_count; ++sect) { in flash_fill_sect_ranges() 221 end = (sect == s_end) ? b_end : info->start[sect + 1] - 1; in flash_fill_sect_ranges() 225 if (addr_last < info->start[sect]) in flash_fill_sect_ranges() 228 if (addr_first == info->start[sect]) { in flash_fill_sect_ranges() 229 s_first[bank] = sect; in flash_fill_sect_ranges() 232 s_last[bank] = sect; in flash_fill_sect_ranges() 252 sect = s_last[bank]; in flash_fill_sect_ranges() 253 addr_first = (sect == s_end) ? b_end + 1: info->start[sect + 1]; in flash_fill_sect_ranges()
|
/external/u-boot/board/freescale/m5253demo/ |
D | flash.c | 180 int flag, prot, sect, count; in flash_erase() local 206 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 207 if (info->protect[sect]) { in flash_erase() 264 for (sect = s_first; sect <= s_last; sect++) { in flash_erase() 265 if (info->protect[sect] == 0) { /* not protected */ in flash_erase() 267 addr = (FPWV *) (info->start[sect]); in flash_erase()
|
/external/skqp/tests/ |
D | PathOpsCubicLineIntersectionTest.cpp | 167 SkDPoint sect = cubic.ptAtT(cubicT); in testOne() local 168 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", prev.fX, prev.fY, sect.fX, sect.fY); in testOne() 169 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", sect.fX, sect.fY, cubic[3].fX, cubic[3].fY); in testOne() 175 sect.distance(i.pt(0)), cubic[3].distance(prevL)); in testOne()
|
/external/skia/tests/ |
D | PathOpsCubicLineIntersectionTest.cpp | 167 SkDPoint sect = cubic.ptAtT(cubicT); in testOne() local 168 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", prev.fX, prev.fY, sect.fX, sect.fY); in testOne() 169 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", sect.fX, sect.fY, cubic[3].fX, cubic[3].fY); in testOne() 175 sect.distance(i.pt(0)), cubic[3].distance(prevL)); in testOne()
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_pci.c | 217 STACK_OF(CONF_VALUE) *sect; in r2i_pci() 220 sect = X509V3_get_section(ctx, cnf->name + 1); in r2i_pci() 221 if (!sect) { in r2i_pci() 226 for (j = 0; success_p && j < sk_CONF_VALUE_num(sect); j++) { in r2i_pci() 228 process_pci_value(sk_CONF_VALUE_value(sect, j), in r2i_pci() 231 X509V3_section_free(ctx, sect); in r2i_pci()
|
/external/u-boot/board/shmin/ |
D | shmin.c | 49 int sect[] = CONFIG_SYS_ATMEL_SECT; in board_flash_get_legacy() local 81 info->size += sect[i] * sectsz[i]; in board_flash_get_legacy() 82 for (j = 0; j < sect[i]; j++, k++) { in board_flash_get_legacy()
|
/external/llvm/include/llvm/Support/ |
D | MachO.h | 1046 inline void swapStruct(section_64 §) { in swapStruct() argument 1047 sys::swapByteOrder(sect.addr); in swapStruct() 1048 sys::swapByteOrder(sect.size); in swapStruct() 1049 sys::swapByteOrder(sect.offset); in swapStruct() 1050 sys::swapByteOrder(sect.align); in swapStruct() 1051 sys::swapByteOrder(sect.reloff); in swapStruct() 1052 sys::swapByteOrder(sect.nreloc); in swapStruct() 1053 sys::swapByteOrder(sect.flags); in swapStruct() 1054 sys::swapByteOrder(sect.reserved1); in swapStruct() 1055 sys::swapByteOrder(sect.reserved2); in swapStruct() [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MachO.h | 1054 inline void swapStruct(section_64 §) { in swapStruct() argument 1055 sys::swapByteOrder(sect.addr); in swapStruct() 1056 sys::swapByteOrder(sect.size); in swapStruct() 1057 sys::swapByteOrder(sect.offset); in swapStruct() 1058 sys::swapByteOrder(sect.align); in swapStruct() 1059 sys::swapByteOrder(sect.reloff); in swapStruct() 1060 sys::swapByteOrder(sect.nreloc); in swapStruct() 1061 sys::swapByteOrder(sect.flags); in swapStruct() 1062 sys::swapByteOrder(sect.reserved1); in swapStruct() 1063 sys::swapByteOrder(sect.reserved2); in swapStruct() [all …]
|
/external/elfutils/tests/ |
D | run-dwfl-addr-sect.sh | 22 testrun_compare ${abs_builddir}/dwfl-addr-sect -e testfile43 0x64 0x8 0x98 <<\EOF 28 testrun_compare ${abs_builddir}/dwfl-addr-sect -e testfile50 0x1 <<\EOF
|
/external/skia/src/effects/imagefilters/ |
D | SkArithmeticImageFilter.cpp | 153 SkIRect sect; in intersect() local 154 if (!sect.intersect(dstR, srcR)) { in intersect() 157 *dst = SkPixmap(dst->info().makeWH(sect.width(), sect.height()), in intersect() 158 dst->addr(sect.fLeft, sect.fTop), in intersect() 160 *src = SkPixmap(src->info().makeWH(sect.width(), sect.height()), in intersect()
|
/external/skqp/src/effects/imagefilters/ |
D | SkArithmeticImageFilter.cpp | 152 SkIRect sect; in intersect() local 153 if (!sect.intersect(dstR, srcR)) { in intersect() 156 *dst = SkPixmap(dst->info().makeWH(sect.width(), sect.height()), in intersect() 157 dst->addr(sect.fLeft, sect.fTop), in intersect() 159 *src = SkPixmap(src->info().makeWH(sect.width(), sect.height()), in intersect()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/ |
D | MachO.h | 1071 inline void swapStruct(section_64 §) { in swapStruct() argument 1072 sys::swapByteOrder(sect.addr); in swapStruct() 1073 sys::swapByteOrder(sect.size); in swapStruct() 1074 sys::swapByteOrder(sect.offset); in swapStruct() 1075 sys::swapByteOrder(sect.align); in swapStruct() 1076 sys::swapByteOrder(sect.reloff); in swapStruct() 1077 sys::swapByteOrder(sect.nreloc); in swapStruct() 1078 sys::swapByteOrder(sect.flags); in swapStruct() 1079 sys::swapByteOrder(sect.reserved1); in swapStruct() 1080 sys::swapByteOrder(sect.reserved2); in swapStruct() [all …]
|
/external/u-boot/fs/ext4/ |
D | dev.c | 59 int sect = SUPERBLOCK_START >> fs->dev_desc->log2blksz; in ext4_read_superblock() local 62 return ext4fs_devread(sect, off, SUPERBLOCK_SIZE, in ext4_read_superblock()
|
/external/u-boot/board/freescale/m54455evb/ |
D | m54455evb.c | 171 int sect[] = CONFIG_SYS_ATMEL_SECT; in board_flash_get_legacy() local 204 info->size += sect[i] * sectsz[i]; in board_flash_get_legacy() 206 for (j = 0; j < sect[i]; j++, k++) { in board_flash_get_legacy()
|
/external/boringssl/src/crypto/x509/ |
D | asn1_gen.c | 474 STACK_OF(CONF_VALUE) *sect = NULL; in asn1_multi() 484 sect = X509V3_get_section(cnf, (char *)section); in asn1_multi() 485 if (!sect) in asn1_multi() 487 for (i = 0; i < sk_CONF_VALUE_num(sect); i++) { in asn1_multi() 489 generate_v3(sk_CONF_VALUE_value(sect, i)->value, cnf, in asn1_multi() 530 if (sect) in asn1_multi() 531 X509V3_section_free(cnf, sect); in asn1_multi()
|