Lines Matching refs:num
231 // following are allowed: "led-num", "led-caps", and "led-scroll".
247 "$g:led-num; $g:led-caps; $g:led-scroll ]\n"
271 "$g:led-num; $g:led-caps; $g:led-scroll ]\n"
464 int32 num = strtoul(data + 1, NULL, 0);
465 if (num < 1)
466 num = 1;
467 else if (num > 32) {
473 rowLeftTop.x = key.frame.left + key.frame.Width() * num;
484 } else if (!strcmp("led-num", data)) {
491 // TODO: get modifier (ie. "num")
512 int32 num = 1;
515 num = strtoul(data + 1, NULL, 0);
516 if (num < 1)
517 num = 1;
518 else if (num > 32) {
528 last = first + num - 1;
541 num = last - first;
543 num = strtoul(end + 1, NULL, 0) + 1;
544 last = first + num - 1;
553 if (lastCount != num) {
558 for (int32 i = fKeyCount - num; i < fKeyCount; i++, first++) {
575 lastCount = num;
594 int num = sscanf(data, "%g,%g,%g", &x, &y, &secondRow);
595 if (num < 2) {