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

/PHP_5_6/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_5_6/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 + Z_STRLEN_P(delim);
1069 add_next_index_stringl(return_value, positions[i],
1070 (positions[i+1] - Z_STRLEN_P(delim)) - positions[i],
1074 efree(positions);

Completed in 12 milliseconds