• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/Security-57031.1.35/Security/libsecurity_asn1/security_asn1/

Lines Matching refs:pending

271     unsigned long pending;
856 * Actually, we have no idea how many bytes are pending, but we
860 state->pending = 1;
873 state->pending = 2;
900 PORT_Assert (state->pending == 1);
910 while (len && state->pending) {
929 state->pending = 0;
932 if (state->pending == 0)
989 state->pending = LONG_FORM_LENGTH (byte);
990 if (state->pending == 0) {
1018 PORT_Assert (state->pending > 0);
1028 while (len && state->pending) {
1044 state->pending--;
1047 if (state->pending == 0)
1111 * both contents_length and pending will be zero.
1113 state->pending = state->contents_length;
1123 state->consumed + state->contents_length > parent->pending) {
1643 if (state->pending < len)
1644 len = state->pending;
1667 state->pending -= bufLen;
1668 if (state->pending == 0)
1681 /*PORT_Assert (state->pending > 0); */
1684 if ((state->pending == 0) || (state->contents_length == 1)) {
1715 state->pending -= 1;
1726 if (state->pending == 0) {
1825 * - a definite-length encoding stops when our pending value hits 0
1848 if (state->pending) {
1850 if( child_consumed > state->pending ) {
1857 state->pending -= child_consumed;
1858 if (state->pending == 0)
1946 PORT_Assert (state->pending == 0);
1977 if (state->pending) {
1979 if( child_consumed > state->pending ) {
1986 state->pending -= child_consumed;
1987 if (state->pending == 0) {
2049 if (state->pending) {
2051 if( child_consumed > state->pending ) {
2057 state->pending -= child_consumed;
2058 if (state->pending == 0) {
2085 if (state->pending) {
2086 dprintf("decodeError: next_in_seq notInUse still pending\n");
2344 * Subtract from bytes pending; this only applies to a definite-length
2347 if (state->pending) {
2353 * consumed should be what was left pending.
2355 if (state->pending != state->child->consumed) {
2356 if (state->pending < state->child->consumed) {
2357 dprintf("decodeError: absorb_child pending < consumed\n");
2364 * pending is too big or too small, but it turns out that
2374 state->consumed += (state->pending - state->child->consumed);
2376 state->pending = 0;
2402 state->pending = 2;
2415 PORT_Assert (state->pending <= 2);
2423 if (state->pending < len)
2424 len = state->pending;
2438 state->pending -= len;
2440 if (state->pending == 0) {
2458 if (state->pending) {
2460 if( state->child->consumed > state->pending ) {
2461 dprintf("decodeError: pop_state pending < consumed\n");
2465 state->pending -= state->child->consumed;
2570 if( state->pending ) {
2572 if( child->consumed > state->pending ) {
2573 dprintf("decodeError: during_choice consumed > pending\n");
2578 state->pending -= child->consumed;
2579 if( 0 == state->pending ) {
2584 dprintf("decodeError: during_choice !pending\n");
2722 state->pending