/haiku/headers/private/locale/ |
H A D | HashMapCatalog.h | 50 CatKey(const char *str, const char *ctx, const char *cmt); 56 status_t GetStringParts(BString* str, BString* ctx, BString* cmt) const;
|
/haiku/src/add-ons/accelerants/radeon_hd/atombios/ |
H A D | atom-bits.h | 32 #define U8(ptr) get_u8(ctx->ctx->bios,(ptr)) 33 #define CU8(ptr) get_u8(ctx->bios,(ptr)) 38 #define U16(ptr) get_u16(ctx->ctx->bios,(ptr)) 39 #define CU16(ptr) get_u16(ctx->bios,(ptr)) 44 #define U32(ptr) get_u32(ctx->ctx->bios,(ptr)) 45 #define CU32(ptr) get_u32(ctx->bios,(ptr)) 46 #define CSTR(ptr) (((char *)(ctx [all...] |
H A D | atom.cpp | 75 atom_context *ctx; member in struct:__anon424 87 status_t atom_execute_table_locked(atom_context *ctx, 89 status_t atom_execute_table(atom_context *ctx, int index, uint32 *params); 110 atom_iio_execute(atom_context *ctx, int base, uint32 index, uint32 data) argument 119 temp = ctx->card->ioreg_read(CU16(base + 1)); 123 (void)ctx->card->reg_read(CU16(base + 1)); 124 ctx->card->ioreg_write(CU16(base + 1), temp); 149 temp |= ((ctx->io_attr >> CU8(base + 2)) 163 atom_get_src_int(atom_exec_context *ctx, uint8 attr, int *ptr, argument 167 atom_context *gctx = ctx 299 atom_skip_src_int(atom_exec_context *ctx, uint8 attr, int *ptr) argument 337 atom_get_src(atom_exec_context *ctx, uint8 attr, int *ptr) argument 344 atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) argument 372 atom_get_dst(atom_exec_context *ctx, int arg, uint8 attr, int *ptr, uint32 *saved, int print) argument 381 atom_skip_dst(atom_exec_context *ctx, int arg, uint8 attr, int *ptr) argument 389 atom_put_dst(atom_exec_context *ctx, int arg, uint8 attr, int *ptr, uint32 val, uint32 saved) argument 496 atom_op_add(atom_exec_context *ctx, int *ptr, int arg) argument 513 atom_op_and(atom_exec_context *ctx, int *ptr, int arg) argument 530 atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) argument 537 atom_op_calltable(atom_exec_context *ctx, int *ptr, int arg) argument 559 atom_op_clear(atom_exec_context *ctx, int *ptr, int arg) argument 573 atom_op_compare(atom_exec_context *ctx, int *ptr, int arg) argument 587 atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) argument 603 atom_op_div(atom_exec_context *ctx, int *ptr, int arg) argument 625 atom_op_div32(atom_exec_context *ctx, int *ptr, int arg) argument 653 atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) argument 660 atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) argument 712 atom_op_mask(atom_exec_context *ctx, int *ptr, int arg) argument 729 atom_op_move(atom_exec_context *ctx, int *ptr, int arg) argument 748 atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) argument 761 atom_op_mul32(atom_exec_context *ctx, int *ptr, int arg) argument 782 atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) argument 789 atom_op_or(atom_exec_context *ctx, int *ptr, int arg) argument 806 atom_op_postcard(atom_exec_context *ctx, int *ptr, int arg) argument 815 atom_op_repeat(atom_exec_context *ctx, int *ptr, int arg) argument 822 atom_op_restorereg(atom_exec_context *ctx, int *ptr, int arg) argument 829 atom_op_savereg(atom_exec_context *ctx, int *ptr, int arg) argument 836 atom_op_setdatablock(atom_exec_context *ctx, int *ptr, int arg) argument 851 atom_op_setfbbase(atom_exec_context *ctx, int *ptr, int arg) argument 860 atom_op_setport(atom_exec_context *ctx, int *ptr, int arg) argument 890 atom_op_setregblock(atom_exec_context *ctx, int *ptr, int arg) argument 897 atom_op_shift_left(atom_exec_context *ctx, int *ptr, int arg) argument 915 atom_op_shift_right(atom_exec_context *ctx, int *ptr, int arg) argument 933 atom_op_shl(atom_exec_context *ctx, int *ptr, int arg) argument 954 atom_op_shr(atom_exec_context *ctx, int *ptr, int arg) argument 976 atom_op_sub(atom_exec_context *ctx, int *ptr, int arg) argument 993 atom_op_switch(atom_exec_context *ctx, int *ptr, int arg) argument 1019 atom_op_test(atom_exec_context *ctx, int *ptr, int arg) argument 1033 atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) argument 1050 atom_op_debug(atom_exec_context *ctx, int *ptr, int arg) argument 1060 atom_op_processds(atom_exec_context *ctx, int *ptr, int arg) argument 1203 atom_execute_table_locked(atom_context *ctx, int index, uint32 * params) argument 1269 atom_execute_table(atom_context *ctx, int index, uint32 *params) argument 1308 atom_index_iio(atom_context *ctx, int base) argument 1324 atom_context *ctx = (atom_context*)malloc(sizeof(atom_context)); local 1380 atom_asic_init(atom_context *ctx) argument 1399 atom_destroy(atom_context *ctx) argument 1412 atom_parse_data_header(atom_context *ctx, int index, uint16 *size, uint8 *frev, uint8 *crev, uint16 *data_start) argument 1434 atom_parse_cmd_header(atom_context *ctx, int index, uint8 * frev, uint8 * crev) argument 1453 atom_allocate_fb_scratch(atom_context *ctx) argument [all...] |
H A D | atom.h | 155 status_t atom_execute_table(atom_context *ctx, int index, uint32 *params); 156 status_t atom_parse_data_header(atom_context *ctx, int index, uint16 *size, 158 status_t atom_parse_cmd_header(atom_context *ctx, int index, uint8 * frev, 162 status_t atom_allocate_fb_scratch(atom_context *ctx);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpi.c | 587 struct sysctl_ctx_list *ctx = device_get_sysctl_ctx(sc->sc_dev); local 590 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | attrlist.c | 112 ntfs_attr_search_ctx *ctx; local 145 ctx = ntfs_attr_get_search_ctx(ni, NULL); 146 if (!ctx) { 156 0 : le32_to_cpu(attr->value_length), ctx)) { 158 if (ctx->al_entry->lowest_vcn == attr->lowest_vcn) { 162 ntfs_attr_put_search_ctx(ctx); 166 ale = (ATTR_LIST_ENTRY*)((u8*)ctx->al_entry + 167 le16_to_cpu(ctx->al_entry->length)); 173 ntfs_attr_put_search_ctx(ctx); 177 ale = ctx 244 ntfs_attrlist_entry_rm(ntfs_attr_search_ctx *ctx) argument [all...] |
H A D | attrlist.h | 32 extern int ntfs_attrlist_entry_rm(ntfs_attr_search_ctx *ctx);
|
H A D | efs.c | 133 ntfs_attr_search_ctx *ctx; local 144 ctx = ntfs_attr_get_search_ctx(ni, NULL); 145 if (!ctx) { 146 ntfs_log_error("Failed to get ctx for efs\n"); 152 CASE_SENSITIVE, 0, NULL, 0, ctx)) { 154 a = ctx->attr; 155 na = ntfs_attr_open(ctx->ntfs_ino, AT_DATA, 162 if (na && !(ctx->attr->flags & ATTR_IS_ENCRYPTED)) { 164 && ntfs_attr_make_non_resident(na, ctx)) { 181 ntfs_attr_put_search_ctx(ctx); 317 ntfs_efs_fixup_attribute(ntfs_attr_search_ctx *ctx, ntfs_attr *na) argument [all...] |
H A D | efs.h | 28 int ntfs_efs_fixup_attribute(ntfs_attr_search_ctx *ctx, ntfs_attr *na);
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | fuse_opt.c | 97 static int next_arg(struct fuse_opt_context *ctx, const char *opt) argument 99 if (ctx->argctr + 1 >= ctx->argc) { 103 ctx->argctr++; 107 static int add_arg(struct fuse_opt_context *ctx, const char *arg) argument 109 return fuse_opt_add_arg(&ctx->outargs, arg); 132 static int add_opt(struct fuse_opt_context *ctx, const char *opt) argument 134 return fuse_opt_add_opt(&ctx->opts, opt); 137 static int call_proc(struct fuse_opt_context *ctx, const char *arg, int key, argument 143 if (key != FUSE_OPT_KEY_KEEP && ctx 209 process_opt(struct fuse_opt_context *ctx, const struct fuse_opt *opt, unsigned sep, const char *arg, int iso) argument 231 process_opt_sep_arg(struct fuse_opt_context *ctx, const struct fuse_opt *opt, unsigned sep, const char *arg, int iso) argument 255 process_gopt(struct fuse_opt_context *ctx, const char *arg, int iso) argument 275 process_real_option_group(struct fuse_opt_context *ctx, char *opts) argument 293 process_option_group(struct fuse_opt_context *ctx, const char *opts) argument 311 process_one(struct fuse_opt_context *ctx, const char *arg) argument 334 opt_parse(struct fuse_opt_context *ctx) argument 362 struct fuse_opt_context ctx = { local [all...] |
/haiku/src/bin/locale/ |
H A D | dumpcatalog.cpp | 63 BString str, ctx, cmt; local 66 key.GetStringParts(&str, &ctx, &cmt); 68 "-----\n", key.fHashVal, str.String(), ctx.String(), cmt.String(),
|
/haiku/src/bin/network/ftpd/ |
H A D | md5hl.c | 24 MD5End(MD5_CTX *ctx, char *buf) argument 34 MD5Final(digest, ctx); 53 MD5_CTX ctx; local 58 MD5Init(&ctx); 79 MD5Update(&ctx, buffer, i); 87 return (MD5End(&ctx, buf)); 93 MD5_CTX ctx; local 95 MD5Init(&ctx); 96 MD5Update(&ctx,data,len); 97 return (MD5End(&ctx, bu [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_subr_sbuf.c | 347 sbuf_set_drain(struct sbuf *s, sbuf_drain_func *func, void *ctx) argument 355 s->s_drain_arg = ctx;
|
/haiku/src/libs/compat/freebsd_wlan/crypto/rijndael/ |
H A D | rijndael-api.c | 40 rijndael_set_key(rijndael_ctx *ctx, const u_char *key, int bits) argument 43 ctx->Nr = rijndaelKeySetupEnc(ctx->ek, key, bits); 44 rijndaelKeySetupDec(ctx->dk, key, bits); 48 rijndael_decrypt(const rijndael_ctx *ctx, const u_char *src, u_char *dst) argument 51 rijndaelDecrypt(ctx->dk, ctx->Nr, src, dst); 55 rijndael_encrypt(const rijndael_ctx *ctx, const u_char *src, u_char *dst) argument 58 rijndaelEncrypt(ctx->ek, ctx [all...] |
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_crypto_ccmp.c | 101 struct ccmp_ctx *ctx; local 103 ctx = (struct ccmp_ctx *) IEEE80211_MALLOC(sizeof(struct ccmp_ctx), 105 if (ctx == NULL) { 109 ctx->cc_vap = vap; 110 ctx->cc_ic = vap->iv_ic; 112 return ctx; 118 struct ccmp_ctx *ctx = k->wk_private; local 120 IEEE80211_FREE(ctx, M_80211_CRYPTO); 128 struct ccmp_ctx *ctx = k->wk_private; local 131 IEEE80211_DPRINTF(ctx 144 struct ccmp_ctx *ctx = k->wk_private; local 168 struct ccmp_ctx *ctx = k->wk_private; local 238 struct ccmp_ctx *ctx = k->wk_private; local 345 ccmp_init_blocks(rijndael_ctx *ctx, struct ieee80211_frame *wh, u_int64_t pn, size_t dlen, uint8_t b0[AES_BLOCK_LEN], uint8_t aad[2 * AES_BLOCK_LEN], uint8_t auth[AES_BLOCK_LEN], uint8_t s0[AES_BLOCK_LEN]) argument 452 struct ccmp_ctx *ctx = key->wk_private; local 597 struct ccmp_ctx *ctx = key->wk_private; local [all...] |
H A D | ieee80211_crypto_wep.c | 92 struct wep_ctx *ctx; local 94 ctx = (struct wep_ctx *) IEEE80211_MALLOC(sizeof(struct wep_ctx), 96 if (ctx == NULL) { 101 ctx->wc_vap = vap; 102 ctx->wc_ic = vap->iv_ic; 103 get_random_bytes(&ctx->wc_iv, sizeof(ctx->wc_iv)); 105 return ctx; 111 struct wep_ctx *ctx = k->wk_private; local 113 IEEE80211_FREE(ctx, M_80211_CRYPT 127 struct wep_ctx *ctx = k->wk_private; local 183 struct wep_ctx *ctx = k->wk_private; local 242 struct wep_ctx *ctx = k->wk_private; local 348 struct wep_ctx *ctx = key->wk_private; local 431 struct wep_ctx *ctx = key->wk_private; local [all...] |
/haiku/src/libs/glut/ |
H A D | glutint.h | 335 GLXContext ctx; /* OpenGL context GLUT glut window */ member in struct:_GLUTwindow 450 GLXContext ctx; member in struct:_GLUToverlay 588 if (currentContext != window->ctx || currentDc != window->hdc) { \ 589 wglMakeCurrent(window->hdc, window->ctx); \ 593 wglMakeCurrent(overlay->hdc, overlay->ctx) 604 glXMakeCurrent(__glutDisplay, window->win, window->ctx) 606 glXMakeCurrent(__glutDisplay, overlay->win, overlay->ctx)
|
/haiku/src/system/libroot/posix/crypt/ |
H A D | pbkdf2.cpp | 51 * HMAC_SHA256_Init(ctx, K, Klen): 52 * Initialize the HMAC-SHA256 context ${ctx} with ${Klen} bytes of key from 56 HMAC_SHA256_Init(HMAC_SHA256_CTX * ctx, const void * _K, size_t Klen) argument 65 ctx->ictx.Init(); 66 ctx->ictx.Update(K, Klen); 67 memcpy(khash, ctx->ictx.Digest(), 32); 73 ctx->ictx.Init(); 77 ctx->ictx.Update(pad, 64); 80 ctx->octx.Init(); 84 ctx 96 HMAC_SHA256_Update(HMAC_SHA256_CTX * ctx, const void * in, size_t len) argument 109 HMAC_SHA256_Final(uint8_t digest[32], HMAC_SHA256_CTX * ctx) argument [all...] |
/haiku/src/tests/kits/opengl/egl/ |
H A D | EGLTest.cpp | 30 EGLContext ctx; local 53 ctx = eglCreateContext(d, configs[0], EGL_NO_CONTEXT, NULL); 63 eglMakeCurrent( d, surf, surf, ctx );
|
/haiku/src/tests/system/network/tcptester/ |
H A D | tcptester.cpp | 33 static int process_command(context *ctx); 36 number(context *ctx) argument 40 while (isdigit(ctx->buffer[ctx->index])) { 42 result += ctx->buffer[ctx->index] - '0'; 43 ctx->index++; 51 value(context *ctx) argument 53 if (ctx->buffer[ctx 72 repeat(context *ctx) argument 91 send_packet(context *ctx, size_t bytes) argument 112 process_command(context *ctx) argument 153 read_command(context *ctx) argument 175 context ctx = { *(int *)data, 0 }; local [all...] |
/haiku/headers/posix/arpa/ |
H A D | nameser.h | 252 void *ctx; member in struct:ns_tcp_tsig_state
|
/haiku/headers/private/kernel/arch/riscv64/ |
H A D | arch_thread_types.h | 95 void save_fpu(fpu_context* ctx); 96 void restore_fpu(fpu_context* ctx);
|
/haiku/headers/private/kernel/platform/efi/ |
H A D | types.h | 161 typedef void (*efi_event_notify) (efi_event event, void* ctx) EFIAPI;
|
/haiku/headers/private/shared/ |
H A D | md5.h | 40 extern void MD5_Init(MD5_CTX *ctx); 41 extern void MD5_Update(MD5_CTX *ctx, const void *data, unsigned long size); 42 extern void MD5_Final(unsigned char *result, MD5_CTX *ctx);
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | pll.cpp | 832 static void skl_wrpll_try_divider(struct skl_wrpll_context *ctx, argument 845 deviation < ctx->min_deviation) { 846 ctx->min_deviation = deviation; 847 ctx->central_freq = central_freq; 848 ctx->dco_freq = dco_freq; 849 ctx->p = divider; 858 deviation < ctx->min_deviation) { 859 ctx->min_deviation = deviation; 860 ctx->central_freq = central_freq; 861 ctx 920 skl_wrpll_context_init(struct skl_wrpll_context *ctx) argument 1027 struct skl_wrpll_context ctx; local [all...] |