Lines Matching refs:offset

144 		ms->offset = m->offset;  in match()
218 ms->offset = m->offset; in match()
220 ms->offset += ms->c.li[cont_level - 1].off; in match()
368 t = ms->offset + sizeof(char); in mprint()
390 t = ms->offset + sizeof(short); in mprint()
411 t = ms->offset + sizeof(int32_t); in mprint()
420 t = ms->offset + sizeof(int64_t); in mprint()
430 t = ms->offset + m->vallen; in mprint()
437 t = ms->offset + strlen(p->s); in mprint()
449 t = ms->offset + sizeof(time_t); in mprint()
458 t = ms->offset + sizeof(time_t); in mprint()
467 t = ms->offset + sizeof(uint64_t); in mprint()
476 t = ms->offset + sizeof(uint64_t); in mprint()
496 t = ms->offset + sizeof(float); in mprint()
516 t = ms->offset + sizeof(double); in mprint()
532 t = ms->search.offset; in mprint()
534 t = ms->search.offset + ms->search.rm_len; in mprint()
542 t = ms->search.offset; in mprint()
544 t = ms->search.offset + m->vallen; in mprint()
550 t = ms->offset; in mprint()
554 t = ms->offset; in mprint()
569 return CAST(int32_t, (ms->offset + sizeof(char))); in moffset()
574 return CAST(int32_t, (ms->offset + sizeof(short))); in moffset()
580 return CAST(int32_t, (ms->offset + sizeof(int32_t))); in moffset()
585 return CAST(int32_t, (ms->offset + sizeof(int64_t))); in moffset()
592 return ms->offset + m->vallen; in moffset()
599 t = CAST(uint32_t, (ms->offset + strlen(p->s))); in moffset()
609 return CAST(int32_t, (ms->offset + sizeof(time_t))); in moffset()
615 return CAST(int32_t, (ms->offset + sizeof(time_t))); in moffset()
620 return CAST(int32_t, (ms->offset + sizeof(uint64_t))); in moffset()
625 return CAST(int32_t, (ms->offset + sizeof(uint64_t))); in moffset()
630 return CAST(int32_t, (ms->offset + sizeof(float))); in moffset()
635 return CAST(int32_t, (ms->offset + sizeof(double))); in moffset()
639 return CAST(int32_t, ms->search.offset); in moffset()
641 return CAST(int32_t, (ms->search.offset + in moffset()
646 return CAST(int32_t, ms->search.offset); in moffset()
648 return CAST(int32_t, (ms->search.offset + m->vallen)); in moffset()
651 return ms->offset; in moffset()
654 return ms->offset; in moffset()
888 mdebug(uint32_t offset, const char *str, size_t len) in mdebug() argument
890 (void) fprintf(stderr, "mget @%d: ", offset); in mdebug()
898 const unsigned char *s, uint32_t offset, size_t nbytes, size_t linecnt) in mcopy() argument
907 ms->search.s = RCAST(const char *, s) + offset; in mcopy()
908 ms->search.s_len = nbytes - offset; in mcopy()
909 ms->search.offset = offset; in mcopy()
925 buf = RCAST(const char *, s) + offset; in mcopy()
943 ms->search.offset = offset; in mcopy()
949 const unsigned char *src = s + offset; in mcopy()
960 offset); in mcopy()
985 if (offset >= nbytes) { in mcopy()
989 if (nbytes - offset < sizeof(*p)) in mcopy()
990 nbytes = nbytes - offset; in mcopy()
994 (void)memcpy(p, s + offset, nbytes); in mcopy()
1010 uint32_t offset = ms->offset; in mget() local
1014 if (mcopy(ms, p, m->type, m->flag & INDIR, s, offset, nbytes, count) == -1) in mget()
1018 mdebug(offset, (char *)(void *)p, sizeof(union VALUETYPE)); in mget()
1025 ((const void *)(s + offset + off)); in mget()
1060 if (nbytes < (offset + 1)) in mget()
1065 offset = p->b & off; in mget()
1068 offset = p->b | off; in mget()
1071 offset = p->b ^ off; in mget()
1074 offset = p->b + off; in mget()
1077 offset = p->b - off; in mget()
1080 offset = p->b * off; in mget()
1083 offset = p->b / off; in mget()
1086 offset = p->b % off; in mget()
1090 offset = p->b; in mget()
1092 offset = ~offset; in mget()
1095 if (nbytes < (offset + 2)) in mget()
1100 offset = (short)((p->hs[0]<<8)| in mget()
1105 offset = (short)((p->hs[0]<<8)| in mget()
1110 offset = (short)((p->hs[0]<<8)| in mget()
1115 offset = (short)((p->hs[0]<<8)| in mget()
1120 offset = (short)((p->hs[0]<<8)| in mget()
1125 offset = (short)((p->hs[0]<<8)| in mget()
1130 offset = (short)((p->hs[0]<<8)| in mget()
1135 offset = (short)((p->hs[0]<<8)| in mget()
1141 offset = (short)((p->hs[0]<<8)| in mget()
1144 offset = ~offset; in mget()
1147 if (nbytes < (offset + 2)) in mget()
1152 offset = (short)((p->hs[1]<<8)| in mget()
1157 offset = (short)((p->hs[1]<<8)| in mget()
1162 offset = (short)((p->hs[1]<<8)| in mget()
1167 offset = (short)((p->hs[1]<<8)| in mget()
1172 offset = (short)((p->hs[1]<<8)| in mget()
1177 offset = (short)((p->hs[1]<<8)| in mget()
1182 offset = (short)((p->hs[1]<<8)| in mget()
1187 offset = (short)((p->hs[1]<<8)| in mget()
1193 offset = (short)((p->hs[1]<<8)| in mget()
1196 offset = ~offset; in mget()
1199 if (nbytes < (offset + 2)) in mget()
1204 offset = p->h & off; in mget()
1207 offset = p->h | off; in mget()
1210 offset = p->h ^ off; in mget()
1213 offset = p->h + off; in mget()
1216 offset = p->h - off; in mget()
1219 offset = p->h * off; in mget()
1222 offset = p->h / off; in mget()
1225 offset = p->h % off; in mget()
1230 offset = p->h; in mget()
1232 offset = ~offset; in mget()
1236 if (nbytes < (offset + 4)) in mget()
1241 offset = (int32_t)((p->hl[0]<<24)| in mget()
1248 offset = (int32_t)((p->hl[0]<<24)| in mget()
1255 offset = (int32_t)((p->hl[0]<<24)| in mget()
1262 offset = (int32_t)((p->hl[0]<<24)| in mget()
1269 offset = (int32_t)((p->hl[0]<<24)| in mget()
1276 offset = (int32_t)((p->hl[0]<<24)| in mget()
1283 offset = (int32_t)((p->hl[0]<<24)| in mget()
1290 offset = (int32_t)((p->hl[0]<<24)| in mget()
1298 offset = (int32_t)((p->hl[0]<<24)| in mget()
1303 offset = ~offset; in mget()
1307 if (nbytes < (offset + 4)) in mget()
1312 offset = (int32_t)((p->hl[3]<<24)| in mget()
1319 offset = (int32_t)((p->hl[3]<<24)| in mget()
1326 offset = (int32_t)((p->hl[3]<<24)| in mget()
1333 offset = (int32_t)((p->hl[3]<<24)| in mget()
1340 offset = (int32_t)((p->hl[3]<<24)| in mget()
1347 offset = (int32_t)((p->hl[3]<<24)| in mget()
1354 offset = (int32_t)((p->hl[3]<<24)| in mget()
1361 offset = (int32_t)((p->hl[3]<<24)| in mget()
1369 offset = (int32_t)((p->hl[3]<<24)| in mget()
1374 offset = ~offset; in mget()
1377 if (nbytes < (offset + 4)) in mget()
1382 offset = (int32_t)((p->hl[1]<<24)| in mget()
1389 offset = (int32_t)((p->hl[1]<<24)| in mget()
1396 offset = (int32_t)((p->hl[1]<<24)| in mget()
1403 offset = (int32_t)((p->hl[1]<<24)| in mget()
1410 offset = (int32_t)((p->hl[1]<<24)| in mget()
1417 offset = (int32_t)((p->hl[1]<<24)| in mget()
1424 offset = (int32_t)((p->hl[1]<<24)| in mget()
1431 offset = (int32_t)((p->hl[1]<<24)| in mget()
1439 offset = (int32_t)((p->hl[1]<<24)| in mget()
1444 offset = ~offset; in mget()
1447 if (nbytes < (offset + 4)) in mget()
1452 offset = p->l & off; in mget()
1455 offset = p->l | off; in mget()
1458 offset = p->l ^ off; in mget()
1461 offset = p->l + off; in mget()
1464 offset = p->l - off; in mget()
1467 offset = p->l * off; in mget()
1470 offset = p->l / off; in mget()
1473 offset = p->l % off; in mget()
1477 offset = p->l; in mget()
1479 offset = ~offset; in mget()
1486 offset = ((((offset >> 0) & 0x7f) << 0) | in mget()
1487 (((offset >> 8) & 0x7f) << 7) | in mget()
1488 (((offset >> 16) & 0x7f) << 14) | in mget()
1489 (((offset >> 24) & 0x7f) << 21)) + 10; in mget()
1496 offset += ms->c.li[cont_level-1].off; in mget()
1498 if (mcopy(ms, p, m->type, 0, s, offset, nbytes, count) == -1) in mget()
1500 ms->offset = offset; in mget()
1503 mdebug(offset, (char *)(void *)p, in mget()
1511 if (nbytes < (offset + 1)) /* should alway be true */ in mget()
1518 if (nbytes < (offset + 2)) in mget()
1537 if (nbytes < (offset + 4)) in mget()
1544 if (nbytes < (offset + 8)) in mget()
1551 if (nbytes < (offset + m->vallen)) in mget()
1556 if (nbytes < offset) in mget()
1564 if (nbytes < offset) in mget()
1566 return file_softmagic(ms, s + offset, nbytes - offset, in mget()
1838 ms->search.offset += idx;
1918 zval **match, **offset; local
1954 if (zend_hash_get_current_data_ex(inner_ht, (void**)&offset, &inner_pos) != FAILURE) {
1956 offsetcopy = **offset;
1973 …ms->search.offset += (size_t)Z_LVAL_P(pattern_offset); /* this is where the match starts as size_t…