Lines Matching refs:ret

36     MyString ret = "";  in getString()  local
39 ret += buffer; in getString()
40 return ret; in getString()
95 MyString ret; in getEcmaScriptComment() local
96 ret = ""; in getEcmaScriptComment()
98 ret += indent; in getEcmaScriptComment()
99 ret += "// allowed values:\n"; in getEcmaScriptComment()
101 ret += indent; in getEcmaScriptComment()
102 ret += " // single-precision floating point number\n"; in getEcmaScriptComment()
105 ret += indent; in getEcmaScriptComment()
106 ret += "// related Math Object constants:\n"; in getEcmaScriptComment()
108 ret += indent; in getEcmaScriptComment()
109 ret += " // Math.PI Math.SQRT1_2 Math.SQRT_2 Math.E\n"; in getEcmaScriptComment()
110 ret += indent; in getEcmaScriptComment()
111 ret += " // Math.LN2 Math.LN10 Math.LOG2E Math.LOG10E\n"; in getEcmaScriptComment()
116 ret += indent; in getEcmaScriptComment()
117 ret += "// related Math Object functions:\n"; in getEcmaScriptComment()
119 ret += indent; in getEcmaScriptComment()
120 ret += " // "; in getEcmaScriptComment()
121 ret += name; in getEcmaScriptComment()
122 ret += " = Math.random(); // returns (quasi) random number\n"; in getEcmaScriptComment()
124 ret += indent; in getEcmaScriptComment()
125 ret += " // "; in getEcmaScriptComment()
126 ret += name; in getEcmaScriptComment()
127 ret += " = Math.abs(float_f); // absolut value (forget sign)\n"; in getEcmaScriptComment()
129 ret += indent; in getEcmaScriptComment()
130 ret += " // "; in getEcmaScriptComment()
131 ret += name; in getEcmaScriptComment()
132 ret += " = Math.round(float_f); // round\n"; in getEcmaScriptComment()
134 ret += indent; in getEcmaScriptComment()
135 ret += " // "; in getEcmaScriptComment()
136 ret += name; in getEcmaScriptComment()
137 ret += " = Math.floor(float_f); // round down\n"; in getEcmaScriptComment()
139 ret += indent; in getEcmaScriptComment()
140 ret += " // "; in getEcmaScriptComment()
141 ret += name; in getEcmaScriptComment()
142 ret += " = Math.ceil(float_f); // round up\n"; in getEcmaScriptComment()
144 ret += indent; in getEcmaScriptComment()
145 ret += " // "; in getEcmaScriptComment()
146 ret += name; in getEcmaScriptComment()
147 ret += " = Math.max(float_a, float_b); // maximal value\n"; in getEcmaScriptComment()
149 ret += indent; in getEcmaScriptComment()
150 ret += " // "; in getEcmaScriptComment()
151 ret += name; in getEcmaScriptComment()
152 ret += " = Math.min(float_a, float_b); // minimal value\n"; in getEcmaScriptComment()
154 ret += indent; in getEcmaScriptComment()
155 ret += " // "; in getEcmaScriptComment()
156 ret += name; in getEcmaScriptComment()
157 ret += " = Math.sqrt(float_f); // square root function\n"; in getEcmaScriptComment()
159 ret += indent; in getEcmaScriptComment()
160 ret += " // "; in getEcmaScriptComment()
161 ret += name; in getEcmaScriptComment()
162 ret += " = Math.pow(float_a, float_b); // power function\n"; in getEcmaScriptComment()
164 ret += indent; in getEcmaScriptComment()
165 ret += " // "; in getEcmaScriptComment()
166 ret += name; in getEcmaScriptComment()
167 ret += " = Math.exp(float_f); // exponential function\n"; in getEcmaScriptComment()
169 ret += indent; in getEcmaScriptComment()
170 ret += " // "; in getEcmaScriptComment()
171 ret += name; in getEcmaScriptComment()
172 ret += " = Math.log(float_f); // natural logarithmic function\n"; in getEcmaScriptComment()
175 ret += indent; in getEcmaScriptComment()
176 ret += " // "; in getEcmaScriptComment()
177 ret += name; in getEcmaScriptComment()
178 ret += " = Math.sin(float_f); // sinus function\n"; in getEcmaScriptComment()
180 ret += indent; in getEcmaScriptComment()
181 ret += " // "; in getEcmaScriptComment()
182 ret += name; in getEcmaScriptComment()
183 ret += " = Math.cos(float_f); // cosinus function\n"; in getEcmaScriptComment()
185 ret += indent; in getEcmaScriptComment()
186 ret += " // "; in getEcmaScriptComment()
187 ret += name; in getEcmaScriptComment()
188 ret += " = Math.tan(float_f); // tangens function\n"; in getEcmaScriptComment()
190 ret += indent; in getEcmaScriptComment()
191 ret += " // "; in getEcmaScriptComment()
192 ret += name; in getEcmaScriptComment()
193 ret += " = Math.acos(float_f); // arcus cosinus function\n"; in getEcmaScriptComment()
195 ret += indent; in getEcmaScriptComment()
196 ret += " // "; in getEcmaScriptComment()
197 ret += name; in getEcmaScriptComment()
198 ret += " = Math.asin(float_f); // arcus sinus function\n"; in getEcmaScriptComment()
200 ret += indent; in getEcmaScriptComment()
201 ret += " // "; in getEcmaScriptComment()
202 ret += name; in getEcmaScriptComment()
203 ret += " = Math.atan(float_f); // arcus tangens function\n"; in getEcmaScriptComment()
205 ret += indent; in getEcmaScriptComment()
206 ret += " // "; in getEcmaScriptComment()
207 ret += name; in getEcmaScriptComment()
208 ret += " = Math.atan2(float_x,float_y); // arcus tangens function\n"; in getEcmaScriptComment()
213 ret += indent; in getEcmaScriptComment()
214 ret += "// related Browser Object functions:\n"; in getEcmaScriptComment()
216 ret += indent; in getEcmaScriptComment()
217 ret += " // "; in getEcmaScriptComment()
218 ret += name; in getEcmaScriptComment()
219 ret += " = Browser.getCurrentSpeed();\n"; in getEcmaScriptComment()
221 ret += indent; in getEcmaScriptComment()
222 ret += " // "; in getEcmaScriptComment()
223 ret += name; in getEcmaScriptComment()
224 ret += " = Browser.getCurrentFrameRate();\n"; in getEcmaScriptComment()
228 ret += indent; in getEcmaScriptComment()
229 ret += "// example usage:\n"; in getEcmaScriptComment()
231 ret += indent; in getEcmaScriptComment()
232 ret += " // "; in getEcmaScriptComment()
233 ret += name; in getEcmaScriptComment()
234 ret += " = 1 + Math.cos(Math.PI * 2) - Math.LN2;\n"; in getEcmaScriptComment()
237 ret += indent; in getEcmaScriptComment()
238 ret += " // float_number = "; in getEcmaScriptComment()
239 ret += name; in getEcmaScriptComment()
240 ret += ";\n"; in getEcmaScriptComment()
242 ret += indent; in getEcmaScriptComment()
243 ret += " // float_number = Math.abs("; in getEcmaScriptComment()
244 ret += name; in getEcmaScriptComment()
245 ret += ");\n"; in getEcmaScriptComment()
248 ret += indent; in getEcmaScriptComment()
249 ret += " // "; in getEcmaScriptComment()
250 ret += name; in getEcmaScriptComment()
251 ret += " = Math.floor("; in getEcmaScriptComment()
252 ret += name; in getEcmaScriptComment()
253 ret += ");\n"; in getEcmaScriptComment()
256 return ret; in getEcmaScriptComment()