/dports/graphics/devil/devil-1.7.8/src-IL/src/ |
H A D | il_pal.c | 74 ILpal *Pal = &iCurImage->Pal; in ilLoadJascPal() local 577 if (!iCopyPalette(Pal, &iCurImage->Pal)) { 593 if (Pal == NULL || Pal->PalSize == 0 || Pal->Palette == NULL || Pal->PalType == IL_PAL_NONE) { 859 iCurImage->Pal.PalSize = Pal->PalSize; 860 iCurImage->Pal.PalType = Pal->PalType; 866 memcpy(iCurImage->Pal.Palette, Pal->Palette, Pal->PalSize); 882 if (Pal->Palette && Pal->PalSize && Pal->PalType != IL_PAL_NONE) { 886 memcpy(iCurImage->Pal.Palette, Pal->Palette, Pal->PalSize); 887 iCurImage->Pal.PalSize = Pal->PalSize; 888 iCurImage->Pal.PalType = Pal->PalType; [all …]
|
H A D | il_convert.c | 36 …if (!Image->Pal.Palette || !Image->Pal.PalSize || Image->Pal.PalType == IL_PAL_NONE || Image->Bpp … in iConvertPalette() 43 if (NewImage->Pal.Palette) in iConvertPalette() 218 NewImage->Pal.Palette = (ILubyte*)ialloc(iCurImage->Pal.PalSize); in iConvertPalette() 222 memcpy(NewImage->Pal.Palette, Image->Pal.Palette, Image->Pal.PalSize); in iConvertPalette() 223 NewImage->Pal.PalSize = Image->Pal.PalSize; in iConvertPalette() 224 NewImage->Pal.PalType = Image->Pal.PalType; in iConvertPalette() 425 if (pCurImage->Pal.Palette && pCurImage->Pal.PalSize && pCurImage->Pal.PalType != IL_PAL_NONE) in ilConvertImage() 427 pCurImage->Pal.Palette = Image->Pal.Palette; in ilConvertImage() 428 pCurImage->Pal.PalSize = Image->Pal.PalSize; in ilConvertImage() 429 pCurImage->Pal.PalType = Image->Pal.PalType; in ilConvertImage() [all …]
|
H A D | il_bmp.c | 303 iCurImage->Pal.Palette = (ILubyte*)ialloc(iCurImage->Pal.PalSize); in ilReadUncompBmp() 320 iCurImage->Pal.Palette = (ILubyte*)ialloc(iCurImage->Pal.PalSize); in ilReadUncompBmp() 340 if (iCurImage->Pal.Palette) in ilReadUncompBmp() 356 if (iread(iCurImage->Pal.Palette, 1, iCurImage->Pal.PalSize) != iCurImage->Pal.PalSize) in ilReadUncompBmp() 573 iCurImage->Pal.Palette = (ILubyte*)ialloc(iCurImage->Pal.PalSize); in ilReadRLE8Bmp() 584 if (iread(iCurImage->Pal.Palette, iCurImage->Pal.PalSize, 1) != 1) in ilReadRLE8Bmp() 652 iCurImage->Pal.Palette = (ILubyte*)ialloc(iCurImage->Pal.PalSize); in ilReadRLE4Bmp() 664 if (iread(iCurImage->Pal.Palette, iCurImage->Pal.PalSize, 1) != 1) in ilReadRLE4Bmp() 941 iCurImage->Pal.Palette = (ILubyte*)ialloc(iCurImage->Pal.PalSize); in iSaveBitmapInternal() 954 TempPal = &iCurImage->Pal; in iSaveBitmapInternal() [all …]
|
H A D | il_wal.c | 110 Mipmaps[i]->Pal.Palette = (ILubyte*)ialloc(768); in iLoadWalInternal() 111 if (Mipmaps[i]->Pal.Palette == NULL) in iLoadWalInternal() 114 Mipmaps[i]->Pal.PalType = IL_PAL_RGB24; in iLoadWalInternal() 126 Mipmaps[i]->Pal.PalSize = 768; in iLoadWalInternal() 138 if (iCurImage->Pal.Palette && iCurImage->Pal.PalSize && iCurImage->Pal.PalType != IL_PAL_NONE) in iLoadWalInternal() 139 ifree(iCurImage->Pal.Palette); in iLoadWalInternal() 140 iCurImage->Pal.Palette = (ILubyte*)ialloc(768); in iLoadWalInternal() 141 if (iCurImage->Pal.Palette == NULL) in iLoadWalInternal() 144 iCurImage->Pal.PalSize = 768; in iLoadWalInternal() 145 iCurImage->Pal.PalType = IL_PAL_RGB24; in iLoadWalInternal() [all …]
|
H A D | il_doom.c | 102 iCurImage->Pal.Palette = (ILubyte*)ialloc(IL_DOOMPAL_SIZE); in iLoadDoomInternal() 103 if (iCurImage->Pal.Palette == NULL) { in iLoadDoomInternal() 106 iCurImage->Pal.PalSize = IL_DOOMPAL_SIZE; in iLoadDoomInternal() 107 iCurImage->Pal.PalType = IL_PAL_RGB24; in iLoadDoomInternal() 148 NewData[i * 4] = iCurImage->Pal.Palette[iCurImage->Data[i]]; in iLoadDoomInternal() 149 NewData[i * 4] = iCurImage->Pal.Palette[iCurImage->Data[i]]; in iLoadDoomInternal() 150 NewData[i * 4] = iCurImage->Pal.Palette[iCurImage->Data[i]]; in iLoadDoomInternal() 235 iCurImage->Pal.Palette = (ILubyte*)ialloc(IL_DOOMPAL_SIZE); in iLoadDoomFlatInternal() 236 if (iCurImage->Pal.Palette == NULL) { in iLoadDoomFlatInternal() 239 iCurImage->Pal.PalSize = IL_DOOMPAL_SIZE; in iLoadDoomFlatInternal() [all …]
|
H A D | il_pcx.c | 242 iCurImage->Pal.Palette = (ILubyte*)ialloc(iCurImage->Pal.PalSize); in iUncompressPcx() 250 iCurImage->Pal.Palette = NULL; in iUncompressPcx() 251 iCurImage->Pal.PalSize = 0; in iUncompressPcx() 256 iCurImage->Pal.Palette = NULL; in iUncompressPcx() 257 iCurImage->Pal.PalSize = 0; in iUncompressPcx() 326 if (iCurImage->Pal.Palette) in iUncompressPcx() 327 ifree(iCurImage->Pal.Palette); in iUncompressPcx() 328 iCurImage->Pal.PalSize = 0; in iUncompressPcx() 334 if (iread(iCurImage->Pal.Palette, 1, iCurImage->Pal.PalSize) != iCurImage->Pal.PalSize) in iUncompressPcx() 433 ifree(iCurImage->Pal.Palette); in iUncompressSmall() [all …]
|
H A D | il_gif.c | 212 Pal->PalSize = PalSize; in iGetPalette() 214 Pal->PalType = IL_PAL_RGB24; in iGetPalette() 217 if (Pal->Palette == NULL) in iGetPalette() 220 …memcpy(Pal->Palette, PrevImage->Pal.Palette, PrevImage->Pal.PalSize); // Copy the old palette ove… in iGetPalette() 221 if (iread(Pal->Palette + PalOffset, 1, Pal->PalSize) != Pal->PalSize) { // Read the new palette. in iGetPalette() 222 ifree(Pal->Palette); in iGetPalette() 223 Pal->Palette = NULL; in iGetPalette() 728 if (!Image->Pal.Palette || !Image->Pal.PalSize) { in ConvertTransparent() 747 ifree(Image->Pal.Palette); in ConvertTransparent() 748 Image->Pal.Palette = Palette; in ConvertTransparent() [all …]
|
H A D | il_dcx.c | 251 Image->Pal.PalType = IL_PAL_RGB24; in iUncompressDcx() 253 Image->Pal.Palette = (ILubyte*)ialloc(Image->Pal.PalSize); in iUncompressDcx() 254 if (Image->Pal.Palette == NULL) in iUncompressDcx() 260 Image->Pal.Palette = NULL; in iUncompressDcx() 261 Image->Pal.PalSize = 0; in iUncompressDcx() 262 Image->Pal.PalType = IL_PAL_NONE; in iUncompressDcx() 266 Image->Pal.Palette = NULL; in iUncompressDcx() 267 Image->Pal.PalSize = 0; in iUncompressDcx() 268 Image->Pal.PalType = IL_PAL_NONE; in iUncompressDcx() 353 if (iread(Image->Pal.Palette, 1, Image->Pal.PalSize) != Image->Pal.PalSize) { in iUncompressDcx() [all …]
|
H A D | il_tpl.c | 616 if (Image->Pal.Palette == NULL) in TplGetIndexImage() 619 Image->Pal.PalSize = NumPal * 4; in TplGetIndexImage() 634 if (Image->Pal.Palette == NULL) in TplGetIndexImage() 636 Image->Pal.PalType = IL_PAL_RGB24; in TplGetIndexImage() 637 Image->Pal.PalSize = NumPal * 3; in TplGetIndexImage() 651 if (Image->Pal.Palette == NULL) in TplGetIndexImage() 653 Image->Pal.PalType = IL_PAL_RGBA32; in TplGetIndexImage() 654 Image->Pal.PalSize = NumPal * 4; in TplGetIndexImage() 773 ifree(Image->Pal.Palette); in TplGetIndexImage() 774 Image->Pal.PalType = IL_PAL_NONE; in TplGetIndexImage() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/ |
H A D | X509Certificate.cs | 6 using Internal.Cryptography.Pal; 40 ICertificatePal pal = Pal; in Reset() 41 Pal = null; in Reset() 108 Pal = pal; in X509Certificate() 159 if (cert.Pal != null) in X509Certificate() 195 if (Pal == null) 254 if (Pal == null) in Equals() 283 if (Pal == null) in Export() 298 if (Pal == null) in Export() 393 if (Pal == null) in GetHashCode() [all …]
|
/dports/graphics/acidwarp-sdl/acidwarp-698c4e1/ |
H A D | rolnfade.c | 29 temp = Pal[((254)*3)+3+color]; in rotatebackward() 32 Pal[(x*3)+3+color] = Pal[(x*3)+color]; in rotatebackward() 33 Pal[(1*3)+color] = temp; in rotatebackward() 42 temp = Pal[(1*3)+color]; in rotateforward() 44 Pal[x*3+color] = Pal[(x*3)+3+color]; in rotateforward() 45 Pal[((256)*3)-3+color] = temp; in rotateforward() 178 rotateforward(RED,Pal); in roll_rgb_palArray() 180 rotatebackward(RED,Pal); in roll_rgb_palArray() 183 rotateforward(GREEN,Pal); in roll_rgb_palArray() 188 rotateforward(BLUE,Pal); in roll_rgb_palArray() [all …]
|
/dports/graphics/devil/devil-1.7.8/src-ILUT/src/ |
H A D | ilut_allegro.c | 28 BITMAP* ILAPIENTRY ilutConvertToAlleg(PALETTE Pal) in ilutConvertToAlleg() argument 58 if (ilutCurImage->Bpp == 8 && ilutCurImage->Pal.PalType != IL_PAL_NONE) { in ilutConvertToAlleg() 73 for (; i < ilutCurImage->Pal.PalSize && i < 768; i += 3, j++) { in ilutConvertToAlleg() 74 Pal[j].r = TempImage->Pal.Palette[i+0]; in ilutConvertToAlleg() 75 Pal[j].g = TempImage->Pal.Palette[i+1]; in ilutConvertToAlleg() 76 Pal[j].b = TempImage->Pal.Palette[i+2]; in ilutConvertToAlleg() 77 Pal[j].filler = 255; in ilutConvertToAlleg() 92 PALETTE Pal; in ilutAllegLoadImage() local 103 return ilutConvertToAlleg(Pal); in ilutAllegLoadImage()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/ |
H A D | KeyAgreeRecipientInfo.cs | 24 return Pal.Version; 32 … return _lazyRecipientIdentifier ?? (_lazyRecipientIdentifier = Pal.RecipientIdentifier); 40 … return _lazyKeyEncryptionAlgorithm ?? (_lazyKeyEncryptionAlgorithm = Pal.KeyEncryptionAlgorithm); 48 return _lazyEncryptedKey ?? (_lazyEncryptedKey = Pal.EncryptedKey); 56 …return _lazyOriginatorIdentifierKey ?? (_lazyOriginatorIdentifierKey = Pal.OriginatorIdentifierOrK… 66 _lazyDate = Pal.Date; 77 return _lazyOtherKeyAttribute ?? (_lazyOtherKeyAttribute = Pal.OtherKeyAttribute); 81 private new KeyAgreeRecipientInfoPal Pal property in System.Security.Cryptography.Pkcs.KeyAgreeRecipientInfo 85 return (KeyAgreeRecipientInfoPal)(base.Pal);
|
H A D | KeyTransRecipientInfo.cs | 23 return Pal.Version; 31 … return _lazyRecipientIdentifier ?? (_lazyRecipientIdentifier = Pal.RecipientIdentifier); 39 … return _lazyKeyEncryptionAlgorithm ?? (_lazyKeyEncryptionAlgorithm = Pal.KeyEncryptionAlgorithm); 47 return _lazyEncryptedKey ?? (_lazyEncryptedKey = Pal.EncryptedKey); 51 private new KeyTransRecipientInfoPal Pal property in System.Security.Cryptography.Pkcs.KeyTransRecipientInfo 55 return (KeyTransRecipientInfoPal)(base.Pal);
|
/dports/devel/cc65/cc65-2.19/src/sp65/ |
H A D | bitmap.h | 79 Palette* Pal; member 124 return (B->Pal != 0); in BitmapIsIndexed() 127 # define BitmapIsIndexed(B) ((B)->Pal != 0) 154 return B->Pal; in GetBitmapPalette() 157 # define GetBitmapPalette(B) ((B)->Pal) 176 return B->Pal? B->Pal->Count : (1U << 24); in GetBitmapColors() 179 # define GetBitmapColors(B) ((B)->Pal? (B)->Pal->Count : (1U << 24))
|
/dports/editors/lazarus/lazarus/ide/ |
H A D | componentpalette.pas | 204 Pal: TComponentPalette; 221 Pal := TComponentPalette(Palette); 222 if Pal.PageControl<>nil then 280 if Pal.PageControl<>nil then 301 Pal: TComponentPalette; 329 PageComponent := Pal.FPageControl.Page[Pal.fVisiblePageIndex]; 396 inc(Pal.fVisiblePageIndex); 401 {%H-}Pal: TComponentPalette; 426 Pal: TComponentPalette; 460 Btn.PopupMenu:=Pal.PopupMenu; [all …]
|
/dports/editors/lazarus-qt5/lazarus/ide/ |
H A D | componentpalette.pas | 204 Pal: TComponentPalette; 221 Pal := TComponentPalette(Palette); 222 if Pal.PageControl<>nil then 280 if Pal.PageControl<>nil then 301 Pal: TComponentPalette; 329 PageComponent := Pal.FPageControl.Page[Pal.fVisiblePageIndex]; 396 inc(Pal.fVisiblePageIndex); 401 {%H-}Pal: TComponentPalette; 426 Pal: TComponentPalette; 460 Btn.PopupMenu:=Pal.PopupMenu; [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/pal/ |
H A D | pal.cpp | 50 Pal::Pal() in Pal() function in Pal 58 Pal::~Pal() = default; 60 void Pal::removeLayer( Layer *layer ) in removeLayer() 475 void Pal::registerCancellationCallback( Pal::FnIsCanceled fnCanceled, void *context ) in registerCancellationCallback() 505 void Pal::setMinIt( int min_it ) in setMinIt() 511 void Pal::setMaxIt( int max_it ) in setMaxIt() 517 void Pal::setPopmusicR( int r ) in setPopmusicR() 528 void Pal::setTenure( int tenure ) in setTenure() 553 int Pal::getMinIt() in getMinIt() 558 int Pal::getMaxIt() in getMaxIt() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/src/core/pal/ |
H A D | pal.cpp | 50 Pal::Pal() in Pal() function in Pal 58 Pal::~Pal() = default; 60 void Pal::removeLayer( Layer *layer ) in removeLayer() 477 void Pal::registerCancellationCallback( Pal::FnIsCanceled fnCanceled, void *context ) in registerCancellationCallback() 507 void Pal::setMinIt( int min_it ) in setMinIt() 513 void Pal::setMaxIt( int max_it ) in setMaxIt() 519 void Pal::setPopmusicR( int r ) in setPopmusicR() 530 void Pal::setTenure( int tenure ) in setTenure() 571 int Pal::getMinIt() in getMinIt() 576 int Pal::getMaxIt() in getMaxIt() [all …]
|
/dports/misc/bb/bb-1.3.0/ |
H A D | scene3.c | 44 static aa_palette TempPal, Pal[2]; variable 55 Pal[0][i] = i * 4; in compute_custom_palette() 56 Pal[1][i] = i * 1; in compute_custom_palette() 59 Pal[0][i] = (128 - i) * 4; in compute_custom_palette() 60 Pal[1][i] = (128 - i) * 1; in compute_custom_palette() 63 Pal[0][i] = (i - 128) * 1; in compute_custom_palette() 64 Pal[1][i] = (i - 128) * 4; in compute_custom_palette() 67 Pal[0][i] = (256 - i) * 1; in compute_custom_palette() 68 Pal[1][i] = (256 - i) * 4; in compute_custom_palette() 178 cplasma(Pal[n], Pal[m], TempPal, f); in do_plasma()
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/ide/ |
H A D | componentpalette.pas | 209 Pal: TComponentPalette; 226 Pal := TComponentPalette(Palette); 227 if Pal.PageControl<>nil then 285 if Pal.PageControl<>nil then 306 Pal: TComponentPalette; 319 Pal := TComponentPalette(Palette); 334 PageComponent := Pal.FPageControl.Page[Pal.fVisiblePageIndex]; 401 inc(Pal.fVisiblePageIndex); 406 Pal: TComponentPalette; 431 Pal: TComponentPalette; [all …]
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/ide/ |
H A D | componentpalette.pas | 209 Pal: TComponentPalette; 226 Pal := TComponentPalette(Palette); 227 if Pal.PageControl<>nil then 285 if Pal.PageControl<>nil then 306 Pal: TComponentPalette; 319 Pal := TComponentPalette(Palette); 334 PageComponent := Pal.FPageControl.Page[Pal.fVisiblePageIndex]; 401 inc(Pal.fVisiblePageIndex); 406 Pal: TComponentPalette; 431 Pal: TComponentPalette; [all …]
|
/dports/games/zdoom/zdoom-2.8.1/src/ |
H A D | colormatcher.cpp | 50 Pal = NULL; in FColorMatcher() 65 Pal = other.Pal; in operator =() 71 Pal = (const PalEntry *)palette; in SetPalette() 76 if (Pal == NULL) in Pick() 79 return (BYTE)BestColor ((uint32 *)Pal, r, g, b); in Pick()
|
/dports/games/ecwolf/ecwolf-1.3.3-src/src/ |
H A D | colormatcher.cpp | 50 Pal = NULL; in FColorMatcher() 65 Pal = other.Pal; in operator =() 71 Pal = (const PalEntry *)palette; in SetPalette() 76 if (Pal == NULL) in Pick() 79 return (BYTE)BestColor ((uint32 *)Pal, r, g, b); in Pick()
|
/dports/misc/estic/estic-1.61_10/spunk/ |
H A D | winattr.cc | 244 Pal = new Palette; in InitWinAttr() 247 Pal->Add (plMono1, plBlue); in InitWinAttr() 248 Pal->Add (plMono1, plGray); in InitWinAttr() 249 Pal->Add (plMono2, plCyan); in InitWinAttr() 250 Pal->Add (plMono2, plRed); in InitWinAttr() 252 Pal->Add (plMono2, plEH); in InitWinAttr() 253 Pal->Add (plMono1, plRoot); in InitWinAttr() 254 Pal->Add (plMono1, plHelp); in InitWinAttr() 255 Pal->Add (plMono1, plFSel); in InitWinAttr() 264 delete Pal; in DoneWinAttr() [all …]
|