/dports/devel/fossil/fossil-src-2.17/src/ |
H A D | http_ssl.c | 350 char zHash[EVP_MAX_MD_SIZE*2+1]; in ssl_open() local 354 zHash[0] = 0; in ssl_open() 367 zHash[j*2] = 0; in ssl_open() 372 ssl_one_time_exception(pUrlData, zHash); in ssl_open() 398 ssl_one_time_exception(pUrlData, zHash); in ssl_open() 441 const char *zHash in ssl_remember_certificate_exception() argument 452 const char *zHash in ssl_certificate_exception_exists() argument 456 && fossil_strcmp(sException.zHash,zHash)==0 in ssl_certificate_exception_exists() 471 const char *zHash in ssl_one_time_exception() argument 475 fossil_free(sException.zHash); in ssl_one_time_exception() [all …]
|
H A D | etag.c | 96 void etag_check(unsigned eFlags, const char *zHash){ in etag_check() argument 113 if( (eFlags & ETAG_HASH)!=0 && zHash ){ in etag_check() 115 md5sum_step_text(zHash, -1); in etag_check() 184 void etag_check_for_invariant_name(const char *zHash){ in etag_check_for_invariant_name() argument 185 size_t nHash = strlen(zHash); in etag_check_for_invariant_name() 189 if( !validate16(zHash, (int)nHash) ){ in etag_check_for_invariant_name() 263 const char *zHash = 0; in test_etag_cmd() local 268 zHash = find_option("hash",0,1); in test_etag_cmd() 270 etag_check(iKey, zHash); in test_etag_cmd()
|
H A D | hname.c | 80 int hname_validate(const char *zHash, int nHash){ in hname_validate() argument 87 if( !validate16(zHash, nHash) ) return HNAME_ERROR; in hname_validate() 101 int hname_verify_hash(Blob *pContent, const char *zHash, int nHash){ in hname_verify_hash() argument 107 if( memcmp(blob_buffer(&hash),zHash,HNAME_LEN_SHA1)==0 ) id = HNAME_SHA1; in hname_verify_hash() 114 if( memcmp(sha3sum_finish(0),zHash,64)==0 ) id = HNAME_K256; in hname_verify_hash() 133 int hname_verify_file_hash(const char *zFile, const char *zHash, int nHash){ in hname_verify_file_hash() argument 139 if( memcmp(blob_buffer(&hash),zHash,HNAME_LEN_SHA1)==0 ) id = HNAME_SHA1; in hname_verify_file_hash() 146 if( memcmp(blob_buffer(&hash),zHash,64)==0 ) id = HNAME_LEN_K256; in hname_verify_file_hash()
|
H A D | unversioned.c | 67 if( zHash ) return zHash; in unversioned_content_hash() 85 zHash = db_get("uv-hash",0); in unversioned_content_hash() 87 return zHash; in unversioned_content_hash() 179 const char *zHash in unversioned_status() argument 190 hashCmp = strcmp(zLocalHash, zHash); in unversioned_status() 454 if( zHash==0 ){ in unversioned_cmd() 456 zHash = "(deleted)"; in unversioned_cmd() 461 zHash, in unversioned_cmd() 577 int isDeleted = zHash==0; in uvlist_page() 603 zHash = ""; in uvlist_page() [all …]
|
H A D | interwiki.c | 103 const char *zHash = db_column_text(&q,1); in interwiki_url() local 104 if( zHash && zHash[0] ){ in interwiki_url() 105 zUrl = mprintf("%s%s%s", zBase, zHash, zPage); in interwiki_url() 196 const char *zHash = find_option("hash",0,1); in interwiki_cmd() local 214 zName, zBase, zHash, zWiki in interwiki_cmd() 314 const char *zHash = ""; in interwiki_page() local 326 zHash = PT("hash"); in interwiki_page() 335 if( zHash && zHash[0]==0 ) zHash = 0; in interwiki_page() 343 zTag, zBase, zHash, zWiki); in interwiki_page()
|
H A D | login.c | 286 char *zHash = 0; in login_set_user_cookie() local 291 zHash = db_text(0, in login_set_user_cookie() 297 if( zHash==0 ) zHash = db_text(0, "SELECT hex(randomblob(25))"); in login_set_user_cookie() 305 zHash, expires, uid); in login_set_user_cookie() 307 fossil_free(zHash); in login_set_user_cookie() 870 zLogin, zHash in login_transfer_credentials() 879 zHash, in login_transfer_credentials() 1041 for(i=0; (c = zHash[i])!=0; i++){ in login_check_credentials() 1043 zHash[i++] = 0; in login_check_credentials() 1045 zArg = &zHash[i]; in login_check_credentials() [all …]
|
H A D | cache.c | 427 char *zHash = cache_hash_of_key((const char*)zName); in cache_page() 432 if( zHash ){ in cache_page() 433 @ %z(href("%R/timeline?c=%S",zHash))check-in</a>\ in cache_page() 434 fossil_free(zHash); in cache_page()
|
H A D | xfer.c | 721 const char *zHash = db_column_text(&q1, 1); in send_unversioned_file() local 733 zName, mtime, zHash, db_column_int(&q1,3)); in send_unversioned_file() 736 if( zHash==0 ){ in send_unversioned_file() 739 blob_appendf(pXfer->pOut, " %s %d 4\n", zHash, db_column_int(&q1,3)); in send_unversioned_file() 747 blob_appendf(pXfer->pOut, " %s %d 0\n", zHash, blob_size(&content)); in send_unversioned_file() 1075 const char *zHash = db_column_text(&uvq,2); in send_unversioned_catalog() local 1078 if( zHash==0 ){ sz = 0; zHash = "-"; } in send_unversioned_catalog() 1080 zName, mtime, zHash, sz); in send_unversioned_catalog() 2341 const char *zHash = blob_str(&xfer.aToken[3]); in client_sync() local 2343 iStatus = unversioned_status(zName, mtime, zHash); in client_sync() [all …]
|
H A D | patch.c | 515 const char *zHash = db_column_text(&q,1); in patch_apply() local 527 }else if( zHash ){ in patch_apply() 529 int rid = fast_uuid_to_rid(zHash); in patch_apply() 534 zHash, zPathname); in patch_apply()
|
H A D | shun.c | 387 const char *zHash = zHashType[usesSha1+usesSha3*2]; in rcvfromlist_page() local 401 @ <td style="padding-right: 15px;text-align: left;">%s(zHash)</td> in rcvfromlist_page() 524 const char *zHash = db_column_text(&q,1); in rcvfrom_page() local 526 int isDeleted = zHash==0; in rcvfrom_page()
|
H A D | db.c | 2951 static char zHash[HNAME_MAX+1]; in db_conceal() local 2954 memcpy(zHash, zContent, n); in db_conceal() 2955 zHash[n] = 0; in db_conceal() 2959 sqlite3_snprintf(sizeof(zHash), zHash, "%s", blob_str(&out)); in db_conceal() 2964 zHash, n, zContent in db_conceal() 2967 return zHash; in db_conceal()
|
H A D | stat.c | 1004 const char *zHash = db_column_text(&q, 1); in artifact_stats_page() local 1009 @ <td>%z(href("%R/info/%!S",zHash))%S(zHash)</a></td> in artifact_stats_page()
|
H A D | branch.c | 407 const char * zHash = db_column_text(&q, 0); in branch_cmd_tag_finalize() local 409 blob_appendf(&manifest, "T %s %s\n", zTag, zHash); in branch_cmd_tag_finalize()
|
H A D | manifest.c | 349 const char *zHash; in verify_z_card() local 354 zHash = md5sum_finish(0); in verify_z_card() 355 if( memcmp(&z[n-33], zHash, 32)==0 ){ in verify_z_card() 359 blob_appendf(pErr, "incorrect Z-card cksum: expected %.32s", zHash); in verify_z_card()
|
/dports/devel/svntrac/cvstrac-2.0.1/ |
H A D | login.c | 104 unsigned char zHash[200]; in login_page() local 109 bprintf((char *)zHash,sizeof(zHash),"%d%d%.19s", getpid(), (int)now, zPasswd); in login_page() 111 MD5Update(&ctx, zHash, strlen((char *)zHash)); in login_page()
|
/dports/devel/cvstrac/cvstrac-2.0.1/ |
H A D | login.c | 104 unsigned char zHash[200]; in login_page() local 109 bprintf((char *)zHash,sizeof(zHash),"%d%d%.19s", getpid(), (int)now, zPasswd); in login_page() 111 MD5Update(&ctx, zHash, strlen((char *)zHash)); in login_page()
|
/dports/devel/gittrac/cvstrac-2.0.1/ |
H A D | login.c | 104 unsigned char zHash[200]; in login_page() local 109 bprintf((char *)zHash,sizeof(zHash),"%d%d%.19s", getpid(), (int)now, zPasswd); in login_page() 111 MD5Update(&ctx, zHash, strlen((char *)zHash)); in login_page()
|
/dports/databases/sqlite3/sqlite-src-3350500/tool/ |
H A D | mksourceid.c | 764 char zHash[100]; in main() local 808 rc = sha1sum_file(zFilename, zHash); in main() 810 rc = sha3sum_file(zFilename, 256, zHash); in main() 817 }else if( strcmp(zHash, zMHash)!=0 ){ in main() 822 printf("... got: %s\n", zHash); in main() 828 DigestToBase16(SHA3Final(&ctx), zHash, 256/8); in main() 830 printf("%s %.60salt1\n", zDate, zHash); in main() 832 printf("%s %s\n", zDate, zHash); in main()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/sqlite/src/tool/ |
H A D | mksourceid.c | 764 char zHash[100]; in main() local 808 rc = sha1sum_file(zFilename, zHash); in main() 810 rc = sha3sum_file(zFilename, 256, zHash); in main() 817 }else if( strcmp(zHash, zMHash)!=0 ){ in main() 822 printf("... got: %s\n", zHash); in main() 828 DigestToBase16(SHA3Final(&ctx), zHash, 256/8); in main() 830 printf("%s %.60salt1\n", zDate, zHash); in main() 832 printf("%s %s\n", zDate, zHash); in main()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/tool/ |
H A D | mksourceid.c | 764 char zHash[100]; in main() local 808 rc = sha1sum_file(zFilename, zHash); in main() 810 rc = sha3sum_file(zFilename, 256, zHash); in main() 817 }else if( strcmp(zHash, zMHash)!=0 ){ in main() 822 printf("... got: %s\n", zHash); in main() 828 DigestToBase16(SHA3Final(&ctx), zHash, 256/8); in main() 830 printf("%s %.60salt1\n", zDate, zHash); in main() 832 printf("%s %s\n", zDate, zHash); in main()
|
/dports/graphics/qgis/qgis-3.22.3/src/core/ |
H A D | qgstessellator.cpp | 337 …const QgsLineString *ring, std::vector<p2t::Point *> &polyline, QHash<p2t::Point *, float> *zHash ) in _ringToPoly2tri() argument 362 if ( zHash ) in _ringToPoly2tri() 364 ( *zHash )[pt2] = *srcZData++; in _ringToPoly2tri()
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/ |
H A D | qgstessellator.cpp | 337 …const QgsLineString *ring, std::vector<p2t::Point *> &polyline, QHash<p2t::Point *, float> *zHash ) in _ringToPoly2tri() argument 362 if ( zHash ) in _ringToPoly2tri() 364 ( *zHash )[pt2] = *srcZData++; in _ringToPoly2tri()
|
/dports/databases/sqlcipher/sqlcipher-3.4.2/ext/misc/ |
H A D | spellfix.c | 1823 char zHash[SPELLFIX_MX_HASH]; /* the phonehash used for this match */ member 2247 char zHash[SPELLFIX_MX_HASH]; /* The current phonehash for zPattern */ member 2382 memcpy(pCur->a[idx].zHash, zHash1, iScope+1); in spellfix1RunQuery() 2665 sqlite3_result_text(ctx, pCur->a[pCur->iRow].zHash, -1, SQLITE_STATIC); in spellfix1Column()
|
/dports/databases/sqlite-ext-spellfix/sqlite-ext-spellfix-3.8.11.1_1/sqlite-src-3081101/ext/misc/ |
H A D | spellfix.c | 1788 char zHash[SPELLFIX_MX_HASH]; /* the phonehash used for this match */ member 2215 char zHash[SPELLFIX_MX_HASH]; /* The current phonehash for zPattern */ member 2340 memcpy(pCur->a[idx].zHash, zHash1, iScope+1); in spellfix1RunQuery() 2622 sqlite3_result_text(ctx, pCur->a[pCur->iRow].zHash, -1, SQLITE_STATIC); in spellfix1Column()
|
/dports/databases/sqlite3/sqlite-src-3350500/ext/misc/ |
H A D | spellfix.c | 1944 char zHash[SPELLFIX_MX_HASH]; /* the phonehash used for this match */ member 2369 char zHash[SPELLFIX_MX_HASH]; /* The current phonehash for zPattern */ member 2504 memcpy(pCur->a[idx].zHash, zHash1, iScope+1); in spellfix1RunQuery() 2787 sqlite3_result_text(ctx, pCur->a[pCur->iRow].zHash, -1, SQLITE_STATIC); in spellfix1Column()
|