/external/python/cpython2/Modules/ |
D | errnomodule.c | 68 #define inscode(d, ds, de, name, code, comment) _inscode(d, de, name, code) in initerrno() argument 76 inscode(d, ds, de, "ENODEV", ENODEV, "No such device"); in initerrno() 79 inscode(d, ds, de, "ENOCSI", ENOCSI, "No CSI structure available"); in initerrno() 82 inscode(d, ds, de, "EHOSTUNREACH", EHOSTUNREACH, "No route to host"); in initerrno() 85 inscode(d, ds, de, "EHOSTUNREACH", WSAEHOSTUNREACH, "No route to host"); in initerrno() 89 inscode(d, ds, de, "ENOMSG", ENOMSG, "No message of desired type"); in initerrno() 92 inscode(d, ds, de, "EUCLEAN", EUCLEAN, "Structure needs cleaning"); in initerrno() 95 inscode(d, ds, de, "EL2NSYNC", EL2NSYNC, "Level 2 not synchronized"); in initerrno() 98 inscode(d, ds, de, "EL2HLT", EL2HLT, "Level 2 halted"); in initerrno() 101 inscode(d, ds, de, "ENODATA", ENODATA, "No data available"); in initerrno() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_depthstencil.c | 80 struct svga_depth_stencil_state *ds) in define_depth_stencil_state_object() argument 86 ds->id = util_bitmask_add(svga->ds_object_id_bm); in define_depth_stencil_state_object() 102 ds->id, in define_depth_stencil_state_object() 104 ds->zenable, in define_depth_stencil_state_object() 105 ds->zwriteenable, in define_depth_stencil_state_object() 106 ds->zfunc, in define_depth_stencil_state_object() 108 ds->stencil[0].enabled, /*f|b*/ in define_depth_stencil_state_object() 109 ds->stencil[0].enabled, /*f*/ in define_depth_stencil_state_object() 110 ds->stencil[0].enabled, /*b*/ in define_depth_stencil_state_object() 111 ds->stencil_mask, in define_depth_stencil_state_object() [all …]
|
/external/icu/icu4c/source/common/ |
D | ucol_swp.cpp | 36 utrie_swap(const UDataSwapper *ds, in utrie_swap() argument 47 if(ds==NULL || inData==NULL || (length>=0 && outData==NULL)) { in utrie_swap() 59 trie.signature=ds->readUInt32(inTrie->signature); in utrie_swap() 60 trie.options=ds->readUInt32(inTrie->options); in utrie_swap() 61 trie.indexLength=udata_readInt32(ds, inTrie->indexLength); in utrie_swap() 62 trie.dataLength=udata_readInt32(ds, inTrie->dataLength); in utrie_swap() 91 ds->swapArray32(ds, inTrie, sizeof(UTrieHeader), outTrie, pErrorCode); in utrie_swap() 95 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in utrie_swap() 96 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4, in utrie_swap() 99 … ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode); in utrie_swap() [all …]
|
D | rbbidata.cpp | 306 ubrk_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, in ubrk_swap() argument 312 if(ds==NULL || inData==NULL || length<-1 || (length>0 && outData==NULL)) { in ubrk_swap() 327 …udata_printError(ds, "ubrk_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not re… in ubrk_swap() 341 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, status); in ubrk_swap() 354 if (ds->readUInt32(rbbiDH->fMagic) != 0xb1a0 || in ubrk_swap() 356 ds->readUInt32(rbbiDH->fLength) < sizeof(RBBIDataHeader)) in ubrk_swap() 358 udata_printError(ds, "ubrk_swap(): RBBI Data header is invalid.\n"); in ubrk_swap() 366 int32_t breakDataLength = ds->readUInt32(rbbiDH->fLength); in ubrk_swap() 376 … udata_printError(ds, "ubrk_swap(): too few bytes (%d after ICU Data header) for break data.\n", in ubrk_swap() 410 tableStartOffset = ds->readUInt32(rbbiDH->fFTable); in ubrk_swap() [all …]
|
D | udataswp.c | 33 uprv_swapArray16(const UDataSwapper *ds, in uprv_swapArray16() argument 44 if(ds==NULL || inData==NULL || length<0 || (length&1)!=0 || outData==NULL) { in uprv_swapArray16() 63 uprv_copyArray16(const UDataSwapper *ds, in uprv_copyArray16() argument 69 if(ds==NULL || inData==NULL || length<0 || (length&1)!=0 || outData==NULL) { in uprv_copyArray16() 81 uprv_swapArray32(const UDataSwapper *ds, in uprv_swapArray32() argument 92 if(ds==NULL || inData==NULL || length<0 || (length&3)!=0 || outData==NULL) { in uprv_swapArray32() 111 uprv_copyArray32(const UDataSwapper *ds, in uprv_copyArray32() argument 117 if(ds==NULL || inData==NULL || length<0 || (length&3)!=0 || outData==NULL) { in uprv_copyArray32() 129 uprv_swapArray64(const UDataSwapper *ds, in uprv_swapArray64() argument 139 if(ds==NULL || inData==NULL || length<0 || (length&7)!=0 || outData==NULL) { in uprv_swapArray64() [all …]
|
D | ucnv_bld.cpp | 1321 ucnv_swap(const UDataSwapper *ds, in ucnv_swap() argument 1350 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucnv_swap() 1365 …udata_printError(ds, "ucnv_swap(): data format %02x.%02x.%02x.%02x (format version %02x.%02x) is n… in ucnv_swap() 1381 staticDataSize=ds->readUInt32(inStaticData->structSize); in ucnv_swap() 1385 (uint32_t)length<(staticDataSize=ds->readUInt32(inStaticData->structSize)) in ucnv_swap() 1387 …udata_printError(ds, "ucnv_swap(): too few bytes (%d after header) for an ICU .cnv conversion tabl… in ucnv_swap() 1400 ds->swapArray32(ds, &inStaticData->structSize, 4, in ucnv_swap() 1402 ds->swapArray32(ds, &inStaticData->codepage, 4, in ucnv_swap() 1405 ds->swapInvChars(ds, inStaticData->name, (int32_t)uprv_strlen(inStaticData->name), in ucnv_swap() 1408 udata_printError(ds, "ucnv_swap(): error swapping converter name\n"); in ucnv_swap() [all …]
|
D | uresdata.cpp | 1023 ures_swapResource(const UDataSwapper *ds, in ures_swapResource() argument 1066 count=udata_readInt32(ds, (int32_t)*p); in ures_swapResource() 1068 ds->swapArray32(ds, p, 4, q, pErrorCode); in ures_swapResource() 1070 ds->swapArray16(ds, p+1, 2*count, q+1, pErrorCode); in ures_swapResource() 1073 count=udata_readInt32(ds, (int32_t)*p); in ures_swapResource() 1075 ds->swapArray32(ds, p, 4, q, pErrorCode); in ures_swapResource() 1083 0==ds->compareInvChars(ds, key, -1, in ures_swapResource() 1086 ucol_looksLikeCollationBinary(ds, p+1, count)) in ures_swapResource() 1088 ucol_swap(ds, p+1, count, q+1, pErrorCode); in ures_swapResource() 1108 count=ds->readUInt16(*pKey16); in ures_swapResource() [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | swapimpl.cpp | 75 upname_swap(const UDataSwapper *ds, in upname_swap() argument 79 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap() 95 …udata_printError(ds, "upname_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not … in upname_swap() 110 udata_printError(ds, "upname_swap(): too few bytes (%d after header) for pnames.icu\n", in upname_swap() 118 int32_t totalSize=udata_readInt32(ds, inIndexes[PropNameData::IX_TOTAL_SIZE]); in upname_swap() 121 udata_printError(ds, "upname_swap(): too few bytes (%d after header, should be %d) " in upname_swap() 129 udata_readInt32(ds, inIndexes[PropNameData::IX_BYTE_TRIES_OFFSET]); in upname_swap() 132 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); in upname_swap() 160 uprops_swap(const UDataSwapper *ds, in uprops_swap() argument 170 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap() [all …]
|
/external/strace/tests-m32/ |
D | ipc_shm.c | 70 struct shmid_ds ds; in main() local 95 if (shmctl(id, IPC_STAT, &ds)) in main() 101 id, (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main() 102 (unsigned) ds.shm_perm.mode, (unsigned) ds.shm_perm.__key, in main() 103 (unsigned) ds.shm_perm.cuid, (unsigned) ds.shm_perm.cgid, in main() 104 (unsigned) ds.shm_segsz, (unsigned) ds.shm_cpid, in main() 105 (unsigned) ds.shm_lpid, (unsigned) ds.shm_nattch, in main() 106 (unsigned) ds.shm_atime, (unsigned) ds.shm_dtime, in main() 107 (unsigned) ds. shm_ctime); in main() 109 if (shmctl(id, IPC_SET, &ds)) in main() [all …]
|
D | ipc_msg.c | 79 struct msqid_ds ds; in main() local 106 if (msgctl(id, IPC_STAT, &ds)) in main() 112 id, (unsigned) ds.msg_perm.uid, (unsigned) ds.msg_perm.gid, in main() 113 (unsigned) ds.msg_perm.mode, (unsigned) ds.msg_perm.__key, in main() 114 (unsigned) ds.msg_perm.cuid, (unsigned) ds.msg_perm.cgid, in main() 115 (unsigned) ds.msg_stime, (unsigned) ds.msg_rtime, in main() 116 (unsigned) ds.msg_ctime, (unsigned) ds.msg_qnum, in main() 117 (unsigned) ds.msg_qbytes, (unsigned) ds.msg_lspid, in main() 118 (unsigned) ds.msg_lrpid); in main() 120 if (msgctl(id, IPC_SET, &ds)) in main() [all …]
|
/external/strace/tests-mx32/ |
D | ipc_shm.c | 70 struct shmid_ds ds; in main() local 95 if (shmctl(id, IPC_STAT, &ds)) in main() 101 id, (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main() 102 (unsigned) ds.shm_perm.mode, (unsigned) ds.shm_perm.__key, in main() 103 (unsigned) ds.shm_perm.cuid, (unsigned) ds.shm_perm.cgid, in main() 104 (unsigned) ds.shm_segsz, (unsigned) ds.shm_cpid, in main() 105 (unsigned) ds.shm_lpid, (unsigned) ds.shm_nattch, in main() 106 (unsigned) ds.shm_atime, (unsigned) ds.shm_dtime, in main() 107 (unsigned) ds. shm_ctime); in main() 109 if (shmctl(id, IPC_SET, &ds)) in main() [all …]
|
D | ipc_msg.c | 79 struct msqid_ds ds; in main() local 106 if (msgctl(id, IPC_STAT, &ds)) in main() 112 id, (unsigned) ds.msg_perm.uid, (unsigned) ds.msg_perm.gid, in main() 113 (unsigned) ds.msg_perm.mode, (unsigned) ds.msg_perm.__key, in main() 114 (unsigned) ds.msg_perm.cuid, (unsigned) ds.msg_perm.cgid, in main() 115 (unsigned) ds.msg_stime, (unsigned) ds.msg_rtime, in main() 116 (unsigned) ds.msg_ctime, (unsigned) ds.msg_qnum, in main() 117 (unsigned) ds.msg_qbytes, (unsigned) ds.msg_lspid, in main() 118 (unsigned) ds.msg_lrpid); in main() 120 if (msgctl(id, IPC_SET, &ds)) in main() [all …]
|
/external/strace/tests/ |
D | ipc_shm.c | 70 struct shmid_ds ds; in main() local 95 if (shmctl(id, IPC_STAT, &ds)) in main() 101 id, (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main() 102 (unsigned) ds.shm_perm.mode, (unsigned) ds.shm_perm.__key, in main() 103 (unsigned) ds.shm_perm.cuid, (unsigned) ds.shm_perm.cgid, in main() 104 (unsigned) ds.shm_segsz, (unsigned) ds.shm_cpid, in main() 105 (unsigned) ds.shm_lpid, (unsigned) ds.shm_nattch, in main() 106 (unsigned) ds.shm_atime, (unsigned) ds.shm_dtime, in main() 107 (unsigned) ds. shm_ctime); in main() 109 if (shmctl(id, IPC_SET, &ds)) in main() [all …]
|
D | ipc_msg.c | 79 struct msqid_ds ds; in main() local 106 if (msgctl(id, IPC_STAT, &ds)) in main() 112 id, (unsigned) ds.msg_perm.uid, (unsigned) ds.msg_perm.gid, in main() 113 (unsigned) ds.msg_perm.mode, (unsigned) ds.msg_perm.__key, in main() 114 (unsigned) ds.msg_perm.cuid, (unsigned) ds.msg_perm.cgid, in main() 115 (unsigned) ds.msg_stime, (unsigned) ds.msg_rtime, in main() 116 (unsigned) ds.msg_ctime, (unsigned) ds.msg_qnum, in main() 117 (unsigned) ds.msg_qbytes, (unsigned) ds.msg_lspid, in main() 118 (unsigned) ds.msg_lrpid); in main() 120 if (msgctl(id, IPC_SET, &ds)) in main() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen6_depthstencil.c | 38 struct gen6_depth_stencil_state *ds; in gen6_upload_depth_stencil_state() local 44 ds = brw_state_batch(brw, AUB_TRACE_DEPTH_STENCIL_STATE, in gen6_upload_depth_stencil_state() 45 sizeof(*ds), 64, in gen6_upload_depth_stencil_state() 47 memset(ds, 0, sizeof(*ds)); in gen6_upload_depth_stencil_state() 53 ds->ds0.stencil_enable = 1; in gen6_upload_depth_stencil_state() 54 ds->ds0.stencil_func = in gen6_upload_depth_stencil_state() 56 ds->ds0.stencil_fail_op = in gen6_upload_depth_stencil_state() 58 ds->ds0.stencil_pass_depth_fail_op = in gen6_upload_depth_stencil_state() 60 ds->ds0.stencil_pass_depth_pass_op = in gen6_upload_depth_stencil_state() 62 ds->ds1.stencil_write_mask = ctx->Stencil.WriteMask[0]; in gen6_upload_depth_stencil_state() [all …]
|
/external/syslinux/gpxe/src/arch/i386/transitions/ |
D | libkir.S | 52 pushw %ds 74 movw %ds, %cs:ext_ds 76 popw %ds /* Set %ds = %cs for easier access to variables */ 77 movw %es, %ds:ext_es 78 movw %fs, %ds:ext_fs 79 movw %gs, %ds:ext_fs 82 movw %ax, %ds:save_ax 85 popw %ds:save_retaddr 88 movw %ss, %ds:ext_ss 89 movl %esp, %ds:ext_esp [all …]
|
/external/webrtc/webrtc/examples/peerconnection/server/ |
D | peer_channel.cc | 75 bool ChannelMember::is_wait_request(DataSocket* ds) const { in is_wait_request() 76 return ds && ds->PathEquals(kRequestPaths[kWait]); in is_wait_request() 106 void ChannelMember::ForwardRequestToPeer(DataSocket* ds, ChannelMember* peer) { in ForwardRequestToPeer() argument 108 assert(ds); in ForwardRequestToPeer() 113 ds->Send("200 OK", true, ds->content_type(), extra_headers, in ForwardRequestToPeer() 114 ds->data()); in ForwardRequestToPeer() 118 peer->QueueResponse("200 OK", ds->content_type(), extra_headers, in ForwardRequestToPeer() 119 ds->data()); in ForwardRequestToPeer() 120 ds->Send("200 OK", true, "text/plain", "", ""); in ForwardRequestToPeer() 124 void ChannelMember::OnClosing(DataSocket* ds) { in OnClosing() argument [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 | 75 const UDataSwapper *ds, 113 UDataSwapper *ds; in main() local 208 ds=udata_openSwapperForInputData(data, length, outIsBigEndian, outCharset, &errorCode); in main() 216 ds->printError=printError; in main() 217 ds->printErrorContext=stderr; in main() 235 length=udata_swapPackage(argv[1], argv[2], ds, data, length, data, &errorCode); in main() 236 udata_closeSwapper(ds); in main() 245 length=udata_swap(ds, data, length, data, &errorCode); in main() 246 udata_closeSwapper(ds); in main() 290 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() 310 unsigned int ds, ExifLong o, ExifLong s) in exif_data_load_data_thumbnail() argument 313 if ((o + s < o) || (o + s < s) || (o + s > ds) || (o > ds)) { in exif_data_load_data_thumbnail() 362 unsigned int ds, unsigned int offset, unsigned int recursion_depth) in exif_data_load_data_content() argument 384 if ((offset + 2 < offset) || (offset + 2 < 2) || (offset + 2 > ds)) { in exif_data_load_data_content() [all …]
|
/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/jcommander/src/test/java/com/beust/jcommander/dynamic/ |
D | DynamicParameterTest.java | 20 DSimple ds = new DSimple(); in wrongSeparatorShouldThrow() local 21 new JCommander(ds).parse("-D", "a:b", "-D", "c=d"); in wrongSeparatorShouldThrow() 25 DSimple ds = new DSimple(); in simple() local 26 new JCommander(ds).parse(parameters); in simple() 27 Assert.assertEquals(ds.params, Maps.newHashMap("a", "b", "c", "d")); in simple() 39 DSimple ds = new DSimple(); in usage() local 40 new JCommander(ds).usage(new StringBuilder()); in usage() 44 DSimple ds = new DSimple(); in differentAssignment() local 45 new JCommander(ds).parse("-D", "a=b", "-A", "c@d"); in differentAssignment() 46 Assert.assertEquals(ds.params, Maps.newHashMap("a", "b")); in differentAssignment() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
D | BasicPeriodFormatterService.java | 25 private PeriodFormatterDataService ds; field in BasicPeriodFormatterService 34 PeriodFormatterDataService ds = ResourceBasedPeriodFormatterDataService in getInstance() local 36 instance = new BasicPeriodFormatterService(ds); in getInstance() 47 public BasicPeriodFormatterService(PeriodFormatterDataService ds) { in BasicPeriodFormatterService() argument 48 this.ds = ds; in BasicPeriodFormatterService() 58 return new BasicPeriodFormatterFactory(ds); in newPeriodFormatterFactory() 63 return new BasicPeriodBuilderFactory(ds); in newPeriodBuilderFactory() 68 return ds.getAvailableLocales(); in getAvailableLocaleNames()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicPeriodFormatterService.java | 23 private PeriodFormatterDataService ds; field in BasicPeriodFormatterService 32 PeriodFormatterDataService ds = ResourceBasedPeriodFormatterDataService in getInstance() local 34 instance = new BasicPeriodFormatterService(ds); in getInstance() 45 public BasicPeriodFormatterService(PeriodFormatterDataService ds) { in BasicPeriodFormatterService() argument 46 this.ds = ds; in BasicPeriodFormatterService() 56 return new BasicPeriodFormatterFactory(ds); in newPeriodFormatterFactory() 61 return new BasicPeriodBuilderFactory(ds); in newPeriodBuilderFactory() 66 return ds.getAvailableLocales(); in getAvailableLocaleNames()
|