/dports/astro/astrometry/astrometry.net-0.85/qfits-an/ |
H A D | qfits_md5.c | 88 char * buf_c; in qfits_datamd5() local 126 buf_c = buf; in qfits_datamd5() 128 if (buf_c[0]=='E' && in qfits_datamd5() 129 buf_c[1]=='N' && in qfits_datamd5() 130 buf_c[2]=='D' && in qfits_datamd5() 131 buf_c[3]==' ') { in qfits_datamd5() 135 buf_c += FITS_LINESZ; in qfits_datamd5() 150 buf_c = buf; in qfits_datamd5() 153 if (buf_c[0]=='E' && in qfits_datamd5() 154 buf_c[1]=='N' && in qfits_datamd5() [all …]
|
/dports/security/clamd-stream-client/clamd-stream-client-1.3/ |
H A D | clamd-stream-client.c | 88 char *buf_c; in check() local 183 buf_c = buf + buf_len; in check() 184 while(*buf_c=='\r' || *buf_c == '\r' || *buf_c == ' ') in check() 185 *buf_c --; in check() 186 if (buf_c - buf >= sizeof(" FOUND") && in check() 187 strncasecmp(buf_c - sizeof(" FOUND"), " FOUND", in check() 190 buf_c -= sizeof(" FOUND"); in check() 195 fprintf(stdout, "%.*s\n", (int)(buf_c - buf_s), buf_s); in check()
|
/dports/textproc/the_silver_searcher/the_silver_searcher-2.2.0/src/ |
H A D | decompress.c | 232 const unsigned char *buf_c = buf; in is_zipped() local 239 if (buf_c[0] == 0x1F) { in is_zipped() 240 if (buf_c[1] == 0x8B) { in is_zipped() 245 } else if (buf_c[1] == 0x9B) { in is_zipped() 254 if (buf_c[0] == 0x50 && buf_c[1] == 0x4B && buf_c[2] == 0x03 && buf_c[3] == 0x04) { in is_zipped() 262 if (memcmp(XZ_HEADER_MAGIC, buf_c, 6) == 0) { in is_zipped() 270 if (memcmp(LZMA_HEADER_SOMETIMES, buf_c, 3) == 0) { in is_zipped()
|
H A D | util.c | 336 const unsigned char *buf_c = buf; in is_binary() local 344 if (buf_len >= 3 && buf_c[0] == 0xEF && buf_c[1] == 0xBB && buf_c[2] == 0xBF) { in is_binary() 355 if (buf_c[i] == '\0') { in is_binary() 358 } else if ((buf_c[i] < 7 || buf_c[i] > 14) && (buf_c[i] < 32 || buf_c[i] > 127)) { in is_binary() 360 if (buf_c[i] > 193 && buf_c[i] < 224 && i + 1 < total_bytes) { in is_binary() 362 if (buf_c[i] > 127 && buf_c[i] < 192) { in is_binary() 365 } else if (buf_c[i] > 223 && buf_c[i] < 240 && i + 2 < total_bytes) { in is_binary() 367 if (buf_c[i] > 127 && buf_c[i] < 192 && buf_c[i + 1] > 127 && buf_c[i + 1] < 192) { in is_binary()
|
/dports/www/trafficserver/trafficserver-9.1.1/plugins/xdebug/ |
H A D | xdebug_headers.cc | 166 TSMBuffer buf_c, buf_s; in print_request_headers() local 168 if (TSHttpTxnClientReqGet(txn, &buf_c, &hdr_loc) == TS_SUCCESS) { in print_request_headers() 170 print_headers(txn, buf_c, hdr_loc, output); in print_request_headers() 172 TSHandleMLocRelease(buf_c, TS_NULL_MLOC, hdr_loc); in print_request_headers() 185 TSMBuffer buf_c, buf_s; in print_response_headers() local 193 if (TSHttpTxnClientRespGet(txn, &buf_c, &hdr_loc) == TS_SUCCESS) { in print_response_headers() 195 print_headers(txn, buf_c, hdr_loc, output); in print_response_headers() 197 TSHandleMLocRelease(buf_c, TS_NULL_MLOC, hdr_loc); in print_response_headers()
|
/dports/net-im/toxext/toxext-0.0.3/test/ |
H A D | multiple_big_packets.c | 11 static uint8_t const buf_c[TOXEXT_MAX_SEGMENT_SIZE] = { 0xfe, 0xfe, 0xfd, 0xfc }; variable 19 uint8_t buf_c[TOXEXT_MAX_SEGMENT_SIZE]; member 50 output = my_extension_user->buf_c; in my_extension_recv_callback() 137 memset(user_b.buf_c, 0, TOXEXT_MAX_SEGMENT_SIZE); in main() 152 err = my_extension_create_buf_request(user_a.extension_handle, buf_c, in main() 170 assert(memcmp(user_b.buf_c, buf_c, TOXEXT_MAX_SEGMENT_SIZE) != 0); in main() 177 assert(memcmp(user_b.buf_c, buf_c, TOXEXT_MAX_SEGMENT_SIZE) == 0); in main()
|
/dports/misc/urbit/urbit-urbit-0.6.0/vere/ |
H A D | cttp.c | 296 _cttp_mcut_char(c3_c* buf_c, c3_w len_w, c3_c chr_c) in _cttp_mcut_char() argument 298 if ( buf_c ) { in _cttp_mcut_char() 299 buf_c[len_w] = chr_c; in _cttp_mcut_char() 311 if ( buf_c ) { in _cttp_mcut_cord() 332 len_w = _cttp_mcut_char(buf_c, len_w, sep_c); in _cttp_mcut_path() 359 len_w = _cttp_mcut_char(buf_c, len_w, '.'); in _cttp_mcut_pork() 380 len_w = _cttp_mcut_char(buf_c, len_w, '&'); in _cttp_mcut_quay() 382 len_w = _cttp_mcut_char(buf_c, len_w, '='); in _cttp_mcut_quay() 394 _cttp_mcut_url(c3_c* buf_c, c3_w len_w, u3_noun pul) in _cttp_mcut_url() argument 399 len_w = _cttp_mcut_char(buf_c, len_w, '/'); in _cttp_mcut_url() [all …]
|
/dports/astro/gpsd/gpsd-3.20/tests/ |
H A D | test_timespec.c | 191 char buf_c[TIMESPEC_LEN]; in test_ts_subtract() local 198 timespec_str( &p->c, buf_c, sizeof(buf_c) ); in test_ts_subtract() 202 buf_a, buf_b, buf_r, buf_c); in test_ts_subtract() 235 char buf_c[TIMESPEC_LEN]; in test_ns_subtract() local 243 timespec_str( &p->c, buf_c, sizeof(buf_c) ); in test_ns_subtract() 248 buf_a, buf_b, buf_r, buf_c); in test_ns_subtract() 391 char buf_c[TIMESPEC_LEN]; in ex_subtract_float() local 435 timespec_str( &p->c, buf_c, sizeof(buf_c) ); in ex_subtract_float() 448 if ( strcmp( buf_r, buf_c) ) { in ex_subtract_float() 452 if ( strcmp( buf_l, buf_c) ) { in ex_subtract_float() [all …]
|
/dports/math/blis/blis-0.8.1/frame/3/ |
H A D | bli_l3_ukr_oapi.c | 57 void* buf_c = bli_obj_buffer_at_off( c ); \ 83 buf_c, rs_c, cs_c, \ 192 void* buf_c = bli_obj_buffer_at_off( c ); \ 216 buf_c, rs_c, cs_c, \ 232 buf_c, rs_c, cs_c, \
|
H A D | bli_l3_sup_var12.c | 106 void* restrict buf_c = bli_obj_buffer_at_off( c ); 160 void* restrict buf_c = bli_obj_buffer_at_off( c ); 185 buf_c, rs_c, cs_c, 453 void* restrict buf_c = bli_obj_buffer_at_off( c ); 507 void* restrict buf_c = bli_obj_buffer_at_off( c ); 532 buf_c, rs_c, cs_c,
|
H A D | bli_l3_sup_var1n2m.c | 109 void* restrict buf_c = bli_obj_buffer_at_off( c ); in bli_gemmsup_ref_var1n() 165 void* restrict buf_c = bli_obj_buffer_at_off( c ); in bli_gemmsup_ref_var1n() local 200 buf_c, rs_c, cs_c, in bli_gemmsup_ref_var1n() 223 buf_c, cs_c, rs_c, // swap the strides of C. in bli_gemmsup_ref_var1n() 757 void* restrict buf_c = bli_obj_buffer_at_off( c ); in bli_gemmsup_ref_var2m() 813 void* restrict buf_c = bli_obj_buffer_at_off( c ); in bli_gemmsup_ref_var2m() local 848 buf_c, rs_c, cs_c, in bli_gemmsup_ref_var2m() 871 buf_c, cs_c, rs_c, // swap the strides of C. in bli_gemmsup_ref_var2m()
|
/dports/science/hdf5/hdf5-1.10.6/fortran/src/ |
H A D | H5Df.c | 163 hdset_reg_ref_t *buf_c = NULL; in h5dwrite_ref_reg_c() local 175 buf_c = (hdset_reg_ref_t *)HDmalloc(sizeof(hdset_reg_ref_t)*n); in h5dwrite_ref_reg_c() 176 if ( buf_c != NULL ) { in h5dwrite_ref_reg_c() 178 HDmemcpy(&buf_c[i], buf, H5R_DSET_REG_REF_BUF_SIZE); in h5dwrite_ref_reg_c() 192 ret = H5Dwrite(c_dset_id, c_mem_type_id, c_mem_space_id, c_file_space_id, c_xfer_prp, buf_c); in h5dwrite_ref_reg_c() 193 HDfree(buf_c); in h5dwrite_ref_reg_c() 233 hdset_reg_ref_t *buf_c = NULL; in h5dread_ref_reg_c() local 244 buf_c = (hdset_reg_ref_t *)HDmalloc(sizeof(hdset_reg_ref_t)*(size_t)n); in h5dread_ref_reg_c() 245 if ( buf_c != NULL ) { in h5dread_ref_reg_c() 256 HDmemcpy(buf, &buf_c[i], H5R_DSET_REG_REF_BUF_SIZE); in h5dread_ref_reg_c() [all …]
|
/dports/devel/ga/ga-5.8/global/testing/ |
H A D | nbgetput.c | 40 int *buf_c, *ptr_c; in main() local 88 buf_c = (int*)malloc(nelems*sizeof(int)); in main() 108 ptr_c = buf_c; in main() 193 ptr_c = buf_c; in main() 252 free(buf_c); in main()
|
H A D | nbgetput2.c | 37 int *buf_c, *ptr_c; in main() local 87 buf_c = (int*)malloc(nelems*sizeof(int)); in main() 102 ptr_c = buf_c; in main() 175 ptr_c = buf_c; in main() 229 free(buf_c); in main()
|
/dports/science/hdf5-18/hdf5-1.8.21/fortran/src/ |
H A D | H5Df.c | 621 hobj_ref_t *buf_c; in nh5dwrite_ref_obj_c() local 634 if ( buf_c != NULL ) { in nh5dwrite_ref_obj_c() 648 HDfree(buf_c); in nh5dwrite_ref_obj_c() 688 hdset_reg_ref_t *buf_c = NULL; in nh5dwrite_ref_reg_c() local 701 if ( buf_c != NULL ) { in nh5dwrite_ref_reg_c() 718 HDfree(buf_c); in nh5dwrite_ref_reg_c() 1209 hobj_ref_t *buf_c = NULL; in nh5dread_ref_obj_c() local 1222 if ( buf_c != NULL ) { in nh5dread_ref_obj_c() 1235 if ( buf_c != NULL ) HDfree(buf_c); in nh5dread_ref_obj_c() 1288 if ( buf_c != NULL ) { in nh5dread_ref_reg_c() [all …]
|
/dports/science/hdf5-18/hdf5-1.8.21/test/ |
H A D | fillval.c | 762 comp_datatype *buf_c=NULL; in test_rdwr_cases() local 880 if(buf_c[u].a != fill_c.a || buf_c[u].x != fill_c.x || in test_rdwr_cases() 881 buf_c[u].y != fill_c.y || buf_c[u].z != fill_c.z) { in test_rdwr_cases() 889 buf_c[u].a, buf_c[u].x, buf_c[u].y, buf_c[u].z, in test_rdwr_cases() 910 buf_c[u].a = 1111.11F; in test_rdwr_cases() 911 buf_c[u].x = 2222; in test_rdwr_cases() 912 buf_c[u].y = 3333.3333F; in test_rdwr_cases() 913 buf_c[u].z = 'd'; in test_rdwr_cases() 989 should_be_c.a=buf_c[0].a; in test_rdwr_cases() 1033 HDfree(buf_c); in test_rdwr_cases() [all …]
|
/dports/science/hdf5/hdf5-1.10.6/test/ |
H A D | fillval.c | 762 comp_datatype *buf_c=NULL; in test_rdwr_cases() local 883 if(!H5_FLT_ABS_EQUAL(buf_c[u].a, fill_c.a) || buf_c[u].x != fill_c.x || in test_rdwr_cases() 884 !H5_DBL_ABS_EQUAL(buf_c[u].y, fill_c.y) || buf_c[u].z != fill_c.z) { in test_rdwr_cases() 892 (double)buf_c[u].a, buf_c[u].x, buf_c[u].y, buf_c[u].z, in test_rdwr_cases() 913 buf_c[u].a = 1111.11F; in test_rdwr_cases() 914 buf_c[u].x = 2222; in test_rdwr_cases() 915 buf_c[u].y = 3333.3333F; in test_rdwr_cases() 916 buf_c[u].z = 'd'; in test_rdwr_cases() 992 should_be_c.a=buf_c[0].a; in test_rdwr_cases() 1036 HDfree(buf_c); in test_rdwr_cases() [all …]
|
/dports/math/blis/blis-0.8.1/frame/2/her/ |
H A D | bli_her_var_oapi.c | 62 void* buf_c = bli_obj_buffer_at_off( c ); \ 81 buf_c, rs_c, cs_c, \
|
/dports/comms/py-esptool/esptool-3.2/flasher_stub/ |
H A D | slip.c | 39 const uint8_t *buf_c = (const uint8_t *)buf; in SLIP_send_frame_data_buf() local 41 SLIP_send_frame_data(buf_c[i]); in SLIP_send_frame_data_buf()
|
/dports/math/blis/blis-0.8.1/frame/1/other/unpackv/ |
H A D | bli_unpackv_unb_var1.c | 61 void* buf_c = bli_obj_buffer_at_off( c ); in bli_unpackv_unb_var1() local 75 buf_c, incc, in bli_unpackv_unb_var1()
|
/dports/math/blis/blis-0.8.1/frame/1/other/packv/ |
H A D | bli_packv_unb_var1.c | 58 void* buf_c = bli_obj_buffer_at_off( c ); in bli_packv_unb_var1() local 74 buf_c, incc, in bli_packv_unb_var1()
|
/dports/misc/urbit/urbit-urbit-0.6.0/noun/ |
H A D | manage.c | 1256 c3_c buf_c[6]; in _cm_in_pretty() local 1259 snprintf(buf_c, 6, "%d", som); in _cm_in_pretty() 1260 len_w = strlen(buf_c); in _cm_in_pretty() 1289 c3_c *buf_c = malloc(2 + (2 * len_w) + 1); in _cm_in_pretty() local 1293 buf_c[a_w++] = '0'; in _cm_in_pretty() 1294 buf_c[a_w++] = 'x'; in _cm_in_pretty() 1300 buf_c[a_w++] = _cm_hex(c_y); in _cm_in_pretty() 1302 buf_c[a_w++] = _cm_hex(c_y >> 4); in _cm_in_pretty() 1303 buf_c[a_w++] = _cm_hex(c_y & 0xf); in _cm_in_pretty() 1306 buf_c[a_w] = 0; in _cm_in_pretty() [all …]
|
/dports/math/blis/blis-0.8.1/frame/2/her2/ |
H A D | bli_her2_var_oapi.c | 68 void* buf_c = bli_obj_buffer_at_off( c ); \ 89 buf_c, rs_c, cs_c, \
|
/dports/math/blis/blis-0.8.1/frame/3/old/ |
H A D | bli_l3_sup_var1n2m.c | 109 void* restrict buf_c = bli_obj_buffer_at_off( c ); in bli_gemmsup_ref_var1n() 163 void* restrict buf_c = bli_obj_buffer_at_off( c ); in bli_gemmsup_ref_var1n() local 190 buf_c, rs_c, cs_c, in bli_gemmsup_ref_var1n() 212 buf_c, cs_c, rs_c, // swap the strides of C. in bli_gemmsup_ref_var1n() 498 void* restrict buf_c = bli_obj_buffer_at_off( c ); in bli_gemmsup_ref_var2m() 551 void* restrict buf_c = bli_obj_buffer_at_off( c ); in bli_gemmsup_ref_var2m() local 578 buf_c, rs_c, cs_c, in bli_gemmsup_ref_var2m() 600 buf_c, cs_c, rs_c, // swap the strides of C. in bli_gemmsup_ref_var2m()
|
/dports/math/blis/blis-0.8.1/frame/1m/unpackm/ |
H A D | bli_unpackm_unb_var1.c | 75 void* buf_c = bli_obj_buffer_at_off( c ); in bli_unpackm_unb_var1() local 92 buf_c, rs_c, cs_c, in bli_unpackm_unb_var1()
|