Lines Matching refs:num
172 long num; member
207 np->num = (ep = strpbrk(cp, ep)) ? (ep - cp + 1) : 0; in getnode()
217 np->num = strlen(cp); in getnode()
278 np->num = strtol(np->str,&ep,10); in getnode()
309 sfsprintf(cp=state->buf,sizeof(state->buf),"%d",np->num); in expr_cond()
310 np->num = 0; in expr_cond()
323 np->num = strtol(np->str,&cp,10); in expr_cond()
331 np->num = match[0].rm_eo - match[0].rm_so; in expr_cond()
356 if (op && rp.num==0) in expr_mult()
361 np->num *= rp.num; in expr_mult()
364 np->num /= rp.num; in expr_mult()
367 np->num %= rp.num; in expr_mult()
386 np->num -= rp.num; in expr_add()
388 np->num += rp.num; in expr_add()
412 sfsprintf(left=buff1,sizeof(buff1),"%d",np->num); in expr_cmp()
416 sfsprintf(right=buff2,sizeof(buff2),"%d",rp.num); in expr_cmp()
421 np->num = streq(left,right); in expr_cmp()
424 np->num = (strcoll(left,right)>0); in expr_cmp()
427 np->num = (strcoll(left,right)<0); in expr_cmp()
430 np->num = (strcoll(left,right)>=0); in expr_cmp()
433 np->num = (strcoll(left,right)<=0); in expr_cmp()
436 np->num = !streq(left,right); in expr_cmp()
439 np->num = (np->num==rp.num); in expr_cmp()
442 np->num = (np->num>rp.num); in expr_cmp()
445 np->num = (np->num<rp.num); in expr_cmp()
448 np->num = (np->num>=rp.num); in expr_cmp()
451 np->num = (np->num<=rp.num); in expr_cmp()
454 np->num = (np->num!=rp.num); in expr_cmp()
469 if ((numeric(&rp) && rp.num==0) || *rp.str==0) in expr_and()
471 np->num = 0; in expr_and()
485 if ((numeric(np) && np->num==0) || *np->str==0) in expr_or()
533 sfprintf(sfstdout,"%d\n",node.num); in b_expr()
534 return numeric(&node)?node.num==0:*node.str==0; in b_expr()