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.c237 ZSMMG(shared_memory_state).positions = (int *)zend_shared_alloc(sizeof(int) * ZSMMG(shared_segments_count));
238 if (!ZSMMG(shared_memory_state).positions) {
457 ZSMMG(shared_memory_state).positions[i] = ZSMMG(shared_segments)[i]->pos;
467 ZSMMG(shared_segments)[i]->pos = ZSMMG(shared_memory_state).positions[i];
/PHP_TRUNK/ext/standard/
H A Dstring.c1055 char **positions = emalloc(allocated * sizeof(char *)); local
1057 positions[found++] = p1;
1061 positions = erealloc(positions, allocated*sizeof(char *));
1063 positions[found++] = p1 = p2 + delim->len;
1070 add_next_index_stringl(return_value, positions[i],
1071 (positions[i+1] - delim->len) - positions[i]);
1073 efree(positions);

Completed in 11 milliseconds