Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pcre16_assign_jit_stack(3) [debian man page]

PCRE_ASSIGN_JIT_STACK(3)				     Library Functions Manual					  PCRE_ASSIGN_JIT_STACK(3)

NAME
PCRE - Perl-compatible regular expressions SYNOPSIS
#include <pcre.h> void pcre_assign_jit_stack(pcre_extra *extra, pcre_jit_callback callback, void *data); void pcre16_assign_jit_stack(pcre16_extra *extra, pcre16_jit_callback callback, void *data); DESCRIPTION
This function provides control over the memory used as a stack at runtime by a call to pcre[16]_exec() with a pattern that has been suc- cessfully compiled with JIT optimization. The arguments are: extra the data pointer returned by pcre[16]_study() callback a callback function data a JIT stack or a value to be passed to the callback function If callback is NULL and data is NULL, an internal 32K block on the machine stack is used. If callback is NULL and data is not NULL, data must be a valid JIT stack, the result of calling pcre[16]_jit_stack_alloc(). If callback not NULL, it is called with data as an argument at the start of matching, in order to set up a JIT stack. If the result is NULL, the internal 32K stack is used; otherwise the return value must be a valid JIT stack, the result of calling pcre[16]_jit_stack_alloc(). You may safely assign the same JIT stack to multiple patterns, as long as they are all matched in the same thread. In a multithread appli- cation, each thread must use its own JIT stack. For more details, see the pcrejit page. There is a complete description of the PCRE native API in the pcreapi page and a description of the POSIX API in the pcreposix page. PCRE_ASSIGN_JIT_STACK(3)

Check Out this Related Man Page

PCRE_ASSIGN_JIT_STACK(3)				     Library Functions Manual					  PCRE_ASSIGN_JIT_STACK(3)

NAME
PCRE - Perl-compatible regular expressions SYNOPSIS
#include <pcre.h> void pcre_assign_jit_stack(pcre_extra *extra, pcre_jit_callback callback, void *data); void pcre16_assign_jit_stack(pcre16_extra *extra, pcre16_jit_callback callback, void *data); void pcre32_assign_jit_stack(pcre32_extra *extra, pcre32_jit_callback callback, void *data); DESCRIPTION
This function provides control over the memory used as a stack at run-time by a call to pcre[16|32]_exec() with a pattern that has been successfully compiled with JIT optimization. The arguments are: extra the data pointer returned by pcre[16|32]_study() callback a callback function data a JIT stack or a value to be passed to the callback function If callback is NULL and data is NULL, an internal 32K block on the machine stack is used. If callback is NULL and data is not NULL, data must be a valid JIT stack, the result of calling pcre[16|32]_jit_stack_alloc(). If callback not NULL, it is called with data as an argument at the start of matching, in order to set up a JIT stack. If the result is NULL, the internal 32K stack is used; otherwise the return value must be a valid JIT stack, the result of calling pcre[16|32]_jit_stack_alloc(). You may safely assign the same JIT stack to multiple patterns, as long as they are all matched in the same thread. In a multithread appli- cation, each thread must use its own JIT stack. For more details, see the pcrejit page. There is a complete description of the PCRE native API in the pcreapi page and a description of the POSIX API in the pcreposix page. PCRE 8.30 24 June 2012 PCRE_ASSIGN_JIT_STACK(3)
Man Page

4 More Discussions You Might Find Interesting

1. Programming

clearing control stack?

Hi, Can someone please explain how is the control stack cleared when we exit from a function?or who clears the rescords in the control stack? Thanks (1 Reply)
Discussion started by: naan
1 Replies

2. AIX

Using dbx on AIX

Hi, We are porting a virtual machine application which emits native PowerPC instructions. The instructions are written to the data segment and are then executed, similar to the JIT / hot spot technology used in the Java VM. The problem is that the AIX debugger (dbx) will not show me stack... (3 Replies)
Discussion started by: nrgiii
3 Replies

3. Shell Programming and Scripting

How to find stack size at runtime?

hi, I just wondering is there any way that I can record the stack size of shell script at runtime. (2 Replies)
Discussion started by: yc962frank
2 Replies

4. UNIX for Advanced & Expert Users

Postfix - pcre

Hello. I need to test valid sender address. I have created a rule in main.cf : smtpd_sender_login_maps = pcre:/etc/postfix/sender_login_maps.pcre smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, reject_sender_login_mismatch THe file... (1 Reply)
Discussion started by: jcdole
1 Replies