/osnet-11/usr/src/lib/libzpool/common/ |
H A D | util.c | 43 int index = 0; local 48 index++; 51 u = " KMGTPE"[index]; 53 if (index == 0) { 57 (double)num / (1ULL << 10 * index), u); 60 (double)num / (1ULL << 10 * index), u);
|
/osnet-11/usr/src/lib/sun_fc/common/ |
H A D | HBA.cc | 195 * @memo Fetch the port based on index. 196 * @exception IllegalIndexException Thrown if the index is not valid 197 * @return HBAPort* the port matching the index 198 * @param index - the zero based index of the port to retrieve 201 HBAPort* HBA::getPortByIndex(int index) { argument 205 log.debug("Port index size %d index %d ", portsByIndex.size(), 206 index); 208 if (index > 232 int index; local [all...] |
H A D | HBAPort.cc | 289 HBANPIVPort* HBAPort::getPortByIndex(int index) { argument 293 if (index >= npivportsByIndex.size() || index < 0) { 296 HBANPIVPort *tmp = npivportsByIndex[index];
|
H A D | Handle.cc | 71 * @param portIndex The index of the HBA port to open a handle for, 252 * @memo Refresh underlying index values 253 * @postcondition All HandlePorts will be reset and prior index values 258 * the use of index values for identifying what "thing" 326 * @memo Get the underlying Handle port based on index 327 * @return The Handle port for the given port index 328 * @param index The index of the desired port 330 HandlePort* Handle::getHandlePortByIndex(int index) { argument 332 HBAPort* port = hba->getPortByIndex(index); [all...] |
/osnet-11/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasScsiInquiry.c | 75 int index = 0; local 110 index = RetrieveIndex(handle); 112 if ((hba_ptr = RetrieveHandle(index)) == NULL) {
|
H A D | Sun_sasScsiReadCapacity.c | 72 int index = 0, domainPortFound = 0; local 106 index = RetrieveIndex(handle); 108 if ((hba_ptr = RetrieveHandle(index)) == NULL) {
|
H A D | sun_sas.c | 157 RetrieveHandle(int index) argument 163 if (hba_ptr->index == index) 177 ExtractHandle(int index) argument 185 if (hba_ptr->index == index) { 212 int index; local 215 index = RetrieveIndex(handle); 216 if (index == -1) { 222 handle_struct = RetrieveHandle(index); 321 int index = 0; local [all...] |
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppop.c | 110 int index; local 188 mp->bound[index] = fp; 193 index = token == T_HEADER ? INC_STANDARD : INC_LOCAL; 629 dp->index = INC_LOCAL + pp.ignoresrc != 0;
|
H A D | ppsearch.c | 118 int index; local 147 dp ? (dp->index == INC_PREFIX ? "pre" : dp->index == INC_LOCAL ? "lcl" : dp->index == INC_VENDOR ? "vnd" : "std") : NiL, 161 for (index = -1; dp; dp = dp->next) 164 message((-3, "search: fp=%s need=%02x index=%d dp=%s type=%02x index=%d", fp->name, need, index, dp->name, dp->type, dp->index)); 298 xp->flags |= INC_MEMBER(dp->index); 606 int index; local [all...] |
/osnet-11/usr/src/lib/libsasl/lib/ |
H A D | md5.c | 142 unsigned int i, index, partLen; local 145 index = (unsigned int)((context->count[0] >> 3) & 0x3F); 153 partLen = 64 - index; 160 ((POINTER)&context->buffer[index], (POINTER)input, partLen); MD5Transform 166 index = 0; 173 ((POINTER)&context->buffer[index], (POINTER)&input[i], 187 unsigned int index, padLen; local 193 index = (unsigned int)((context->count[0] >> 3) & 0x3f); 194 padLen = (index < 56) ? (56 - index) [all...] |
/osnet-11/usr/src/lib/libshare_plugins/autofs/ |
H A D | libshare_autofs.c | 114 int index; member in struct:proto_option_defs 269 range_check_validator(int index, char *value) argument 277 if (val < autofs_proto_options[index].minval || 278 val > autofs_proto_options[index].maxval) 286 true_false_validator(int index, char *value) argument 298 strlen_validator(int index, char *value) argument 301 if (autofs_proto_options[index].minval == 0) 307 if (strlen(value) > autofs_proto_options[index].maxval || 308 strlen(value) < autofs_proto_options[index].minval) 315 * autofs_validate_proto_prop(index, nam 322 autofs_validate_proto_prop(int index, const char *value) argument 343 autofs_add_default_value(int index) argument 504 int index; local [all...] |
/osnet-11/usr/src/lib/libshare_plugins/nfs/ |
H A D | libshare_nfs.h | 52 #define SHOPT_INDEX "index" 92 int index; member in struct:option_defs
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | env.c | 36 int index; member in struct:_venv_ 105 vp->index = (n<<ENV_BITS) | (vp->index&((1<<ENV_BITS)-1)); 129 if(vp->index&ENV_PMALLOC) 133 ep->env[vp->index>>ENV_BITS] = vp->un.ptr; 142 vp->index = ENV_VMALLOC; 154 vp->index |= ENV_PMALLOC; 156 vp->index &= ~ENV_PMALLOC; 172 if(vp->index&ENV_PMALLOC) 212 vp->index [all...] |
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_hash.c | 32 * |handle|---> |index 0|--->|item|--->|item|---> 34 * | ... | |index 1|---> 36 * |index 2|--->|item|--->|item|--->|item|---> 42 * |index n|---> 165 * Default hash function to compute the table index (hash value) based 170 * Returns the table index location for the item. 215 * handle and the key is used to generate a hashed index. The data 589 size_t index; local 622 for (index = iterator->hti_index + 1; index < tota [all...] |
/osnet-11/usr/src/lib/libkstat/common/ |
H A D | kstat.c | 66 int index = 0; local 84 while (path[index]) { 85 if (path[index] < '0' || path[index] > '9') { 86 val += ((int)path[index])*(index+1); 87 index++; 90 switch (index & 3) { 92 val += ((int)path[index])*(index [all...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | ldap_print.c | 237 printObjName(__nis_index_t *index, char *name) { argument 240 printIndex(index); 279 printObjName(&t->index, t->objName);
|
/osnet-11/usr/src/lib/libnisdb/yptol/ |
H A D | map_ctrl.c | 509 int index; local 518 index = hash(map_name); 532 if (map_id_list[index] == NULL) { 535 new_elt->next = map_id_list[index]; 538 map_id_list[index] = new_elt; 567 "no map for index %d", i); 570 "index %d has the following maps", i);
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | pkgstr.c | 181 int index; local 191 for (index = 0 ; ; index ++) { 194 p = pkgstrGetToken((char *)NULL, a_string, index, a_separators); 196 return (index); 434 /* scan for separators and return 'index'th token found */ 448 /* if this is the 'index'th token requested return it */ 553 /* scan for separators and return 'index'th token found */ 566 /* if this is the 'index'th token requested return it */
|
/osnet-11/usr/src/lib/libdns_sd/common/ |
H A D | dnssd_clientlib.c | 340 uint16_t index, 350 while (p<e && count<index) { p += 1 + p[0]; count++; } // Find requested item 336 TXTRecordGetItemAtIndex( uint16_t txtLen, const void *txtRecord, uint16_t index, uint16_t keyBufLen, char *key, uint8_t *valueLen, const void **value ) argument
|
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Distribution.java | 183 * index. Uses {@code base} and {@code constant} constructor args 189 * expected range for the given bucket index {@code i} 214 bucket.getMin() + " at index " + i + ", expected " + min); 218 bucket.getMax() + " at index " + i + ", expected " + max); 262 * Gets the bucket at the given distribution index (starting at 266 * index 269 get(int index) argument 272 return buckets.get(index); 573 // subList inclusive at low index, exclusive at high index [all...] |
/osnet-11/usr/src/lib/libfru/libfru/ |
H A D | PayloadReader.cc | 117 size_t length, int index, 125 if (index == PathDef::lastIteration) 127 return (length * index); 133 if (index == PathDef::lastIteration) { 141 return (length * ((head + index) % iterPoss)); 143 int abs = tail - index; 114 calcOffset(int iterType, uint8_t head, uint8_t tail, uint8_t iterThere, uint8_t iterPoss, size_t length, int index, fru_errno_t *err) argument
|
/osnet-11/usr/src/lib/efcode/engine/ |
H A D | prims64.c | 201 * xa+ ( addr1 index -- addr2 ) 206 fstack_t index; local 209 index = POP(DS); 210 TOS += index * sizeof (xforth_t);
|
/osnet-11/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | module.c | 51 * Update types. Single-index and all are mutually exclusive. 91 key_build(const char *name, const ulong_t index) argument 95 key.d_index = index; 120 * If index corresponds to a module we have previously seen and indexed, return 126 module_lookup_index_exact(const ulong_t index) argument 130 key = key_build(NULL, index); 135 * If index corresponds to a valid (that is, extant as of latest information 137 * Otherwise, return the data for the valid module whose index is as close as 138 * possible to index but not lower. This preserves the lexicographical 142 module_lookup_index_nextvalid(const ulong_t index) argument 468 ulong_t index; local [all...] |
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_crypto_openssl.h | 137 unsigned int index; /* Index of this cred in the creds[] array */ member in struct:_pkinit_cert_data 146 unsigned int index; member in struct:_pkinit_cert_iter_data
|
/osnet-11/usr/src/lib/libadm/common/ |
H A D | ckitem.c | 370 int index; local 372 index = 0; 376 while (menup->invis[index]) 377 free(menup->invis[index]); 385 while (menup->invis[index]) 386 index++; /* count invisible choices */ 388 (index+2)* sizeof (char *)); 389 menup->invis[index+1] = NULL; 393 menup->invis[index] = strdup(choice);
|