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
806 ps = (unsigned char *)(*in_pp); in php_conv_qprint_encode_convert()
816 if (icnt > 0 && *ps == inst->lbchars[lb_cnt]) { in php_conv_qprint_encode_convert()
835 ps++, icnt--; in php_conv_qprint_encode_convert()
844 c = NEXT_CHAR(ps, icnt, lb_ptr, lb_cnt, inst->lbchars); in php_conv_qprint_encode_convert()
869 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
893 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
918 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
922 *in_pp = (const char *)ps; in php_conv_qprint_encode_convert()
983 unsigned char *ps, *pd; in php_conv_qprint_decode_convert() local
998 ps = (unsigned char *)(*in_pp); in php_conv_qprint_decode_convert()
1011 if (*ps == '=') { in php_conv_qprint_decode_convert()
1018 *(pd++) = *ps; in php_conv_qprint_decode_convert()
1021 ps++, icnt--; in php_conv_qprint_decode_convert()
1028 if (*ps == ' ' || *ps == '\t') { in php_conv_qprint_decode_convert()
1030 ps++, icnt--; in php_conv_qprint_decode_convert()
1032 } else if (!inst->lbchars && lb_cnt == 0 && *ps == '\r') { in php_conv_qprint_decode_convert()
1036 ps++, icnt--; in php_conv_qprint_decode_convert()
1038 } else if (!inst->lbchars && lb_cnt == 0 && *ps == '\n') { in php_conv_qprint_decode_convert()
1042 ps++, icnt--; in php_conv_qprint_decode_convert()
1045 *ps == (unsigned char)inst->lbchars[lb_cnt]) { in php_conv_qprint_decode_convert()
1048 ps++, icnt--; in php_conv_qprint_decode_convert()
1058 if (!isxdigit((int) *ps)) { in php_conv_qprint_decode_convert()
1062 next_char = (next_char << 4) | (*ps >= 'A' ? *ps - 0x37 : *ps - 0x30); in php_conv_qprint_decode_convert()
1064 ps++, icnt--; in php_conv_qprint_decode_convert()
1085 *ps == (unsigned char)inst->lbchars[lb_cnt]) { in php_conv_qprint_decode_convert()
1089 if (*ps != '\t' && *ps != ' ') { in php_conv_qprint_decode_convert()
1093 ps++, icnt--; in php_conv_qprint_decode_convert()
1097 if (!inst->lbchars && lb_cnt == 1 && *ps == '\n') { in php_conv_qprint_decode_convert()
1101 ps++, icnt--; /* consume \n */ in php_conv_qprint_decode_convert()
1111 if (*ps == (unsigned char)inst->lbchars[lb_cnt]) { in php_conv_qprint_decode_convert()
1113 ps++, icnt--; in php_conv_qprint_decode_convert()
1138 *in_pp = (const char *)ps; in php_conv_qprint_decode_convert()
1504 const char *ps, size_t buf_len, size_t *consumed, in strfilter_convert_append_bucket() argument
1516 if (ps == NULL) { in strfilter_convert_append_bucket()
1544 if (ps != NULL) { in strfilter_convert_append_bucket()
1550 inst->stub[inst->stub_len++] = *(ps++); in strfilter_convert_append_bucket()
1614 err = ((ps == NULL ? php_conv_convert(inst->cd, NULL, NULL, &pd, &ocnt): in strfilter_convert_append_bucket()
1615 php_conv_convert(inst->cd, &ps, &icnt, &pd, &ocnt))); in strfilter_convert_append_bucket()
1622 if (ps != NULL) { in strfilter_convert_append_bucket()
1627 memcpy(inst->stub, ps, icnt); in strfilter_convert_append_bucket()
1629 ps += icnt; in strfilter_convert_append_bucket()
1677 if (ps == NULL) { in strfilter_convert_append_bucket()