/external/ImageMagick/MagickCore/ |
D | quantum-private.h | 49 quantum; member 196 quantum; in PopLongPixel() local 198 quantum=(unsigned int) pixel; in PopLongPixel() 201 *pixels++=(unsigned char) (quantum); in PopLongPixel() 202 *pixels++=(unsigned char) (quantum >> 8); in PopLongPixel() 203 *pixels++=(unsigned char) (quantum >> 16); in PopLongPixel() 204 *pixels++=(unsigned char) (quantum >> 24); in PopLongPixel() 207 *pixels++=(unsigned char) (quantum >> 24); in PopLongPixel() 208 *pixels++=(unsigned char) (quantum >> 16); in PopLongPixel() 209 *pixels++=(unsigned char) (quantum >> 8); in PopLongPixel() [all …]
|
D | quantum.h | 98 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar() argument 101 return((unsigned char) quantum); in ScaleQuantumToChar() 103 if (quantum <= 0.0) in ScaleQuantumToChar() 105 if (quantum >= 255.0) in ScaleQuantumToChar() 107 return((unsigned char) (quantum+0.5)); in ScaleQuantumToChar() 111 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar() argument 114 return((unsigned char) (((quantum+128UL)-((quantum+128UL) >> 8)) >> 8)); in ScaleQuantumToChar() 116 if (quantum <= 0.0) in ScaleQuantumToChar() 118 if ((quantum/257.0) >= 255.0) in ScaleQuantumToChar() 120 return((unsigned char) (quantum/257.0+0.5)); in ScaleQuantumToChar() [all …]
|
D | blob.c | 120 quantum; member 271 blob_info->quantum=(size_t) MagickMaxBlobExtent; in AttachBlob() 1099 quantum; in DiscardBlobBytes() local 1114 quantum=(size_t) MagickMin(length-i,sizeof(buffer)); in DiscardBlobBytes() 1115 (void) ReadBlobStream(image,quantum,buffer,&count); in DiscardBlobBytes() 1411 quantum; in FileToBlob() local 1420 quantum=(size_t) MagickMaxBufferExtent; in FileToBlob() 1422 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in FileToBlob() 1423 blob=(unsigned char *) AcquireQuantumMemory(quantum,sizeof(*blob)); in FileToBlob() 1426 count=read(file,blob+i,quantum); in FileToBlob() [all …]
|
D | memory.c | 242 MagickExport void *AcquireAlignedMemory(const size_t count,const size_t quantum) in AcquireAlignedMemory() argument 256 if (HeapOverflowSanityCheck(count,quantum) != MagickFalse) in AcquireAlignedMemory() 259 size=count*quantum; in AcquireAlignedMemory() 543 MagickExport void *AcquireQuantumMemory(const size_t count,const size_t quantum) in AcquireQuantumMemory() argument 548 if (HeapOverflowSanityCheck(count,quantum) != MagickFalse) in AcquireQuantumMemory() 550 extent=count*quantum; in AcquireQuantumMemory() 582 const size_t quantum) in AcquireVirtualMemory() argument 593 if (HeapOverflowSanityCheck(count,quantum) != MagickFalse) in AcquireVirtualMemory() 615 extent=count*quantum; in AcquireVirtualMemory() 619 ((count*quantum) <= GetMaxMemoryRequest())) in AcquireVirtualMemory() [all …]
|
D | quantum-export.c | 120 quantum[8]; in PopDoublePixel() local 122 (void) memset(quantum,0,sizeof(quantum)); in PopDoublePixel() 123 p=(double *) quantum; in PopDoublePixel() 127 *pixels++=quantum[0]; in PopDoublePixel() 128 *pixels++=quantum[1]; in PopDoublePixel() 129 *pixels++=quantum[2]; in PopDoublePixel() 130 *pixels++=quantum[3]; in PopDoublePixel() 131 *pixels++=quantum[4]; in PopDoublePixel() 132 *pixels++=quantum[5]; in PopDoublePixel() 133 *pixels++=quantum[6]; in PopDoublePixel() [all …]
|
D | quantum-import.c | 130 quantum[8]; in PushDoublePixel() local 134 quantum[0]=(*pixels++); in PushDoublePixel() 135 quantum[1]=(*pixels++); in PushDoublePixel() 136 quantum[2]=(*pixels++); in PushDoublePixel() 137 quantum[3]=(*pixels++); in PushDoublePixel() 138 quantum[4]=(*pixels++); in PushDoublePixel() 139 quantum[5]=(*pixels++); in PushDoublePixel() 140 quantum[6]=(*pixels++); in PushDoublePixel() 141 quantum[7]=(*pixels++); in PushDoublePixel() 142 p=(double *) quantum; in PushDoublePixel() [all …]
|
D | profile.c | 1413 unsigned char *quantum) in ReadResourceByte() argument 1415 *quantum=(*p++); in ReadResourceByte() 1420 unsigned int *quantum) in ReadResourceLong() argument 1422 *quantum=(unsigned int) (*p++) << 24; in ReadResourceLong() 1423 *quantum|=(unsigned int) (*p++) << 16; in ReadResourceLong() 1424 *quantum|=(unsigned int) (*p++) << 8; in ReadResourceLong() 1425 *quantum|=(unsigned int) (*p++); in ReadResourceLong() 1430 unsigned short *quantum) in ReadResourceShort() argument 1432 *quantum=(unsigned short) (*p++) << 8; in ReadResourceShort() 1433 *quantum|=(unsigned short) (*p++); in ReadResourceShort() [all …]
|
D | quantum.c | 426 quantum_info->quantum=8; in GetQuantumInfo() 667 quantum; in SetQuantumDepth() local 691 quantum=(quantum_info->pad+MaxPixelChannels)*(quantum_info->depth+7)/8; in SetQuantumDepth() 692 extent=MagickMax(image->columns,image->rows)*quantum; in SetQuantumDepth() 694 (quantum != (extent/MagickMax(image->columns,image->rows)))) in SetQuantumDepth() 978 const size_t quantum) in SetQuantumQuantum() argument 982 quantum_info->quantum=quantum; in SetQuantumQuantum()
|
D | utility.c | 165 quantum; in AcquireUniqueSymbolicLink() local 222 quantum=(size_t) MagickMaxBufferExtent; in AcquireUniqueSymbolicLink() 224 quantum=(size_t) MagickMin(attributes.st_size,MagickMaxBufferExtent); in AcquireUniqueSymbolicLink() 225 buffer=(unsigned char *) AcquireQuantumMemory(quantum,sizeof(*buffer)); in AcquireUniqueSymbolicLink() 236 count=(ssize_t) read(source_file,buffer,quantum); in AcquireUniqueSymbolicLink() 1825 quantum; in ShredFile() local 1865 quantum=(size_t) MagickMaxBufferExtent; in ShredFile() 1867 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in ShredFile() 1888 key=GetRandomKey(random_info,quantum); in ShredFile() 1892 MagickMin((MagickSizeType) quantum,length-j)); in ShredFile()
|
/external/ImageMagick/PerlMagick/ |
D | Makefile.am | 21 $(PERLMAGICK)/quantum/@MAGICK_ABI_SUFFIX@.xs: $(PERLMAGICK)/quantum/quantum.xs 22 $(AM_V_GEN) $(LN_S) quantum.xs $@ 24 $(PERLMAGICK)/quantum/@MAGICK_ABI_SUFFIX@.pm: $(PERLMAGICK)/quantum/quantum.pm 25 $(AM_V_GEN) $(LN_S) quantum.pm $@ 27 perl-quantum-sources: $(PERLMAGICK)/quantum/@MAGICK_ABI_SUFFIX@.xs $(PERLMAGICK)/quantum/@MAGICK_AB… 29 perl-sources: perl-quantum-sources 123 rm -f quantum/@MAGICK_ABI_SUFFIX@.xs;\ 124 rm -f quantum/@MAGICK_ABI_SUFFIX@.pm;\
|
/external/ImageMagick/coders/ |
D | yuv.c | 132 quantum; in ReadYUVImage() local 153 quantum=(ssize_t) (image->depth <= 8 ? 1 : 2); in ReadYUVImage() 201 image->columns+2UL),(size_t) quantum*sizeof(*scanline)); in ReadYUVImage() 204 (size_t) quantum*sizeof(*scanline)); in ReadYUVImage() 247 length=2*quantum*image->columns; in ReadYUVImage() 268 if (quantum == 1) in ReadYUVImage() 277 if (quantum == 1) in ReadYUVImage() 289 if (quantum == 1) in ReadYUVImage() 297 if (quantum == 1) in ReadYUVImage() 312 length=quantum*image->columns; in ReadYUVImage() [all …]
|
D | inline.c | 108 quantum; in ReadINLINEImage() local 148 quantum=MagickMin((size_t) GetBlobSize(image),MagickMaxBufferExtent); in ReadINLINEImage() 149 if (quantum == 0) in ReadINLINEImage() 150 quantum=MagickMaxBufferExtent; in ReadINLINEImage() 151 inline_image=(unsigned char *) AcquireQuantumMemory(quantum, in ReadINLINEImage() 156 count=(ssize_t) ReadBlob(image,quantum,inline_image+i); in ReadINLINEImage() 163 if (~((size_t) i) < (quantum+1)) in ReadINLINEImage() 169 quantum+1,sizeof(*inline_image)); in ReadINLINEImage()
|
D | map.c | 126 quantum; in ReadMAPImage() local 198 quantum=(*p++ << 8); in ReadMAPImage() 199 quantum|=(*p++); in ReadMAPImage() 200 image->colormap[i].red=(Quantum) quantum; in ReadMAPImage() 201 quantum=(*p++ << 8); in ReadMAPImage() 202 quantum|=(*p++); in ReadMAPImage() 203 image->colormap[i].green=(Quantum) quantum; in ReadMAPImage() 204 quantum=(*p++ << 8); in ReadMAPImage() 205 quantum|=(*p++); in ReadMAPImage() 206 image->colormap[i].blue=(Quantum) quantum; in ReadMAPImage()
|
D | miff.c | 255 quantum; in PushRunlengthPacket() local 259 p=PushCharPixel(p,&quantum); in PushRunlengthPacket() 260 pixel->alpha=(MagickRealType) ScaleCharToQuantum(quantum); in PushRunlengthPacket() 267 quantum; in PushRunlengthPacket() local 271 p=PushShortPixel(MSBEndian,p,&quantum); in PushRunlengthPacket() 272 pixel->alpha=(MagickRealType) (quantum >> (image->depth- in PushRunlengthPacket() 280 quantum; in PushRunlengthPacket() local 284 p=PushLongPixel(MSBEndian,p,&quantum); in PushRunlengthPacket() 285 pixel->alpha=(MagickRealType) (quantum >> (image->depth- in PushRunlengthPacket() 302 quantum; in PushRunlengthPacket() local [all …]
|
D | dcm.c | 2822 } quantum; in ReadDCMSignedShort() local 2824 quantum.unsigned_value=ReadDCMShort(stream_info,image); in ReadDCMSignedShort() 2825 return(quantum.signed_value); in ReadDCMSignedShort() 3066 quantum, in ReadDCMImage() local 3166 quantum=0; in ReadDCMImage() 3194 quantum=4; in ReadDCMImage() 3201 quantum=2; in ReadDCMImage() 3210 quantum=4; in ReadDCMImage() 3214 if (quantum == 4) in ReadDCMImage() 3222 if (quantum == 2) in ReadDCMImage() [all …]
|
/external/iproute2/tc/ |
D | q_hhf.c | 32 unsigned int quantum = 0; in hhf_parse_opt() local 49 if (get_unsigned(&quantum, *argv, 0)) { in hhf_parse_opt() 99 if (quantum) in hhf_parse_opt() 100 addattr_l(n, 1024, TCA_HHF_QUANTUM, &quantum, sizeof(quantum)); in hhf_parse_opt() 124 unsigned int quantum; in hhf_print_opt() local 145 quantum = rta_getattr_u32(tb[TCA_HHF_QUANTUM]); in hhf_print_opt() 146 fprintf(f, "quantum %u ", quantum); in hhf_print_opt()
|
D | q_fq.c | 79 unsigned int quantum; in fq_parse_opt() local 143 if (get_unsigned(&quantum, *argv, 0)) { in fq_parse_opt() 199 addattr_l(n, 1024, TCA_FQ_QUANTUM, &quantum, sizeof(quantum)); in fq_parse_opt() 231 unsigned int rate, quantum; in fq_print_opt() local 270 quantum = rta_getattr_u32(tb[TCA_FQ_QUANTUM]); in fq_print_opt() 271 fprintf(f, "quantum %u ", quantum); in fq_print_opt() 275 quantum = rta_getattr_u32(tb[TCA_FQ_INITIAL_QUANTUM]); in fq_print_opt() 276 fprintf(f, "initial_quantum %u ", quantum); in fq_print_opt()
|
D | q_fq_codel.c | 66 unsigned int quantum = 0; in fq_codel_parse_opt() local 87 if (get_unsigned(&quantum, *argv, 0)) { in fq_codel_parse_opt() 136 if (quantum) in fq_codel_parse_opt() 137 addattr_l(n, 1024, TCA_FQ_CODEL_QUANTUM, &quantum, sizeof(quantum)); in fq_codel_parse_opt() 163 unsigned int quantum; in fq_codel_print_opt() local 186 quantum = rta_getattr_u32(tb[TCA_FQ_CODEL_QUANTUM]); in fq_codel_print_opt() 187 fprintf(f, "quantum %u ", quantum); in fq_codel_print_opt()
|
/external/golang-protobuf/proto/ |
D | encode_test.go | 53 quantum := 1 << 10 55 b.Run(strconv.Itoa(quantum<<i), func(b *testing.B) { 58 Data: data[:quantum<<i],
|
/external/libnl/lib/cli/qdisc/ |
D | fq_codel.c | 38 uint32_t quantum, target, interval; in fq_codel_parse_argv() local 74 quantum = nl_cli_parse_u32(optarg); in fq_codel_parse_argv() 75 rtnl_qdisc_fq_codel_set_quantum(qdisc, quantum); in fq_codel_parse_argv()
|
/external/libnl/lib/route/qdisc/ |
D | sfq.c | 55 sfq->qs_quantum = opts->quantum; in sfq_msg_parser() 96 opts.quantum = sfq->qs_quantum; in sfq_msg_fill() 114 void rtnl_sfq_set_quantum(struct rtnl_qdisc *qdisc, int quantum) in rtnl_sfq_set_quantum() argument 121 sfq->qs_quantum = quantum; in rtnl_sfq_set_quantum()
|
/external/iptables/extensions/ |
D | libxt_hashlimit.c | 706 uint32_t quantum; in hashlimit_print() local 709 quantum = print_rate(r->cfg.avg, 1); in hashlimit_print() 719 if (r->cfg.expire != quantum) in hashlimit_print() 726 uint32_t quantum; in hashlimit_mt_print() local 734 quantum = print_bytes(cfg->avg, cfg->burst, ""); in hashlimit_mt_print() 736 quantum = print_rate(cfg->avg, revision); in hashlimit_mt_print() 750 if (cfg->expire != quantum) in hashlimit_mt_print() 812 uint32_t quantum; in hashlimit_save() local 815 quantum = print_rate(r->cfg.avg, 1); in hashlimit_save() 829 if (r->cfg.expire != quantum) in hashlimit_save() [all …]
|
/external/iproute2/examples/ |
D | cbqinit.eth1 | 43 $TC qdisc add dev $DEVICE parent 1:2 sfq quantum 1514b perturb 15 51 $TC qdisc add dev $DEVICE parent 1:3 sfq quantum 1514b perturb 15 59 $TC qdisc add dev $DEVICE parent 1:4 sfq quantum 1514b perturb 15
|
/external/ImageMagick/MagickWand/ |
D | pixel-iterator.c | 290 *quantum; in NewPixelIterator() local 308 quantum=GetMagickQuantumDepth(&depth); in NewPixelIterator() 310 ThrowWandFatalException(WandError,"QuantumDepthMismatch",quantum); in NewPixelIterator() 410 *quantum; in NewPixelRegionIterator() local 426 quantum=GetMagickQuantumDepth(&depth); in NewPixelRegionIterator() 428 ThrowWandFatalException(WandError,"QuantumDepthMismatch",quantum); in NewPixelRegionIterator() 430 ThrowWandFatalException(WandError,"ZeroRegionSize",quantum); in NewPixelRegionIterator()
|
/external/libnl/python/netlink/route/qdisc/ |
D | htb.py | 104 def quantum(self): member in HTBClass 107 @quantum.setter 108 def quantum(self, value): member in HTBClass
|