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

/PHP_TRUNK/ext/opcache/
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];
H A Dzend_shared_alloc.h93 int *positions; /* current positions for each segment */ member in struct:_zend_shared_memory_state
/PHP_TRUNK/ext/standard/
H A Dstring.c1124 char **positions = emalloc(allocated * sizeof(char *)); local
1126 positions[found++] = p1;
1130 positions = erealloc(positions, allocated*sizeof(char *));
1132 positions[found++] = p1 = p2 + delim->len;
1139 ZVAL_STRINGL(&tmp, positions[i], (positions[i+1] - delim->len) - positions[i]);
1142 efree(positions);

Completed in 12 milliseconds