/external/icu/icu4c/source/common/ |
D | ucol_swp.cpp | 34 utrie_swap(const UDataSwapper *ds, in utrie_swap() argument 45 if(ds==NULL || inData==NULL || (length>=0 && outData==NULL)) { in utrie_swap() 57 trie.signature=ds->readUInt32(inTrie->signature); in utrie_swap() 58 trie.options=ds->readUInt32(inTrie->options); in utrie_swap() 59 trie.indexLength=udata_readInt32(ds, inTrie->indexLength); in utrie_swap() 60 trie.dataLength=udata_readInt32(ds, inTrie->dataLength); in utrie_swap() 89 ds->swapArray32(ds, inTrie, sizeof(UTrieHeader), outTrie, pErrorCode); in utrie_swap() 93 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in utrie_swap() 94 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4, in utrie_swap() 97 … ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode); in utrie_swap() [all …]
|
D | rbbidata.cpp | 304 ubrk_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, in ubrk_swap() argument 310 if(ds==NULL || inData==NULL || length<-1 || (length>0 && outData==NULL)) { in ubrk_swap() 325 …udata_printError(ds, "ubrk_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not re… in ubrk_swap() 339 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, status); in ubrk_swap() 352 if (ds->readUInt32(rbbiDH->fMagic) != 0xb1a0 || in ubrk_swap() 354 ds->readUInt32(rbbiDH->fLength) < sizeof(RBBIDataHeader)) in ubrk_swap() 356 udata_printError(ds, "ubrk_swap(): RBBI Data header is invalid.\n"); in ubrk_swap() 364 int32_t breakDataLength = ds->readUInt32(rbbiDH->fLength); in ubrk_swap() 374 … udata_printError(ds, "ubrk_swap(): too few bytes (%d after ICU Data header) for break data.\n", in ubrk_swap() 408 tableStartOffset = ds->readUInt32(rbbiDH->fFTable); in ubrk_swap() [all …]
|
D | uresdata.c | 690 ures_swapResource(const UDataSwapper *ds, in ures_swapResource() argument 732 count=udata_readInt32(ds, (int32_t)*p); in ures_swapResource() 734 ds->swapArray32(ds, p, 4, q, pErrorCode); in ures_swapResource() 736 ds->swapArray16(ds, p+1, 2*count, q+1, pErrorCode); in ures_swapResource() 739 count=udata_readInt32(ds, (int32_t)*p); in ures_swapResource() 741 ds->swapArray32(ds, p, 4, q, pErrorCode); in ures_swapResource() 749 0==ds->compareInvChars(ds, key, -1, in ures_swapResource() 752 ucol_looksLikeCollationBinary(ds, p+1, count)) in ures_swapResource() 754 ucol_swap(ds, p+1, count, q+1, pErrorCode); in ures_swapResource() 774 count=ds->readUInt16(*pKey16); in ures_swapResource() [all …]
|
D | udataswp.c | 31 uprv_swapArray16(const UDataSwapper *ds, in uprv_swapArray16() argument 42 if(ds==NULL || inData==NULL || length<0 || (length&1)!=0 || outData==NULL) { in uprv_swapArray16() 61 uprv_copyArray16(const UDataSwapper *ds, in uprv_copyArray16() argument 67 if(ds==NULL || inData==NULL || length<0 || (length&1)!=0 || outData==NULL) { in uprv_copyArray16() 79 uprv_swapArray32(const UDataSwapper *ds, in uprv_swapArray32() argument 90 if(ds==NULL || inData==NULL || length<0 || (length&3)!=0 || outData==NULL) { in uprv_swapArray32() 109 uprv_copyArray32(const UDataSwapper *ds, in uprv_copyArray32() argument 115 if(ds==NULL || inData==NULL || length<0 || (length&3)!=0 || outData==NULL) { in uprv_copyArray32() 127 uprv_swapArray64(const UDataSwapper *ds, in uprv_swapArray64() argument 137 if(ds==NULL || inData==NULL || length<0 || (length&7)!=0 || outData==NULL) { in uprv_swapArray64() [all …]
|
D | ucnv_bld.cpp | 1373 ucnv_swap(const UDataSwapper *ds, in ucnv_swap() argument 1402 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucnv_swap() 1417 …udata_printError(ds, "ucnv_swap(): data format %02x.%02x.%02x.%02x (format version %02x.%02x) is n… in ucnv_swap() 1433 staticDataSize=ds->readUInt32(inStaticData->structSize); in ucnv_swap() 1437 (uint32_t)length<(staticDataSize=ds->readUInt32(inStaticData->structSize)) in ucnv_swap() 1439 …udata_printError(ds, "ucnv_swap(): too few bytes (%d after header) for an ICU .cnv conversion tabl… in ucnv_swap() 1452 ds->swapArray32(ds, &inStaticData->structSize, 4, in ucnv_swap() 1454 ds->swapArray32(ds, &inStaticData->codepage, 4, in ucnv_swap() 1457 ds->swapInvChars(ds, inStaticData->name, (int32_t)uprv_strlen(inStaticData->name), in ucnv_swap() 1460 udata_printError(ds, "ucnv_swap(): error swapping converter name\n"); in ucnv_swap() [all …]
|
D | udataswp.h | 88 UDataSwapFn(const UDataSwapper *ds, 131 UDataCompareInvChars(const UDataSwapper *ds, 218 udata_closeSwapper(UDataSwapper *ds); 230 udata_swapDataHeader(const UDataSwapper *ds, 239 udata_readInt16(const UDataSwapper *ds, int16_t x); 246 udata_readInt32(const UDataSwapper *ds, int32_t x); 254 udata_swapInvStringBlock(const UDataSwapper *ds, 259 udata_printError(const UDataSwapper *ds, 272 uprv_ebcdicFromAscii(const UDataSwapper *ds, 281 uprv_copyAscii(const UDataSwapper *ds, [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | swapimpl.cpp | 73 upname_swap(const UDataSwapper *ds, in upname_swap() argument 77 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap() 93 …udata_printError(ds, "upname_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not … in upname_swap() 108 udata_printError(ds, "upname_swap(): too few bytes (%d after header) for pnames.icu\n", in upname_swap() 116 int32_t totalSize=udata_readInt32(ds, inIndexes[PropNameData::IX_TOTAL_SIZE]); in upname_swap() 119 udata_printError(ds, "upname_swap(): too few bytes (%d after header, should be %d) " in upname_swap() 127 udata_readInt32(ds, inIndexes[PropNameData::IX_BYTE_TRIES_OFFSET]); in upname_swap() 130 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); in upname_swap() 158 uprops_swap(const UDataSwapper *ds, in uprops_swap() argument 168 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen6_depthstencil.c | 36 struct gen6_depth_stencil_state *ds; in gen6_upload_depth_stencil_state() local 42 ds = brw_state_batch(brw, AUB_TRACE_DEPTH_STENCIL_STATE, in gen6_upload_depth_stencil_state() 43 sizeof(*ds), 64, in gen6_upload_depth_stencil_state() 45 memset(ds, 0, sizeof(*ds)); in gen6_upload_depth_stencil_state() 51 ds->ds0.stencil_enable = 1; in gen6_upload_depth_stencil_state() 52 ds->ds0.stencil_func = in gen6_upload_depth_stencil_state() 54 ds->ds0.stencil_fail_op = in gen6_upload_depth_stencil_state() 56 ds->ds0.stencil_pass_depth_fail_op = in gen6_upload_depth_stencil_state() 58 ds->ds0.stencil_pass_depth_pass_op = in gen6_upload_depth_stencil_state() 60 ds->ds1.stencil_write_mask = ctx->Stencil.WriteMask[0]; in gen6_upload_depth_stencil_state() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_depthstencil.c | 76 struct svga_depth_stencil_state *ds = CALLOC_STRUCT( svga_depth_stencil_state ); in svga_create_depth_stencil_state() local 82 ds->stencil[0].enabled = templ->stencil[0].enabled; in svga_create_depth_stencil_state() 83 if (ds->stencil[0].enabled) { in svga_create_depth_stencil_state() 84 ds->stencil[0].func = svga_translate_compare_func(templ->stencil[0].func); in svga_create_depth_stencil_state() 85 ds->stencil[0].fail = svga_translate_stencil_op(templ->stencil[0].fail_op); in svga_create_depth_stencil_state() 86 ds->stencil[0].zfail = svga_translate_stencil_op(templ->stencil[0].zfail_op); in svga_create_depth_stencil_state() 87 ds->stencil[0].pass = svga_translate_stencil_op(templ->stencil[0].zpass_op); in svga_create_depth_stencil_state() 92 ds->stencil_mask = templ->stencil[0].valuemask & 0xff; in svga_create_depth_stencil_state() 93 ds->stencil_writemask = templ->stencil[0].writemask & 0xff; in svga_create_depth_stencil_state() 97 ds->stencil[1].enabled = templ->stencil[1].enabled; in svga_create_depth_stencil_state() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_dirty_surfaces.h | 51 util_dirty_surfaces_init(struct util_dirty_surfaces *ds) in util_dirty_surfaces_init() argument 53 LIST_INITHEAD(&ds->dirty_list); in util_dirty_surfaces_init() 62 struct util_dirty_surface *ds = LIST_ENTRY(struct util_dirty_surface, p, dirty_list); in util_dirty_surfaces_use_for_sampling() local 65 flush(pipe, &ds->base); in util_dirty_surfaces_use_for_sampling() 77 struct util_dirty_surface *ds = LIST_ENTRY(struct util_dirty_surface, p, dirty_list); in util_dirty_surfaces_use_levels_for_sampling() local 80 if(ds->base.u.tex.level >= first && ds->base.u.tex.level <= last) in util_dirty_surfaces_use_levels_for_sampling() 81 flush(pipe, &ds->base); in util_dirty_surfaces_use_levels_for_sampling() 94 util_dirty_surface_init(struct util_dirty_surface *ds) in util_dirty_surface_init() argument 96 LIST_INITHEAD(&ds->dirty_list); in util_dirty_surface_init() 100 util_dirty_surface_is_dirty(struct util_dirty_surface *ds) in util_dirty_surface_is_dirty() argument [all …]
|
/external/icu/icu4c/source/tools/icuswap/ |
D | icuswap.cpp | 73 const UDataSwapper *ds, 111 UDataSwapper *ds; in main() local 206 ds=udata_openSwapperForInputData(data, length, outIsBigEndian, outCharset, &errorCode); in main() 214 ds->printError=printError; in main() 215 ds->printErrorContext=stderr; in main() 233 length=udata_swapPackage(argv[1], argv[2], ds, data, length, data, &errorCode); in main() 234 udata_closeSwapper(ds); in main() 243 length=udata_swap(ds, data, length, data, &errorCode); in main() 244 udata_closeSwapper(ds); in main() 288 extractPackageName(const UDataSwapper *ds, const char *filename, in extractPackageName() argument [all …]
|
/external/libexif/libexif/ |
D | exif-data.c | 230 unsigned char **d, unsigned int *ds, in exif_data_save_data_entry() argument 255 exif_mnote_data_set_offset (data->priv->md, *ds - 6); in exif_data_save_data_entry() 271 doff = *ds - 6; in exif_data_save_data_entry() 272 ts = *ds + s; in exif_data_save_data_entry() 287 *ds = ts; in exif_data_save_data_entry() 290 *(*d + *ds - 1) = '\0'; in exif_data_save_data_entry() 308 unsigned int ds, ExifLong o, ExifLong s) in exif_data_load_data_thumbnail() argument 311 if ((o + s < o) || (o + s < s) || (o + s > ds) || (o > ds)) { in exif_data_load_data_thumbnail() 360 unsigned int ds, unsigned int offset, unsigned int recursion_depth) in exif_data_load_data_content() argument 382 if ((offset + 2 < offset) || (offset + 2 < 2) || (offset + 2 > ds)) { in exif_data_load_data_content() [all …]
|
D | exif-mem.c | 14 exif_mem_alloc_func (ExifLong ds) in exif_mem_alloc_func() argument 16 return calloc ((size_t) ds, 1); in exif_mem_alloc_func() 21 exif_mem_realloc_func (void *d, ExifLong ds) in exif_mem_realloc_func() argument 23 return realloc (d, (size_t) ds); in exif_mem_realloc_func() 79 exif_mem_alloc (ExifMem *mem, ExifLong ds) in exif_mem_alloc() argument 83 return mem->alloc_func ? mem->alloc_func (ds) : in exif_mem_alloc() 84 mem->realloc_func (NULL, ds); in exif_mem_alloc() 89 exif_mem_realloc (ExifMem *mem, void *d, ExifLong ds) in exif_mem_realloc() argument 91 return (mem && mem->realloc_func) ? mem->realloc_func (d, ds) : NULL; in exif_mem_realloc()
|
/external/valgrind/coregrind/m_demangle/ |
D | dyn-string.c | 121 dyn_string_delete (dyn_string_t ds) in dyn_string_delete() argument 123 free (ds->s); in dyn_string_delete() 124 free (ds); in dyn_string_delete() 132 dyn_string_release (dyn_string_t ds) in dyn_string_release() argument 135 char* result = ds->s; in dyn_string_release() 137 ds->s = NULL; in dyn_string_release() 139 free (ds); in dyn_string_release() 152 dyn_string_resize (dyn_string_t ds, int space) in dyn_string_resize() argument 154 int new_allocated = ds->allocated; in dyn_string_resize() 163 if (new_allocated != ds->allocated) in dyn_string_resize() [all …]
|
/external/e2fsprogs/contrib/ |
D | spd_readdir.c | 205 struct dirent_s *ds, *dnew; in cache_dirstruct() local 219 ds = &dirstruct->dp[dirstruct->num++]; in cache_dirstruct() 220 ds->d_ino = d->d_ino; in cache_dirstruct() 221 ds->d_off = d->d_off; in cache_dirstruct() 222 ds->d_reclen = d->d_reclen; in cache_dirstruct() 223 ds->d_type = d->d_type; in cache_dirstruct() 224 if ((ds->d_name = malloc(strlen(d->d_name)+1)) == NULL) { in cache_dirstruct() 228 strcpy(ds->d_name, d->d_name); in cache_dirstruct() 323 struct dirent_s *ds; in readdir() local 331 ds = &dirstruct->dp[dirstruct->pos++]; in readdir() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicPeriodFormatterService.java | 21 private PeriodFormatterDataService ds; field in BasicPeriodFormatterService 30 PeriodFormatterDataService ds = ResourceBasedPeriodFormatterDataService in getInstance() local 32 instance = new BasicPeriodFormatterService(ds); in getInstance() 43 public BasicPeriodFormatterService(PeriodFormatterDataService ds) { in BasicPeriodFormatterService() argument 44 this.ds = ds; in BasicPeriodFormatterService() 52 return new BasicPeriodFormatterFactory(ds); in newPeriodFormatterFactory() 56 return new BasicPeriodBuilderFactory(ds); in newPeriodBuilderFactory() 60 return ds.getAvailableLocales(); in getAvailableLocaleNames()
|
/external/freetype/src/autofit/ |
D | afstyles.h | 42 #define STYLE_LATIN( s, S, f, F, ds, df, C ) \ argument 44 ds " " df " style", \ 51 #define META_STYLE_LATIN( s, S, ds ) \ argument 52 STYLE_LATIN( s, S, c2cp, C2CP, ds, \ 55 STYLE_LATIN( s, S, c2sc, C2SC, ds, \ 58 STYLE_LATIN( s, S, ordn, ORDN, ds, \ 61 STYLE_LATIN( s, S, pcap, PCAP, ds, \ 64 STYLE_LATIN( s, S, sinf, SINF, ds, \ 67 STYLE_LATIN( s, S, smcp, SMCP, ds, \ 70 STYLE_LATIN( s, S, subs, SUBS, ds, \ [all …]
|
/external/strace/tests/ |
D | ipc_shm.c | 9 struct shmid_ds ds; in main() local 16 if (shmctl(id, IPC_STAT, &ds)) in main() 18 printf("shmctl\\(%d, (IPC_64\\|)?IPC_STAT, %p\\) += 0\n", id, &ds); in main() 20 int max = shmctl(0, SHM_INFO, &ds); in main() 23 printf("shmctl\\(0, (IPC_64\\|)?SHM_INFO, %p\\) += %d\n", &ds, max); in main() 25 rc = shmctl(id, SHM_STAT, &ds); in main() 33 printf("shmctl\\(%d, (IPC_64\\|)?SHM_STAT, %p\\) += -1 EINVAL \\(Invalid argument\\)\n", id, &ds); in main() 35 printf("shmctl\\(%d, (IPC_64\\|)?SHM_STAT, %p\\) += %d\n", id, &ds, id); in main()
|
D | ipc_msg.c | 9 struct msqid_ds ds; in main() local 16 if (msgctl(id, IPC_STAT, &ds)) in main() 18 printf("msgctl\\(%d, (IPC_64\\|)?IPC_STAT, %p\\) += 0\n", id, &ds); in main() 20 int max = msgctl(0, MSG_INFO, &ds); in main() 23 printf("msgctl\\(0, (IPC_64\\|)?MSG_INFO, %p\\) += %d\n", &ds, max); in main() 25 rc = msgctl(id, MSG_STAT, &ds); in main() 33 printf("msgctl\\(%d, (IPC_64\\|)?MSG_STAT, %p\\) += -1 EINVAL \\(Invalid argument\\)\n", id, &ds); in main() 35 printf("msgctl\\(%d, (IPC_64\\|)?MSG_STAT, %p\\) += %d\n", id, &ds, id); in main()
|
/external/libvorbis/lib/ |
D | vorbisenc.c | 232 double ds=s-is; in vorbis_encode_global_psych_setup() local 238 ds=x[is]*(1.-ds)+x[is+1]*ds; in vorbis_encode_global_psych_setup() 239 is=(int)ds; in vorbis_encode_global_psych_setup() 240 ds-=is; in vorbis_encode_global_psych_setup() 241 if(ds==0 && is>0){ in vorbis_encode_global_psych_setup() 243 ds=1.; in vorbis_encode_global_psych_setup() 248 g->preecho_thresh[i]=in[is].preecho_thresh[i]*(1.-ds)+in[is+1].preecho_thresh[i]*ds; in vorbis_encode_global_psych_setup() 249 g->postecho_thresh[i]=in[is].postecho_thresh[i]*(1.-ds)+in[is+1].postecho_thresh[i]*ds; in vorbis_encode_global_psych_setup() 260 double ds=s-is; in vorbis_encode_global_stereo() local 271 float kHz=p[is].kHz[i]*(1.-ds)+p[is+1].kHz[i]*ds; in vorbis_encode_global_stereo() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | uspoof_impl.cpp | 723 uspoof_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, in uspoof_swap() argument 729 if(ds==NULL || inData==NULL || length<-1 || (length>0 && outData==NULL)) { in uspoof_swap() 744 udata_printError(ds, "uspoof_swap(): data format %02x.%02x.%02x.%02x " in uspoof_swap() 760 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, status); in uspoof_swap() 769 if (ds->readUInt32(spoofDH->fMagic) != USPOOF_MAGIC || in uspoof_swap() 770 ds->readUInt32(spoofDH->fLength) < sizeof(SpoofDataHeader)) in uspoof_swap() 772 udata_printError(ds, "uspoof_swap(): Spoof Data header is invalid.\n"); in uspoof_swap() 780 int32_t spoofDataLength = ds->readUInt32(spoofDH->fLength); in uspoof_swap() 790 … udata_printError(ds, "uspoof_swap(): too few bytes (%d after ICU Data header) for spoof data.\n", in uspoof_swap() 818 sectionStart = ds->readUInt32(spoofDH->fCFUKeys); in uspoof_swap() [all …]
|
/external/valgrind/memcheck/tests/linux/ |
D | brk.c | 13 void* ds = orig_ds; in main() local 19 vals[2] = ds - 0x1; // small shrink in main() 20 vals[3] = ds; in main() 21 vals[4] = ds + 0x1000; // small growth in main() 22 vals[5] = ds + 0x40000000; // too-big growth in main() 23 vals[6] = ds + 0x500; // shrink a little, but still above start size in main() 24 vals[7] = ds - 0x1; // shrink below start size in main()
|
/external/clang/test/CodeGen/ |
D | designated-initializers.c | 24 struct ds { struct 37 struct ds ds0 = { { { .a = 0 } } }; argument 39 struct ds ds1 = { { .a = 1 } }; 40 struct ds ds2 = { { .b = 1 } }; 41 struct ds ds3 = { .a = 0 }; 43 struct ds ds4 = { .c = 1 }; 44 struct ds ds5 = { { { .a = 0 } }, .b = 1 }; 45 struct ds ds6 = { { .a = 0, .b = 1 } }; 47 struct ds ds7 = {
|
/external/llvm/test/MC/X86/ |
D | x86-16.s | 405 push %ds 424 pushw %ds 443 pushl %ds 462 pop %ds 472 popl %ds 796 outsb %ds:(%si), %dx 803 outsw %ds:(%si), %dx 809 outsl %ds:(%si), %dx 831 movsb %ds:(%si), %es:(%di) 838 movsw %ds:(%si), %es:(%di) [all …]
|
/external/pdfium/core/src/fxge/agg/agg23/ |
D | fx_agg_vcgen_dash.cpp | 53 void vcgen_dash::dash_start(FX_FLOAT ds) in dash_start() argument 55 m_dash_start = ds; in dash_start() 56 calc_dash_start(FXSYS_fabs(ds)); in dash_start() 58 void vcgen_dash::calc_dash_start(FX_FLOAT ds) in calc_dash_start() argument 62 while(ds > 0) { in calc_dash_start() 63 if(ds > m_dashes[m_curr_dash]) { in calc_dash_start() 64 ds -= m_dashes[m_curr_dash]; in calc_dash_start() 71 m_curr_dash_start = ds; in calc_dash_start() 72 ds = 0; in calc_dash_start()
|