Home
last modified time | relevance | path

Searched refs:nbCol (Results 26 – 50 of 312) sorted by relevance

12345678910>>...13

/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/src/c/getHandleProperty/
H A Dget_data_property.c265 int nbCol = 0; in get3ddata() local
266 int *piNbCol = &nbCol; in get3ddata()
293 addMatrixToReturnedList(tList, dataX, nbRow, nbCol); in get3ddata()
294 addMatrixToReturnedList(tList, dataY, nbRow, nbCol); in get3ddata()
295 addMatrixToReturnedList(tList, dataZ, nbRow, nbCol); in get3ddata()
301 if (numColors == nbCol) in get3ddata()
323 addMatrixToReturnedList(tList, dataX, nbRow, nbCol); in get3ddata()
324 addMatrixToReturnedList(tList, dataY, nbRow, nbCol); in get3ddata()
393 int nbCol = 0; in get_data_property() local
398 if (data == NULL && nbRow == 0 && nbCol == 0) in get_data_property()
[all …]
H A Dset_mark_foreground_property.c38 …_foreground_property(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol) in set_mark_foreground_property() argument
51 if ( nbRow != 1 || nbCol <= 0 ) in set_mark_foreground_property()
57 if ( nbCol == 1 ) in set_mark_foreground_property()
64 tmp = MALLOC(nbCol * sizeof(int)); in set_mark_foreground_property()
65 copyDoubleVectorToIntFromStack(_pvData, tmp, nbCol); in set_mark_foreground_property()
66 … status = setGraphicObjectProperty(iObjUID, __GO_MARK_FOREGROUNDS__, tmp, jni_int_vector, nbCol); in set_mark_foreground_property()
H A Dset_mark_background_property.c38 …_background_property(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol) in set_mark_background_property() argument
51 if ( nbRow != 1 || nbCol <= 0 ) in set_mark_background_property()
57 if ( nbCol == 1 ) in set_mark_background_property()
64 tmp = MALLOC(nbCol * sizeof(int)); in set_mark_background_property()
65 copyDoubleVectorToIntFromStack(_pvData, tmp, nbCol); in set_mark_background_property()
66 … status = setGraphicObjectProperty(iObjUID, __GO_MARK_BACKGROUNDS__, tmp, jni_int_vector, nbCol); in set_mark_background_property()
H A Dset_tics_labels_property.c39 …tics_labels_property(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol) in set_tics_labels_property() argument
60 if (iNbTicksLabels > nbRow * nbCol) in set_tics_labels_property()
66 stringVector = createCopyStringMatrixFromStack(_pvData, nbRow * nbCol); in set_tics_labels_property()
69 loadTextRenderingAPI(stringVector, nbRow * nbCol, 1); in set_tics_labels_property()
71 …raphicObjectProperty(iObjUID, __GO_TICKS_LABELS__, stringVector, jni_string_vector, nbRow * nbCol); in set_tics_labels_property()
73 destroyStringArray(stringVector, nbRow * nbCol); in set_tics_labels_property()
H A Dset_colors_property.c35 …set_colors_property(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol ) in set_colors_property() argument
59 if (nbCol == 0) in set_colors_property()
73 if (nbCol == iNumElements) in set_colors_property()
75 int * tmp = MALLOC(nbCol * sizeof(int)); in set_colors_property()
76 copyDoubleVectorToIntFromStack(_pvData, tmp, nbCol); in set_colors_property()
78 … status = setGraphicObjectProperty(iObjUID, __GO_DATA_MODEL_COLORS__, tmp, jni_int_vector, nbCol); in set_colors_property()
H A Dset_mark_size_property.c33 …t_mark_size_property(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol) in set_mark_size_property() argument
44 if ( nbRow != 1 || nbCol <= 0 ) in set_mark_size_property()
50 tmp = MALLOC(nbCol * sizeof(int)); in set_mark_size_property()
51 copyDoubleVectorToIntFromStack(_pvData, tmp, nbCol); in set_mark_size_property()
52 status = sciSetMarkSize(iObjUID, tmp, nbCol); in set_mark_size_property()
H A Dset_interp_color_vector_property.c39 …olor_vector_property(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol) in set_interp_color_vector_property() argument
63 if ((nbCol == 3 && iNumElements == 3) || in set_interp_color_vector_property()
64 (nbCol == 4 && iNumElements == 4)) in set_interp_color_vector_property()
67 copyDoubleVectorToIntFromStack(_pvData, tmp, nbCol); in set_interp_color_vector_property()
69 …status = setGraphicObjectProperty(iObjUID, __GO_INTERP_COLOR_VECTOR__, tmp, jni_int_vector, nbCol); in set_interp_color_vector_property()
H A Dset_data_bounds_property.c39 int getdDataBoundsFromStack(double* pdblBounds, int nbRow, int nbCol,
48 int getdDataBoundsFromStack(double* pdblBounds, int nbRow, int nbCol, in getdDataBoundsFromStack() argument
63 switch (nbRow * nbCol) in getdDataBoundsFromStack()
89 …data_bounds_property(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol) in set_data_bounds_property() argument
109 …if (getdDataBoundsFromStack((double*)_pvData, nbRow, nbCol, &xMin, &xMax, &yMin, &yMax, &zMin, &zM… in set_data_bounds_property()
121 if (nbRow * nbCol == 4) in set_data_bounds_property()
H A Dset_segs_color_property.c39 …_segs_color_property(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol) in set_segs_color_property() argument
60 if (nbRow * nbCol != 1 && nbRow * nbCol != iNbSegs) in set_segs_color_property()
66 if (nbRow * nbCol == 1) in set_segs_color_property()
73 else if (nbRow * nbCol == iNbSegs) in set_segs_color_property()
/dports/math/scilab/scilab-6.1.1/scilab/modules/javasci/src/jni/
H A Dcall_scilab_java_typemaps_string.i16 %typemap(in) (char* variableName, int *nbRow, int *nbCol) {
18 $3 = &nbCol;
27 %typemap(out) (char **) (int nbRow, int nbCol) {
35 jobjectArray jarray = (*jenv)->NewObjectArray(jenv, nbCol, clazz, NULL);
42 for (j = 0; j < nbCol; j++) {
64 %typemap(argout) (char **variable, int nbRow, int nbCol) {
74 %typemap(in) (char **variable, int nbRow, int nbCol) {
109 %typemap(jtype) (char* variableName, int *nbRow, int *nbCol) "String"
110 %typemap(jstype) (char* variableName, int *nbRow, int *nbCol) "String"
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/sci_gateway/c/
H A Dsci_uimenu.c44 int nbRow = 0, nbCol = 0; in sci_uimenu() local
189 nbCol = -1; in sci_uimenu()
200 sciErr = getMatrixOfDouble(pvApiCtx, piAddrValue, &nbRow, &nbCol, &pdblValue); in sci_uimenu()
209 …y(pvApiCtx, getObjectFromHandle(GraphicHandle), pdblValue, sci_matrix, nbRow, nbCol, propertyName); in sci_uimenu()
223 nbCol = 1; in sci_uimenu()
224 …y(pvApiCtx, getObjectFromHandle(GraphicHandle), pstValue, sci_strings, nbRow, nbCol, propertyName); in sci_uimenu()
231 sciErr = getMatrixOfHandle(pvApiCtx, piAddrValue, &nbRow, &nbCol, &phValues); in sci_uimenu()
239 …y(pvApiCtx, getObjectFromHandle(GraphicHandle), phValues, sci_handles, nbRow, nbCol, propertyName); in sci_uimenu()
245 nbCol = 1; in sci_uimenu()
246 …y(pvApiCtx, getObjectFromHandle(GraphicHandle), piAddrValue, sci_list, nbRow, nbCol, propertyName); in sci_uimenu()
[all …]
H A Dsci_setmenu.c38 int nbCol = 0; in sci_setmenu() local
97 … sciErr = getMatrixOfDouble(pvApiCtx, piAddrfigureNumberAdr, &nbRow, &nbCol, &figureNumberAdr); in sci_setmenu()
106 if (nbRow * nbCol != 1) in sci_setmenu()
156 … sciErr = getMatrixOfDouble(pvApiCtx, piAddrsubMenuIndexAdr, &nbRow, &nbCol, &subMenuIndexAdr); in sci_setmenu()
166 if (nbRow * nbCol != 1) in sci_setmenu()
194 … sciErr = getMatrixOfDouble(pvApiCtx, piAddrfigureNumberAdr, &nbRow, &nbCol, &figureNumberAdr); in sci_setmenu()
203 if (nbRow * nbCol != 1) in sci_setmenu()
249 … sciErr = getMatrixOfDouble(pvApiCtx, piAddrsubMenuIndexAdr, &nbRow, &nbCol, &subMenuIndexAdr); in sci_setmenu()
259 if (nbRow * nbCol != 1) in sci_setmenu()
H A Dsci_unsetmenu.c39 int nbCol = 0; in sci_unsetmenu() local
91 … sciErr = getMatrixOfDouble(pvApiCtx, piAddrfigureNumberAdr, &nbRow, &nbCol, &figureNumberAdr); in sci_unsetmenu()
100 if (nbRow * nbCol != 1) in sci_unsetmenu()
155 … sciErr = getMatrixOfDouble(pvApiCtx, piAddrsubMenuIndexAdr, &nbRow, &nbCol, &subMenuIndexAdr); in sci_unsetmenu()
165 if (nbRow * nbCol != 1) in sci_unsetmenu()
193 … sciErr = getMatrixOfDouble(pvApiCtx, piAddrfigureNumberAdr, &nbRow, &nbCol, &figureNumberAdr); in sci_unsetmenu()
202 if (nbRow * nbCol != 1) in sci_unsetmenu()
247 … sciErr = getMatrixOfDouble(pvApiCtx, piAddrsubMenuIndexAdr, &nbRow, &nbCol, &subMenuIndexAdr); in sci_unsetmenu()
256 if (nbRow * nbCol != 1) in sci_unsetmenu()
H A Dsci_progressionbar.c40 int nbRow = 0, nbCol = 0; in sci_progressionbar() local
62 sciErr = getMatrixOfHandle(pvApiCtx, piAddrhandleAdr, &nbRow, &nbCol, &handleAdr); in sci_progressionbar()
70 if (nbRow * nbCol != 1) in sci_progressionbar()
118 sciErr = getMatrixOfHandle(pvApiCtx, piAddrhandleAdr, &nbRow, &nbCol, &handleAdr); in sci_progressionbar()
126 if (nbRow * nbCol != 1) in sci_progressionbar()
162 nbCol = 1; in sci_progressionbar()
164 … sciErr = allocMatrixOfHandle(pvApiCtx, nbInputArgument(pvApiCtx) + 1, nbRow, nbCol, &stkAdr); in sci_progressionbar()
H A Dsci_uiwait.c34 int nbRow = 0, nbCol = 0; in sci_uiwait() local
54 sciErr = getMatrixOfHandle(pvApiCtx, piAddrstkAdr, &nbRow, &nbCol, &stkAdr); in sci_uiwait()
62 if (nbRow * nbCol != 1) in sci_uiwait()
89 nbCol = 1; in sci_uiwait()
91 …if (allocSingleString(pvApiCtx, nbInputArgument(pvApiCtx) + 1, nbRow * nbCol, (const char**) &strA… in sci_uiwait()
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphic_objects/src/cpp/
H A DNgonGridMatplotDataDecomposer.cpp483 for (int i = 0; i < nbCol; i++) in getRGBAData()
503 for (int i = 0; i < nbCol; i++) in getRGBAData()
518 for (int i = 0; i < nbCol; i++) in getRGBAData()
537 for (int i = 0; i < nbCol; i++) in getRGBAData()
557 for (int i = 0; i < nbCol; i++) in getRGBAData()
572 for (int i = 0; i < nbCol; i++) in getRGBAData()
590 for (int i = 0; i < nbCol; i++) in getRGBAData()
608 for (int i = 0; i < nbCol; i++) in getRGBAData()
626 for (int i = 0; i < nbCol; i++) in getRGBAData()
644 for (int i = 0; i < nbCol; i++) in getRGBAData()
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/api_scilab/tests/nonreg_tests/
H A Dbug_8587.c17 int nbCol = 0; in sci_readDoubles() local
20 sciErr = readNamedMatrixOfDouble(pvApiCtx, NAME_MATRIX_TO_READ, &nbRow, &nbCol , NULL); in sci_readDoubles()
26 if ((nbRow != REF_SIZE_ROWS) || (nbCol != REF_SIZE_COLS)) in sci_readDoubles()
32 matrixOfDouble = (double*)MALLOC((nbRow * nbCol) * sizeof(double)); in sci_readDoubles()
34 sciErr = readNamedMatrixOfDouble(pvApiCtx, NAME_MATRIX_TO_READ, &nbRow, &nbCol, matrixOfDouble); in sci_readDoubles()
40 sciErr = createMatrixOfDouble(pvApiCtx, Rhs + 1, nbRow, nbCol, matrixOfDouble); in sci_readDoubles()
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/MeshOptimizer/
H A DMeshOptCommon.cpp62 void mvgetScreenSize(int &nbRow, int &nbCol) { getmaxyx(stdscr, nbRow, nbCol); } in mvgetScreenSize() argument
100 int nbRow, nbCol; in mvprintCenter() local
101 getmaxyx(stdscr, nbRow, nbCol); in mvprintCenter()
115 int nbRow, nbCol; in mvprintLeft() local
116 getmaxyx(stdscr, nbRow, nbCol); in mvprintLeft()
130 int nbRow, nbCol; in mvprintRight() local
131 getmaxyx(stdscr, nbRow, nbCol); in mvprintRight()
145 int nbRow, nbCol; in mvprintXY() local
148 if(col < 0) col = nbCol + col; in mvprintXY()
156 int nbRow, nbCol; in mvprintList() local
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/sci_gateway/cpp/
H A Dsci_uigetfile.cpp89 int nbRow = 0, nbCol = 0; in sci_uigetfile() local
145 if (nbCol == 1) in sci_uigetfile()
150 else if (nbCol == 2) in sci_uigetfile()
163 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uigetfile()
176 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uigetfile()
185 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uigetfile()
193 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uigetfile()
210 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uigetfile()
218 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uigetfile()
226 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uigetfile()
[all …]
H A Dsci_uiputfile.cpp77 int nbRow = 0, nbCol = 0; in sci_uiputfile() local
132 if (nbCol == 1) in sci_uiputfile()
137 else if (nbCol == 2) in sci_uiputfile()
150 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uiputfile()
163 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uiputfile()
172 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uiputfile()
180 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uiputfile()
196 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uiputfile()
206 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uiputfile()
250 freeAllocatedMatrixOfString(nbRow, nbCol, mask); in sci_uiputfile()
[all …]
H A Dsci_xchoicesi.cpp39 int nbRow = 0, nbCol = 0; in sci_xchoicesi() local
102 if (getAllocatedMatrixOfString(pvApiCtx, piAddrlabelsAdr, &nbRow, &nbCol, &labelsAdr)) in sci_xchoicesi()
124 setMessageBoxMultiLineMessage(messageBoxID, labelsAdr, nbCol * nbRow); in sci_xchoicesi()
125 freeAllocatedMatrixOfString(nbRow, nbCol, labelsAdr); in sci_xchoicesi()
146 if (nbRow != 1 && nbCol != 1) in sci_xchoicesi()
175 nbCol = 0; in sci_xchoicesi()
177 …sciErr = allocMatrixOfDouble(pvApiCtx, nbInputArgument(pvApiCtx) + 1, nbRow, nbCol, &emptyMatrixAd… in sci_xchoicesi()
/dports/devel/swig/swig-4.0.2/Examples/scilab/matrix2/
H A Dexample.i5 %apply (double *IN, int IN_ROWCOUNT, int IN_COLCOUNT) { (double *inputMatrix, int nbRow, int nbCol)…
8 %apply (int *IN, int IN_ROWCOUNT, int IN_COLCOUNT) { (int *inputMatrix, int nbRow, int nbCol) }
15 extern double sumDoubleMatrix(double *inputMatrix, int nbRow, int nbCol);
16 …extern void squareDoubleMatrix(double *inputMatrix, int nbRow, int nbCol, double **resultMatrix, i…
19 extern int sumIntegerMatrix(int *inputMatrix, int nbRow, int nbCol);
20 …extern void squareIntegerMatrix(int *inputMatrix, int nbRow, int nbCol, int **resultMatrix, int *n…
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/src/cpp/
H A DSetConsoleShowHiddenHandles.cpp28 …oleShowHiddenHandles(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol) in SetConsoleShowHiddenHandles() argument
33 …b = tryGetBooleanValueFromStack(_pvData, valueType, nbRow, nbCol, const_cast < char *>("ShowHidden… in SetConsoleShowHiddenHandles()
53 …ShowHiddenProperties(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol) in SetConsoleShowHiddenProperties() argument
58 …b = tryGetBooleanValueFromStack(_pvData, valueType, nbRow, nbCol, const_cast < char *>("ShowHidden… in SetConsoleShowHiddenProperties()
78 …nsoleUseDeprecatedLF(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol) in SetConsoleUseDeprecatedLF() argument
83 …b = tryGetBooleanValueFromStack(_pvData, valueType, nbRow, nbCol, const_cast < char *>("UseDepreca… in SetConsoleUseDeprecatedLF()
/dports/math/scilab/scilab-6.1.1/scilab/modules/matio/src/c/
H A DCreateDoubleVariable.c23 int nbRow = 0, nbCol = 0; in CreateDoubleVariable() local
32 nbCol = (int)matVariable->dims[1]; in CreateDoubleVariable()
37 … sciErr = createMatrixOfDouble(pvApiCtx, iVar, nbRow, nbCol, (double*)matVariable->data); in CreateDoubleVariable()
46 … createMatrixOfDoubleInList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, (double*)matVaria… in CreateDoubleVariable()
60 …sciErr = createComplexMatrixOfDouble(pvApiCtx, iVar, nbRow, nbCol, (double*)mat5ComplexData->Re, (… in CreateDoubleVariable()
64 … sciErr = createComplexMatrixOfDoubleInList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, in CreateDoubleVariable()
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphic_export/src/cpp/
H A Dxs2file.cpp181 int nbCol = 0; in xs2file() local
205 … if (getAllocatedMatrixOfString(pvApiCtx, piAddrsciOrientation, &nbRow, &nbCol, &sciOrientation)) in xs2file()
212 if (nbRow * nbCol == 1) in xs2file()
218 freeAllocatedMatrixOfString(nbRow, nbCol, sciOrientation); in xs2file()
223 freeAllocatedMatrixOfString(nbRow, nbCol, sciOrientation); in xs2file()
230 freeAllocatedMatrixOfString(nbRow, nbCol, sciOrientation); in xs2file()
238 freeAllocatedMatrixOfString(nbRow, nbCol, sciOrientation); in xs2file()
253 sciErr = getMatrixOfDouble(pvApiCtx, piAddrquality, &nbRow, &nbCol, &quality); in xs2file()
262 if (nbRow != 1 || nbCol != 1 || *quality < 0 || *quality > 1) in xs2file()

12345678910>>...13