Lines Matching refs:ps

471 	register unsigned char *ps, *pd;  in php_conv_base64_encode_convert()  local
480 ps = (unsigned char *)(*in_pp); in php_conv_base64_encode_convert()
502 *(pd++) = b64_tbl_enc[(unsigned char)(inst->erem[0] << 4) | (ps[0] >> 4)]; in php_conv_base64_encode_convert()
503 *(pd++) = b64_tbl_enc[(unsigned char)(ps[0] << 2) | (ps[1] >> 6)]; in php_conv_base64_encode_convert()
504 *(pd++) = b64_tbl_enc[ps[1]]; in php_conv_base64_encode_convert()
506 ps += 2; in php_conv_base64_encode_convert()
530 *(pd++) = b64_tbl_enc[(unsigned char)(inst->erem[1] << 2) | (ps[0] >> 6)]; in php_conv_base64_encode_convert()
531 *(pd++) = b64_tbl_enc[ps[0]]; in php_conv_base64_encode_convert()
533 ps += 1; in php_conv_base64_encode_convert()
556 *(pd++) = b64_tbl_enc[ps[0] >> 2]; in php_conv_base64_encode_convert()
557 *(pd++) = b64_tbl_enc[(unsigned char)(ps[0] << 4) | (ps[1] >> 4)]; in php_conv_base64_encode_convert()
558 *(pd++) = b64_tbl_enc[(unsigned char)(ps[1] << 2) | (ps[2] >> 6)]; in php_conv_base64_encode_convert()
559 *(pd++) = b64_tbl_enc[ps[2]]; in php_conv_base64_encode_convert()
561 ps += 3; in php_conv_base64_encode_convert()
567 inst->erem[inst->erem_len++] = *(ps++); in php_conv_base64_encode_convert()
571 *in_pp = (const char *)ps; in php_conv_base64_encode_convert()
638 unsigned char *ps, *pd; in php_conv_base64_decode_convert() local
653 ps = (unsigned char *)*in_pp; in php_conv_base64_decode_convert()
683 i = b64_tbl_dec[(unsigned int)*(ps++)]; in php_conv_base64_decode_convert()
734 *in_pp = (const char *)ps; in php_conv_base64_decode_convert()
773 #define NEXT_CHAR(ps, icnt, lb_ptr, lb_cnt, lbchars) \ argument
774 ((lb_ptr) < (lb_cnt) ? (lbchars)[(lb_ptr)] : *(ps))
776 #define CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt) \ argument
782 (ps)++; \
788 unsigned char *ps, *pd; in php_conv_qprint_encode_convert() local
807 ps = (unsigned char *)(*in_pp); in php_conv_qprint_encode_convert()
818 if (icnt > 0 && *ps == inst->lbchars[lb_cnt]) { in php_conv_qprint_encode_convert()
837 ps++, icnt--; in php_conv_qprint_encode_convert()
846 c = NEXT_CHAR(ps, icnt, lb_ptr, lb_cnt, inst->lbchars); in php_conv_qprint_encode_convert()
877 ps2 = ps; in php_conv_qprint_encode_convert()
904 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
929 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
957 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
961 *in_pp = (const char *)ps; in php_conv_qprint_encode_convert()
1022 unsigned char *ps, *pd; in php_conv_qprint_decode_convert() local
1037 ps = (unsigned char *)(*in_pp); in php_conv_qprint_decode_convert()
1050 if (*ps == '=') { in php_conv_qprint_decode_convert()
1057 *(pd++) = *ps; in php_conv_qprint_decode_convert()
1060 ps++, icnt--; in php_conv_qprint_decode_convert()
1067 if (*ps == ' ' || *ps == '\t') { in php_conv_qprint_decode_convert()
1069 ps++, icnt--; in php_conv_qprint_decode_convert()
1071 } else if (!inst->lbchars && lb_cnt == 0 && *ps == '\r') { in php_conv_qprint_decode_convert()
1075 ps++, icnt--; in php_conv_qprint_decode_convert()
1077 } else if (!inst->lbchars && lb_cnt == 0 && *ps == '\n') { in php_conv_qprint_decode_convert()
1081 ps++, icnt--; in php_conv_qprint_decode_convert()
1084 *ps == (unsigned char)inst->lbchars[lb_cnt]) { in php_conv_qprint_decode_convert()
1087 ps++, icnt--; in php_conv_qprint_decode_convert()
1097 if (!isxdigit((int) *ps)) { in php_conv_qprint_decode_convert()
1101 next_char = (next_char << 4) | (*ps >= 'A' ? *ps - 0x37 : *ps - 0x30); in php_conv_qprint_decode_convert()
1103 ps++, icnt--; in php_conv_qprint_decode_convert()
1124 *ps == (unsigned char)inst->lbchars[lb_cnt]) { in php_conv_qprint_decode_convert()
1128 if (*ps != '\t' && *ps != ' ') { in php_conv_qprint_decode_convert()
1132 ps++, icnt--; in php_conv_qprint_decode_convert()
1136 if (!inst->lbchars && lb_cnt == 1 && *ps == '\n') { in php_conv_qprint_decode_convert()
1140 ps++, icnt--; /* consume \n */ in php_conv_qprint_decode_convert()
1150 if (*ps == (unsigned char)inst->lbchars[lb_cnt]) { in php_conv_qprint_decode_convert()
1152 ps++, icnt--; in php_conv_qprint_decode_convert()
1177 *in_pp = (const char *)ps; in php_conv_qprint_decode_convert()
1543 const char *ps, size_t buf_len, size_t *consumed, in strfilter_convert_append_bucket() argument
1555 if (ps == NULL) { in strfilter_convert_append_bucket()
1583 if (ps != NULL) { in strfilter_convert_append_bucket()
1589 inst->stub[inst->stub_len++] = *(ps++); in strfilter_convert_append_bucket()
1653 err = ((ps == NULL ? php_conv_convert(inst->cd, NULL, NULL, &pd, &ocnt): in strfilter_convert_append_bucket()
1654 php_conv_convert(inst->cd, &ps, &icnt, &pd, &ocnt))); in strfilter_convert_append_bucket()
1661 if (ps != NULL) { in strfilter_convert_append_bucket()
1666 memcpy(inst->stub, ps, icnt); in strfilter_convert_append_bucket()
1668 ps += icnt; in strfilter_convert_append_bucket()
1716 if (ps == NULL) { in strfilter_convert_append_bucket()