Searched refs:index (Results 1 - 25 of 1378) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d.out4 if (index("foobarbaz", "barbaz") != 3) {
5 printf("perl => index(\"foobarbaz\", \"barbaz\") = %d\n",
6 index("foobarbaz", "barbaz"));
7 printf(" D => index(\"foobarbaz\", \"barbaz\") = 3\n");
18 if (index("foofoofoo", "foo") != 0) {
19 printf("perl => index(\"foofoofoo\", \"foo\") = %d\n",
20 index("foofoofoo", "foo"));
21 printf(" D => index(\"foofoofoo\", \"foo\") = 0\n");
32 if (index("boofoofoo", "foo") != 3) {
33 printf("perl => index(\"boofoofo
[all...]
H A Dtst.substr.d33 int index;
48 command[i].index = 3;
52 command[i].index = 300;
56 command[i].index = -10;
60 command[i].index = 0;
64 command[i].index = 1;
68 command[i].index = strlen(str) - 1;
72 command[i].index = strlen(str);
76 command[i].index = strlen(str) + 1;
80 command[i].index
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list.kshlib46 typeset -i index=1
57 EXPECTED=$(echo $list | awk "{print \$$index}")
65 ((index = index + 1))
70 if [ $index -ne $(echo $list | awk '{print split($0,arr)+1}') ]
87 # set our index to the be number of elements in the list
88 typeset -i index=$(echo $list | awk '{print split($0,arr)}')
99 EXPECTED=$(echo $list | awk "{print \$$index}")
108 ((index = index
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dstrchr.c36 #undef index
38 extern char* index(const char*, int);
43 return(index(s, c));
/illumos-gate/usr/src/ucbhead/
H A Dstrings.h57 extern char *index(char *, char);
63 extern char *index();
/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_prime.h76 static const int index[] = { variable
/illumos-gate/usr/src/test/zfs-tests/tests/functional/online_offline/
H A Dsetup.ksh37 index=`expr $RANDOM % 2`
38 case $index in
/illumos-gate/usr/src/test/zfs-tests/tests/functional/replacement/
H A Dsetup.ksh37 index=`expr $RANDOM % 2`
38 case $index in
/illumos-gate/usr/src/lib/libgss/
H A Dg_rel_oid_set.c45 OM_uint32 index; local
56 for (index = 0; index < (*set)->count; index++) {
57 oid = &(*set)->elements[index];
/illumos-gate/usr/src/cmd/mailx/
H A Dstralloc.c73 int index; local
85 index = 0;
87 if (sp->s_topFree == NOSTR && (STRINGSIZE << index) >= s)
91 index++;
96 index = sp - &stringdope[0];
97 sp->s_topFree = (char *) calloc(STRINGSIZE << index,
101 index);
105 sp->s_nleft = STRINGSIZE << index;
162 register int index; local
167 index
[all...]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPTokenizer.java49 private int index; field in class:SLPTokenizer
56 index = 0;
130 if (index >= str.length()) {
137 for (int i = index; i < str.length(); i++) {
176 if (index >= str.length()) throw new NoSuchElementException();
179 char c = str.charAt(index);
187 sb.append(str.charAt(index));
188 index++;
193 while (index < str.length()) {
195 c = str.charAt(index);
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwctomb.c44 int size, index; local
74 if ((index = size) <= 0)
76 while (index--) {
82 s[index] = d;
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dstrings.h45 char *index();
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dindex.c33 index(sp, c) function
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dindex.c53 index(const char *sp, int c) function
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetAdapterName.c34 * index the index to which adapter to retrive the name
37 HBA_STATUS Sun_sasGetAdapterName(HBA_UINT32 index, char *name) { argument
48 if (hba_ptr->index == index) {
62 "Unable to find adapter index %d.", index);
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootiic/
H A Denv_vars.h47 extern void SetBootCommand(int index, char *command);
H A Denv_vars.c109 * void SetBootCommand(int index, char *command)
110 * This global function replaces the specified index with the string residing
112 * associated command index.
116 SetBootCommand(int index, char *command) argument
120 if ((unsigned)index < MAX_BOOT_COMMANDS) {
122 p_memset(boot_commands[index], 0, MAX_INPUT_SIZE);
128 boot_commands[index][i] = command[i];
129 if (!(boot_commands[index][i]))
163 * coverts it to the standard, command-index format. Notice, the processed
172 int index, local
[all...]
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootspi/
H A Denv_vars.h47 extern void SetBootCommand(int index, char *command);
/illumos-gate/usr/src/lib/libnsctl/common/
H A Dhash.c46 int index; local
58 * in this index for a duplicate
60 index = calc_hash(key);
61 node->next = hash[ index ];
62 hash[ index ] = node;
80 int index; local
83 index = calc_hash(key);
84 node = hash[ index ];
96 int index; local
100 index
[all...]
/illumos-gate/usr/src/lib/libshare/common/
H A Dissubdir.c70 int index; local
91 index = 0;
98 if (index == 0) {
104 if (index > 0 &&
106 inoeq(child_ino[index - 1], st.st_ino))) {
112 child_ino[index++] = st.st_ino;
128 valid = index;
149 for (index = 0; index < valid; index
[all...]
/illumos-gate/usr/src/stand/lib/inet/
H A Dudp.c96 * Arguments: index: index into the open socket table, ip is the inetgram
100 udp_input(int index) argument
108 printf("udp_input(%d) ###############################\n", index);
110 while ((igp = sockets[index].inq) != NULL) {
114 index, igp->igm_level);
116 del_gram(&sockets[index].inq, igp, TRUE);
122 header_len = (sockets[index].headerlen[TRANSPORT_LVL])(NULL);
129 &igp->igm_target, sockets[index].proto) != 0) {
131 "from %s.\n", index,
170 udp_output(int index, struct inetgram *ogp) argument
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/version/
H A Dtst.1.0.d41 int index;
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Ddynamic.c48 char index[INDEX_STR_SIZE]; local
50 (void) snprintf(index, sizeof (index), MSG_ORIG(MSG_FMT_INDEX), ndx);
51 dbg_print(lml, MSG_INTL(MSG_DYN_ENTRY), index,
59 * a single line using an index range instead of a single index.
65 char index[2 * INDEX_STR_SIZE]; local
71 (void) snprintf(index, sizeof (index),
73 dbg_print(lml, MSG_INTL(MSG_DYN_ENTRY), index,
[all...]
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A DsymintHdr.h110 #define ISYMBOL_IS_FUNC(sym_p, index) SYMBOL_IS_FUNC(&((sym_p)[(index)]))
111 #define ISYMBOL_NAME(sym_p, index) SYMBOL_NAME(&((sym_p)[(index)]))
112 #define ISYMBOL_LINES(sym_p, index) SYMBOL_LINES(&((sym_p)[(index)]))
113 #define ISYMBOL_LASTLN(sym_p, index) SYMBOL_LASTLN(&((sym_p)[(index)]))
180 Elf32_Word pf_symstr_ndx; /* Section index of string table */

Completed in 786 milliseconds

1234567891011>>