/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/src/c/getHandleProperty/ |
H A D | setHandleProperty.h | 34 …set_color_map_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol); 35 …set_old_style_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol); 39 int set_visible_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol… 44 …set_axes_size_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol); 86 int set_text_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol); 93 int set_data_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol); 98 int set_title_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol); 109 int set_view_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol); 124 int set_box_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol); 125 int set_grid_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol); [all …]
|
H A D | set_datatip_property.c | 30 …ip_orientation_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol) in set_tip_orientation_property() argument 61 …ip_z_component_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol) in set_tip_z_component_property() argument 244 …ip_interp_mode_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol) in set_tip_interp_mode_property() argument 247 int interp_mode = tryGetBooleanValueFromStack(_pvData, valueType, nbRow, nbCol, "interp_mode"); in set_tip_interp_mode_property() 268 …t_tip_box_mode_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol) in set_tip_box_mode_property() argument 271 int box_mode = tryGetBooleanValueFromStack(_pvData, valueType, nbRow, nbCol, "box_mode"); in set_tip_box_mode_property() 292 …tip_label_mode_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol) in set_tip_label_mode_property() argument 295 int label_mode = tryGetBooleanValueFromStack(_pvData, valueType, nbRow, nbCol, "label_mode"); in set_tip_label_mode_property() 336 …t_tip_detached_property(void* _pvCtx, int iObj, void* _pvData, int valueType, int nbRow, int nbCol) in set_tip_detached_property() argument 339 int isDetached = nbRow * nbCol != 0; in set_tip_detached_property() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/javasci/src/c/ |
H A D | javasci2_helper.c | 43 double *getDouble(char *variableName, int *nbRow, int *nbCol) in getDouble() argument 147 BOOL *getBoolean(char *variableName, int *nbRow, int *nbCol) in getBoolean() argument 188 byte *getByte(char *variableName, int *nbRow, int *nbCol) in getByte() argument 226 byte *getUnsignedByte(char *variableName, int *nbRow, int *nbCol) in getUnsignedByte() argument 266 short *getShort(char *variableName, int *nbRow, int *nbCol) in getShort() argument 344 int *getInt(char *variableName, int *nbRow, int *nbCol) in getInt() argument 369 int putInt(char *variableName, int *variable, int nbRow, int nbCol) in putInt() argument 423 long long *getLong(char *variableName, int *nbRow, int *nbCol) in getLong() argument 501 char **getString(char *variableName, int *nbRow, int *nbCol) in getString() argument 516 piLen = (int *)malloc(sizeof(int) * (*nbRow) * (*nbCol)); in getString() [all …]
|
H A D | javasci2_helper.h | 60 double * getDouble(char* variableName, int *nbRow, int *nbCol); 112 BOOL * getBoolean(char* variableName, int *nbRow, int *nbCol); 133 byte * getByte(char* variableName, int *nbRow, int *nbCol); 144 int putByte(char* variableName, byte *variable, int nbRow, int nbCol); 154 byte * getUnsignedByte(char* variableName, int *nbRow, int *nbCol); 175 short * getShort(char* variableName, int *nbRow, int *nbCol); 217 int * getInt(char* variableName, int *nbRow, int *nbCol); 228 int putInt(char* variableName, int *variable, int nbRow, int nbCol); 259 long long * getLong(char* variableName, int *nbRow, int *nbCol); 270 int putLong(char* variableName, long *variable, int nbRow, int nbCol); [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/includes/ |
H A D | SetUicontrol.h | 37 …nt SetUicontrolIcon(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol); 40 …etUicontrolFontName(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol); 41 …etUicontrolFontSize(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol); 46 …int SetUicontrolMax(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol); 47 …int SetUicontrolMin(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol); 48 GUI_IMPEXP int SetUicontrolPosition(int iObjUID, void* pvData, int valueType, int nbRow, int nbCol); 49 … SetUicontrolRelief(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol); 54 …t SetUicontrolUnits(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol); 55 …t SetUicontrolValue(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol); 57 …nt SetUimenuChecked(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol); [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/sci_gateway/cpp/ |
H A D | sci_uigetfont.cpp | 43 int nbCol = 0; in sci_uigetfont() local 75 fontNameSize = nbRow * nbCol; in sci_uigetfont() 111 if (nbRow * nbCol != 1) in sci_uigetfont() 120 freeAllocatedMatrixOfString(nbRow, nbCol, fontNameAdr); in sci_uigetfont() 147 if (nbRow * nbCol != 1) in sci_uigetfont() 157 freeAllocatedMatrixOfString(nbRow, nbCol, fontNameAdr); in sci_uigetfont() 184 if (nbRow * nbCol != 1) in sci_uigetfont() 194 freeAllocatedMatrixOfString(nbRow, nbCol, fontNameAdr); in sci_uigetfont() 243 nbCol = 1; in sci_uigetfont() 306 nbCol = 0; in sci_uigetfont() [all …]
|
H A D | sci_x_dialog.cpp | 36 int nbRow = 0, nbCol = 0; in sci_x_dialog() local 60 if (getAllocatedMatrixOfString(pvApiCtx, piAddrlabelsAdr, &nbRow, &nbCol, &labelsAdr)) in sci_x_dialog() 78 setMessageBoxMultiLineMessage(messageBoxID, labelsAdr, nbCol * nbRow); in sci_x_dialog() 79 freeAllocatedMatrixOfString(nbRow, nbCol, labelsAdr); in sci_x_dialog() 93 … if (getAllocatedMatrixOfString(pvApiCtx, piAddrinitialValueAdr, &nbRow, &nbCol, &initialValueAdr)) in sci_x_dialog() 105 setMessageBoxInitialValue(messageBoxID, initialValueAdr, nbCol * nbRow); in sci_x_dialog() 106 freeAllocatedMatrixOfString(nbRow, nbCol, initialValueAdr); in sci_x_dialog() 117 nbCol = 0; in sci_x_dialog() 119 …sciErr = allocMatrixOfDouble(pvApiCtx, nbInputArgument(pvApiCtx) + 1, nbRow, nbCol, &emptyMatrixAd… in sci_x_dialog() 131 nbCol = 1; in sci_x_dialog() [all …]
|
H A D | sci_uigetcolor.cpp | 44 int nbRow = 0, nbCol = 0; in sci_uigetcolor() local 69 sciErr = getMatrixOfDouble(pvApiCtx, piAddrredAdr, &nbRow, &nbCol, &redAdr); in sci_uigetcolor() 77 if ((nbRow != 1) || (nbCol != 3)) in sci_uigetcolor() 144 sciErr = getMatrixOfDouble(pvApiCtx, piAddrredAdr, &nbRow, &nbCol, &redAdr); in sci_uigetcolor() 153 if (nbRow * nbCol != 3) in sci_uigetcolor() 226 if (nbRow * nbCol != 1) in sci_uigetcolor() 261 if (nbRow * nbCol != 1) in sci_uigetcolor() 296 if (nbRow * nbCol != 1) in sci_uigetcolor() 347 nbCol = 3; in sci_uigetcolor() 362 nbCol = 1; in sci_uigetcolor() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/javasci/src/jni/ |
H A D | putLists.c | 102 int nbCol = 0; in sendList() local 130 if (nbCol == 0) in sendList() 162 if (nbCol == 0) in sendList() 202 int nbCol = 0; in sendList() local 229 if (nbCol == 0) in sendList() 270 if (nbCol == 0) in sendList() 325 int nbCol = 0; in sendList() local 345 if (nbCol == 0) in sendList() 479 int nbCol = 0; in sendList() local 859 int nbCol = 0; in sendList() local [all …]
|
H A D | call_scilab.i | 145 int putString(char* variableName, char **variable, int nbRow, int nbCol); 153 int putDouble(char * variableName, double variable[], int nbRow, int nbCol); 156 int putBoolean(char * variableName, BOOL variable[], int nbRow, int nbCol); 159 int putByte(char * variableName, byte variable[], int nbRow, int nbCol); 161 int putUnsignedByte(char * variableName, byte variable[], int nbRow, int nbCol); 164 int putShort(char * variableName, short variable[], int nbRow, int nbCol); 166 int putUnsignedShort(char * variableName, unsigned short variable[], int nbRow, int nbCol); 169 int putInt(char * variableName, int variable[], int nbRow, int nbCol); 171 int putUnsignedInt(char * variableName, unsigned int variable[], int nbRow, int nbCol); 175 int putLong(char * variableName, long variable[], int nbRow, int nbCol); [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/sci_gateway/c/ |
H A D | sci_messagebox.c | 42 int nbRow = 0, nbCol = 0; in sci_messagebox() local 102 if (nbRow * nbCol != 1) in sci_messagebox() 147 if (nbRow * nbCol == 1) in sci_messagebox() 159 nbColButtons = nbCol; in sci_messagebox() 162 nbCol = 1; in sci_messagebox() 169 nbColButtons = nbCol; in sci_messagebox() 172 nbCol = 1; in sci_messagebox() 249 if (nbRow * nbCol != 1) in sci_messagebox() 276 freeAllocatedMatrixOfString(nbRow, nbCol, titleAdr); in sci_messagebox() 287 freeAllocatedMatrixOfString(nbRow, nbCol, iconAdr); in sci_messagebox() [all …]
|
H A D | sci_x_choose.c | 33 int nbRow = 0, nbCol = 0; in sci_x_choose() local 81 if (getAllocatedMatrixOfString(pvApiCtx, piAddrmessageAdr, &nbRow, &nbCol, &messageAdr)) in sci_x_choose() 101 setMessageBoxMultiLineMessage(messageBoxID, messageAdr, nbCol * nbRow); in sci_x_choose() 102 freeAllocatedMatrixOfString(nbRow, nbCol, messageAdr); in sci_x_choose() 121 … if (getAllocatedMatrixOfString(pvApiCtx, piAddrbuttonLabelAdr, &nbRow, &nbCol, &buttonLabelAdr)) in sci_x_choose() 127 if (nbRow * nbCol != 1) in sci_x_choose() 129 freeAllocatedMatrixOfString(nbRow, nbCol, buttonLabelAdr); in sci_x_choose() 140 setMessageBoxButtonsLabels(messageBoxID, buttonLabelAdr, nbCol * nbRow); in sci_x_choose() 141 freeAllocatedMatrixOfString(nbRow, nbCol, buttonLabelAdr); in sci_x_choose() 151 nbCol = 1; in sci_x_choose() [all …]
|
H A D | sci_x_choose_modeless.c | 33 int nbRow = 0, nbCol = 0; in sci_x_choose_modeless() local 81 if (getAllocatedMatrixOfString(pvApiCtx, piAddrmessageAdr, &nbRow, &nbCol, &messageAdr)) in sci_x_choose_modeless() 102 setMessageBoxMultiLineMessage(messageBoxID, messageAdr, nbCol * nbRow); in sci_x_choose_modeless() 109 freeAllocatedMatrixOfString(nbRow, nbCol, messageAdr); in sci_x_choose_modeless() 123 … if (getAllocatedMatrixOfString(pvApiCtx, piAddrbuttonLabelAdr, &nbRow, &nbCol, &buttonLabelAdr)) in sci_x_choose_modeless() 129 if (nbRow * nbCol != 1) in sci_x_choose_modeless() 131 freeAllocatedMatrixOfString(nbRow, nbCol, buttonLabelAdr); in sci_x_choose_modeless() 142 setMessageBoxButtonsLabels(messageBoxID, buttonLabelAdr, nbCol * nbRow); in sci_x_choose_modeless() 143 freeAllocatedMatrixOfString(nbRow, nbCol, buttonLabelAdr); in sci_x_choose_modeless() 153 nbCol = 1; in sci_x_choose_modeless() [all …]
|
H A D | sci_toolbar.c | 44 int nbCol = 0; in sci_toolbar() local 72 sciErr = getMatrixOfDoubleAsInteger(pvApiCtx, piAddr1, &nbRow, &nbCol, &piStkAdr); in sci_toolbar() 80 if (nbRow * nbCol != 1) in sci_toolbar() 121 sciErr = getMatrixOfHandle(pvApiCtx, piAddrstkAdr, &nbRow, &nbCol, &stkAdr); in sci_toolbar() 129 if (nbRow * nbCol != 1) in sci_toolbar() 168 if (getAllocatedMatrixOfString(pvApiCtx, piAddrparam, &nbRow, &nbCol, ¶m)) in sci_toolbar() 174 if (nbRow * nbCol != 1) in sci_toolbar() 176 freeAllocatedMatrixOfString(nbRow, nbCol, param); in sci_toolbar() 188 freeAllocatedMatrixOfString(nbRow, nbCol, param); in sci_toolbar() 192 freeAllocatedMatrixOfString(nbRow, nbCol, param); in sci_toolbar() [all …]
|
H A D | sci_waitbar.c | 43 int nbCol = 0; in sci_waitbar() local 67 sciErr = getMatrixOfDouble(pvApiCtx, piAddrfractionAdr, &nbRow, &nbCol, &fractionAdr); in sci_waitbar() 75 if (nbRow * nbCol != 1) in sci_waitbar() 139 if (nbRow * nbCol != 1) in sci_waitbar() 186 if (nbRow * nbCol != 1) in sci_waitbar() 200 sciErr = getMatrixOfHandle(pvApiCtx, piAddrhandleAdr, &nbRow, &nbCol, &handleAdr); in sci_waitbar() 208 if (nbRow * nbCol != 1) in sci_waitbar() 259 if (nbRow * nbCol != 1) in sci_waitbar() 304 if (nbRow * nbCol != 1) in sci_waitbar() 358 if (nbRow * nbCol != 1) in sci_waitbar() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/api_scilab/src/cpp/ |
H A D | returnProperty.cpp | 114 void* sciReturnMatrix(double values[], int nbRow, int nbCol) in sciReturnMatrix() argument 117 types::Double* pD = new types::Double(nbRow, nbCol, &pdbl); in sciReturnMatrix() 118 for (int i = 0 ; i < nbRow * nbCol ; i++) in sciReturnMatrix() 127 types::String* pS = new types::String(nbRow, nbCol); in sciReturnStringMatrix() 128 for (int i = 0 ; i < nbRow * nbCol ; i++) in sciReturnStringMatrix() 180 types::Int8* pOut = new types::Int8(nbRow, nbCol); in sciReturnMatrixOfInteger8() 188 types::UInt8* pOut = new types::UInt8(nbRow, nbCol); in sciReturnMatrixOfUnsignedInteger8() 196 types::Int16* pOut = new types::Int16(nbRow, nbCol); in sciReturnMatrixOfInteger16() 204 types::UInt16* pOut = new types::UInt16(nbRow, nbCol); in sciReturnMatrixOfUnsignedInteger16() 212 types::Int32* pOut = new types::Int32(nbRow, nbCol); in sciReturnMatrixOfInteger32() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/src/c/ |
H A D | sciMatrix.c | 37 newMat->nbCol = 0 ; in emptyMatrix() 43 sciMatrix * newMatrix(int nbRow, int nbCol) in newMatrix() argument 50 newMat->data = MALLOC((nbRow * nbCol) * sizeof(void *)); in newMatrix() 52 newMat->nbCol = nbCol; in newMatrix() 55 for (i = 0 ; i < nbRow * nbCol ; i++) in newMatrix() 63 sciMatrix * newCompleteMatrix(void ** dataMat, int nbRow, int nbCol) in newCompleteMatrix() argument 70 newMat->nbCol = nbCol ; in newCompleteMatrix() 78 for (i = 0 ; i < mat->nbRow * mat->nbCol ; i++) in deleteMatrix() 86 mat->nbCol = 0; in deleteMatrix() 94 mat->nbCol = 0; in desallocateMatrix() [all …]
|
H A D | StringMatrix.c | 30 StringMatrix * newFullStringMatrix(char ** textMat, int nbRow, int nbCol) in newFullStringMatrix() argument 34 StringMatrix * newMat = newMatrix(nbRow, nbCol); in newFullStringMatrix() 37 for (i = 0 ; i < nbRow * nbCol ; i++) in newFullStringMatrix() 47 StringMatrix * newEmptyStringMatrix(int nbRow, int nbCol) in newEmptyStringMatrix() argument 51 StringMatrix * newMat = newMatrix(nbRow, nbCol); in newEmptyStringMatrix() 54 for (i = 0 ; i < nbRow * nbCol ; i++) in newEmptyStringMatrix() 66 return newFullStringMatrix((char **) copyMat->data, copyMat->nbRow, copyMat->nbCol); in copyStringMatrix() 94 int nbCol = getMatNbCol(mat); in printStrMat() local 98 for (j = 0; j < nbCol; j++) in printStrMat()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/matio/src/c/ |
H A D | CreateIntegerVariable.c | 26 int nbRow, nbCol, i; in CreateIntegerVariable() local 43 nbCol = (int)matVariable->dims[1]; in CreateIntegerVariable() 44 iSize = nbRow * nbCol; in CreateIntegerVariable() 80 sciErr = createMatrixOfInteger8(pvApiCtx, iVar, nbRow, nbCol, tmp_int8); in CreateIntegerVariable() 115 sciErr = createMatrixOfInteger16(pvApiCtx, iVar, nbRow, nbCol, tmp_int16); in CreateIntegerVariable() 151 sciErr = createMatrixOfInteger32(pvApiCtx, iVar, nbRow, nbCol, tmp_int32); in CreateIntegerVariable() 186 sciErr = createMatrixOfInteger64(pvApiCtx, iVar, nbRow, nbCol, tmp_int64); in CreateIntegerVariable() 221 … sciErr = createMatrixOfUnsignedInteger8(pvApiCtx, iVar, nbRow, nbCol, tmp_uint8); in CreateIntegerVariable() 254 … sciErr = createMatrixOfUnsignedInteger16(pvApiCtx, iVar, nbRow, nbCol, tmp_uint16); in CreateIntegerVariable() 287 … sciErr = createMatrixOfUnsignedInteger32(pvApiCtx, iVar, nbRow, nbCol, tmp_uint32); in CreateIntegerVariable() [all …]
|
H A D | CreateBooleanVariable.c | 26 int nbRow = 0, nbCol = 0; in CreateBooleanVariable() local 36 nbCol = (int)matVariable->dims[1]; in CreateBooleanVariable() 38 if (nbRow * nbCol != 0) in CreateBooleanVariable() 40 if ((intPtr = (int*) MALLOC(sizeof(int) * nbRow * nbCol)) == NULL) in CreateBooleanVariable() 46 for (K = 0; K < nbRow * nbCol; K++) in CreateBooleanVariable() 53 sciErr = createMatrixOfBoolean(pvApiCtx, iVar, nbRow, nbCol, intPtr); in CreateBooleanVariable() 63 … sciErr = createMatrixOfBooleanInList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, intPtr); in CreateBooleanVariable() 76 if ((dblPtr = (double *)MALLOC(sizeof(double) * nbRow * nbCol)) == NULL) in CreateBooleanVariable() 82 for (K = 0; K < nbRow * nbCol; K++) in CreateBooleanVariable() 89 sciErr = createMatrixOfDouble(pvApiCtx, iVar, nbRow, nbCol, dblPtr); in CreateBooleanVariable() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/api_scilab/includes/ |
H A D | returnProperty.h | 110 void* sciReturnMatrix(double values[], int nbRow, int nbCol ) ; 117 void* sciReturnStringMatrix(char * values[], int nbRow, int nbCol ) ; 151 void* sciReturnMatrixOfInteger8(char values[], int nbRow, int nbCol); 158 void* sciReturnMatrixOfUnsignedInteger8(unsigned char values[], int nbRow, int nbCol); 165 void* sciReturnMatrixOfInteger16(short values[], int nbRow, int nbCol); 172 void* sciReturnMatrixOfUnsignedInteger16(unsigned short values[], int nbRow, int nbCol); 179 void* sciReturnMatrixOfInteger32(int values[], int nbRow, int nbCol); 186 void* sciReturnMatrixOfUnsignedInteger32(unsigned int values[], int nbRow, int nbCol);
|
/dports/devel/swig/swig-4.0.2/Examples/scilab/matrix2/ |
H A D | example.c | 8 double sumDoubleMatrix(double *inputMatrix, int nbRow, int nbCol) in sumDoubleMatrix() argument 12 for (i=0; i<nbRow*nbCol; i++) in sumDoubleMatrix() 19 void squareDoubleMatrix(double *inputMatrix, int nbRow, int nbCol, double** resultMatrix, int* nbRo… in squareDoubleMatrix() argument 22 int size = nbRow * nbCol; in squareDoubleMatrix() 24 *nbColRes = nbCol; in squareDoubleMatrix() 48 int sumIntegerMatrix(int *inputMatrix, int nbRow, int nbCol) in sumIntegerMatrix() argument 52 for (i=0; i<nbRow*nbCol; i++) in sumIntegerMatrix() 59 void squareIntegerMatrix(int *inputMatrix, int nbRow, int nbCol, int** resultMatrix, int* nbRowRes,… in squareIntegerMatrix() argument 62 int size = nbRow * nbCol; in squareIntegerMatrix() 64 *nbColRes = nbCol; in squareIntegerMatrix()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/src/cpp/ |
H A D | SetUicontrolString.cpp | 23 …t SetUicontrolString(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol) in SetUicontrolString() argument 40 if (valueType == sci_matrix && nbRow == 0 && nbCol == 0) in SetUicontrolString() 65 if (nbCol > 1 && nbRow > 1) in SetUicontrolString() 88 if (nbCol == 2) in SetUicontrolString() 90 … if (setGraphicObjectProperty(iObjUID, __GO_UI_STRING_COLNB__, &nbCol, jni_int, 1) == FALSE) in SetUicontrolString() 96 …ectProperty(iObjUID, __GO_UI_STRING__, (char**)_pvData, jni_string_vector, nbRow * nbCol) == FALSE) in SetUicontrolString() 115 if (nbCol * nbRow > 1) in SetUicontrolString() 124 if (setGraphicObjectProperty(iObjUID, __GO_UI_STRING_COLNB__, &nbCol, jni_int, 1) == FALSE) in SetUicontrolString() 130 …ectProperty(iObjUID, __GO_UI_STRING__, (char**)_pvData, jni_string_vector, nbRow * nbCol) == FALSE) in SetUicontrolString()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/external_objects_java/sci_gateway/cpp/ |
H A D | sci_jcreatejar.cpp | 64 int nbCol = 0; in sci_jcreatejar() local 65 sciErr = getVarDimension(pvApiCtx, addr2, &nbRow, &nbCol); in sci_jcreatejar() 73 if ((nbRow < 1 || nbCol != 1) && (nbCol < 1 || nbRow != 1)) in sci_jcreatejar() 78 int nbFilePaths = nbRow * nbCol; in sci_jcreatejar() 81 if (getAllocatedMatrixOfString(pvApiCtx, addr2, &nbRow, &nbCol, &filePaths)) in sci_jcreatejar() 98 freeAllocatedMatrixOfString(nbRow, nbCol, filePaths); in sci_jcreatejar() 114 freeAllocatedMatrixOfString(nbRow, nbCol, filePaths); in sci_jcreatejar() 136 freeAllocatedMatrixOfString(nbRow, nbCol, filePaths); in sci_jcreatejar() 156 freeAllocatedMatrixOfString(nbRow, nbCol, filePaths); in sci_jcreatejar()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/src/cpp/ |
H A D | set_data_property.cpp | 365 nbCol = ((types::GenericType*)_pvData)->getCols(); in set_data_property() 380 int nbCol[4]; in setchampdata() local 397 if (nbCol[0] != 1 || nbCol[1] != 1) in setchampdata() 407 … if (nbRow[2] != nbRow[0] || nbCol[2] != nbRow[1] || nbRow[3] != nbRow[2] || nbCol[3] != nbCol[2]) in setchampdata() 413 …if (nbRow[0] * nbCol[0] == 0 || nbRow[1] * nbCol[1] == 0 || nbRow[2] * nbCol[2] == 0 || nbRow[3] *… in setchampdata() 439 int nbCol[3]; in setgrayplotdata() local 446 pvecx = getDoubleMatrixFromList(_pvCtx, tlist, 2, &nbRow[0], &nbCol[0]); in setgrayplotdata() 447 pvecy = getDoubleMatrixFromList(_pvCtx, tlist, 3, &nbRow[1], &nbCol[1]); in setgrayplotdata() 450 if (nbCol[0] != 1 || nbCol[1] != 1) in setgrayplotdata() 456 if (nbRow[2] != nbRow[0] || nbCol[2] != nbRow[1]) in setgrayplotdata() [all …]
|