Home
last modified time | relevance | path

Searched refs:ARRAYSIZE (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/nvmeadm/
H A Dnvmeadm_print.c40 #define ARRAYSIZE(x) (sizeof (x) / sizeof (*(x))) macro
719 if (sc < ARRAYSIZE(generic_status_codes)) in nvme_print_error_log()
722 sc - 0x80 < ARRAYSIZE(generic_nvm_status_codes)) in nvme_print_error_log()
726 if (sc < ARRAYSIZE(specific_status_codes)) in nvme_print_error_log()
729 sc - 0x80 < ARRAYSIZE(specific_nvm_status_codes)) in nvme_print_error_log()
734 sc - 0x80 < ARRAYSIZE(media_nvm_status_codes)) in nvme_print_error_log()
857 for (i = 0; i != ARRAYSIZE(fwlog->fw_frs); i++) { in nvme_print_fwslot_log()
937 if (lr[i].lr_type < ARRAYSIZE(lba_range_types)) in nvme_print_feat_lba_range()
/titanic_50/usr/src/lib/libsqlite/src/
H A Dwhere.c58 #define ARRAYSIZE(X) (sizeof(X)/sizeof(X[0])) macro
100 if( i==pMaskSet->n && i<ARRAYSIZE(pMaskSet->ix) ){ in getMask()
415 nExpr = exprSplit(ARRAYSIZE(aExpr), aExpr, pWhere); in sqliteWhereBegin()
416 if( nExpr==ARRAYSIZE(aExpr) ){ in sqliteWhereBegin()
418 "than %d terms allowed", (int)ARRAYSIZE(aExpr)-1); in sqliteWhereBegin()
485 for(i=0; i<pTabList->nSrc && i<ARRAYSIZE(iDirectEq); i++){ in sqliteWhereBegin()
742 if( i<ARRAYSIZE(iDirectEq) && iDirectEq[i]>=0 ){ in sqliteWhereBegin()
870 }else if( i<ARRAYSIZE(iDirectLt) && (iDirectLt[i]>=0 || iDirectGt[i]>=0) ){ in sqliteWhereBegin()