Home
last modified time | relevance | path

Searched refs:hf (Results 1 – 25 of 7568) sorted by relevance

12345678910>>...303

/dports/math/clblas/clBLAS-2.10/src/library/tools/tune/
H A Dfileio.c240 hf->hash = Crc32Add(buff, size, hf->hash); in hfWrite()
242 hf->start = ftell(hf->file); in hfWrite()
246 hf->end = ftell(hf->file); in hfWrite()
257 hf->start = ftell(hf->file); in hfWriteCRC()
259 fwrite (&hf->hash, sizeof(hf->hash), 1, hf->file); in hfWriteCRC()
263 hf->end = ftell(hf->file); in hfWriteCRC()
264 …fprintf(hf->fileLog, "CRC %8d - %8d (%8lu) \n",(int)hf->start, (int)hf->end, sizeof(hf->hash) ); in hfWriteCRC()
286 hf->start = ftell(hf->file); in hfRead()
297 hf->end = ftell(hf->file); in hfRead()
326 hf->start = ftell(hf->file); in hfCheckCRC()
[all …]
/dports/graphics/geomorph/geomorph-0.60.1/src/hf/
H A Dhf.c513 memcpy(hf->result_buf, hf->hf_buf, sizeof(hf_type) * hf->max_x * hf->max_y); in hf_init_result_buf_from_hf()
520 memcpy(hf->tmp2_buf, hf->hf_buf, sizeof(hf_type) * hf->max_x * hf->max_y); in hf_init_tmp2_buf_from_hf()
535 set_merge_buffers (&mrg, hf->tmp2_buf, hf->layer_buf, hf->hf_buf, hf->max_x, hf->max_y); in hf_update_hf_with_layer()
588 memcpy(hf->tmp_buf, hf->hf_buf, hf->max_x*hf->max_y*sizeof(hf_type)); in hf_backup()
591 memcpy(hf->result_buf, hf->hf_buf, hf->max_x*hf->max_y*sizeof(hf_type)); in hf_backup()
599 memcpy(hf->hf_buf, hf->tmp_buf, hf->max_x*hf->max_y*sizeof(hf_type)); in hf_restore()
602 memcpy(hf->result_buf, hf->hf_buf, hf->max_x*hf->max_y*sizeof(hf_type)); in hf_restore()
644 hf->min = *hf->hf_buf; in hf_min_max()
645 hf->max = hf->min; in hf_min_max()
649 hf->min = *(hf->hf_buf+i); in hf_min_max()
[all …]
H A Dwind.c76 …slope = *(hf->hf_buf+VECTORIZE(WRAP2(x+1,hf->max_x),y,hf->max_x)) - *(hf->hf_buf+VECTORIZE(x,y,hf-… in hf_ripples1()
79 *(hf->hf_buf+VECTORIZE(x,y,hf->max_x))-=removal; in hf_ripples1()
133 …slope1 = *(hf->hf_buf+VECTORIZE(0,y,hf->max_x)) - *(hf->hf_buf+VECTORIZE(WRAP2(-1,hf->max_x),y,hf-… in hf_ripples3()
135 value = *(hf->hf_buf+VECTORIZE(x,y,hf->max_x)); in hf_ripples3()
136 slope2 = *(hf->hf_buf+VECTORIZE(WRAP2(x+1,hf->max_x),y,hf->max_x)) - value; in hf_ripples3()
210 …slope1 = *(hf->hf_buf+VECTORIZE(0,y,hf->max_x)) - *(hf->hf_buf+VECTORIZE(WRAP2(-1,hf->max_x),y,hf-… in hf_ripples2()
212 value = *(hf->hf_buf+VECTORIZE(x,y,hf->max_x)); in hf_ripples2()
213 slope2 = *(hf->hf_buf+VECTORIZE(WRAP2(x+1,hf->max_x),y,hf->max_x)) - value; in hf_ripples2()
345 value = *(hf->hf_buf+VECTORIZE(x,y,hf->max_x)); in hf_ripples4()
606 hf_smooth(hf, ws->radius, dm, (hf->if_tiles==NULL) ? TRUE : *hf->if_tiles, gauss_list); in hf_dunes()
[all …]
H A Dsubdiv2.c83 x0 = WRAP(x0,hf->max_x); in smooth_midpoints()
84 y0 = WRAP(y0,hf->max_y); in smooth_midpoints()
85 x1 = WRAP(x1,hf->max_y); in smooth_midpoints()
86 y1 = WRAP(y1,hf->max_y); in smooth_midpoints()
116 x0 = WRAP(x0,hf->max_x); in calc_midx_midy_2()
117 y0 = WRAP(y0,hf->max_y); in calc_midx_midy_2()
118 x1 = WRAP(x1,hf->max_y); in calc_midx_midy_2()
119 y1 = WRAP(y1,hf->max_y); in calc_midx_midy_2()
245hf->hf_buf = (hf_type *) x_realloc(hf->hf_buf, hf->max_x * hf->max_y * sizeof(hf_type), "hf_type (… in subdiv2()
264 for (i=0; i<hf->max_x*hf->max_y; i++) { in subdiv2()
[all …]
H A Derode.c168 iprec = VECTORIZE (x, WRAP2(hf->max_x-y,hf->max_x), hf->max_x); in hf_oriented_relax()
176 iprec = VECTORIZE ( WRAP2(hf->max_x-x,hf->max_x), y, hf->max_x); in hf_oriented_relax()
421 …if (!relax_hex (hf->hf_buf, hf->max_x, hf->max_y, slope, (hf->if_tiles==NULL) ? TRUE : *hf->if_til… in hf_relax_hex()
1038 memcpy(hf->result_buf, hf->tmp_buf, hf->max_x*hf->max_y*sizeof(hf_type)); in hf_crests_erosion_hex()
1060 ii=VECTORIZE(WRAP2(xx,hf->max_x),WRAP2(yy,hf->max_y), hf->max_x); in hf_crests_erosion_hex()
1062 ii=VECTORIZE(MIN(xx,hf->max_x-1),MIN(yy,hf->max_y-1), hf->max_x); in hf_crests_erosion_hex()
1078 ii=VECTORIZE(WRAP2(xx,hf->max_x), WRAP2(yy,hf->max_y),hf->max_x) ; in hf_crests_erosion_hex()
1080 ii=VECTORIZE(MIN(xx,hf->max_x-1), MIN(yy,hf->max_y-1),hf->max_x) ; in hf_crests_erosion_hex()
1157 ii=VECTORIZE(WRAP2(xx,hf->max_x),WRAP2(yy,hf->max_y),hf->max_x) ; in hf_crests_erosion_hex()
1176 memcpy(hf->hf_buf, hf->result_buf, hf->max_x*hf->max_y*sizeof(hf_type)); in hf_crests_erosion_hex()
[all …]
H A Dimg_process.c60 for (i=0; i<hf->max_x*hf->max_y; i++) { in hf_brightness_contrast()
172 slice = (hf->max-hf->min) / levels; in hf_terrace()
471 memcpy(hf->hf_buf,hf_buf,sizeof(hf_type)*hf->max_x*hf->max_y); in hf_convolve()
621 memcpy(hf->hf_buf,hf_buf,sizeof(hf_type)*hf->max_x*hf->max_y); in hf_convolveb()
771 min_max_erode (hf_in, hf->hf_buf, hf->max_x, hf->max_y, steps, *hf->if_tiles); in hf_erode()
994 *(hf->hf_buf+WRAP(i+(gint) (radius*phase),hf->max_x)*hf->max_x+j+ in hf_mosaic()
1167 *(hf->result_buf+WRAP(k,hf->max_y)*hf->max_x+ in hf_city()
1170 *(hf->result_buf+WRAP(k,hf->max_y)*hf->max_x+ in hf_city()
1190 *(hf->tmp_buf + VECTORIZE(WRAP(x<<1,hf->max_x),y,hf->max_x)); in hf_stretch_v()
1245 hf_double_clamp (hf, hf->min, hf->max, doublebuf); in hf_math_fn()
[all …]
/dports/games/devilutionX/devilutionX-1.2.1/3rdParty/StormLib/src/
H A DSFileReadFile.cpp27 TMPQArchive * ha = hf->ha; in ReadMpqSectors()
140 if(hf->bCheckSectorCRCs && hf->SectorChksums != NULL) in ReadMpqSectors()
317 if(hf->pbFileSector != NULL && pbRawData != hf->pbFileSector) in ReadMpqFileSingleUnit()
318 memcpy(hf->pbFileSector, pbRawData, hf->dwDataSize); in ReadMpqFileSingleUnit()
419 memcpy(hf->pbFileSector, pbRawData, hf->dwDataSize); in ReadMpkFileSingleUnit()
698 …if(hf->pFileEntry != NULL && (hf->pFileEntry->dwFlags & MPQ_FILE_PATCH_FILE) && hf->pPatchInfo == … in SFileReadFile()
709 hf->dwCompression0 = 0; in SFileReadFile()
712 if(hf->pStream != NULL) in SFileReadFile()
747 if(hf->pStream == NULL) in SFileReadFile()
789 hf = hf->hfPatch; in SFileGetFileSize()
[all …]
H A DSBaseCommon.cpp621 if(hf != NULL && hf->dwMagic == ID_MPQ_FILE) in IsValidFileHandle()
845 return hf; in CreateFileHandle()
882 return hf; in CreateWritableHandle()
1029 hf->pbFileSector = STORM_ALLOC(BYTE, hf->dwSectorSize); in AllocateSectorBuffer()
1087 hf->dwDataSize = hf->pPatchInfo->dwDataSize; in AllocatePatchInfo()
1123 hf->dwSectorCount = ((hf->dwDataSize - 1) / hf->dwSectorSize) + 1; in AllocateSectorOffsets()
1310 if(hf->SectorOffsets[hf->dwSectorCount + 1] >= hf->SectorOffsets[hf->dwSectorCount]) in AllocateSectorChecksums()
1311 …dwCompressedSize = hf->SectorOffsets[hf->dwSectorCount + 1] - hf->SectorOffsets[hf->dwSectorCount]; in AllocateSectorChecksums()
1405 hf->SectorOffsets[hf->dwSectorCount + 1] = hf->SectorOffsets[hf->dwSectorCount]; in WriteSectorChecksums()
1425 RawFilePos = hf->RawFilePos + hf->SectorOffsets[hf->dwSectorCount]; in WriteSectorChecksums()
[all …]
/dports/games/wargus/wargus-3.2.0/StormLib/src/
H A DSFileReadFile.cpp27 TMPQArchive * ha = hf->ha; in ReadMpqSectors()
139 if(hf->bCheckSectorCRCs && hf->SectorChksums != NULL) in ReadMpqSectors()
315 if(hf->pbFileSector != NULL && pbRawData != hf->pbFileSector) in ReadMpqFileSingleUnit()
316 memcpy(hf->pbFileSector, pbRawData, hf->dwDataSize); in ReadMpqFileSingleUnit()
412 memcpy(hf->pbFileSector, pbRawData, hf->dwDataSize); in ReadMpkFileSingleUnit()
689 …if(hf->pFileEntry != NULL && (hf->pFileEntry->dwFlags & MPQ_FILE_PATCH_FILE) && hf->pPatchInfo == … in SFileReadFile()
700 hf->dwCompression0 = 0; in SFileReadFile()
703 if(hf->pStream != NULL) in SFileReadFile()
774 hf = hf->hfPatch; in SFileGetFileSize()
816 if(hf->pStream != NULL) in SFileSetFilePointer()
[all …]
H A DSFileAddFile.cpp85 TMPQFile * hf, in FillWritableHandle() argument
93 hf->RawFilePos = ha->MpqPos + hf->MpqFilePos; in FillWritableHandle()
127 TMPQFile * hf, in WriteDataToMpqFile() argument
149 DWORD dwBytesInSector = hf->dwFilePos % hf->dwSectorSize; in WriteDataToMpqFile()
150 DWORD dwSectorIndex = hf->dwFilePos / hf->dwSectorSize; in WriteDataToMpqFile()
180 hf->dwCrc32 = crc32(hf->dwCrc32, hf->pbFileSector, dwBytesInSector); in WriteDataToMpqFile()
308 hf->RawFilePos = ha->MpqPos + hf->MpqFilePos; in RecryptFileData()
496 *phf = hf; in SFileAddFile_Init()
541 hf->pHashEntry = ha->pHashTable + hf->dwHashIndex; in SFileAddFile_Init()
563 *phf = hf; in SFileAddFile_Init()
[all …]
H A DSBaseCommon.cpp716 if(hf != NULL && hf->dwMagic == ID_MPQ_FILE) in IsValidFileHandle()
940 return hf; in CreateFileHandle()
977 return hf; in CreateWritableHandle()
1135 hf->pbFileSector = STORM_ALLOC(BYTE, hf->dwSectorSize); in AllocateSectorBuffer()
1193 hf->dwDataSize = hf->pPatchInfo->dwDataSize; in AllocatePatchInfo()
1229 hf->dwSectorCount = ((hf->dwDataSize - 1) / hf->dwSectorSize) + 1; in AllocateSectorOffsets()
1416 if(hf->SectorOffsets[hf->dwSectorCount + 1] >= hf->SectorOffsets[hf->dwSectorCount]) in AllocateSectorChecksums()
1417 …dwCompressedSize = hf->SectorOffsets[hf->dwSectorCount + 1] - hf->SectorOffsets[hf->dwSectorCount]; in AllocateSectorChecksums()
1510 hf->SectorOffsets[hf->dwSectorCount + 1] = hf->SectorOffsets[hf->dwSectorCount]; in WriteSectorChecksums()
1530 RawFilePos = hf->RawFilePos + hf->SectorOffsets[hf->dwSectorCount]; in WriteSectorChecksums()
[all …]
/dports/graphics/rayshade/rayshade.4.0/libray/libobj/
H A Dhf.c73 hf->iBestSize = 1. / (float)hf->BestSize;
113 for (i = hf->size, hf->levels = 0; i > hf->BestSize; i /= hf->BestSize,
126 hf->spacing[0] = hf->size -1;
127 hf->lsize[0] = (int)hf->spacing[0];
145 hf->spacing[i] = hf->spacing[i-1] * hf->iBestSize;
146 hf->lsize[i] = (int)hf->spacing[i];
162 hf->boundbox[LOW][Z] = hf->minz;
163 hf->boundbox[HIGH][Z] = hf->maxz;
228 trav.outX = hf->lsize[hf->levels -1];
660 free((voidstar)hf->q[hf->qtail]);
[all …]
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarth/
H A DImageToHeightFieldConverter.cpp57 osg::HeightField* hf; in convert() local
59 hf = convert32( image ); in convert()
98 return hf; in convert()
122 return hf; in convert16()
135 return hf; in convert32()
154 return hf; in convert()
164 return convert16( hf ); in convert()
168 if ( !hf ) { in convert16()
192 if (!hf) { in convertToR32F()
206 if (!hf) { in convertToR16F()
[all …]
/dports/biology/iolib/io_lib-io_lib-1-14-10/io_lib/
H A Dhash_table.c923 hf->hh.narchives = hf->narchives == 1 ? 0 : hf->narchives; in HashFileSave()
1043 hf->h = h = HashTableCreate(hf->hh.nbuckets, hf->hh.hfunc);
1181 hf->hf_start = ftello(hf->hfp); in HashFileFopen()
1217 hf->afp = &hf->hfp; in HashFileFopen()
1238 hf->headers = hf->nheaders in HashFileFopen()
1248 hf->headers[i].pos = be_int8(hf->headers[i].pos) + hf->hh.offset; in HashFileFopen()
1253 hf->footers = hf->nfooters in HashFileFopen()
1313 hf->afp = &hf->hfp; in HashFileOpen()
1335 h = hf->h = HashTableCreate(hf->hh.nbuckets, hf->hh.hfunc); in HashFileLoad()
1530 if (hf->afp[i] && hf->afp[i] != hf->hfp) in HashFileDestroy()
[all …]
/dports/security/signify/outils-0.10/src/bin/md5/
H A Dmd5.c234 for (hf = functions; hf->name != NULL; hf++) { in main()
327 for (hf = functions; hf->name != NULL; hf++) { in main()
333 hash_insert(&hl, hf, (hf->base64 == -1 ? 0 : bflag)); in main()
386 *hftmp = *hf; in hash_insert()
483 hf->init(hf->ctx); in digest_file()
492 hf->update(hf->ctx, data, (unsigned int)nread); in digest_file()
499 free(hf->ctx); in digest_file()
507 digest_end(hf, hf->ctx, digest, sizeof(digest), hf->base64); in digest_file()
508 free(hf->ctx); in digest_file()
549 for (hf = &functions[1]; hf->name != NULL; hf++) { in digest_filelist()
[all …]
/dports/net/ntp/ntp-4.2.8p15/sntp/scripts/
H A DgenHardFlags32 if test -f $hf
34 HF=$hf
58 if test -f $hf
60 HF=$hf
72 if test -f $hf
74 HF=$hf
87 HF=$hf
95 HF=$hf
112 HF=$hf
124 if test -f $hf
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/core/parser/
H A Dhf.c57 if (hf->parsed){ in clean_hdr_field()
59 switch(hf->type){ in clean_hdr_field()
62 pkg_free(hf->parsed); in clean_hdr_field()
90 free_to(hf->parsed); in clean_hdr_field()
106 free_to(hf->parsed); in clean_hdr_field()
213 while(hf) { in free_hdr_field_lst()
214 foo=hf; in free_hdr_field_lst()
215 hf=hf->next; in free_hdr_field_lst()
227 hf->type, hf->name.len, ZSW(hf->name.s), in dump_hdr_field()
228 hf->body.len, ZSW(hf->body.s), in dump_hdr_field()
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libast/port/
H A Dlcgen.c282 FILE* hf; local
318 fprintf(hf, "\n");
321 fprintf(hf, "\n");
323 fprintf(hf, "\n");
652 fprintf(hf, "#endif\n");
676 fprintf(hf, "#endif\n");
688 fprintf(hf, "\n");
691 fprintf(hf, "#endif\n");
692 fprintf(hf, "\n");
699 fprintf(hf, "\n");
[all …]
/dports/shells/ksh93/ast-93u/src/lib/libast/port/
H A Dlcgen.c282 FILE* hf; local
318 fprintf(hf, "\n");
321 fprintf(hf, "\n");
323 fprintf(hf, "\n");
652 fprintf(hf, "#endif\n");
676 fprintf(hf, "#endif\n");
688 fprintf(hf, "\n");
691 fprintf(hf, "#endif\n");
692 fprintf(hf, "\n");
699 fprintf(hf, "\n");
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libast/port/
H A Dlcgen.c282 FILE* hf; local
318 fprintf(hf, "\n");
321 fprintf(hf, "\n");
323 fprintf(hf, "\n");
652 fprintf(hf, "#endif\n");
676 fprintf(hf, "#endif\n");
688 fprintf(hf, "\n");
691 fprintf(hf, "#endif\n");
692 fprintf(hf, "\n");
699 fprintf(hf, "\n");
[all …]
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/marten-seemann/qpack/integrationtests/self/
H A Dintegration_test.go31 hf := qpack.HeaderField{
49 for _, hf := range hfs {
120 oldName := hf.Name
121 hf.Name = replaceRandomCharacter(hf.Name)
145 oldName := hf.Name
146 hf.Name = replaceRandomCharacter(hf.Name)
174 oldName := hf.Name
175 hf.Name = replaceRandomCharacter(hf.Name)
199 oldValue := hf.Value
200 hf.Value = replaceRandomCharacter(hf.Value)
[all …]
/dports/dns/nextdns/nextdns-1.32.2/vendor/github.com/marten-seemann/qpack/integrationtests/self/
H A Dintegration_test.go31 hf := qpack.HeaderField{
49 for _, hf := range hfs {
120 oldName := hf.Name
121 hf.Name = replaceRandomCharacter(hf.Name)
145 oldName := hf.Name
146 hf.Name = replaceRandomCharacter(hf.Name)
174 oldName := hf.Name
175 hf.Name = replaceRandomCharacter(hf.Name)
199 oldValue := hf.Value
200 hf.Value = replaceRandomCharacter(hf.Value)
[all …]
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/marten-seemann/qpack/integrationtests/self/
H A Dintegration_test.go31 hf := qpack.HeaderField{
49 for _, hf := range hfs {
120 oldName := hf.Name
121 hf.Name = replaceRandomCharacter(hf.Name)
145 oldName := hf.Name
146 hf.Name = replaceRandomCharacter(hf.Name)
174 oldName := hf.Name
175 hf.Name = replaceRandomCharacter(hf.Name)
199 oldValue := hf.Value
200 hf.Value = replaceRandomCharacter(hf.Value)
[all …]
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/libndb/
H A Dndbhash.c34 if(off < hf->off || off + len > hf->off + hf->len){ in hfread()
36 || (hf->len = read(hf->fd, hf->buf, sizeof(hf->buf))) < len){ in hfread()
42 return &hf->buf[off-hf->off]; in hfread()
53 Ndbhf *hf; in hfopen() local
76 for(hf = db->hf; hf; hf= hf->next){ in hfopen()
88 strncpy(hf->attr, attr, sizeof(hf->attr)-1); in hfopen()
99 hf->next = db->hf; in hfopen()
100 db->hf = hf; in hfopen()
107 free(hf); in hfopen()
119 Ndbhf *hf; in ndbsearch() local
[all …]
/dports/editors/ted/Ted-2.23/docBase/
H A DdocHyperlinkField.c16 utilInitMemoryBuffer( &(hf->hfFile) ); in docInitHyperlinkField()
17 utilInitMemoryBuffer( &(hf->hfBookmark) ); in docInitHyperlinkField()
18 utilInitMemoryBuffer( &(hf->hfFont) ); in docInitHyperlinkField()
23 utilCleanMemoryBuffer( &(hf->hfFile) ); in docCleanHyperlinkField()
25 utilCleanMemoryBuffer( &(hf->hfFont) ); in docCleanHyperlinkField()
40 HyperlinkField hf; in docMakeHyperlinkRelative() local
42 docInitHyperlinkField( &hf ); in docMakeHyperlinkRelative()
44 if ( docGetHyperlinkField( &hf, dfTo ) ) in docMakeHyperlinkRelative()
51 utilEmptyMemoryBuffer( &(hf.hfFile) ); in docMakeHyperlinkRelative()
58 docCleanHyperlinkField( &hf ); in docMakeHyperlinkRelative()
[all …]

12345678910>>...303