/external/javasqlite/src/main/java/SQLite/ |
Function.java | 13 * public void function(SQLite.FunctionContext fc, String args[]) { 16 * fc.set_result(Math.sin(d.doubleValue())); 18 * fc.set_error("sin(" + args[0] + "):" + e); 36 * @param fc function's context for reporting result 40 public void function(FunctionContext fc, String args[]); 45 * @param fc function's context for reporting result 49 public void step(FunctionContext fc, String args[]); 54 * @param fc function's context for reporting result 57 public void last_step(FunctionContext fc);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
ForgettingCurveTests.java | 24 final byte fc = (byte)i; 25 final int e = UserHistoryForgettingCurveUtils.fcToElapsedTime(fc); 26 final int c = UserHistoryForgettingCurveUtils.fcToCount(fc); 27 final int l = UserHistoryForgettingCurveUtils.fcToLevel(fc); 29 assertEquals(fc, fc2); 31 byte fc = 0; 35 fc = UserHistoryForgettingCurveUtils.pushCount(fc, true); 37 l = UserHistoryForgettingCurveUtils.fcToLevel(fc); 40 fc = 0 [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
FileChannelTest.java | 32 FileChannel fc = new FileInputStream(tmp).getChannel(); local 34 fc.read(readOnly); 39 fc.read(new ByteBuffer[] { readOnly }); 44 fc.read(new ByteBuffer[] { readOnly }, 0, 1); 49 fc.read(readOnly, 0L); 53 fc.close(); 57 fc = new FileOutputStream(tmp).getChannel(); 58 fc.write(readOnly); 59 fc.write(new ByteBuffer[] { readOnly }); 60 fc.write(new ByteBuffer[] { readOnly }, 0, 1) 67 FileChannel fc = new FileOutputStream(tmp).getChannel(); local 87 FileChannel fc = new FileOutputStream(tmp).getChannel(); local 101 FileChannel fc = fos.getChannel(); local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserHistoryForgettingCurveUtils.java | 57 public ForgettingCurveParams(int fc, long now, long last) { 61 this(fc, now, last, fcToLevel((byte)fc) > 0); 64 private ForgettingCurveParams(int fc, long now, long last, boolean isValid) { 66 mFc = (byte)fc; 110 /* package */ static int fcToElapsedTime(byte fc) { 111 return fc & 0x0F; 114 /* package */ static int fcToCount(byte fc) { 115 return (fc >> 4) & 0x03; 118 /* package */ static int fcToLevel(byte fc) { [all...] |
/external/clang/test/Sema/ |
overloadable-complex.c | 4 void test_foo_1(float fv, double dv, float _Complex fc, double _Complex dc) { 8 char *cp3 = foo(fc); 14 void test_foo_2(float fv, double dv, float _Complex fc, double _Complex dc) { 17 int *ip = foo(fc); 23 void test_foo_3(float fv, double dv, float _Complex fc, double _Complex dc) { 26 int *ip = foo(fc); 33 void test_promote_or_convert(float f, float _Complex fc) { 34 char *cp = promote_or_convert(fc); // expected-error{{call to 'promote_or_convert' is ambiguous}} 41 void test_promote_or_convert2(float _Complex fc) { 42 int *cp = promote_or_convert2(fc); [all...] |
/external/clang/test/SemaCXX/ |
complex-overload.cpp | 4 void test_foo_1(float fv, double dv, float _Complex fc, double _Complex dc) { 8 char *cp3 = foo(fc); 14 void test_foo_2(float fv, double dv, float _Complex fc, double _Complex dc) { 17 int *ip = foo(fc); 23 void test_foo_3(float fv, double dv, float _Complex fc, double _Complex dc) { 26 int *ip = foo(fc); 33 void test_promote_or_convert(float f, float _Complex fc) { 34 char *cp = promote_or_convert(fc); 41 void test_promote_or_convert2(float _Complex fc) { 42 int *cp = promote_or_convert2(fc); [all...] |
/external/elfutils/tests/ |
coverage.sh | 18 fc="$base.c" 21 gcov -n -a "$fc" | 22 gawk "/$d.$fc/ { getline; co=gensub(/.*:(.*)% .*/, \"\\\\1\", \"g\"); co=co+0.0; li=\$4+0; printf \"%-35s %6.2f %5d\n\", \"$d/$fc\", co, li } " >> $tmp 25 unused_files="$unused_files $fc"
|
/libcore/luni/src/test/java/tests/support/ |
MockFunction.java | 35 public void function(FunctionContext fc, String args[]) { 38 fc.set_result(args[0].toLowerCase()); 42 public void step(FunctionContext fc, String args[]) { 50 public void last_step(FunctionContext fc) { 52 fc.set_result(acc.toString());
|
/external/tcpdump/ |
ieee802_11.h | 112 #define FC_VERSION(fc) ((fc) & 0x3) 113 #define FC_TYPE(fc) (((fc) >> 2) & 0x3) 114 #define FC_SUBTYPE(fc) (((fc) >> 4) & 0xF) 115 #define FC_TO_DS(fc) ((fc) & 0x0100) 116 #define FC_FROM_DS(fc) ((fc) & 0x0200 125 u_int16_t fc; member in struct:mgmt_header_t 254 u_int16_t fc; member in struct:ctrl_rts_t 265 u_int16_t fc; member in struct:ctrl_cts_t 274 u_int16_t fc; member in struct:ctrl_ack_t 283 u_int16_t fc; member in struct:ctrl_ps_poll_t 294 u_int16_t fc; member in struct:ctrl_end_t 305 u_int16_t fc; member in struct:ctrl_end_ack_t [all...] |
print-802_11.c | 559 mgmt_body_print(u_int16_t fc, const struct mgmt_header_t *pmh, 562 switch (FC_SUBTYPE(fc)) { 605 FC_SUBTYPE(fc)); 616 ctrl_body_print(u_int16_t fc, const u_char *p) 618 switch (FC_SUBTYPE(fc)) { 687 data_header_print(u_int16_t fc, const u_char *p, const u_int8_t **srcp, 690 u_int subtype = FC_SUBTYPE(fc); 714 if (!FC_TO_DS(fc) && !FC_FROM_DS(fc)) { 724 } else if (!FC_TO_DS(fc) && FC_FROM_DS(fc)) 916 u_int16_t fc; local [all...] |
print-fddi.c | 122 print_fddi_fc(u_char fc) 124 switch (fc) { 155 switch (fc & FDDIFC_CLFF) { 158 printf("mac%1x ", fc & FDDIFC_ZZZZ); 162 printf("smt%1x ", fc & FDDIFC_ZZZZ); 166 printf("async%1x ", fc & FDDIFC_ZZZZ); 170 printf("sync%1x ", fc & FDDIFC_ZZZZ); 174 printf("imp_async%1x ", fc & FDDIFC_ZZZZ); 178 printf("imp_sync%1x ", fc & FDDIFC_ZZZZ); 182 printf("%02x ", fc); [all...] |
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/ |
mlmeBuilder.c | 103 status = mlmeBuilder_buildFrameCtrl (pHandle, type, (TI_UINT16 *)&pDot11Header->fc, setWepOpt); 152 TI_UINT16 fc = 0; local 157 fc |= DOT11_FC_ASSOC_REQ; 160 fc |= DOT11_FC_ASSOC_RESP; 163 fc |= DOT11_FC_REASSOC_REQ; 166 fc |= DOT11_FC_REASSOC_RESP; 169 fc |= DOT11_FC_DISASSOC; 172 fc |= DOT11_FC_AUTH; 175 fc |= DOT11_FC_DEAUTH; 178 fc |= DOT11_FC_ACTION [all...] |
/external/libvpx/vp8/encoder/ |
modecosts.c | 38 vp8_cost_tokens((int *)c->mb.inter_bmode_costs, x->fc.bmode_prob, T); 40 vp8_cost_tokens((int *)c->mb.inter_bmode_costs, x->fc.sub_mv_ref_prob, vp8_sub_mv_ref_tree); 42 vp8_cost_tokens(c->mb.mbmode_cost[1], x->fc.ymode_prob, vp8_ymode_tree); 45 vp8_cost_tokens(c->mb.intra_uv_mode_cost[1], x->fc.uv_mode_prob, vp8_uv_mode_tree);
|
/libcore/luni/src/test/java/libcore/sqlite/ |
OldFunctionContextTest.java | 203 public void function(FunctionContext fc, String args[]) { 205 fc.set_error(errorMsg); 208 public void last_step(FunctionContext fc) {} 209 public void step(FunctionContext fc, String[] args) {} 216 public void function(FunctionContext fc, String args[]) { 218 noOfRows = fc.count(); 219 fc.set_result(noOfRows); 222 public void last_step(FunctionContext fc) {} 223 public void step(FunctionContext fc, String[] args) {} 230 public void function(FunctionContext fc, String args[]) [all...] |
/external/clang/test/Index/ |
complete-memfunc-cvquals.cpp | 17 void text(Foo f, Foo *fp, const Foo &fc, const Foo *fcp, 21 fc.baz();
|
/external/clang/test/CodeGen/ |
complex-builtints.c | 27 volatile float _Complex fc = 1.0F + 2.0iF; local 31 if (__builtin_conjf (fc) != 1.0F - 2.0iF) 35 if (__builtin_crealf (fc) != 1.0F) 39 if (__builtin_cimagf (fc) != 2.0F)
|
/external/sonivox/arm-fm-22k/host_src/ |
eas_wave.c | 110 FlipWord(&p->fc.wFormatTag); 111 FlipWord(&p->fc.nChannels); 112 FlipDWord(&p->fc.nSamplesPerSec); 113 FlipDWord(&p->fc.nAvgBytesPerSec); 114 FlipWord(&p->fc.nBlockAlign); 115 FlipWord(&p->fc.wBitsPerSample); 158 wFile->wh.fc.wFormatTag = 1; 159 wFile->wh.fc.nChannels = (EAS_U16) nChannels; 160 wFile->wh.fc.nSamplesPerSec = (EAS_U32) nSamplesPerSec; 161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample [all...] |
/external/sonivox/arm-hybrid-22k/host_src/ |
eas_wave.c | 110 FlipWord(&p->fc.wFormatTag); 111 FlipWord(&p->fc.nChannels); 112 FlipDWord(&p->fc.nSamplesPerSec); 113 FlipDWord(&p->fc.nAvgBytesPerSec); 114 FlipWord(&p->fc.nBlockAlign); 115 FlipWord(&p->fc.wBitsPerSample); 158 wFile->wh.fc.wFormatTag = 1; 159 wFile->wh.fc.nChannels = (EAS_U16) nChannels; 160 wFile->wh.fc.nSamplesPerSec = (EAS_U32) nSamplesPerSec; 161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample [all...] |
/external/sonivox/arm-wt-22k/host_src/ |
eas_wave.c | 110 FlipWord(&p->fc.wFormatTag); 111 FlipWord(&p->fc.nChannels); 112 FlipDWord(&p->fc.nSamplesPerSec); 113 FlipDWord(&p->fc.nAvgBytesPerSec); 114 FlipWord(&p->fc.nBlockAlign); 115 FlipWord(&p->fc.wBitsPerSample); 158 wFile->wh.fc.wFormatTag = 1; 159 wFile->wh.fc.nChannels = (EAS_U16) nChannels; 160 wFile->wh.fc.nSamplesPerSec = (EAS_U32) nSamplesPerSec; 161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample [all...] |
/hardware/ti/wlan/wl1271/stad/src/Data_link/ |
txCtrlServ.c | 74 TI_UINT16 fc; local 91 fc = DOT11_FC_DATA_NULL_QOS | DOT11_FC_TO_DS; 93 fc = DOT11_FC_DATA_NULL_FUNCTION | DOT11_FC_TO_DS; 94 COPY_WLAN_WORD(&pHeader->fc, &fc); /* copy with endianess handling. */ 178 COPY_WLAN_WORD (&pDot11Header->fc, &headerFlags); /* copy with endianess handling. */
|
/bootable/recovery/applypatch/ |
main.c | 76 FileContents fc; local 77 if (LoadFileContents(colon, &fc, RETOUCH_DONT_MASK) != 0) { 82 (*patches)[i]->size = fc.size; 83 (*patches)[i]->data = (char*)fc.data; 105 FileContents fc; local 106 if (LoadFileContents(argv[2], &fc, RETOUCH_DONT_MASK) != 0) { 112 bonus->size = fc.size; 113 bonus->data = (char*)fc.data;
|
/frameworks/base/core/java/android/widget/ |
RemoteViewsService.java | 216 Intent.FilterComparison fc = new Intent.FilterComparison(intent); local 217 if (RemoteViewsService.sRemoteViewFactories.containsKey(fc)) { 218 RemoteViewsFactory factory = RemoteViewsService.sRemoteViewFactories.get(fc); 225 RemoteViewsService.sRemoteViewFactories.remove(fc); 237 Intent.FilterComparison fc = new Intent.FilterComparison(intent); local 240 if (!sRemoteViewFactories.containsKey(fc)) { 242 sRemoteViewFactories.put(fc, factory); 246 factory = sRemoteViewFactories.get(fc);
|
/libcore/luni/src/main/java/java/nio/ |
NioUtils.java | 62 * Returns the int file descriptor from within the given FileChannel 'fc'. 64 public static FileDescriptor getFD(FileChannel fc) { 65 return ((FileChannelImpl) fc).getFD();
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
MappedByteBufferTest.java | 46 FileChannel fc = fis.getChannel(); local 47 MappedByteBuffer mmb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc 64 fc.close(); 76 FileChannel fc = fis.getChannel(); local 77 MappedByteBuffer mmb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size()); 104 mmb = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size()); 113 mmb = fc.map(FileChannel.MapMode.PRIVATE, 0, fc.size()) [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
macutils.h | 42 void DecodeFourChar(UInt32 fc, std::string* out);
|