Searched refs:ctx (Results 26 - 50 of 178) sorted by relevance

12345678

/haiku-fatelf/src/bin/coreutils/lib/
H A Dsha1.c62 sha1_init_ctx (struct sha1_ctx *ctx) argument
64 ctx->A = 0x67452301;
65 ctx->B = 0xefcdab89;
66 ctx->C = 0x98badcfe;
67 ctx->D = 0x10325476;
68 ctx->E = 0xc3d2e1f0;
70 ctx->total[0] = ctx->total[1] = 0;
71 ctx->buflen = 0;
86 sha1_read_ctx (const struct sha1_ctx *ctx, voi argument
101 sha1_finish_ctx(struct sha1_ctx *ctx, void *resbuf) argument
130 struct sha1_ctx ctx; local
204 struct sha1_ctx ctx; local
217 sha1_process_bytes(const void *buffer, size_t len, struct sha1_ctx *ctx) argument
302 sha1_process_block(const void *buffer, size_t len, struct sha1_ctx *ctx) argument
[all...]
H A Dsha1.h51 extern void sha1_init_ctx (struct sha1_ctx *ctx);
58 struct sha1_ctx *ctx);
65 struct sha1_ctx *ctx);
71 extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf);
77 extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf);
H A Dsha512.c65 sha512_init_ctx (struct sha512_ctx *ctx) argument
67 ctx->state[0] = u64hilo (0x6a09e667, 0xf3bcc908);
68 ctx->state[1] = u64hilo (0xbb67ae85, 0x84caa73b);
69 ctx->state[2] = u64hilo (0x3c6ef372, 0xfe94f82b);
70 ctx->state[3] = u64hilo (0xa54ff53a, 0x5f1d36f1);
71 ctx->state[4] = u64hilo (0x510e527f, 0xade682d1);
72 ctx->state[5] = u64hilo (0x9b05688c, 0x2b3e6c1f);
73 ctx->state[6] = u64hilo (0x1f83d9ab, 0xfb41bd6b);
74 ctx->state[7] = u64hilo (0x5be0cd19, 0x137e2179);
76 ctx
81 sha384_init_ctx(struct sha512_ctx *ctx) argument
108 sha512_read_ctx(const struct sha512_ctx *ctx, void *resbuf) argument
120 sha384_read_ctx(const struct sha512_ctx *ctx, void *resbuf) argument
134 sha512_conclude_ctx(struct sha512_ctx *ctx) argument
161 sha512_finish_ctx(struct sha512_ctx *ctx, void *resbuf) argument
168 sha384_finish_ctx(struct sha512_ctx *ctx, void *resbuf) argument
180 struct sha512_ctx ctx; local
251 struct sha512_ctx ctx; local
325 struct sha512_ctx ctx; local
340 struct sha512_ctx ctx; local
353 sha512_process_bytes(const void *buffer, size_t len, struct sha512_ctx *ctx) argument
475 sha512_process_block(const void *buffer, size_t len, struct sha512_ctx *ctx) argument
[all...]
H A Dmd5.c75 md5_init_ctx (struct md5_ctx *ctx) argument
77 ctx->A = 0x67452301;
78 ctx->B = 0xefcdab89;
79 ctx->C = 0x98badcfe;
80 ctx->D = 0x10325476;
82 ctx->total[0] = ctx->total[1] = 0;
83 ctx->buflen = 0;
98 md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) argument
101 set_uint32 (r + 0 * sizeof ctx
112 md5_finish_ctx(struct md5_ctx *ctx, void *resbuf) argument
141 struct md5_ctx ctx; local
215 struct md5_ctx ctx; local
229 md5_process_bytes(const void *buffer, size_t len, struct md5_ctx *ctx) argument
309 md5_process_block(const void *buffer, size_t len, struct md5_ctx *ctx) argument
[all...]
H A Dsha256.c58 sha256_init_ctx (struct sha256_ctx *ctx) argument
60 ctx->state[0] = 0x6a09e667UL;
61 ctx->state[1] = 0xbb67ae85UL;
62 ctx->state[2] = 0x3c6ef372UL;
63 ctx->state[3] = 0xa54ff53aUL;
64 ctx->state[4] = 0x510e527fUL;
65 ctx->state[5] = 0x9b05688cUL;
66 ctx->state[6] = 0x1f83d9abUL;
67 ctx->state[7] = 0x5be0cd19UL;
69 ctx
74 sha224_init_ctx(struct sha256_ctx *ctx) argument
101 sha256_read_ctx(const struct sha256_ctx *ctx, void *resbuf) argument
113 sha224_read_ctx(const struct sha256_ctx *ctx, void *resbuf) argument
127 sha256_conclude_ctx(struct sha256_ctx *ctx) argument
153 sha256_finish_ctx(struct sha256_ctx *ctx, void *resbuf) argument
160 sha224_finish_ctx(struct sha256_ctx *ctx, void *resbuf) argument
172 struct sha256_ctx ctx; local
243 struct sha256_ctx ctx; local
317 struct sha256_ctx ctx; local
332 struct sha256_ctx ctx; local
345 sha256_process_bytes(const void *buffer, size_t len, struct sha256_ctx *ctx) argument
443 sha256_process_block(const void *buffer, size_t len, struct sha256_ctx *ctx) argument
[all...]
H A Dmd5.h84 extern void __md5_init_ctx (struct md5_ctx *ctx) __THROW;
91 struct md5_ctx *ctx) __THROW;
98 struct md5_ctx *ctx) __THROW;
104 extern void *__md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) __THROW;
110 extern void *__md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) __THROW;
/haiku-fatelf/src/bin/network/ftpd/
H A Dmd5hl.c24 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-fatelf/src/bin/network/wget/md5/
H A Dmd5.c72 md5_init_ctx (struct md5_ctx *ctx) argument
74 ctx->A = 0x67452301;
75 ctx->B = 0xefcdab89;
76 ctx->C = 0x98badcfe;
77 ctx->D = 0x10325476;
79 ctx->total[0] = ctx->total[1] = 0;
80 ctx->buflen = 0;
95 md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) argument
98 set_uint32 (r + 0 * sizeof ctx
109 md5_finish_ctx(struct md5_ctx *ctx, void *resbuf) argument
138 struct md5_ctx ctx; local
205 struct md5_ctx ctx; local
219 md5_process_bytes(const void *buffer, size_t len, struct md5_ctx *ctx) argument
299 md5_process_block(const void *buffer, size_t len, struct md5_ctx *ctx) argument
[all...]
H A Dmd5.h81 extern void __md5_init_ctx (struct md5_ctx *ctx) __THROW;
88 struct md5_ctx *ctx) __THROW;
95 struct md5_ctx *ctx) __THROW;
101 extern void *__md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) __THROW;
107 extern void *__md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) __THROW;
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dc14n.c86 xmlC14NCtxPtr ctx);
94 static int xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur);
95 static int xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur);
115 #define xmlC14NIsVisible( ctx, node, parent ) \
116 (((ctx)->is_visible_callback != NULL) ? \
117 (ctx)->is_visible_callback((ctx)->user_data, \
398 * @ctx: the C14N context
440 xmlExcC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlC14NCtxPtr ctx) { argument
466 return(xmlC14NIsVisible(ctx, ns
534 xmlC14NPrintNamespaces(const xmlNsPtr ns, xmlC14NCtxPtr ctx) argument
596 xmlC14NProcessNamespacesAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
701 xmlExcC14NProcessNamespacesAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
909 xmlC14NPrintAttrs(const xmlAttrPtr attr, xmlC14NCtxPtr ctx) argument
978 xmlC14NProcessAttrsAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int parent_visible) argument
1057 xmlC14NCheckForRelativeNamespaces(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1117 xmlC14NProcessElementNode(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
1225 xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1416 xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1440 xmlC14NFreeCtx(xmlC14NCtxPtr ctx) argument
1479 xmlC14NCtxPtr ctx = NULL; local
1573 xmlC14NCtxPtr ctx; local
[all...]
H A Dlegacy.c756 * @ctx: the user data (XML parser context)
764 getPublicId(void *ctx) argument
767 return (xmlSAX2GetPublicId(ctx));
772 * @ctx: the user data (XML parser context)
781 getSystemId(void *ctx) argument
784 return (xmlSAX2GetSystemId(ctx));
789 * @ctx: the user data (XML parser context)
797 getLineNumber(void *ctx) argument
800 return (xmlSAX2GetLineNumber(ctx));
805 * @ctx
813 getColumnNumber(void *ctx) argument
829 isStandalone(void *ctx) argument
845 hasInternalSubset(void *ctx) argument
861 hasExternalSubset(void *ctx) argument
878 internalSubset(void *ctx, const xmlChar * name, const xmlChar * ExternalID, const xmlChar * SystemID) argument
896 externalSubset(void *ctx, const xmlChar * name, const xmlChar * ExternalID, const xmlChar * SystemID) argument
919 resolveEntity(void *ctx, const xmlChar * publicId, const xmlChar * systemId) argument
937 getEntity(void *ctx, const xmlChar * name) argument
954 getParameterEntity(void *ctx, const xmlChar * name) argument
974 entityDecl(void *ctx, const xmlChar * name, int type, const xmlChar * publicId, const xmlChar * systemId, xmlChar * content) argument
996 attributeDecl(void *ctx, const xmlChar * elem, const xmlChar * fullname, int type, int def, const xmlChar * defaultValue, xmlEnumerationPtr tree) argument
1016 elementDecl(void *ctx, const xmlChar * name, int type, xmlElementContentPtr content) argument
1034 notationDecl(void *ctx, const xmlChar * name, const xmlChar * publicId, const xmlChar * systemId) argument
1053 unparsedEntityDecl(void *ctx, const xmlChar * name, const xmlChar * publicId, const xmlChar * systemId, const xmlChar * notationName) argument
1086 startDocument(void *ctx) argument
1101 endDocument(void *ctx) argument
1137 startElement(void *ctx, const xmlChar * fullname, const xmlChar ** atts) argument
1151 endElement(void *ctx, const xmlChar * name ATTRIBUTE_UNUSED) argument
1166 reference(void *ctx, const xmlChar * name) argument
1182 characters(void *ctx, const xmlChar * ch, int len) argument
1216 processingInstruction(void *ctx, const xmlChar * target, const xmlChar * data) argument
1319 comment(void *ctx, const xmlChar * value) argument
1335 cdataBlock(void *ctx, const xmlChar * value, int len) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Defs.c138 ntfs_attr_search_ctx *ctx; local
149 ctx = ntfs_attr_get_search_ctx(ni, NULL);
150 if (!ctx) {
151 ntfs_log_error("Failed to get ctx for efs\n");
157 CASE_SENSITIVE, 0, NULL, 0, ctx)) {
159 a = ctx->attr;
160 na = ntfs_attr_open(ctx->ntfs_ino, AT_DATA,
167 if (na && !(ctx->attr->flags & ATTR_IS_ENCRYPTED)) {
169 && ntfs_attr_make_non_resident(na, ctx)) {
186 ntfs_attr_put_search_ctx(ctx);
322 ntfs_efs_fixup_attribute(ntfs_attr_search_ctx *ctx, ntfs_attr *na) argument
[all...]
H A Defs.h28 int ntfs_efs_fixup_attribute(ntfs_attr_search_ctx *ctx, ntfs_attr *na);
H A Dattrlist.c112 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 Dinode.c163 ntfs_attr_search_ctx *ctx; local
183 ctx = ntfs_attr_get_search_ctx(ni, NULL);
184 if (!ctx)
188 0, CASE_SENSITIVE, 0, NULL, 0, ctx)) {
194 std_info = (STANDARD_INFORMATION *)((u8 *)ctx->attr +
195 le16_to_cpu(ctx->attr->value_offset));
203 lthle = ctx->attr->length;
218 CASE_SENSITIVE, 0, NULL, 0, ctx)) {
227 l = ntfs_get_attribute_value_length(ctx->attr);
240 l = ntfs_get_attribute_value(vol, ctx
736 ntfs_attr_search_ctx *ctx; local
792 ntfs_attr_search_ctx *ctx = NULL; local
1110 ntfs_attr_search_ctx *ctx; local
1294 ntfs_attr_search_ctx *ctx; local
1463 ntfs_attr_search_ctx *ctx; local
1522 ntfs_attr_search_ctx *ctx; local
[all...]
/haiku-fatelf/src/kits/network/libbind/dst/
H A Dhmac_link.c94 MD5_CTX *ctx = NULL; local
100 ctx = (MD5_CTX *) malloc(sizeof(*ctx));
102 ctx = (MD5_CTX *) *context;
103 if (ctx == NULL)
109 MD5Init(ctx);
110 MD5Update(ctx, key->hk_ipad, HMAC_LEN);
114 MD5Update(ctx, data, len);
119 MD5Final(signature, ctx);
122 MD5Init(ctx);
162 MD5_CTX *ctx = NULL; local
224 MD5_CTX ctx; local
[all...]
/haiku-fatelf/src/kits/network/libbind/isc/
H A Dev_timers.c143 evContext_p *ctx = opaqueCtx.opaque; local
145 return (ctx->lastEventTime);
174 evContext_p *ctx = opaqueCtx.opaque; local
177 evPrintf(ctx, 1,
178 "evSetTimer(ctx %p, func %p, uap %p, due %ld.%09ld, inter %ld.%09ld)\n",
179 ctx, func, uap,
211 if (heap_insert(ctx->timers, id) < 0)
218 if (ctx->debug > 7) {
219 evPrintf(ctx, 7, "timers after evSetTimer:\n");
220 (void) heap_for_each(ctx
228 evContext_p *ctx = opaqueCtx.opaque; local
264 evContext_p *ctx = opaqueCtx.opaque; local
291 evContext_p *ctx = opaqueCtx.opaque; local
350 evContext_p *ctx = opaqueCtx.opaque; local
388 evContext_p *ctx = opaqueCtx.opaque; local
404 evContext_p *ctx = opaqueCtx.opaque; local
416 evCreateTimers(const evContext_p *ctx) argument
424 evDestroyTimers(const evContext_p *ctx) argument
460 evContext_p *ctx = uap; local
476 evContext_p *ctx = opaqueCtx.opaque; local
[all...]
H A Dev_streams.c60 evContext_p *ctx = opaqueCtx.opaque; local
75 if (ctx->streams != NULL)
76 ctx->streams->prev = new;
78 new->next = ctx->streams;
79 ctx->streams = new;
94 evContext_p *ctx = opaqueCtx.opaque; local
109 if (ctx->streams != NULL)
110 ctx->streams->prev = new;
112 new->next = ctx->streams;
113 ctx
147 evContext_p *ctx = opaqueCtx.opaque; local
243 evContext_p *ctx = opaqueCtx.opaque; local
[all...]
/haiku-fatelf/src/libs/compat/freebsd_network/compat/sys/
H A Dsysctl.h92 #define SYSCTL_ADD_OID(ctx, parent, nbr, name, kind, a1, a2, handler, fmt, descr) \
93 sysctl_add_oid(ctx, parent, nbr, name, kind, a1, a2, handler, fmt, \
96 #define SYSCTL_ADD_NODE(ctx, parent, nbr, name, access, handler, descr) \
97 sysctl_add_oid(ctx, parent, nbr, name, CTLTYPE_NODE|(access), \
100 #define SYSCTL_ADD_STRING(ctx, parent, nbr, name, access, arg, len, descr) \
101 sysctl_add_oid(ctx, parent, nbr, name, CTLTYPE_STRING|(access), \
104 #define SYSCTL_ADD_INT(ctx, parent, nbr, name, access, ptr, val, descr) \
105 sysctl_add_oid(ctx, parent, nbr, name, CTLTYPE_INT|(access), \
108 #define SYSCTL_ADD_UINT(ctx, parent, nbr, name, access, ptr, val, descr) \
109 sysctl_add_oid(ctx, paren
[all...]
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dmd5.c65 md5_init_ctx (ctx)
66 struct md5_ctx *ctx;
68 ctx->A = (md5_uint32) 0x67452301;
69 ctx->B = (md5_uint32) 0xefcdab89;
70 ctx->C = (md5_uint32) 0x98badcfe;
71 ctx->D = (md5_uint32) 0x10325476;
73 ctx->total[0] = ctx->total[1] = 0;
74 ctx->buflen = 0;
83 md5_read_ctx (ctx, resbu
138 struct md5_ctx ctx; local
194 struct md5_ctx ctx; local
[all...]
/haiku-fatelf/src/bin/network/wget/src/
H A Dhtml-url.c255 #define ATTR_POS(tag, attrind, ctx) \
256 (tag->attrs[attrind].value_raw_beginning - ctx->text)
267 struct map_context *ctx)
271 const char *base = ctx->base ? ctx->base : ctx->parent_base;
277 ctx->document_file, link_uri));
287 ctx->document_file, link_uri);
295 ctx->document_file, link_uri));
308 quotearg_n_style (0, escape_quoting_style, ctx
266 append_url(const char *link_uri, int position, int size, struct map_context *ctx) argument
350 check_style_attr(struct taginfo *tag, struct map_context *ctx) argument
368 tag_find_urls(int tagid, struct taginfo *tag, struct map_context *ctx) argument
427 tag_handle_base(int tagid, struct taginfo *tag, struct map_context *ctx) argument
453 tag_handle_form(int tagid, struct taginfo *tag, struct map_context *ctx) argument
471 tag_handle_link(int tagid, struct taginfo *tag, struct map_context *ctx) argument
513 tag_handle_meta(int tagid, struct taginfo *tag, struct map_context *ctx) argument
624 struct map_context *ctx = (struct map_context *)arg; local
658 struct map_context ctx; local
[all...]
/haiku-fatelf/src/add-ons/opengl/swrast/
H A DMesaSoftwareRenderer.h47 static void _Error(gl_context* ctx);
48 static const GLubyte* _GetString(gl_context* ctx, GLenum name);
50 static void _UpdateState(gl_context* ctx, GLuint newState);
51 static void _Flush(gl_context *ctx);
59 static GLboolean _RenderBufferStorage(gl_context* ctx,
63 static GLboolean _RenderBufferStorageMalloc(gl_context* ctx,
67 static void _RenderBufferMap(gl_context *ctx,
/haiku-fatelf/src/bin/gdb/gdb/
H A Ddwarf2expr.h123 void free_dwarf_expr_context (struct dwarf_expr_context *ctx);
125 void dwarf_expr_push (struct dwarf_expr_context *ctx, CORE_ADDR value);
126 void dwarf_expr_pop (struct dwarf_expr_context *ctx);
127 void dwarf_expr_eval (struct dwarf_expr_context *ctx, unsigned char *addr,
129 CORE_ADDR dwarf_expr_fetch (struct dwarf_expr_context *ctx, int n);
/haiku-fatelf/src/bin/gdb/include/
H A Dmd5.h96 extern void md5_init_ctx __P ((struct md5_ctx *ctx));
103 struct md5_ctx *ctx));
110 struct md5_ctx *ctx));
119 extern void *md5_finish_ctx __P ((struct md5_ctx *ctx, void *resbuf));
128 extern void *md5_read_ctx __P ((const struct md5_ctx *ctx, void *resbuf));
/haiku-fatelf/src/add-ons/media/plugins/ape_reader/MAClib/
H A DMD5.h36 void MD5Init ( MD5_CTX* ctx );
37 void MD5Update ( MD5_CTX* ctx, const uint8_t* buf, size_t len );
38 void MD5Final ( uint8_t digest [16], MD5_CTX* ctx );

Completed in 98 milliseconds

12345678