Searched refs:positions (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/opcache/
H A Dzend_shared_alloc.h93 int *positions; /* current positions for each segment */ member in struct:_zend_shared_memory_state
H A Dzend_shared_alloc.c235 ZSMMG(shared_memory_state).positions = (int *)zend_shared_alloc(sizeof(int) * ZSMMG(shared_segments_count));
236 if (!ZSMMG(shared_memory_state).positions) {
461 ZSMMG(shared_memory_state).positions[i] = ZSMMG(shared_segments)[i]->pos;
471 ZSMMG(shared_segments)[i]->pos = ZSMMG(shared_memory_state).positions[i];
/PHP_TRUNK/ext/standard/
H A Dstring.c1125 char **positions = emalloc(allocated * sizeof(char *)); local
1127 positions[found++] = p1;
1131 positions = erealloc(positions, allocated*sizeof(char *));
1133 positions[found++] = p1 = p2 + ZSTR_LEN(delim);
1140 ZVAL_STRINGL(&tmp, positions[i], (positions[i+1] - ZSTR_LEN(delim)) - positions[i]);
1143 efree(positions);

Completed in 11 milliseconds