Lines Matching refs:RAND
311 enum CHOICE {YES, NO, RAND};
318 Bool(CHOICE flag=RAND):tag(flag){}
320 return tag == RAND ? rand()%2 : tag == YES;
321 //if (tag == RAND){
322 // return rand()%2 == 1;
329 Escaper(CHOICE escapeLiteral = RAND,
330 CHOICE twoQuotesEscape = RAND,
346 ESCAPE_FORM t = escape_form == RAND_ESC ? (ESCAPE_FORM) (rand()%3) : escape_form;
480 // First, a slot is selected by rand(). Then we translate the slot to corresponding item.
484 double reference_mark = (double)rand() / (double)RAND_MAX;
643 int len = min + rand()%(max - min + 1); // min + [0, diff]
673 str.append(last[rand()%last_len]);