/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/IoDevice/ |
H A D | HarddiskIDE.c | 66 return hd->sectorNumReg | (hd->cylinderLowReg << 8) | in getSectorNumber() 181 if (!hd->transferRead || !diskPresent(hd->diskId)) { in harddiskIdeRead() 185 value = hd->sectorData[hd->sectorDataOffset++]; in harddiskIdeRead() 186 value |= hd->sectorData[hd->sectorDataOffset++] << 8; in harddiskIdeRead() 198 if (!hd->transferRead || !diskPresent(hd->diskId)) { in harddiskIdePeek() 202 value = hd->sectorData[hd->sectorDataOffset]; in harddiskIdePeek() 210 if (!hd->transferWrite || !diskPresent(hd->diskId)) { in harddiskIdeWrite() 214 hd->sectorData[hd->sectorDataOffset++] = value & 0xff; in harddiskIdeWrite() 215 hd->sectorData[hd->sectorDataOffset++] = value >> 8; in harddiskIdeWrite() 218 if (!diskWriteSector(hd->diskId, hd->sectorData, hd->transferSectorNumber + 1, 0, 0, 0)) { in harddiskIdeWrite() [all …]
|
/dports/multimedia/libhdhomerun/libhdhomerun/ |
H A D | hdhomerun_device.c | 50 hd->cs = hdhomerun_control_create(0, 0, hd->dbg); in hdhomerun_device_set_device() 69 …hdhomerun_sprintf(hd->name, hd->name + sizeof(hd->name), "%08X-%u", (unsigned int)hd->device_id, h… in hdhomerun_device_set_device() 70 hdhomerun_sprintf(hd->model, hd->model + sizeof(hd->model), ""); /* clear cached model string */ in hdhomerun_device_set_device() 100 hdhomerun_sprintf(hd->model, hd->model + sizeof(hd->model), "multicast"); in hdhomerun_device_set_multicast() 117 …hdhomerun_sprintf(hd->name, hd->name + sizeof(hd->name), "%08X-%u", (unsigned int)hd->device_id, h… in hdhomerun_device_set_tuner() 140 if (!hd) { in hdhomerun_device_create_internal() 146 return hd; in hdhomerun_device_create_internal() 152 if (!hd) { in hdhomerun_device_create() 201 free(hd); in hdhomerun_device_destroy() 1304 hdhomerun_sprintf(hd->model, hd->model + sizeof(hd->model), "hdhomerun_atsc"); in hdhomerun_device_get_model_str() [all …]
|
H A D | hdhomerun_device.h | 69 extern LIBHDHOMERUN_API void hdhomerun_device_destroy(struct hdhomerun_device_t *hd); 74 extern LIBHDHOMERUN_API const char *hdhomerun_device_get_name(struct hdhomerun_device_t *hd); 75 extern LIBHDHOMERUN_API uint32_t hdhomerun_device_get_device_id(struct hdhomerun_device_t *hd); 76 extern LIBHDHOMERUN_API uint32_t hdhomerun_device_get_device_ip(struct hdhomerun_device_t *hd); 79 extern LIBHDHOMERUN_API unsigned int hdhomerun_device_get_tuner(struct hdhomerun_device_t *hd); 128 extern LIBHDHOMERUN_API const char *hdhomerun_device_get_model_str(struct hdhomerun_device_t *hd); 183 extern LIBHDHOMERUN_API int hdhomerun_device_tuner_lockkey_release(struct hdhomerun_device_t *hd); 184 extern LIBHDHOMERUN_API int hdhomerun_device_tuner_lockkey_force(struct hdhomerun_device_t *hd); 219 extern LIBHDHOMERUN_API int hdhomerun_device_stream_start(struct hdhomerun_device_t *hd); 221 extern LIBHDHOMERUN_API void hdhomerun_device_stream_flush(struct hdhomerun_device_t *hd); [all …]
|
/dports/textproc/bibtool/BibTool/regex-0.12/test/ |
H A D | g++malloc.c | 362 { { 0, &(av[0].hd), &(av[0].hd) }, 0 }, 363 { { 0, &(av[1].hd), &(av[1].hd) }, 0 }, 364 { { 0, &(av[2].hd), &(av[2].hd) }, 0 }, 365 { { 0, &(av[3].hd), &(av[3].hd) }, 0 }, 366 { { 0, &(av[4].hd), &(av[4].hd) }, 0 }, 367 { { 0, &(av[5].hd), &(av[5].hd) }, 0 }, 368 { { 0, &(av[6].hd), &(av[6].hd) }, 0 }, 369 { { 0, &(av[7].hd), &(av[7].hd) }, 0 }, 370 { { 0, &(av[8].hd), &(av[8].hd) }, 0 }, 371 { { 0, &(av[9].hd), &(av[9].hd) }, 0 }, [all …]
|
/dports/security/gnupg1/gnupg-1.4.23/g10/ |
H A D | keydb.c | 342 hd = xmalloc_clear (sizeof *hd); in keydb_new() 415 if ( hd->found >= 0 && hd->found < hd->used) in keydb_get_resource_name() 417 else if ( hd->current >= 0 && hd->current < hd->used) in keydb_get_resource_name() 504 if ( hd->found < 0 || hd->found >= hd->used) in keydb_get_keyblock() 530 if ( hd->found < 0 || hd->found >= hd->used) in keydb_update_keyblock() 569 if ( hd->found >= 0 && hd->found < hd->used) in keydb_insert_keyblock() 571 else if ( hd->current >= 0 && hd->current < hd->used) in keydb_insert_keyblock() 605 if ( hd->found < 0 || hd->found >= hd->used) in keydb_delete_keyblock() 651 for ( ; hd->current >= 0 && hd->current < hd->used; hd->current++) in keydb_locate_writable() 667 for ( ; hd->current >= 0 && hd->current < hd->used; hd->current++) in keydb_locate_writable() [all …]
|
/dports/comms/owfs/owfs-3.2p4/module/owserver/src/c/ |
H A D | from_client.c | 58 hd->sm.version = ntohl(hd->sm.version); in FromClient() 59 hd->sm.payload = ntohl(hd->sm.payload); in FromClient() 60 hd->sm.type = ntohl(hd->sm.type); in FromClient() 61 hd->sm.control_flags = ntohl(hd->sm.control_flags); in FromClient() 62 hd->sm.size = ntohl(hd->sm.size); in FromClient() 63 hd->sm.offset = ntohl(hd->sm.offset); in FromClient() 65 …oad=%d size=%d type=%d sg=0x%X offset=%d", hd->sm.payload, hd->sm.size, hd->sm.type, hd->sm.contro… in FromClient() 71 …flags=0x%X offset=%d", hd->sm.payload, Servertokens(hd->sm.version), trueload, hd->sm.size, hd->sm… in FromClient() 73 …e=%d type=%d controlflags=0x%X offset=%d", hd->sm.payload, hd->sm.size, hd->sm.type, hd->sm.contro… in FromClient() 122 hd->sp.datasize = hd->sm.size; in FromClient() [all …]
|
/dports/astro/xtide/libtcd-2.2.7/ |
H A D | tide_db.c | 1873 if (hd.pub.tzfiles == hd.max_tzfiles) in add_tzfile() 1889 if (hd.tzfile[hd.pub.tzfiles] == NULL) in add_tzfile() 1939 if (hd.pub.countries == hd.max_countries) in add_country() 1955 if (hd.country[hd.pub.countries] == NULL) in add_country() 2021 if (hd.datum[hd.pub.datum_types] == NULL) in add_datum() 2640 size = hd.max_tzfiles * hd.tzfile_size; in write_tide_db_header() 2776 temp_int = NINT (hd.speed[i] * hd.speed_scale) - hd.speed_offset; in write_tide_db_header() 3001 hd.latitude_bits + hd.longitude_bits + hd.tzfile_bits + in read_partial_tide_record() 3059 memset (&hd, 0, sizeof (hd)); in read_tide_db_header() 3699 if (hd.speed != NULL) free (hd.speed); in close_tide_db() [all …]
|
H A D | tide_db_header.h | 144 static TIDE_HEADER_DATA hd; variable 156 {(NV_CHAR *) hd.pub.version}, 216 {(NV_CHAR *) &hd.pub.tzfiles}, 241 {(NV_CHAR *) &hd.speed_bits}, 271 {(NV_CHAR *) &hd.node_bits}, 276 {(NV_CHAR *) &hd.node_scale}, 296 {(NV_CHAR *) &hd.epoch_bits}, 341 {(NV_CHAR *) &hd.datum_bits}, 396 {(NV_CHAR *) &hd.date_bits}, 411 {(NV_CHAR *) &hd.time_bits}, [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/greybus/ |
H A D | hd.c | 27 if (!hd || !hd->driver || !hd->driver->output) in gb_hd_output() 29 return hd->driver->output(hd, req, size, cmd, async); in gb_hd_output() 79 return hd->driver->cport_allocate(hd, cport_id, flags); in gb_hd_cport_allocate() 99 hd->driver->cport_release(hd, cport_id); in gb_hd_cport_release() 116 kfree(hd); in gb_hd_release() 162 if (!hd) in gb_hd_create() 167 kfree(hd); in gb_hd_create() 183 hd->dev.dma_mask = hd->dev.parent->dma_mask; in gb_hd_create() 185 dev_set_name(&hd->dev, "greybus%d", hd->bus_id); in gb_hd_create() 189 hd->svc = gb_svc_create(hd); in gb_hd_create() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/greybus/ |
H A D | hd.c | 27 if (!hd || !hd->driver || !hd->driver->output) in gb_hd_output() 29 return hd->driver->output(hd, req, size, cmd, async); in gb_hd_output() 79 return hd->driver->cport_allocate(hd, cport_id, flags); in gb_hd_cport_allocate() 99 hd->driver->cport_release(hd, cport_id); in gb_hd_cport_release() 116 kfree(hd); in gb_hd_release() 162 if (!hd) in gb_hd_create() 167 kfree(hd); in gb_hd_create() 183 hd->dev.dma_mask = hd->dev.parent->dma_mask; in gb_hd_create() 185 dev_set_name(&hd->dev, "greybus%d", hd->bus_id); in gb_hd_create() 189 hd->svc = gb_svc_create(hd); in gb_hd_create() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/greybus/ |
H A D | hd.c | 27 if (!hd || !hd->driver || !hd->driver->output) in gb_hd_output() 29 return hd->driver->output(hd, req, size, cmd, async); in gb_hd_output() 79 return hd->driver->cport_allocate(hd, cport_id, flags); in gb_hd_cport_allocate() 99 hd->driver->cport_release(hd, cport_id); in gb_hd_cport_release() 116 kfree(hd); in gb_hd_release() 162 if (!hd) in gb_hd_create() 167 kfree(hd); in gb_hd_create() 183 hd->dev.dma_mask = hd->dev.parent->dma_mask; in gb_hd_create() 185 dev_set_name(&hd->dev, "greybus%d", hd->bus_id); in gb_hd_create() 189 hd->svc = gb_svc_create(hd); in gb_hd_create() [all …]
|
/dports/security/gnupg1/gnupg-1.4.23/cipher/ |
H A D | sha256.c | 128 a = hd->h0; in transform() 129 b = hd->h1; in transform() 130 c = hd->h2; in transform() 201 transform( hd, hd->buf ); in sha256_write() 210 hd->buf[hd->count++] = *inbuf++; in sha256_write() 225 hd->buf[hd->count++] = *inbuf++; in sha256_write() 260 hd->buf[hd->count++] = 0x80; /* pad */ in sha256_final() 262 hd->buf[hd->count++] = 0; /* pad */ in sha256_final() 265 hd->buf[hd->count++] = 0x80; /* pad character */ in sha256_final() 267 hd->buf[hd->count++] = 0; in sha256_final() [all …]
|
H A D | sha512.c | 163 a = hd->h0; in transform() 164 b = hd->h1; in transform() 165 c = hd->h2; in transform() 241 transform( hd, hd->buf ); in sha512_write() 250 hd->buf[hd->count++] = *inbuf++; in sha512_write() 265 hd->buf[hd->count++] = *inbuf++; in sha512_write() 300 hd->buf[hd->count++] = 0x80; /* pad */ in sha512_final() 302 hd->buf[hd->count++] = 0; /* pad */ in sha512_final() 305 hd->buf[hd->count++] = 0x80; /* pad character */ in sha512_final() 307 hd->buf[hd->count++] = 0; in sha512_final() [all …]
|
/dports/multimedia/kodi-addon-pvr.hts/pvr.hts-19.0.4-Matrix/lib/libhts/ |
H A D | htsbuf.c | 62 free(hd); in htsbuf_data_free() 92 c = MIN(hd->hd_data_size - hd->hd_data_len, len); in htsbuf_append() 93 memcpy(hd->hd_data + hd->hd_data_len, buf, c); in htsbuf_append() 148 c = MIN(hd->hd_data_len - hd->hd_data_off, len); in htsbuf_read() 149 memcpy(buf, hd->hd_data + hd->hd_data_off, c); in htsbuf_read() 156 if(hd->hd_data_off == hd->hd_data_len) in htsbuf_read() 177 o += hd->hd_data_len - hd->hd_data_off; in htsbuf_find() 196 c = MIN(hd->hd_data_len - hd->hd_data_off, len); in htsbuf_peek() 197 memcpy(buf, hd->hd_data + hd->hd_data_off, c); in htsbuf_peek() 202 hd = TAILQ_NEXT(hd, hd_link); in htsbuf_peek() [all …]
|
/dports/security/gnupg/gnupg-2.3.3/g10/ |
H A D | keydb.c | 953 if ( hd->found >= 0 && hd->found < hd->used) in keydb_get_resource_name() 955 else if ( hd->current >= 0 && hd->current < hd->used) in keydb_get_resource_name() 1084 if (hd->found < 0 || hd->found >= hd->used) in keydb_push_found_state() 1119 if (hd->found < 0 || hd->found >= hd->used) in keydb_pop_found_state() 1314 if (hd->found < 0 || hd->found >= hd->used) in internal_keydb_get_keyblock() 1416 log_assert (hd->found >= 0 && hd->found < hd->used); in internal_keydb_update_keyblock() 1475 if (hd->found >= 0 && hd->found < hd->used) in internal_keydb_insert_keyblock() 1477 else if (hd->current >= 0 && hd->current < hd->used) in internal_keydb_insert_keyblock() 1536 if (hd->found < 0 || hd->found >= hd->used) in internal_keydb_delete_keyblock() 1594 for ( ; hd->current >= 0 && hd->current < hd->used; hd->current++) in keydb_locate_writable() [all …]
|
/dports/games/0ad/0ad-0.0.23b-alpha/source/lib/res/ |
H A D | h_mgr.cpp | 310 if(hd->type != type || hd->key != key) in key_find() 550 if(hd->refs > 0 || hd->keep_open) in h_free_hd() 563 if(hd->key && !hd->unique) in h_free_hd() 564 key_remove(hd->key, hd->type); in h_free_hd() 578 memset(hd, 0, sizeof(*hd)); in h_free_hd() 649 if(hd->key == 0 || hd->key != key || hd->disallow_reload) in h_reload() 651 hd->type->dtor(hd->user); in h_reload() 660 if(hd->key == 0 || hd->key != key || hd->disallow_reload) in h_reload() 663 Status err = hd->type->reload(hd->user, vfs, hd->pathname, hd->h); in h_reload() 667 h_free(hd->h, hd->type); in h_reload() [all …]
|
/dports/security/gnupg/gnupg-2.3.3/sm/ |
H A D | keydb.c | 708 if ( hd->found >= 0 && hd->found < hd->used) in keydb_get_resource_name() 710 else if ( hd->current >= 0 && hd->current < hd->used) in keydb_get_resource_name() 880 if (hd->found < 0 || hd->found >= hd->used) in keydb_push_found_state() 922 if (hd->found < 0 || hd->found >= hd->used) in keydb_pop_found_state() 986 if ( hd->found < 0 || hd->found >= hd->used) in keydb_get_cert() 1036 if ( hd->found < 0 || hd->found >= hd->used) in keydb_get_flags() 1083 if ( hd->found < 0 || hd->found >= hd->used) in keydb_set_flags() 1179 if ( hd->found >= 0 && hd->found < hd->used) in keydb_insert_cert() 1233 if ( hd->found < 0 || hd->found >= hd->used) in keydb_update_cert() 1285 if (!hd->use_keyboxd && (hd->found < 0 || hd->found >= hd->used)) in keydb_delete() [all …]
|
/dports/astro/opencpn/OpenCPN-5.2.4/src/ |
H A D | tcmgr.cpp | 3361 if (hd.pub.tzfiles == hd.max_tzfiles) in add_tzfile() 3374 if (hd.tzfile[hd.pub.tzfiles] == NULL) in add_tzfile() 3424 if (hd.pub.countries == hd.max_countries) in add_country() 3437 if (hd.country[hd.pub.countries] == NULL) in add_country() 3500 if (hd.datum[hd.pub.datum_types] == NULL) in add_datum() 3535 if (hd.pub.legaleses == hd.max_legaleses) in add_legalese() 4114 size = hd.max_tzfiles * hd.tzfile_size; in write_tide_db_header() 4250 temp_int = NINT (hd.speed[i] * hd.speed_scale) - hd.speed_offset; in write_tide_db_header() 4532 memset (&hd, 0, sizeof (hd)); in read_tide_db_header() 5168 if (hd.speed != NULL) free (hd.speed); in close_tide_db() [all …]
|
/dports/security/libgcrypt/libgcrypt-1.9.4/src/ |
H A D | hmac256.c | 258 hd->buf[hd->count++] = 0x80; /* pad */ in finalize() 260 hd->buf[hd->count++] = 0; /* pad */ in finalize() 266 hd->buf[hd->count++] = 0; in finalize() 279 transform (hd, hd->buf); in finalize() 284 *p++ = hd->h##a >> 8; *p++ = hd->h##a; } while(0) in finalize() 308 hd = xtrymalloc (sizeof *hd); in _gcry_hmac256_new() 309 if (!hd) in _gcry_hmac256_new() 395 transform (hd, hd->buf); in _gcry_hmac256_update() 404 hd->buf[hd->count++] = *inbuf++; in _gcry_hmac256_update() 420 hd->buf[hd->count++] = *inbuf++; in _gcry_hmac256_update() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/libgcrypt/src/ |
H A D | hmac256.c | 258 hd->buf[hd->count++] = 0x80; /* pad */ in finalize() 260 hd->buf[hd->count++] = 0; /* pad */ in finalize() 266 hd->buf[hd->count++] = 0; in finalize() 279 transform (hd, hd->buf); in finalize() 284 *p++ = hd->h##a >> 8; *p++ = hd->h##a; } while(0) in finalize() 308 hd = xtrymalloc (sizeof *hd); in _gcry_hmac256_new() 309 if (!hd) in _gcry_hmac256_new() 395 transform (hd, hd->buf); in _gcry_hmac256_update() 404 hd->buf[hd->count++] = *inbuf++; in _gcry_hmac256_update() 420 hd->buf[hd->count++] = *inbuf++; in _gcry_hmac256_update() [all …]
|
/dports/math/ccmath/ccmath-2.2.1/sort/ |
H A D | batins.c | 13 t=hd; v= &(hd->pr); s=hd=hd->pr; in batins() 16 if((ef=strcmp(kin,hd->key))==0) return hd; in batins() 17 else if(ef<0) v= &(hd->pl); else v= &(hd->pr); in batins() 28 while(hd!= *v){ if(strcmp(kin,hd->key)<0){ hd->bal= -1; hd=hd->pl;} in batins() 29 else{ hd->bal=1; hd=hd->pr;} in batins() 32 if(avl<0){ if(r->bal== -avl){ hd=r->pr; r->pr=hd->pl; hd->pl=r;} in batins() 33 s->pl=hd->pr; hd->pr=s; in batins() 35 else{ if(r->bal== -avl){ hd=r->pl; r->pl=hd->pr; hd->pr=r;} in batins() 36 s->pr=hd->pl; hd->pl=s; in batins() 38 if(hd==r || hd->bal==0) s->bal=r->bal=0; in batins() [all …]
|
/dports/security/md5deep/hashdeep-cd2ed74/src/ |
H A D | tiger.c | 771 transform( hd, hd->buf ); in tiger_write() 781 hd->buf[hd->count++] = *inbuf++; in tiger_write() 797 hd->buf[hd->count++] = *inbuf++; in tiger_write() 830 hd->buf[hd->count++] = pad; in tiger_final() 832 hd->buf[hd->count++] = 0; /* pad */ in tiger_final() 838 hd->buf[hd->count++] = 0; in tiger_final() 851 transform( hd, hd->buf ); in tiger_final() 859 *p++ = hd->a >> 40; *p++ = hd->a >> 32; \ in tiger_final() 860 *p++ = hd->a >> 24; *p++ = hd->a >> 16; \ in tiger_final() 864 *p++ = hd->a >> 16; *p++ = hd->a >> 24; \ in tiger_final() [all …]
|
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/tagsoup-0.14.8/src/Text/HTML/TagSoup/ |
H A D | Specification.hs | 62 f [] S{..} = white hd || hd == '/' || hd == '>' || hd == '?' || eof 67 _ | isAlpha hd -> Tag & '?' & hd & tagName TypeXml tl 97 _ | isAlpha hd || hd `elem` "?!" -> TagShut & hd & tagName TypeNormal tl 109 _ | isAlpha hd -> hd & tagName typ tl 121 _ | hd `elem` "\"'<=" -> errSeen [hd] & AttName & hd & attName typ tl 133 _ | hd `elem` "\"'<" -> errSeen [hd] & def 147 _ | hd `elem` "\"'<" -> errSeen [hd] & def 160 _ | hd `elem` "<=" -> errSeen [hd] & def 188 _ | hd `elem` "\"'<=" -> errSeen [hd] & def 285 _ | white hd -> hd & commentEndSpace tl [all …]
|
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/tagsoup-0.14.8/src/Text/HTML/TagSoup/ |
H A D | Specification.hs | 62 f [] S{..} = white hd || hd == '/' || hd == '>' || hd == '?' || eof 67 _ | isAlpha hd -> Tag & '?' & hd & tagName TypeXml tl 97 _ | isAlpha hd || hd `elem` "?!" -> TagShut & hd & tagName TypeNormal tl 109 _ | isAlpha hd -> hd & tagName typ tl 121 _ | hd `elem` "\"'<=" -> errSeen [hd] & AttName & hd & attName typ tl 133 _ | hd `elem` "\"'<" -> errSeen [hd] & def 147 _ | hd `elem` "\"'<" -> errSeen [hd] & def 160 _ | hd `elem` "<=" -> errSeen [hd] & def 188 _ | hd `elem` "\"'<=" -> errSeen [hd] & def 285 _ | white hd -> hd & commentEndSpace tl [all …]
|
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/tagsoup-0.14.8/src/Text/HTML/TagSoup/ |
H A D | Specification.hs | 62 f [] S{..} = white hd || hd == '/' || hd == '>' || hd == '?' || eof 67 _ | isAlpha hd -> Tag & '?' & hd & tagName TypeXml tl 97 _ | isAlpha hd || hd `elem` "?!" -> TagShut & hd & tagName TypeNormal tl 109 _ | isAlpha hd -> hd & tagName typ tl 121 _ | hd `elem` "\"'<=" -> errSeen [hd] & AttName & hd & attName typ tl 133 _ | hd `elem` "\"'<" -> errSeen [hd] & def 147 _ | hd `elem` "\"'<" -> errSeen [hd] & def 160 _ | hd `elem` "<=" -> errSeen [hd] & def 188 _ | hd `elem` "\"'<=" -> errSeen [hd] & def 285 _ | white hd -> hd & commentEndSpace tl [all …]
|