Lines Matching defs:in

6  * You may not use this file except in compliance with the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
59 * delimiter char after in, nullifies it and sets nextp to point to the
60 * remaining string (if any). Returns in, setting nextp to NULL if no such
64 netcfg_tokenize_by_unescaped_delim(char *in, char delim, char **nextp)
70 if (in == NULL)
73 totlen = strlen(in);
74 for (*nextp = in; (*nextp - in) < totlen; (*nextp)++) {
86 *nextp = ((*nextp - in) < totlen) ? (*nextp) : NULL;
87 return (in);
93 return (in);
100 value_add_escapes(char *in, char *out)
108 for (i = 0; i < strlen(in); i++) {
109 switch (in[i]) {
114 out[j++] = in[i];
117 out[j++] = in[i];
129 value_remove_escapes(const char *in)
134 if ((out = strdup(in)) == NULL)
142 for (i = 0; i < strlen(in); i++) {
143 if (in[i] == NETCFG_PROP_ESCAPE)
144 out[j++] = in[++i];
146 out[j++] = in[i];
424 * passed-in nvlist.
449 * to the passed-in nvlist.
602 * Convert the passed-in idlist into an idstring of the form
641 * Create duplicate nvlist from the NETCFG_OBJECT_PROPS nvlist in the idlist
642 * passed in.
668 * Otherwise, nvl points to an nvlist of properties for the first object in
671 * is helpful if the actual strings are in a different case than the input
794 * We have an nvlist with all the identifiers in the
813 * passed-in id list with the canonical values;
875 * Write from the given nvlist and idstr to file in format:
999 * Write object(s) specified in nvl to dbname.
1006 * the string value of the NETCFG_OBJECT_DB_NAME pair in idlist), and
1009 * end up in dbname as a result of an aborted operation.
1052 /* writing multiple objects, write each object in turn */
1085 * Read in all objects from the db identified in idlist and update object
1092 * out to the specified db with the properties recorded in nvl.
1112 /* If we're renaming, the new idlist must be specified in nvl */
1142 /* object must exist in order to be renamed */
1193 * Add an extra pointer in case we're adding an entry that doesn't
1312 * Remove object identified by idlist from the db named in idlist.
1354 * for each property specified in plist. If a given property is not present
1355 * in the db entry, remove it from the returned list.
1387 * Create db file identified by idlist populated by the data in dblist.
1594 * passed-in list. Value is assumed to be string.