Lines Matching defs:j
83 size_t i, j;
88 for (j = 0; j < b->channels; j++) {
89 if (a->channel[i] != b->channel[j])
115 size_t i, j;
121 for (j = 0; j < b->reg_classes; j++) {
122 const struct p2p_reg_class *b_reg = &b->reg_class[j];
141 size_t i, j;
144 for (j = 0; j < cl->channels; j++) {
145 if (b_cl->channel[i] == cl->channel[j])
148 if (j == cl->channels) {
165 size_t i, j;
169 for (j = 0; j < b->reg_classes; j++) {
170 const struct p2p_reg_class *b_cl = &b->reg_class[j];
177 for (j = 0; j < b->reg_classes; j++) {
178 const struct p2p_reg_class *b_cl = &b->reg_class[j];
257 size_t i, j;
262 for (j = 0; j < reg->channels; j++) {
263 if (reg->channel[j] == channel)
274 size_t i, j;
277 for (j = 0; j < reg->channels; j++) {
279 reg->channel[j]) == (int) freq)
345 size_t i, j;
359 for (j = 0; j < c->channels; j++) {
361 j == 0 ? "" : ",",
362 c->channel[j]);
387 unsigned int i, j;
389 for (j = 0; classes == NULL || classes[j]; j++) {
396 if (classes == NULL || c->reg_class == classes[j]) {
469 unsigned int j;
473 for (j = 0; j < c->channels; j++) {
480 c->channel[j]);
504 size_t i, j;
511 for (i = 0, j = 0; i < src->reg_classes; i++) {
514 os_memcpy(&dst->reg_class[j], &src->reg_class[i],
516 j++;
518 dst->reg_classes = j;
586 size_t i, j;
595 for (j = 0; j < reg->channels; j++) {
596 if (p2p_check_pref_channel(reg->channel[j],
604 reg->channel[j];