Home
last modified time | relevance | path

Searched refs:work_buf (Results 1 – 25 of 111) sorted by relevance

12345

/dports/games/7kaa/7kaa-2.15.4p1/src/
H A DOSTR.cpp34 static char work_buf[MAX_STR_LEN+1]; variable
72 work_buf[0] = '\0'; in substr()
77 return work_buf; in substr()
84 return work_buf; in substr()
87 strncpy( work_buf, str_buf+pos, len ); in substr()
88 work_buf[len] = '\0'; in substr()
90 return work_buf; in substr()
102 char* str = work_buf; in upper()
109 return work_buf; in upper()
116 char* str = work_buf; in lower()
[all …]
/dports/net/openradius/openradius-0.9.12c/common/
H A Dmisc.c219 char work_buf[C_MAX_SECRSIZE + AUTHENTICATOR_LEN + SALT_LEN]; in encrypt_attr_style_1() local
267 memcpy(work_buf, secret, secret_len); in encrypt_attr_style_1()
268 memcpy(work_buf + secret_len, reqauth, AUTHENTICATOR_LEN); in encrypt_attr_style_1()
275 md5(digest, work_buf, work_len); in encrypt_attr_style_1()
279 *(work_buf + secret_len + n) = *o++ = *i++ ^ digest[n]; in encrypt_attr_style_1()
327 memcpy(work_buf, secret, secret_len); in decrypt_attr_style_1()
328 memcpy(work_buf + secret_len, reqauth, AUTHENTICATOR_LEN); in decrypt_attr_style_1()
335 *(work_buf + secret_len + 0) = *i; in decrypt_attr_style_1()
348 *(work_buf + secret_len + n) = *i; in decrypt_attr_style_1()
359 md5(digest, work_buf, secret_len + MD5_LEN); in decrypt_attr_style_1()
[all …]
/dports/databases/grass7/grass-7.8.6/lib/raster/
H A Dput_row.c158 G_xdr_put_float(&work_buf[i], &f); in convert_float()
189 void *work_buf; in put_fp_data() local
197 work_buf = G_malloc(size + 1); in put_fp_data()
210 write_data(fd, row, work_buf, n); in put_fp_data()
212 G_free(work_buf); in put_fp_data()
334 unsigned char *work_buf, *wk; in put_data() local
344 wk = work_buf; in put_data()
411 G_free(work_buf); in put_data()
422 void *work_buf, *dst; in put_data_gdal() local
449 dst = work_buf; in put_data_gdal()
[all …]
H A Dget_row.c471 transfer_to_cell_XX(fd, work_buf); in transfer_to_cell_fi()
477 G_free(work_buf); in transfer_to_cell_fi()
492 G_free(work_buf); in transfer_to_cell_di()
503 ((FCELL *) cell)[i] = work_buf[i]; in transfer_to_cell_if()
505 G_free(work_buf); in transfer_to_cell_if()
516 ((FCELL *) cell)[i] = work_buf[i]; in transfer_to_cell_df()
518 G_free(work_buf); in transfer_to_cell_df()
529 ((DCELL *) cell)[i] = work_buf[i]; in transfer_to_cell_id()
531 G_free(work_buf); in transfer_to_cell_id()
542 ((DCELL *) cell)[i] = work_buf[i]; in transfer_to_cell_fd()
[all …]
/dports/misc/xiphos/xiphos-4.2.1/src/main/
H A Durl.cc523 if (work_buf) in show_note()
524 g_free(work_buf); in show_note()
681 g_strfreev(work_buf); in show_in_previewer()
748 if (!work_buf[MODULE] && !work_buf[KEY]) { in sword_uri()
750 g_strfreev(work_buf); in sword_uri()
754 if (!work_buf[KEY]) { in sword_uri()
763 work_buf[MODULE], in sword_uri()
764 (work_buf[KEY] ? work_buf[KEY] : "-null-"))); in sword_uri()
766 mod = (work_buf[MODULE] && *work_buf[MODULE] in sword_uri()
767 ? work_buf[MODULE] in sword_uri()
[all …]
H A Dsidebar.cc390 gchar **work_buf = NULL; in add_verses_to_chapter() local
397 work_buf = g_strsplit(key, "/", 4); in add_verses_to_chapter()
398 if (!work_buf[2] || !work_buf[3]) { in add_verses_to_chapter()
399 g_strfreev(work_buf); in add_verses_to_chapter()
413 work_buf[2], in add_verses_to_chapter()
429 g_strfreev(work_buf); in add_verses_to_chapter()
452 gchar **work_buf = NULL; in add_chapters_to_book() local
459 if (!work_buf[2] || !work_buf[3]) { in add_chapters_to_book()
460 g_strfreev(work_buf); in add_chapters_to_book()
473 work_buf[2], in add_chapters_to_book()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/
H A Dstop_machine.h35 struct cpu_stop_work *work_buf);
73 struct cpu_stop_work *work_buf) in stop_one_cpu_nowait() argument
76 INIT_WORK(&work_buf->work, stop_one_cpu_nowait_workfn); in stop_one_cpu_nowait()
77 work_buf->fn = fn; in stop_one_cpu_nowait()
78 work_buf->arg = arg; in stop_one_cpu_nowait()
79 schedule_work(&work_buf->work); in stop_one_cpu_nowait()
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/
H A Dstop_machine.h35 struct cpu_stop_work *work_buf);
73 struct cpu_stop_work *work_buf) in stop_one_cpu_nowait() argument
76 INIT_WORK(&work_buf->work, stop_one_cpu_nowait_workfn); in stop_one_cpu_nowait()
77 work_buf->fn = fn; in stop_one_cpu_nowait()
78 work_buf->arg = arg; in stop_one_cpu_nowait()
79 schedule_work(&work_buf->work); in stop_one_cpu_nowait()
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/
H A Dstop_machine.h35 struct cpu_stop_work *work_buf);
73 struct cpu_stop_work *work_buf) in stop_one_cpu_nowait() argument
76 INIT_WORK(&work_buf->work, stop_one_cpu_nowait_workfn); in stop_one_cpu_nowait()
77 work_buf->fn = fn; in stop_one_cpu_nowait()
78 work_buf->arg = arg; in stop_one_cpu_nowait()
79 schedule_work(&work_buf->work); in stop_one_cpu_nowait()
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/
H A Dzmbvenc.c47 uint8_t *comp_buf, *work_buf; member
147 c->work_buf[work_size++] = tpal[0] ^ c->pal[i * 3 + 0]; in encode_frame()
148 c->work_buf[work_size++] = tpal[1] ^ c->pal[i * 3 + 1]; in encode_frame()
149 c->work_buf[work_size++] = tpal[2] ^ c->pal[i * 3 + 2]; in encode_frame()
160 memcpy(c->work_buf, c->pal, 768); in encode_frame()
164 memcpy(c->work_buf + work_size, src, avctx->width); in encode_frame()
176 mv = c->work_buf + work_size; in encode_frame()
177 memset(c->work_buf + work_size, 0, (bw * bh * 2 + 3) & ~3); in encode_frame()
214 c->zstream.next_in = c->work_buf; in encode_frame()
264 if ((c->work_buf = av_malloc(c->comp_size)) == NULL) { in encode_init()
[all …]
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/mcpp/
H A Ddirective.c453 cerror( not_ident, work_buf, 0L, NULL); in do_if()
528 for (workp = work_buf; *workp != EOS; workp++) { in do_line()
531 cerror( not_digits, work_buf, 0L, NULL); in do_line()
534 cwarn( not_digits, work_buf, 0L, NULL); in do_line()
583 cerror( excess, work_buf, 0L, NULL); in do_line()
595 cwarn( excess, work_buf, 0, NULL); in do_line()
715 cerror( not_ident, work_buf, 0L, NULL); in do_define()
843 parms[ 0].name = workp = work_buf; in get_parm()
844 work_buf[ 0] = EOS; in get_parm()
930 , work_buf, 0L, NULL); in get_parm()
[all …]
/dports/devel/mcpp/mcpp-2.7.2/src/
H A Ddirective.c453 cerror( not_ident, work_buf, 0L, NULL); in do_if()
528 for (workp = work_buf; *workp != EOS; workp++) { in do_line()
531 cerror( not_digits, work_buf, 0L, NULL); in do_line()
534 cwarn( not_digits, work_buf, 0L, NULL); in do_line()
583 cerror( excess, work_buf, 0L, NULL); in do_line()
595 cwarn( excess, work_buf, 0, NULL); in do_line()
715 cerror( not_ident, work_buf, 0L, NULL); in do_define()
843 parms[ 0].name = workp = work_buf; in get_parm()
844 work_buf[ 0] = EOS; in get_parm()
930 , work_buf, 0L, NULL); in get_parm()
[all …]
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Dzmbvenc.c49 uint8_t *comp_buf, *work_buf; member
147 c->work_buf[work_size++] = tpal[0] ^ c->pal[i * 3 + 0]; in encode_frame()
148 c->work_buf[work_size++] = tpal[1] ^ c->pal[i * 3 + 1]; in encode_frame()
149 c->work_buf[work_size++] = tpal[2] ^ c->pal[i * 3 + 2]; in encode_frame()
160 memcpy(c->work_buf, c->pal, 768); in encode_frame()
164 memcpy(c->work_buf + work_size, src, avctx->width); in encode_frame()
176 mv = c->work_buf + work_size; in encode_frame()
177 memset(c->work_buf + work_size, 0, (bw * bh * 2 + 3) & ~3); in encode_frame()
217 c->zstream.next_in = c->work_buf; in encode_frame()
257 av_freep(&c->work_buf); in encode_end()
[all …]
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Dzmbvenc.c49 uint8_t *comp_buf, *work_buf; member
153 c->work_buf[work_size++] = tpal[0] ^ c->pal[i * 3 + 0]; in encode_frame()
154 c->work_buf[work_size++] = tpal[1] ^ c->pal[i * 3 + 1]; in encode_frame()
155 c->work_buf[work_size++] = tpal[2] ^ c->pal[i * 3 + 2]; in encode_frame()
166 memcpy(c->work_buf, c->pal, 768); in encode_frame()
170 memcpy(c->work_buf + work_size, src, avctx->width); in encode_frame()
182 mv = c->work_buf + work_size; in encode_frame()
183 memset(c->work_buf + work_size, 0, (bw * bh * 2 + 3) & ~3); in encode_frame()
223 c->zstream.next_in = c->work_buf; in encode_frame()
263 av_freep(&c->work_buf); in encode_end()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/
H A Dzmbvenc.c49 uint8_t *comp_buf, *work_buf; member
147 c->work_buf[work_size++] = tpal[0] ^ c->pal[i * 3 + 0]; in encode_frame()
148 c->work_buf[work_size++] = tpal[1] ^ c->pal[i * 3 + 1]; in encode_frame()
149 c->work_buf[work_size++] = tpal[2] ^ c->pal[i * 3 + 2]; in encode_frame()
160 memcpy(c->work_buf, c->pal, 768); in encode_frame()
164 memcpy(c->work_buf + work_size, src, avctx->width); in encode_frame()
176 mv = c->work_buf + work_size; in encode_frame()
177 memset(c->work_buf + work_size, 0, (bw * bh * 2 + 3) & ~3); in encode_frame()
217 c->zstream.next_in = c->work_buf; in encode_frame()
257 av_freep(&c->work_buf); in encode_end()
[all …]
/dports/games/retroarch/RetroArch-1.9.7/deps/mbedtls/
H A Dgcm.c262 unsigned char work_buf[16]; in mbedtls_gcm_starts() local
290 memset( work_buf, 0x00, 16 ); in mbedtls_gcm_starts()
291 PUT_UINT32_BE( iv_len * 8, work_buf, 12 ); in mbedtls_gcm_starts()
308 ctx->y[i] ^= work_buf[i]; in mbedtls_gcm_starts()
400 unsigned char work_buf[16]; in mbedtls_gcm_finish() local
412 memset( work_buf, 0x00, 16 ); in mbedtls_gcm_finish()
414 PUT_UINT32_BE( ( orig_add_len >> 32 ), work_buf, 0 ); in mbedtls_gcm_finish()
415 PUT_UINT32_BE( ( orig_add_len ), work_buf, 4 ); in mbedtls_gcm_finish()
416 PUT_UINT32_BE( ( orig_len >> 32 ), work_buf, 8 ); in mbedtls_gcm_finish()
417 PUT_UINT32_BE( ( orig_len ), work_buf, 12 ); in mbedtls_gcm_finish()
[all …]
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dzmbvenc.c67 uint8_t *comp_buf, *work_buf; member
199 c->work_buf[work_size++] = tpal[0] ^ c->pal[i * 3 + 0]; in encode_frame()
200 c->work_buf[work_size++] = tpal[1] ^ c->pal[i * 3 + 1]; in encode_frame()
201 c->work_buf[work_size++] = tpal[2] ^ c->pal[i * 3 + 2]; in encode_frame()
213 memcpy(c->work_buf, c->pal, 768); in encode_frame()
218 memcpy(c->work_buf + work_size, src, avctx->width * c->bypp); in encode_frame()
230 mv = c->work_buf + work_size; in encode_frame()
231 memset(c->work_buf + work_size, 0, (bw * bh * 2 + 3) & ~3); in encode_frame()
271 c->zstream.next_in = c->work_buf; in encode_frame()
311 av_freep(&c->work_buf); in encode_end()
[all …]
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Dzmbvenc.c67 uint8_t *comp_buf, *work_buf; member
199 c->work_buf[work_size++] = tpal[0] ^ c->pal[i * 3 + 0]; in encode_frame()
200 c->work_buf[work_size++] = tpal[1] ^ c->pal[i * 3 + 1]; in encode_frame()
201 c->work_buf[work_size++] = tpal[2] ^ c->pal[i * 3 + 2]; in encode_frame()
213 memcpy(c->work_buf, c->pal, 768); in encode_frame()
218 memcpy(c->work_buf + work_size, src, avctx->width * c->bypp); in encode_frame()
230 mv = c->work_buf + work_size; in encode_frame()
231 memset(c->work_buf + work_size, 0, (bw * bh * 2 + 3) & ~3); in encode_frame()
271 c->zstream.next_in = c->work_buf; in encode_frame()
311 av_freep(&c->work_buf); in encode_end()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Dzmbvenc.c67 uint8_t *comp_buf, *work_buf; member
199 c->work_buf[work_size++] = tpal[0] ^ c->pal[i * 3 + 0]; in encode_frame()
200 c->work_buf[work_size++] = tpal[1] ^ c->pal[i * 3 + 1]; in encode_frame()
201 c->work_buf[work_size++] = tpal[2] ^ c->pal[i * 3 + 2]; in encode_frame()
213 memcpy(c->work_buf, c->pal, 768); in encode_frame()
218 memcpy(c->work_buf + work_size, src, avctx->width * c->bypp); in encode_frame()
230 mv = c->work_buf + work_size; in encode_frame()
231 memset(c->work_buf + work_size, 0, (bw * bh * 2 + 3) & ~3); in encode_frame()
271 c->zstream.next_in = c->work_buf; in encode_frame()
311 av_freep(&c->work_buf); in encode_end()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Dzmbvenc.c67 uint8_t *comp_buf, *work_buf; member
199 c->work_buf[work_size++] = tpal[0] ^ c->pal[i * 3 + 0]; in encode_frame()
200 c->work_buf[work_size++] = tpal[1] ^ c->pal[i * 3 + 1]; in encode_frame()
201 c->work_buf[work_size++] = tpal[2] ^ c->pal[i * 3 + 2]; in encode_frame()
213 memcpy(c->work_buf, c->pal, 768); in encode_frame()
218 memcpy(c->work_buf + work_size, src, avctx->width * c->bypp); in encode_frame()
230 mv = c->work_buf + work_size; in encode_frame()
231 memset(c->work_buf + work_size, 0, (bw * bh * 2 + 3) & ~3); in encode_frame()
271 c->zstream.next_in = c->work_buf; in encode_frame()
311 av_freep(&c->work_buf); in encode_end()
[all …]
/dports/net-mgmt/p0f/p0f-3.09b/tools/
H A Dp0f-sendsyn.c129 static u8 work_buf[MIN_TCP4 + 24]; in main() local
131 struct ipv4_hdr* ip4 = (struct ipv4_hdr*)work_buf; in main()
133 u8 *opts = work_buf + MIN_TCP4; in main()
173 if (sendto(sock, work_buf, sizeof(work_buf), 0, (struct sockaddr*)&sin, in main()
H A Dp0f-sendsyn6.c142 static u8 work_buf[MIN_TCP6 + 24]; in main() local
144 struct ipv6_hdr* ip6 = (struct ipv6_hdr*)work_buf; in main()
146 u8 *opts = work_buf + MIN_TCP6; in main()
186 if (sendto(sock, work_buf, sizeof(work_buf), 0, (struct sockaddr*)&sin, in main()
/dports/dns/inadyn/inadyn-2.9.0/src/
H A Dmain.c83 ctx->work_buf = (char *)malloc(ctx->work_buflen); in alloc_context()
84 if (!ctx->work_buf) { in alloc_context()
110 if (ctx->work_buf) in alloc_context()
111 free(ctx->work_buf); in alloc_context()
128 if (ctx->work_buf) { in free_context()
129 free(ctx->work_buf); in free_context()
130 ctx->work_buf = NULL; in free_context()
H A Dddns.c100 ctx->work_buf[0] = 0; in shell_transaction()
104 ctx->work_buf[0] = 0; in shell_transaction()
108 ctx->work_buf[rc] = 0; in shell_transaction()
142 memset(ctx->work_buf, 0, ctx->work_buflen); in server_transaction()
149 trans->rsp = ctx->work_buf; in server_transaction()
345 logit(LOG_DEBUG, "%s", ctx->work_buf); in get_address_remote()
359 logit(LOG_DEBUG, "%s", ctx->work_buf); in get_address_cmd()
415 memset(ctx->work_buf, 0, ctx->work_buflen); in get_address_iface()
427 pos = strlen(ctx->work_buf); in get_address_iface()
619 memset(ctx->work_buf, 0, ctx->work_buflen); in send_update()
[all …]
/dports/multimedia/librist/librist-5c1f4a06ab46e16e6bba42fe7381d8353020a1fd/contrib/mbedtls/library/
H A Dgcm.c279 unsigned char work_buf[16]; in mbedtls_gcm_starts() local
311 memset( work_buf, 0x00, 16 ); in mbedtls_gcm_starts()
312 PUT_UINT32_BE( iv_len * 8, work_buf, 12 ); in mbedtls_gcm_starts()
329 ctx->y[i] ^= work_buf[i]; in mbedtls_gcm_starts()
425 unsigned char work_buf[16]; in mbedtls_gcm_finish() local
443 memset( work_buf, 0x00, 16 ); in mbedtls_gcm_finish()
445 PUT_UINT32_BE( ( orig_add_len >> 32 ), work_buf, 0 ); in mbedtls_gcm_finish()
446 PUT_UINT32_BE( ( orig_add_len ), work_buf, 4 ); in mbedtls_gcm_finish()
447 PUT_UINT32_BE( ( orig_len >> 32 ), work_buf, 8 ); in mbedtls_gcm_finish()
448 PUT_UINT32_BE( ( orig_len ), work_buf, 12 ); in mbedtls_gcm_finish()
[all …]

12345