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

/PHP_TRUNK/ext/opcache/
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];
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.c1060 char **positions = emalloc(allocated * sizeof(char *)); local
1062 positions[found++] = p1;
1066 positions = erealloc(positions, allocated*sizeof(char *));
1068 positions[found++] = p1 = p2 + Z_STRLEN_P(delim);
1074 add_next_index_stringl(return_value, positions[i],
1075 (positions[i+1] - Z_STRLEN_P(delim)) - positions[i]);
1077 efree(positions);

Completed in 11 milliseconds