Lines Matching refs:buf
31 char buf[256]; in zend_vm_trace() local
37 memcpy(buf, last, last_len); in zend_vm_trace()
38 buf[last_len] = ' '; in zend_vm_trace()
39 memcpy(buf + last_len + 1, op, op_len + 1); in zend_vm_trace()
40 zv = zend_hash_str_find(&vm_trace_ht, buf, len); in zend_vm_trace()
47 zend_hash_str_add_new(&vm_trace_ht, buf, len, &tmp); in zend_vm_trace()
89 char buf[256]; in zend_vm_trace_init() local
94 if (fgets(buf, sizeof(buf)-1, f)) { in zend_vm_trace_init()
95 len = strlen(buf); in zend_vm_trace_init()
96 while (len > 0 && buf[len-1] <= ' ') { in zend_vm_trace_init()
98 buf[len] = 0; in zend_vm_trace_init()
100 while (len > 0 && buf[len-1] >= '0' && buf[len-1] <= '9') { in zend_vm_trace_init()
104 buf[len-1] = 0; in zend_vm_trace_init()
105 ZVAL_LONG(&tmp, ZEND_STRTOL(buf + len, NULL, 10)); in zend_vm_trace_init()
106 zend_hash_str_add(&vm_trace_ht, buf, len - 1, &tmp); in zend_vm_trace_init()