Lines Matching refs:vector_slot
150 if ((cnode = vector_slot (cmdvec, i)) != NULL)
156 if ((cmd_element = vector_slot (cmd_vector, j)) != NULL)
158 descvec = vector_slot (cmd_element->strvec,
227 if ((cp = vector_slot (v, i)) != NULL)
372 descvec = vector_slot (strvec, i);
376 struct desc *desc = vector_slot (descvec, 0);
397 cnode = vector_slot (cmdvec, node);
407 cnode = vector_slot (cmdvec, ntype);
515 struct cmd_node *cnode = vector_slot (v, ntype);
1015 if ((cmd_element = vector_slot (v, i)) != NULL)
1018 vector_slot (v, i) = NULL;
1024 descvec = vector_slot (cmd_element->strvec, index);
1028 desc = vector_slot (descvec, j);
1109 vector_slot (v, i) = NULL;
1130 if ((cmd_element = vector_slot (v, i)) != NULL)
1135 vector_slot (v, i) = NULL;
1141 descvec = vector_slot (cmd_element->strvec, index);
1145 desc = vector_slot (descvec, j);
1217 vector_slot (v, i) = NULL;
1236 if ((cmd_element = vector_slot (v, i)) != NULL)
1240 descvec = vector_slot (cmd_element->strvec, index);
1246 desc = vector_slot (descvec, j);
1317 vector_slot (v, i) = NULL;
1414 if ((match = vector_slot (v, i)) != NULL)
1429 if ((desc = vector_slot (v, i)) != NULL)
1463 command = vector_slot (vline, i);
1474 if ((cmd_element = vector_slot (cmd_vector, j)) != NULL)
1476 descvec = vector_slot (cmd_element->strvec,
1480 struct desc *desc = vector_slot (descvec, k);
1511 if ((cmd_element = vector_slot (cmd_vector, i)) != NULL)
1517 vector_slot (cmd_vector, i) = NULL;
1530 vector descvec = vector_slot (strvec, index);
1535 desc = vector_slot (descvec, j);
1536 string = cmd_entry_function_desc (vector_slot (vline, index), desc->cmd);
1549 if (vector_slot (matchvec, 0) == NULL)
1615 command = vector_slot (vline, i);
1643 if ((cmd_element = vector_slot (cmd_vector, i)) != NULL)
1650 vector_slot (cmd_vector, i) = NULL;
1655 descvec = vector_slot (strvec, index);
1658 desc = vector_slot (descvec, j);
1660 if ((string = cmd_entry_function (vector_slot (vline, index),
1672 if (vector_slot (matchvec, 0) == NULL)
1678 if (vector_slot (vline, index) == '\0')
1686 if (vector_slot (matchvec, 1) == NULL)
1697 if (vector_slot (vline, index) != NULL)
1703 int len = strlen (vector_slot (vline, index));
1718 if (vector_slot (matchvec, i))
1719 XFREE (MTYPE_TMP, vector_slot (matchvec, i));
1764 command = vector_slot (vline, index);
1791 if (vector_slot (cmd_vector,i) != NULL)
1793 cmd_element = vector_slot (cmd_vector,i);
1831 argv[argc++] = vector_slot (vline, i);
1834 vector descvec = vector_slot (matched_element->strvec, i);
1838 struct desc *desc = vector_slot (descvec, 0);
1845 argv[argc++] = vector_slot (vline, i);
1848 argv[argc++] = vector_slot (vline, i);
1890 command = vector_slot (vline, index);
1892 match = cmd_filter_by_string (vector_slot (vline, index),
1917 if (vector_slot (cmd_vector,i) != NULL)
1919 cmd_element = vector_slot (cmd_vector,i);
1952 argv[argc++] = vector_slot (vline, i);
1955 vector descvec = vector_slot (matched_element->strvec, i);
1959 struct desc *desc = vector_slot (descvec, 0);
1966 argv[argc++] = vector_slot (vline, i);
1969 argv[argc++] = vector_slot (vline, i);
2216 struct cmd_node *cnode = vector_slot (cmdvec, vty->node);
2220 if ((cmd = vector_slot (cnode->cmd_vector, i)) != NULL)
2282 if ((node = vector_slot (cmdvec, i)) && node->func)
2368 if ((node = vector_slot (cmdvec, i)) && node->func && node->vtysh)
2381 if ((node = vector_slot (cmdvec, i)) && node->func)