15.2 MB
/home/fdroid/fdroiddata/tmp/com.github.xloem.qrstream_9.apk vs.
/home/fdroid/fdroiddata/tmp/sigcp_com.github.xloem.qrstream_9.apk
1.72 KB
/usr/lib/android-sdk/build-tools/debian/apksigner verify --verbose --print-certs {}
error from `/usr/lib/android-sdk/build-tools/debian/apksigner verify --verbose --print-certs {}` (b): DOES NOT VERIFY ERROR: META-INF/buildserverid entry referenced by META-INF/MANIFEST.MF not found in the APK ERROR: META-INF/fdroidserverid entry referenced by META-INF/MANIFEST.MF not found in the APK
    
Offset 1, 18 lines modifiedOffset 0, 0 lines modified
1 Verifies 
2 Verified·using·v1·scheme·(JAR·signing):·true 
3 Verified·using·v2·scheme·(APK·Signature·Scheme·v2):·false 
4 Verified·using·v3·scheme·(APK·Signature·Scheme·v3):·false 
5 Verified·using·v4·scheme·(APK·Signature·Scheme·v4):·false 
6 Verified·for·SourceStamp:·false 
7 Number·of·signers:·1 
8 Signer·#1·certificate·DN:·CN=FDroid,·OU=FDroid,·O=fdroid.org,·L=ORG,·ST=ORG,·C=UK 
9 Signer·#1·certificate·SHA-256·digest:·d0767c0e22b0d26c2b8bbc6297c0dfe747a1d934251da5ef3d56cc4c48caf050 
10 Signer·#1·certificate·SHA-1·digest:·25a812375383af12698fb6dcfdd93f0532dfc49b 
11 Signer·#1·certificate·MD5·digest:·012e9ba93345e6ef88d77891e185bbe7 
12 Signer·#1·key·algorithm:·RSA 
13 Signer·#1·key·size·(bits):·2048 
14 Signer·#1·public·key·SHA-256·digest:·afb5a2639632711c12da19219b931e07a7f638dc64d2a33bae3917517e02d197 
15 Signer·#1·public·key·SHA-1·digest:·fe5fae1e8e0cde51d4abbece55d8f4d3f6008fd6 
16 Signer·#1·public·key·MD5·digest:·db9c8a807b4d9661b015bf1146450db1 
17 WARNING:·META-INF/buildserverid·not·protected·by·signature.·Unauthorized·modifications·to·this·JAR·entry·will·not·be·detected.·Delete·or·move·the·entry·outside·of·META-INF/. 
18 WARNING:·META-INF/fdroidserverid·not·protected·by·signature.·Unauthorized·modifications·to·this·JAR·entry·will·not·be·detected.·Delete·or·move·the·entry·outside·of·META-INF/. 
5.94 KB
zipinfo {}
    
Offset 1, 37 lines modifiedOffset 1, 35 lines modified
1 Zip·file·size:·294305·bytes,·number·of·entries:·351 Zip·file·size:·292726·bytes,·number·of·entries:·33
2 -rw----·····2.0·fat·····2758·bl·defN·15-Nov-02·09:10·META-INF/MANIFEST.MF 
3 -rw----·····2.0·fat·····2879·bl·defN·15-Nov-02·09:10·META-INF/3AB63F5D.SF 
4 -rw----·····2.0·fat·····1326·bl·defN·15-Nov-02·09:10·META-INF/3AB63F5D.RSA 
5 -rw----·····2.0·fat·······41·bl·defN·15-Nov-01·08:08·META-INF/buildserverid 
6 -rw----·····2.0·fat·······41·bl·defN·15-Nov-01·08:08·META-INF/fdroidserverid 
7 -rw----·····2.0·fat·····3572·bX·defN·15-Nov-01·08:08·AndroidManifest.xml2 -rw----·····2.0·fat·····3572·bX·defN·17-Oct-08·00:38·AndroidManifest.xml
8 -rw----·····1.0·fat······450·b-·stor·15-Nov-01·08:07·res/drawable-hdpi-v4/ic_clipboard.png3 -rw----·····1.0·fat······450·b-·stor·17-Oct-08·00:38·res/drawable-hdpi-v4/ic_clipboard.png
9 -rw----·····1.0·fat······717·b-·stor·15-Nov-01·08:07·res/drawable-hdpi-v4/ic_file.png4 -rw----·····1.0·fat······717·b-·stor·17-Oct-08·00:38·res/drawable-hdpi-v4/ic_file.png
10 -rw----·····1.0·fat·····2870·b-·stor·15-Nov-01·08:07·res/drawable-hdpi-v4/ic_launcher.png5 -rw----·····1.0·fat·····2870·b-·stor·17-Oct-08·00:38·res/drawable-hdpi-v4/ic_launcher.png
11 -rw----·····1.0·fat·····1430·b-·stor·15-Nov-01·08:07·res/drawable-hdpi-v4/ic_receive.png6 -rw----·····1.0·fat·····1430·b-·stor·17-Oct-08·00:38·res/drawable-hdpi-v4/ic_receive.png
12 -rw----·····1.0·fat······389·b-·stor·15-Nov-01·08:07·res/drawable-hdpi-v4/ic_settings.png7 -rw----·····1.0·fat······389·b-·stor·17-Oct-08·00:38·res/drawable-hdpi-v4/ic_settings.png
13 -rw----·····1.0·fat······530·b-·stor·15-Nov-01·08:07·res/drawable-mdpi-v4/ic_clipboard.png8 -rw----·····1.0·fat······530·b-·stor·17-Oct-08·00:38·res/drawable-mdpi-v4/ic_clipboard.png
14 -rw----·····1.0·fat······506·b-·stor·15-Nov-01·08:07·res/drawable-mdpi-v4/ic_file.png9 -rw----·····1.0·fat······506·b-·stor·17-Oct-08·00:38·res/drawable-mdpi-v4/ic_file.png
15 -rw----·····1.0·fat·····2027·b-·stor·15-Nov-01·08:07·res/drawable-mdpi-v4/ic_launcher.png10 -rw----·····1.0·fat·····2027·b-·stor·17-Oct-08·00:38·res/drawable-mdpi-v4/ic_launcher.png
16 -rw----·····1.0·fat·····1075·b-·stor·15-Nov-01·08:07·res/drawable-mdpi-v4/ic_receive.png11 -rw----·····1.0·fat·····1075·b-·stor·17-Oct-08·00:38·res/drawable-mdpi-v4/ic_receive.png
17 -rw----·····1.0·fat······383·b-·stor·15-Nov-01·08:07·res/drawable-mdpi-v4/ic_settings.png12 -rw----·····1.0·fat······383·b-·stor·17-Oct-08·00:38·res/drawable-mdpi-v4/ic_settings.png
18 -rw----·····1.0·fat······757·b-·stor·15-Nov-01·08:07·res/drawable-xhdpi-v4/ic_clipboard.png13 -rw----·····1.0·fat······757·b-·stor·17-Oct-08·00:38·res/drawable-xhdpi-v4/ic_clipboard.png
19 -rw----·····1.0·fat······852·b-·stor·15-Nov-01·08:07·res/drawable-xhdpi-v4/ic_file.png14 -rw----·····1.0·fat······852·b-·stor·17-Oct-08·00:38·res/drawable-xhdpi-v4/ic_file.png
20 -rw----·····1.0·fat·····3635·b-·stor·15-Nov-01·08:07·res/drawable-xhdpi-v4/ic_launcher.png15 -rw----·····1.0·fat·····3635·b-·stor·17-Oct-08·00:38·res/drawable-xhdpi-v4/ic_launcher.png
21 -rw----·····1.0·fat·····1771·b-·stor·15-Nov-01·08:07·res/drawable-xhdpi-v4/ic_receive.png16 -rw----·····1.0·fat·····1771·b-·stor·17-Oct-08·00:38·res/drawable-xhdpi-v4/ic_receive.png
22 -rw----·····1.0·fat······534·b-·stor·15-Nov-01·08:07·res/drawable-xhdpi-v4/ic_settings.png17 -rw----·····1.0·fat······534·b-·stor·17-Oct-08·00:38·res/drawable-xhdpi-v4/ic_settings.png
23 -rw----·····1.0·fat·····1041·b-·stor·15-Nov-01·08:07·res/drawable-xxhdpi-v4/ic_clipboard.png18 -rw----·····1.0·fat·····1041·b-·stor·17-Oct-08·00:38·res/drawable-xxhdpi-v4/ic_clipboard.png
24 -rw----·····1.0·fat·····1195·b-·stor·15-Nov-01·08:07·res/drawable-xxhdpi-v4/ic_file.png19 -rw----·····1.0·fat·····1195·b-·stor·17-Oct-08·00:38·res/drawable-xxhdpi-v4/ic_file.png
25 -rw----·····1.0·fat·····2815·b-·stor·15-Nov-01·08:07·res/drawable-xxhdpi-v4/ic_launcher.png20 -rw----·····1.0·fat·····2815·b-·stor·17-Oct-08·00:38·res/drawable-xxhdpi-v4/ic_launcher.png
26 -rw----·····1.0·fat·····2436·b-·stor·15-Nov-01·08:07·res/drawable-xxhdpi-v4/ic_receive.png21 -rw----·····1.0·fat·····2436·b-·stor·17-Oct-08·00:38·res/drawable-xxhdpi-v4/ic_receive.png
27 -rw----·····1.0·fat······943·b-·stor·15-Nov-01·08:07·res/drawable-xxhdpi-v4/ic_settings.png22 -rw----·····1.0·fat······943·b-·stor·17-Oct-08·00:38·res/drawable-xxhdpi-v4/ic_settings.png
28 -rw----·····2.0·fat·····1076·bl·defN·15-Nov-01·08:08·res/layout/activity_launcher.xml23 -rw----·····2.0·fat·····1076·bl·defN·17-Oct-08·00:38·res/layout/activity_launcher.xml
29 -rw----·····2.0·fat·····1240·bl·defN·15-Nov-01·08:08·res/layout/activity_send.xml24 -rw----·····2.0·fat·····1240·bl·defN·17-Oct-08·00:38·res/layout/activity_send.xml
30 -rw----·····2.0·fat······632·bl·defN·15-Nov-01·08:08·res/xml-v11/pref_headers.xml25 -rw----·····2.0·fat······632·bl·defN·17-Oct-08·00:38·res/xml-v11/pref_headers.xml
31 -rw----·····2.0·fat······240·bl·defN·15-Nov-01·08:08·res/xml/pref_general.xml26 -rw----·····2.0·fat······240·bl·defN·17-Oct-08·00:38·res/xml/pref_general.xml
32 -rw----·····2.0·fat······436·bl·defN·15-Nov-01·08:08·res/xml/pref_headers.xml27 -rw----·····2.0·fat······436·bl·defN·17-Oct-08·00:38·res/xml/pref_headers.xml
33 -rw----·····2.0·fat······708·bl·defN·15-Nov-01·08:08·res/xml/pref_receiving.xml28 -rw----·····2.0·fat······708·bl·defN·17-Oct-08·00:38·res/xml/pref_receiving.xml
34 -rw----·····2.0·fat······852·bl·defN·15-Nov-01·08:08·res/xml/pref_sending.xml29 -rw----·····2.0·fat······852·bl·defN·17-Oct-08·00:38·res/xml/pref_sending.xml
35 -rw----·····1.0·fat·····7412·b-·stor·15-Nov-01·08:07·resources.arsc30 -rw----·····1.0·fat·····7356·b-·stor·17-Oct-08·00:38·resources.arsc
36 -rw----·····2.0·fat···677488·bl·defN·15-Nov-01·08:08·classes.dex31 -rw----·····2.0·fat···676048·bl·defN·17-Oct-08·00:38·classes.dex
 32 -rw----·····2.0·fat·····2758·b-·defN·17-Oct-08·00:38·META-INF/MANIFEST.MF
 33 -rw----·····2.0·fat·····2879·b-·defN·17-Oct-08·00:38·META-INF/3AB63F5D.SF
 34 -rw----·····2.0·fat·····1326·b-·defN·17-Oct-08·00:38·META-INF/3AB63F5D.RSA
37 35·files,·727057·bytes·uncompressed,·289258·bytes·compressed:··60.2%35 33·files,·725479·bytes·uncompressed,·288024·bytes·compressed:··60.3%
123 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 Zip·archive·data,·at·least·v2.0·to·extract1 Java·archive·data·(JAR)
40.7 KB
resources.arsc
Format-specific differences are supported for Android package resource table (ARSC) but no file-specific differences were detected; falling back to a binary diff.
    
Offset 1, 29 lines modifiedOffset 1, 29 lines modified
00000000:·0200·0c00·f41c·0000·0100·0000·0100·1c00··................00000000:·0200·0c00·bc1c·0000·0100·0000·0100·1c00··................
00000010:·180a·0000·4f00·0000·0000·0000·0001·0000··....O...........00000010:·180a·0000·4f00·0000·0000·0000·0001·0000··....O...........
00000020:·5801·0000·0000·0000·0000·0000·2300·0000··X...........#...00000020:·5801·0000·0000·0000·0000·0000·2300·0000··X...........#...
00000030:·4200·0000·5d00·0000·7800·0000·9500·0000··B...]...x.......00000030:·4200·0000·5d00·0000·7800·0000·9500·0000··B...]...x.......
00000040:·b000·0000·cf00·0000·f700·0000·1a01·0000··................00000040:·b000·0000·cf00·0000·f700·0000·1a01·0000··................
00000050:·4101·0000·6701·0000·8e01·0000·b601·0000··A...g...........00000050:·4101·0000·6701·0000·8e01·0000·b601·0000··A...g...........
00000060:·d901·0000·0002·0000·2602·0000·4d02·0000··........&...M...00000060:·d901·0000·0002·0000·2602·0000·4d02·0000··........&...M...
00000070:·7602·0000·9a02·0000·c202·0000·e902·0000··v...............00000070:·7602·0000·9a02·0000·c202·0000·e902·0000··v...............
00000080:·1103·0000·3b03·0000·6003·0000·8903·0000··....;...`.......00000080:·1103·0000·3b03·0000·6003·0000·8903·0000··....;...`.......
00000090:·b103·0000·da03·0000·e403·0000·f103·0000··................00000090:·b103·0000·da03·0000·e403·0000·f103·0000··................
000000a0:·fc03·0000·1f04·0000·2904·0000·6604·0000··........)...f...000000a0:·fb03·0000·1904·0000·2e04·0000·4504·0000··............E...
000000b0:·8404·0000·9904·0000·be04·0000·d504·0000··................000000b0:·7204·0000·8904·0000·a604·0000·b704·0000··r...............
000000c0:·e704·0000·1405·0000·2605·0000·3d05·0000··........&...=...000000c0:·c304·0000·d104·0000·0305·0000·0f05·0000··................
000000d0:·4e05·0000·6b05·0000·8505·0000·9605·0000··N...k........... 
000000e0:·9f05·0000·ab05·0000·b505·0000·c305·0000··................000000d0:·1905·0000·2205·0000·3c05·0000·4d05·0000··...."...<...M...
 000000e0:·5f05·0000·7105·0000·9605·0000·d305·0000··_...q...........
000000f0:·cf05·0000·0106·0000·0b06·0000·1306·0000··................000000f0:·f605·0000·0106·0000·0b06·0000·1306·0000··................
00000100:·1e06·0000·4606·0000·7506·0000·8506·0000··....F...u.......00000100:·1e06·0000·4606·0000·5006·0000·5d06·0000··....F...P...]...
00000110:·9006·0000·a106·0000·ae06·0000·c806·0000··................ 
00000120:·d106·0000·ef06·0000·0c07·0000·2507·0000··............%...00000110:·6b06·0000·8f06·0000·a606·0000·bd06·0000··k...............
 00000120:·ed06·0000·0607·0000·2407·0000·3e07·0000··........$...>...
00000130:·4107·0000·7107·0000·8807·0000·9f07·0000··A...q...........00000130:·4f07·0000·5f07·0000·8e07·0000·9907·0000··O..._...........
00000140:·be07·0000·d507·0000·0d08·0000·3108·0000··............1...00000140:·a607·0000·af07·0000·cc07·0000·e807·0000··................
00000150:·3f08·0000·7208·0000·7f08·0000·a608·0000··?...r...........00000150:·ff07·0000·1e08·0000·5608·0000·8908·0000··........V.......
00000160:·b008·0000·2020·7265·732f·6c61·796f·7574··....··res/layout00000160:·b008·0000·2020·7265·732f·6c61·796f·7574··....··res/layout
00000170:·2f61·6374·6976·6974·795f·6c61·756e·6368··/activity_launch00000170:·2f61·6374·6976·6974·795f·6c61·756e·6368··/activity_launch
00000180:·6572·2e78·6d6c·001c·1c72·6573·2f6c·6179··er.xml...res/lay00000180:·6572·2e78·6d6c·001c·1c72·6573·2f6c·6179··er.xml...res/lay
00000190:·6f75·742f·6163·7469·7669·7479·5f73·656e··out/activity_sen00000190:·6f75·742f·6163·7469·7669·7479·5f73·656e··out/activity_sen
000001a0:·642e·786d·6c00·1818·7265·732f·786d·6c2f··d.xml...res/xml/000001a0:·642e·786d·6c00·1818·7265·732f·786d·6c2f··d.xml...res/xml/
000001b0:·7072·6566·5f67·656e·6572·616c·2e78·6d6c··pref_general.xml000001b0:·7072·6566·5f67·656e·6572·616c·2e78·6d6c··pref_general.xml
000001c0:·0018·1872·6573·2f78·6d6c·2f70·7265·665f··...res/xml/pref_000001c0:·0018·1872·6573·2f78·6d6c·2f70·7265·665f··...res/xml/pref_
Offset 79, 92 lines modifiedOffset 79, 92 lines modified
000004e0:·6c61·756e·6368·6572·2e70·6e67·0025·2572··launcher.png.%%r000004e0:·6c61·756e·6368·6572·2e70·6e67·0025·2572··launcher.png.%%r
000004f0:·6573·2f64·7261·7761·626c·652d·7878·6864··es/drawable-xxhd000004f0:·6573·2f64·7261·7761·626c·652d·7878·6864··es/drawable-xxhd
00000500:·7069·2d76·342f·6963·5f72·6563·6569·7665··pi-v4/ic_receive00000500:·7069·2d76·342f·6963·5f72·6563·6569·7665··pi-v4/ic_receive
00000510:·2e70·6e67·0026·2672·6573·2f64·7261·7761··.png.&&res/drawa00000510:·2e70·6e67·0026·2672·6573·2f64·7261·7761··.png.&&res/drawa
00000520:·626c·652d·7878·6864·7069·2d76·342f·6963··ble-xxhdpi-v4/ic00000520:·626c·652d·7878·6864·7069·2d76·342f·6963··ble-xxhdpi-v4/ic
00000530:·5f73·6574·7469·6e67·732e·706e·6700·0707··_settings.png...00000530:·5f73·6574·7469·6e67·732e·706e·6700·0707··_settings.png...
00000540:·5152·2043·6f64·6500·0a0a·417a·7465·6320··QR·Code...Aztec·00000540:·5152·2043·6f64·6500·0a0a·417a·7465·6320··QR·Code...Aztec·
00000550:·436f·6465·0008·0853·6574·7469·6e67·7300··Code...Settings. 
00000560:·2020·5365·6e64·696e·6720·2531·2464·2062····Sending·%1$d·b 
00000570:·7974·6573·2069·6e20·2532·2464·2063·6f64··ytes·in·%2$d·cod 
00000580:·6573·0007·0741·6476·616e·6365·003a·3a56··es...Advance.::V00000550:·436f·6465·0007·0741·6476·616e·6365·001b··Code...Advance..
 00000560:·1b46·6f75·6e64·206e·6f74·6869·6e67·2069··.Found·nothing·i
 00000570:·6e20·636c·6970·626f·6172·642e·0012·1246··n·clipboard....F
 00000580:·696c·6520·6e6f·7420·666f·756e·643a·2025··ile·not·found:·%
00000590:·6f6c·756d·6520·5570·2f44·6f77·6e3a·2061··olume·Up/Down:·a 
000005a0:·646a·7573·7420·636f·6465·2073·697a·650a··djust·code·size. 
000005b0:·4d65·6e75·2f43·616d·6572·613a·2061·6476··Menu/Camera:·adv 
000005c0:·616e·6365·2063·6f64·6500·1b1b·466f·756e··ance·code...Foun 
000005d0:·6420·6e6f·7468·696e·6720·696e·2063·6c69··d·nothing·in·cli 
000005e0:·7062·6f61·7264·2e00·1212·4669·6c65·206e··pboard....File·n 
000005f0:·6f74·2066·6f75·6e64·3a20·2573·0022·2253··ot·found:·%s.""S 
00000600:·6361·6e20·636f·6465·2023·2564·206f·7220··can·code·#%d·or· 
00000610:·6869·7420·6261·636b·2069·6620·646f·6e65··hit·back·if·done 
00000620:·2e00·1414·494f·2045·7272·6f72·3a20·2531··....IO·Error:·%100000590:·7300·1414·494f·2045·7272·6f72·3a20·2531··s...IO·Error:·%1
 000005a0:·2473·3a20·2532·2473·002a·2a25·3124·7320··$s:·%2$s.**%1$s·
00000630:·2473·3a20·2532·2473·000f·0f53·6361·6e20··$s:·%2$s...Scan· 
00000640:·6465·6c61·7920·286d·7329·002a·2a25·3124··delay·(ms).**%1$ 
00000650:·7320·6c61·756e·6368·6564·2077·6974·6820··s·launched·with·000005b0:·6c61·756e·6368·6564·2077·6974·6820·756e··launched·with·un
00000660:·756e·6578·6570·6563·7465·6420·696e·7465··unexepected·inte000005c0:·6578·6570·6563·7465·6420·696e·7465·6e74··exepected·intent
 000005d0:·2025·3224·7300·1414·5265·6365·6976·6520···%2$s...Receive·
00000670:·6e74·2025·3224·7300·0f0f·4472·6f70·2064··nt·%2$s...Drop·d 
00000680:·7570·6c69·6361·7465·7300·1414·5265·6365··uplicates...Rece 
00000690:·6976·6520·5152·2053·7472·6561·6d2e·2e2e··ive·QR·Stream...000005e0:·5152·2053·7472·6561·6d2e·2e2e·001a·1a52··QR·Stream......R
 000005f0:·6573·756c·7420·696e·2063·6c69·7062·6f61··esult·in·clipboa
 00000600:·7264·2061·6e64·2025·7300·0e0e·5365·6e64··rd·and·%s...Send
 00000610:·2043·6c69·7062·6f61·7264·0009·0953·656e···Clipboard...Sen
 00000620:·6420·4669·6c65·000b·0b53·6574·7469·6e67··d·File...Setting
000006a0:·000e·0e42·6172·636f·6465·2046·6f72·6d61··...Barcode·Forma 
000006b0:·7400·1a1a·5265·7375·6c74·2069·6e20·636c··t...Result·in·cl 
000006c0:·6970·626f·6172·6420·616e·6420·2573·0016··ipboard·and·%s.. 
000006d0:·174d·696e·696d·756d·2063·656c·6c20·7369··.Minimum·cell·si 
000006e0:·7a65·2028·c2b5·6d29·000e·0e53·656e·6420··ze·(..m)...Send· 
000006f0:·436c·6970·626f·6172·6400·0606·5369·6c65··Clipboard...Sile 
00000700:·6e74·0009·0953·656e·6420·4669·6c65·0007··nt...Send·File.. 
00000710:·0753·656e·6469·6e67·000b·0b53·6574·7469··.Sending...Setti 
00000720:·6e67·732e·2e2e·0009·0952·6563·6569·7669··ngs......Receivi 
00000730:·6e67·002f·2f49·676e·6f72·6520·7265·7065··ng.//Ignore·repe00000630:·732e·2e2e·002f·2f49·676e·6f72·6520·7265··s....//Ignore·re
00000740:·6174·6564·2073·6361·6e73·206f·6620·6578··ated·scans·of·ex00000640:·7065·6174·6564·2073·6361·6e73·206f·6620··peated·scans·of·
00000750:·6163·746c·7920·7468·6520·7361·6d65·2063··actly·the·same·c00000650:·6578·6163·746c·7920·7468·6520·7361·6d65··exactly·the·same
 00000660:·2063·6f64·652e·0009·0952·6563·6569·7669···code....Receivi
 00000670:·6e67·0007·0753·656e·6469·6e67·0006·0653··ng...Sending...S
 00000680:·696c·656e·7400·1617·4d69·6e69·6d75·6d20··ilent...Minimum·
 00000690:·6365·6c6c·2073·697a·6520·28c2·b56d·2900··cell·size·(..m).
 000006a0:·0e0e·4261·7263·6f64·6520·466f·726d·6174··..Barcode·Format
 000006b0:·000f·0f44·726f·7020·6475·706c·6963·6174··...Drop·duplicat
 000006c0:·6573·000f·0f53·6361·6e20·6465·6c61·7920··es...Scan·delay·
 000006d0:·286d·7329·0022·2253·6361·6e20·636f·6465··(ms).""Scan·code
 000006e0:·2023·2564·206f·7220·6869·7420·6261·636b···#%d·or·hit·back
 000006f0:·2069·6620·646f·6e65·2e00·3a3a·566f·6c75···if·done..::Volu
 00000700:·6d65·2055·702f·446f·776e·3a20·6164·6a75··me·Up/Down:·adju
 00000710:·7374·2063·6f64·6520·7369·7a65·0a4d·656e··st·code·size.Men
 00000720:·752f·4361·6d65·7261·3a20·6164·7661·6e63··u/Camera:·advanc
 00000730:·6520·636f·6465·0020·2053·656e·6469·6e67··e·code.··Sending
 00000740:·2025·3124·6420·6279·7465·7320·696e·2025···%1$d·bytes·in·%
 00000750:·3224·6420·636f·6465·7300·0808·5365·7474··2$d·codes...Sett
00000760:·6f64·652e·0007·0751·525f·434f·4445·0005··ode....QR_CODE..00000760:·696e·6773·0007·0751·525f·434f·4445·0005··ings...QR_CODE..
00000770:·0541·5a54·4543·0008·0851·5253·7472·6561··.AZTEC...QRStrea00000770:·0541·5a54·4543·0008·0851·5253·7472·6561··.AZTEC...QRStrea
00000780:·6d00·2525·2325·3124·642f·2532·2464·2062··m.%%#%1$d/%2$d·b00000780:·6d00·2525·2325·3124·642f·2532·2464·2062··m.%%#%1$d/%2$d·b
00000790:·6c6f·636b·7369·7a65·3d25·3324·6420·6f66··locksize=%3$d·of00000790:·6c6f·636b·7369·7a65·3d25·3324·6420·6f66··locksize=%3$d·of
000007a0:·6673·6574·3d25·3424·6400·282c·4967·6e6f··fset=%4$d.(,Igno000007a0:·6673·6574·3d25·3424·6400·0607·5152·206b··fset=%4$d...QR·k
000007b0:·726f·7661·7420·6f70·616b·6f76·616e·c3a9··rovat·opakovan.. 
000007c0:·2073·6b65·6e79·2073·7465·6a6e·c3bd·6368···skeny·stejn..ch 
000007d0:·206b·c3b3·64c5·af2e·000c·0d4e·6173·7461···k..d......Nasta 
000007e0:·7665·6ec3·ad2e·2e2e·0006·0850·c599·c3ad··ven........P....000007b0:·c3b3·6400·090a·417a·7465·6320·6bc3·b364··..d...Aztec·k..d
 000007c0:·000a·0b50·6f6b·7261·c48d·6f76·6174·0020··...Pokra..ovat.·
 000007d0:·2156·6520·7363·6872·c3a1·6e63·6520·6e65··!Ve·schr..nce·ne
 000007e0:·6279·6c6f·206e·6963·206e·616c·657a·656e··bylo·nic·nalezen
 000007f0:·6f2e·0014·1453·6f75·626f·7220·6e65·6e61··o....Soubor·nena
 00000800:·6c65·7a65·6e3a·2025·7300·1414·494f·2063··lezen:·%s...IO·c
 00000810:·6879·6261·3a20·2531·2473·3a20·2532·2473··hyba:·%1$s:·%2$s
 00000820:·0028·2d25·3124·7320·7370·75c5·a174·c49b··.(-%1$s·spu..t..
 00000830:·6e20·7320·6e65·6fc4·8d65·6bc3·a176·616e··n·s·neo..ek..van
 00000840:·c3bd·6d20·646f·7461·7a65·6d20·2532·2473··..m·dotazem·%2$s
 00000850:·0015·1650·c599·696a·6d6f·7574·2051·5220··...P..ijmout·QR·
 00000860:·5374·7265·616d·2e2e·2e00·191b·56c3·bd73··Stream......V..s
 00000870:·6c65·6465·6b20·646f·2073·6368·72c3·a16e··ledek·do·schr..n
 00000880:·6b79·2061·2025·7300·1617·4f64·6573·6c61··ky·a·%s...Odesla
 00000890:·7420·6f62·7361·6820·7363·6872·c3a1·6e6b··t·obsah·schr..nk
000007f0:·6a65·6d00·0e0e·4f64·6573·6c61·7420·736f··jem...Odeslat·so000008a0:·7900·0e0e·4f64·6573·6c61·7420·736f·7562··y...Odeslat·soub
00000800:·7562·6f72·0008·0a4f·6465·73c3·ad6c·c3a1··ubor...Odes..l.. 
00000810:·6d00·1617·4f64·6573·6c61·7420·6f62·7361··m...Odeslat·obsa 
00000820:·6820·7363·6872·c3a1·6e6b·7900·0506·5469··h·schr..nky...Ti 
00000830:·6368·c3a9·0019·1b56·c3bd·736c·6564·656b··ch.....V..sledek 
00000840:·2064·6f20·7363·6872·c3a1·6e6b·7920·6120···do·schr..nky·a·000008b0:·6f72·000c·0d4e·6173·7461·7665·6ec3·ad2e··or...Nastaven...
 000008c0:·2e2e·0028·2c49·676e·6f72·6f76·6174·206f··...(,Ignorovat·o
Max diff block lines reached; 27470/41515 bytes (66.17%) of diff not shown.
13.3 MB
classes.dex
12.5 MB
dexdump -a -d -f -h {}
Ignoring differences in offsets to keep diff size reasonable.
    
Offset 1, 36 lines modifiedOffset 1, 36 lines modified
1 DEX·version·'035'1 DEX·version·'035'
2 DEX·file·header:2 DEX·file·header:
3 magic···············:·'dex\n035\0'3 magic···············:·'dex\n035\0'
4 checksum············:·f62bf40f4 checksum············:·a8df8a72
5 signature···········:·7357...b74b5 signature···········:·4d12...4f89
6 file_size···········:·6774886 file_size···········:·676048
7 header_size·········:·1127 header_size·········:·112
8 link_size···········:·08 link_size···········:·0
9 link_off············:·0·(0x000000)9 link_off············:·0·(0x000000)
10 string_ids_size·····:·514510 string_ids_size·····:·5127
11 string_ids_off······:·112·(0x000070)11 string_ids_off······:·112·(0x000070)
12 type_ids_size·······:·49212 type_ids_size·······:·494
13 type_ids_off········:·20692·(0x0050d4)13 type_ids_off········:·20620·(0x00508c)
14 proto_ids_size······:·80614 proto_ids_size······:·816
15 proto_ids_off·······:·22660·(0x005884)15 proto_ids_off·······:·22596·(0x005844)
16 field_ids_size······:·110616 field_ids_size······:·1122
17 field_ids_off·······:·32332·(0x007e4c)17 field_ids_off·······:·32388·(0x007e84)
18 method_ids_size·····:·245418 method_ids_size·····:·2475
19 method_ids_off······:·41180·(0x00a0dc)19 method_ids_off······:·41364·(0x00a194)
20 class_defs_size·····:·29220 class_defs_size·····:·294
21 class_defs_off······:·60812·(0x00ed8c)21 class_defs_off······:·61164·(0x00eeec)
22 data_size···········:·60557622 data_size···········:·603720
23 data_off············:·71912·(0x0118e8)23 data_off············:·72328·(0x011a88)
  
24 Class·#0·header:24 Class·#0·header:
25 class_idx···········:·5525 class_idx···········:·55
26 access_flags········:·17·(0x0011)26 access_flags········:·17·(0x0011)
27 superclass_idx······:·39227 superclass_idx······:·393
28 source_file_idx·····:·47428 source_file_idx·····:·478
29 static_fields_size··:·629 static_fields_size··:·6
30 instance_fields_size:·030 instance_fields_size:·0
31 direct_methods_size·:·131 direct_methods_size·:·1
32 virtual_methods_size:·032 virtual_methods_size:·0
  
33 Class·#0············-33 Class·#0············-
34 ··Class·descriptor··:·'Lcom/github/xloem/qrstream/BuildConfig;'34 ··Class·descriptor··:·'Lcom/github/xloem/qrstream/BuildConfig;'
Offset 75, 31 lines modifiedOffset 75, 31 lines modified
75 ······type··········:·'()V'75 ······type··········:·'()V'
76 ······access········:·0x10001·(PUBLIC·CONSTRUCTOR)76 ······access········:·0x10001·(PUBLIC·CONSTRUCTOR)
77 ······code··········-77 ······code··········-
78 ······registers·····:·178 ······registers·····:·1
79 ······ins···········:·179 ······ins···········:·1
80 ······outs··········:·180 ······outs··········:·1
81 ······insns·size····:·4·16-bit·code·units81 ······insns·size····:·4·16-bit·code·units
82 018198:········································|[018198]·com.github.xloem.qrstream.BuildConfig.<init>:()V82 018404:········································|[018404]·com.github.xloem.qrstream.BuildConfig.<init>:()V
83 0181a8:·7010·da08·0000·························|0000:·invoke-direct·{v0},·Ljava/lang/Object;.<init>:()V·//·method@08da83 018414:·7010·eb08·0000·························|0000:·invoke-direct·{v0},·Ljava/lang/Object;.<init>:()V·//·method@08eb
84 0181ae:·0e00···································|0003:·return-void84 01841a:·0e00···································|0003:·return-void
85 ······catches·······:·(none)85 ······catches·······:·(none)
86 ······positions·····:·86 ······positions·····:·
87 ········0x0000·line=687 ········0x0000·line=6
88 ······locals········:·88 ······locals········:·
89 ········0x0000·-·0x0004·reg=0·this·Lcom/github/xloem/qrstream/BuildConfig;·89 ········0x0000·-·0x0004·reg=0·this·Lcom/github/xloem/qrstream/BuildConfig;·
  
90 ··Virtual·methods···-90 ··Virtual·methods···-
91 ··source_file_idx···:·474·(BuildConfig.java)91 ··source_file_idx···:·478·(BuildConfig.java)
  
92 Class·#1·header:92 Class·#1·header:
93 class_idx···········:·5693 class_idx···········:·56
94 access_flags········:·1025·(0x0401)94 access_flags········:·1025·(0x0401)
95 superclass_idx······:·39295 superclass_idx······:·393
96 source_file_idx·····:·56496 source_file_idx·····:·573
97 static_fields_size··:·097 static_fields_size··:·0
98 instance_fields_size:·498 instance_fields_size:·4
99 direct_methods_size·:·299 direct_methods_size·:·2
100 virtual_methods_size:·12100 virtual_methods_size:·12
  
101 Class·#1············-101 Class·#1············-
102 ··Class·descriptor··:·'Lcom/github/xloem/qrstream/CodeMetric;'102 ··Class·descriptor··:·'Lcom/github/xloem/qrstream/CodeMetric;'
Offset 130, 17 lines modifiedOffset 130, 17 lines modified
130 ······type··········:·'()V'130 ······type··········:·'()V'
131 ······access········:·0x10001·(PUBLIC·CONSTRUCTOR)131 ······access········:·0x10001·(PUBLIC·CONSTRUCTOR)
132 ······code··········-132 ······code··········-
133 ······registers·····:·1133 ······registers·····:·1
134 ······ins···········:·1134 ······ins···········:·1
135 ······outs··········:·1135 ······outs··········:·1
136 ······insns·size····:·4·16-bit·code·units136 ······insns·size····:·4·16-bit·code·units
137 0181b0:········································|[0181b0]·com.github.xloem.qrstream.CodeMetric.<init>:()V137 01841c:········································|[01841c]·com.github.xloem.qrstream.CodeMetric.<init>:()V
138 0181c0:·7010·da08·0000·························|0000:·invoke-direct·{v0},·Ljava/lang/Object;.<init>:()V·//·method@08da138 01842c:·7010·eb08·0000·························|0000:·invoke-direct·{v0},·Ljava/lang/Object;.<init>:()V·//·method@08eb
139 0181c6:·0e00···································|0003:·return-void139 018432:·0e00···································|0003:·return-void
140 ······catches·······:·(none)140 ······catches·······:·(none)
141 ······positions·····:·141 ······positions·····:·
142 ········0x0000·line=7142 ········0x0000·line=7
143 ······locals········:·143 ······locals········:·
144 ········0x0000·-·0x0004·reg=0·this·Lcom/github/xloem/qrstream/CodeMetric;·144 ········0x0000·-·0x0004·reg=0·this·Lcom/github/xloem/qrstream/CodeMetric;·
  
145 ····#1··············:·(in·Lcom/github/xloem/qrstream/CodeMetric;)145 ····#1··············:·(in·Lcom/github/xloem/qrstream/CodeMetric;)
Offset 148, 28 lines modifiedOffset 148, 28 lines modified
148 ······type··········:·'(Lcom/google/zxing/BarcodeFormat;)Lcom/github/xloem/qrstream/CodeMetric;'148 ······type··········:·'(Lcom/google/zxing/BarcodeFormat;)Lcom/github/xloem/qrstream/CodeMetric;'
149 ······access········:·0x0009·(PUBLIC·STATIC)149 ······access········:·0x0009·(PUBLIC·STATIC)
150 ······code··········-150 ······code··········-
151 ······registers·····:·2151 ······registers·····:·2
152 ······ins···········:·1152 ······ins···········:·1
153 ······outs··········:·1153 ······outs··········:·1
154 ······insns·size····:·26·16-bit·code·units154 ······insns·size····:·26·16-bit·code·units
155 0181c8:········································|[0181c8]·com.github.xloem.qrstream.CodeMetric.create:(Lcom/google/zxing/BarcodeFormat;)Lcom/github/xloem/qrstream/CodeMetric;155 018434:········································|[018434]·com.github.xloem.qrstream.CodeMetric.create:(Lcom/google/zxing/BarcodeFormat;)Lcom/github/xloem/qrstream/CodeMetric;
156 0181d8:·6200·7100······························|0000:·sget-object·v0,·Lcom/google/zxing/BarcodeFormat;.QR_CODE:Lcom/google/zxing/BarcodeFormat;·//·field@0071156 018444:·6200·7100······························|0000:·sget-object·v0,·Lcom/google/zxing/BarcodeFormat;.QR_CODE:Lcom/google/zxing/BarcodeFormat;·//·field@0071
157 0181dc:·3301·0800······························|0002:·if-ne·v1,·v0,·000a·//·+0008157 018448:·3301·0800······························|0002:·if-ne·v1,·v0,·000a·//·+0008
158 0181e0:·2200·3e00······························|0004:·new-instance·v0,·Lcom/github/xloem/qrstream/QRCodeMetric;·//·type@003e158 01844c:·2200·3e00······························|0004:·new-instance·v0,·Lcom/github/xloem/qrstream/QRCodeMetric;·//·type@003e
159 0181e4:·7010·8e00·0000·························|0006:·invoke-direct·{v0},·Lcom/github/xloem/qrstream/QRCodeMetric;.<init>:()V·//·method@008e159 018450:·7010·8e00·0000·························|0006:·invoke-direct·{v0},·Lcom/github/xloem/qrstream/QRCodeMetric;.<init>:()V·//·method@008e
160 0181ea:·1100···································|0009:·return-object·v0160 018456:·1100···································|0009:·return-object·v0
161 0181ec:·6200·6600······························|000a:·sget-object·v0,·Lcom/google/zxing/BarcodeFormat;.AZTEC:Lcom/google/zxing/BarcodeFormat;·//·field@0066161 018458:·6200·6600······························|000a:·sget-object·v0,·Lcom/google/zxing/BarcodeFormat;.AZTEC:Lcom/google/zxing/BarcodeFormat;·//·field@0066
162 0181f0:·3301·0800······························|000c:·if-ne·v1,·v0,·0014·//·+0008162 01845c:·3301·0800······························|000c:·if-ne·v1,·v0,·0014·//·+0008
163 0181f4:·2200·3600······························|000e:·new-instance·v0,·Lcom/github/xloem/qrstream/AztecMetric;·//·type@0036163 018460:·2200·3600······························|000e:·new-instance·v0,·Lcom/github/xloem/qrstream/AztecMetric;·//·type@0036
164 0181f8:·7010·6600·0000·························|0010:·invoke-direct·{v0},·Lcom/github/xloem/qrstream/AztecMetric;.<init>:()V·//·method@0066164 018464:·7010·6600·0000·························|0010:·invoke-direct·{v0},·Lcom/github/xloem/qrstream/AztecMetric;.<init>:()V·//·method@0066
165 0181fe:·28f6···································|0013:·goto·0009·//·-000a165 01846a:·28f6···································|0013:·goto·0009·//·-000a
166 018200:·2200·7e01······························|0014:·new-instance·v0,·Ljava/lang/IllegalArgumentException;·//·type@017e166 01846c:·2200·8001······························|0014:·new-instance·v0,·Ljava/lang/IllegalArgumentException;·//·type@0180
167 018204:·7010·c008·0000·························|0016:·invoke-direct·{v0},·Ljava/lang/IllegalArgumentException;.<init>:()V·//·method@08c0167 018470:·7010·d108·0000·························|0016:·invoke-direct·{v0},·Ljava/lang/IllegalArgumentException;.<init>:()V·//·method@08d1
168 01820a:·2700···································|0019:·throw·v0168 018476:·2700···································|0019:·throw·v0
169 ······catches·······:·(none)169 ······catches·······:·(none)
170 ······positions·····:·170 ······positions·····:·
171 ········0x0000·line=86171 ········0x0000·line=86
172 ········0x0004·line=87172 ········0x0004·line=87
173 ········0x0009·line=89173 ········0x0009·line=89
174 ········0x000a·line=88174 ········0x000a·line=88
175 ········0x000e·line=89175 ········0x000e·line=89
Offset 183, 17 lines modifiedOffset 183, 17 lines modified
183 ······type··········:·'()I'183 ······type··········:·'()I'
184 ······access········:·0x0001·(PUBLIC)184 ······access········:·0x0001·(PUBLIC)
185 ······code··········-185 ······code··········-
186 ······registers·····:·2186 ······registers·····:·2
187 ······ins···········:·1187 ······ins···········:·1
188 ······outs··········:·0188 ······outs··········:·0
189 ······insns·size····:·3·16-bit·code·units189 ······insns·size····:·3·16-bit·code·units
190 01820c:········································|[01820c]·com.github.xloem.qrstream.CodeMetric.getCapacity:()I190 018478:········································|[018478]·com.github.xloem.qrstream.CodeMetric.getCapacity:()I
191 01821c:·5210·1200······························|0000:·iget·v0,·v1,·Lcom/github/xloem/qrstream/CodeMetric;.capacity:I·//·field@0012191 018488:·5210·1200······························|0000:·iget·v0,·v1,·Lcom/github/xloem/qrstream/CodeMetric;.capacity:I·//·field@0012
192 018220:·0f00···································|0002:·return·v0192 01848c:·0f00···································|0002:·return·v0
193 ······catches·······:·(none)193 ······catches·······:·(none)
Max diff block lines reached; 13081582/13090529 bytes (99.93%) of diff not shown.
817 KB
classes.jar
42.7 KB
zipinfo {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 Zip·file·size:·744749·bytes,·number·of·entries:·2921 Zip·file·size:·749751·bytes,·number·of·entries:·294
2 ?rwxrwxr-x··2.0·unx······441·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/BuildConfig.class2 ?rwxrwxr-x··2.0·unx······441·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/BuildConfig.class
3 ?rwxrwxr-x··2.0·unx·····1402·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/CodeMetric.class3 ?rwxrwxr-x··2.0·unx·····1402·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/CodeMetric.class
4 ?rwxrwxr-x··2.0·unx······706·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$1.class4 ?rwxrwxr-x··2.0·unx······706·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$1.class
5 ?rwxrwxr-x··2.0·unx······752·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$2.class5 ?rwxrwxr-x··2.0·unx······752·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$2.class
6 ?rwxrwxr-x··2.0·unx·····1525·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$3.class6 ?rwxrwxr-x··2.0·unx·····1525·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$3.class
7 ?rwxrwxr-x··2.0·unx······689·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$4.class7 ?rwxrwxr-x··2.0·unx······689·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$4.class
8 ?rwxrwxr-x··2.0·unx·····3539·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher.class8 ?rwxrwxr-x··2.0·unx·····3539·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher.class
Offset 23, 272 lines modifiedOffset 23, 274 lines modified
23 ?rwxrwxr-x··2.0·unx······573·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Settings$SendingPreferenceFragment.class23 ?rwxrwxr-x··2.0·unx······573·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Settings$SendingPreferenceFragment.class
24 ?rwxrwxr-x··2.0·unx·····2809·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Settings.class24 ?rwxrwxr-x··2.0·unx·····2809·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Settings.class
25 ?rwxrwxr-x··2.0·unx·····1760·b-·stor·80-Jan-01·00:00·com/google/zxing/BarcodeFormat.class25 ?rwxrwxr-x··2.0·unx·····1760·b-·stor·80-Jan-01·00:00·com/google/zxing/BarcodeFormat.class
26 ?rwxrwxr-x··2.0·unx······750·b-·stor·80-Jan-01·00:00·com/google/zxing/Binarizer.class26 ?rwxrwxr-x··2.0·unx······750·b-·stor·80-Jan-01·00:00·com/google/zxing/Binarizer.class
27 ?rwxrwxr-x··2.0·unx·····1772·b-·stor·80-Jan-01·00:00·com/google/zxing/BinaryBitmap.class27 ?rwxrwxr-x··2.0·unx·····1772·b-·stor·80-Jan-01·00:00·com/google/zxing/BinaryBitmap.class
28 ?rwxrwxr-x··2.0·unx·····1784·b-·stor·80-Jan-01·00:00·com/google/zxing/DecodeHintType.class28 ?rwxrwxr-x··2.0·unx·····1784·b-·stor·80-Jan-01·00:00·com/google/zxing/DecodeHintType.class
29 ?rwxrwxr-x··2.0·unx······806·b-·stor·80-Jan-01·00:00·com/google/zxing/Dimension.class29 ?rwxrwxr-x··2.0·unx······806·b-·stor·80-Jan-01·00:00·com/google/zxing/Dimension.class
30 ?rwxrwxr-x··2.0·unx·····1347·b-·stor·80-Jan-01·00:00·com/google/zxing/EncodeHintType.class30 ?rwxrwxr-x··2.0·unx·····1417·b-·stor·80-Jan-01·00:00·com/google/zxing/EncodeHintType.class
31 ?rwxrwxr-x··2.0·unx·····1525·b-·stor·80-Jan-01·00:00·com/google/zxing/LuminanceSource.class31 ?rwxrwxr-x··2.0·unx·····1525·b-·stor·80-Jan-01·00:00·com/google/zxing/LuminanceSource.class
32 ?rwxrwxr-x··2.0·unx·····1307·b-·stor·80-Jan-01·00:00·com/google/zxing/MultiFormatWriter$1.class32 ?rwxrwxr-x··2.0·unx·····1471·b-·stor·80-Jan-01·00:00·com/google/zxing/MultiFormatWriter$1.class
33 ?rwxrwxr-x··2.0·unx······259·b-·stor·80-Jan-01·00:00·com/google/zxing/Reader.class33 ?rwxrwxr-x··2.0·unx······259·b-·stor·80-Jan-01·00:00·com/google/zxing/Reader.class
34 ?rwxrwxr-x··2.0·unx······614·b-·stor·80-Jan-01·00:00·com/google/zxing/ReaderException.class34 ?rwxrwxr-x··2.0·unx······618·b-·stor·80-Jan-01·00:00·com/google/zxing/ReaderException.class
35 ?rwxrwxr-x··2.0·unx·····1915·b-·stor·80-Jan-01·00:00·com/google/zxing/Result.class35 ?rwxrwxr-x··2.0·unx·····2165·b-·stor·80-Jan-01·00:00·com/google/zxing/Result.class
36 ?rwxrwxr-x··2.0·unx·····1481·b-·stor·80-Jan-01·00:00·com/google/zxing/ResultMetadataType.class36 ?rwxrwxr-x··2.0·unx·····1481·b-·stor·80-Jan-01·00:00·com/google/zxing/ResultMetadataType.class
37 ?rwxrwxr-x··2.0·unx·····1552·b-·stor·80-Jan-01·00:00·com/google/zxing/ResultPoint.class37 ?rwxrwxr-x··2.0·unx·····1553·b-·stor·80-Jan-01·00:00·com/google/zxing/ResultPoint.class
38 ?rwxrwxr-x··2.0·unx······159·b-·stor·80-Jan-01·00:00·com/google/zxing/ResultPointCallback.class38 ?rwxrwxr-x··2.0·unx······159·b-·stor·80-Jan-01·00:00·com/google/zxing/ResultPointCallback.class
39 ?rwxrwxr-x··2.0·unx······299·b-·stor·80-Jan-01·00:00·com/google/zxing/Writer.class39 ?rwxrwxr-x··2.0·unx······299·b-·stor·80-Jan-01·00:00·com/google/zxing/Writer.class
40 ?rwxrwxr-x··2.0·unx······285·b-·stor·80-Jan-01·00:00·com/google/zxing/WriterException.class40 ?rwxrwxr-x··2.0·unx······285·b-·stor·80-Jan-01·00:00·com/google/zxing/WriterException.class
41 ?rwxrwxr-x··2.0·unx······865·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/decoder/Decoder$1.class41 ?rwxrwxr-x··2.0·unx······865·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/decoder/Decoder$1.class
42 ?rwxrwxr-x··2.0·unx·····1075·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/decoder/Decoder$Table.class42 ?rwxrwxr-x··2.0·unx·····1075·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/decoder/Decoder$Table.class
43 ?rwxrwxr-x··2.0·unx·····6967·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/decoder/Decoder.class43 ?rwxrwxr-x··2.0·unx·····7178·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/decoder/Decoder.class
44 ?rwxrwxr-x··2.0·unx······802·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/detector/Detector$Point.class44 ?rwxrwxr-x··2.0·unx······768·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/detector/Detector$Point.class
45 ?rwxrwxr-x··2.0·unx·····8872·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/detector/Detector.class45 ?rwxrwxr-x··2.0·unx·····8915·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/detector/Detector.class
46 ?rwxrwxr-x··2.0·unx······883·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/AztecCode.class46 ?rwxrwxr-x··2.0·unx······883·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/AztecCode.class
47 ?rwxrwxr-x··2.0·unx·····5948·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/Encoder.class47 ?rwxrwxr-x··2.0·unx·····5891·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/Encoder.class
48 ?rwxrwxr-x··2.0·unx······632·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/HighLevelEncoder$1.class48 ?rwxrwxr-x··2.0·unx······632·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/HighLevelEncoder$1.class
49 ?rwxrwxr-x··2.0·unx·····4818·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/HighLevelEncoder.class49 ?rwxrwxr-x··2.0·unx·····4818·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/HighLevelEncoder.class
50 ?rwxrwxr-x··2.0·unx·····2996·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/State.class50 ?rwxrwxr-x··2.0·unx·····3000·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/State.class
51 ?rwxrwxr-x··2.0·unx······806·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/Token.class51 ?rwxrwxr-x··2.0·unx······806·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/Token.class
52 ?rwxrwxr-x··2.0·unx······953·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ParsedResult.class52 ?rwxrwxr-x··2.0·unx······953·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ParsedResult.class
53 ?rwxrwxr-x··2.0·unx·····1485·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ParsedResultType.class53 ?rwxrwxr-x··2.0·unx·····1485·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ParsedResultType.class
54 ?rwxrwxr-x··2.0·unx·····6301·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ResultParser.class54 ?rwxrwxr-x··2.0·unx·····6301·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ResultParser.class
55 ?rwxrwxr-x··2.0·unx·····4083·b-·stor·80-Jan-01·00:00·com/google/zxing/common/BitArray.class55 ?rwxrwxr-x··2.0·unx·····3978·b-·stor·80-Jan-01·00:00·com/google/zxing/common/BitArray.class
56 ?rwxrwxr-x··2.0·unx·····5347·b-·stor·80-Jan-01·00:00·com/google/zxing/common/BitMatrix.class56 ?rwxrwxr-x··2.0·unx·····5371·b-·stor·80-Jan-01·00:00·com/google/zxing/common/BitMatrix.class
57 ?rwxrwxr-x··2.0·unx······981·b-·stor·80-Jan-01·00:00·com/google/zxing/common/BitSource.class57 ?rwxrwxr-x··2.0·unx······971·b-·stor·80-Jan-01·00:00·com/google/zxing/common/BitSource.class
58 ?rwxrwxr-x··2.0·unx·····4758·b-·stor·80-Jan-01·00:00·com/google/zxing/common/CharacterSetECI.class58 ?rwxrwxr-x··2.0·unx·····4758·b-·stor·80-Jan-01·00:00·com/google/zxing/common/CharacterSetECI.class
59 ?rwxrwxr-x··2.0·unx·····1577·b-·stor·80-Jan-01·00:00·com/google/zxing/common/DecoderResult.class59 ?rwxrwxr-x··2.0·unx·····1724·b-·stor·80-Jan-01·00:00·com/google/zxing/common/DecoderResult.class
60 ?rwxrwxr-x··2.0·unx······519·b-·stor·80-Jan-01·00:00·com/google/zxing/common/DetectorResult.class60 ?rwxrwxr-x··2.0·unx······519·b-·stor·80-Jan-01·00:00·com/google/zxing/common/DetectorResult.class
61 ?rwxrwxr-x··2.0·unx·····1431·b-·stor·80-Jan-01·00:00·com/google/zxing/common/GridSampler.class61 ?rwxrwxr-x··2.0·unx·····1431·b-·stor·80-Jan-01·00:00·com/google/zxing/common/GridSampler.class
62 ?rwxrwxr-x··2.0·unx·····2909·b-·stor·80-Jan-01·00:00·com/google/zxing/common/PerspectiveTransform.class62 ?rwxrwxr-x··2.0·unx·····2909·b-·stor·80-Jan-01·00:00·com/google/zxing/common/PerspectiveTransform.class
63 ?rwxrwxr-x··2.0·unx·····1974·b-·stor·80-Jan-01·00:00·com/google/zxing/common/StringUtils.class63 ?rwxrwxr-x··2.0·unx·····1969·b-·stor·80-Jan-01·00:00·com/google/zxing/common/StringUtils.class
64 ?rwxrwxr-x··2.0·unx······445·b-·stor·80-Jan-01·00:00·com/google/zxing/common/detector/MathUtils.class64 ?rwxrwxr-x··2.0·unx······516·b-·stor·80-Jan-01·00:00·com/google/zxing/common/detector/MathUtils.class
65 ?rwxrwxr-x··2.0·unx·····2101·b-·stor·80-Jan-01·00:00·com/google/zxing/common/detector/MonochromeRectangleDetector.class65 ?rwxrwxr-x··2.0·unx·····2112·b-·stor·80-Jan-01·00:00·com/google/zxing/common/detector/MonochromeRectangleDetector.class
66 ?rwxrwxr-x··2.0·unx·····3164·b-·stor·80-Jan-01·00:00·com/google/zxing/common/detector/WhiteRectangleDetector.class66 ?rwxrwxr-x··2.0·unx·····3164·b-·stor·80-Jan-01·00:00·com/google/zxing/common/detector/WhiteRectangleDetector.class
67 ?rwxrwxr-x··2.0·unx·····2542·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/GenericGF.class67 ?rwxrwxr-x··2.0·unx·····2564·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/GenericGF.class
68 ?rwxrwxr-x··2.0·unx·····3476·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/GenericGFPoly.class68 ?rwxrwxr-x··2.0·unx·····3474·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/GenericGFPoly.class
69 ?rwxrwxr-x··2.0·unx·····3181·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/ReedSolomonDecoder.class69 ?rwxrwxr-x··2.0·unx·····3179·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/ReedSolomonDecoder.class
70 ?rwxrwxr-x··2.0·unx·····1944·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/ReedSolomonEncoder.class70 ?rwxrwxr-x··2.0·unx·····1938·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/ReedSolomonEncoder.class
71 ?rwxrwxr-x··2.0·unx······193·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/ReedSolomonException.class71 ?rwxrwxr-x··2.0·unx······193·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/ReedSolomonException.class
72 ?rwxrwxr-x··2.0·unx·····4280·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/BitMatrixParser.class72 ?rwxrwxr-x··2.0·unx·····4270·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/BitMatrixParser.class
73 ?rwxrwxr-x··2.0·unx·····1695·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DataBlock.class73 ?rwxrwxr-x··2.0·unx·····1699·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DataBlock.class
74 ?rwxrwxr-x··2.0·unx······999·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DecodedBitStreamParser$1.class74 ?rwxrwxr-x··2.0·unx······999·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DecodedBitStreamParser$1.class
75 ?rwxrwxr-x··2.0·unx·····1284·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DecodedBitStreamParser$Mode.class75 ?rwxrwxr-x··2.0·unx·····1284·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DecodedBitStreamParser$Mode.class
76 ?rwxrwxr-x··2.0·unx·····6367·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DecodedBitStreamParser.class76 ?rwxrwxr-x··2.0·unx·····6364·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DecodedBitStreamParser.class
77 ?rwxrwxr-x··2.0·unx·····2015·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Decoder.class77 ?rwxrwxr-x··2.0·unx·····2016·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Decoder.class
78 ?rwxrwxr-x··2.0·unx·······97·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$1.class78 ?rwxrwxr-x··2.0·unx·······97·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$1.class
79 ?rwxrwxr-x··2.0·unx······440·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$ECB.class79 ?rwxrwxr-x··2.0·unx······440·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$ECB.class
80 ?rwxrwxr-x··2.0·unx·····1082·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$ECBlocks.class80 ?rwxrwxr-x··2.0·unx·····1082·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$ECBlocks.class
81 ?rwxrwxr-x··2.0·unx·····4109·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version.class81 ?rwxrwxr-x··2.0·unx·····4109·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version.class
82 ?rwxrwxr-x··2.0·unx·······99·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$1.class82 ?rwxrwxr-x··2.0·unx·······99·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$1.class
83 ?rwxrwxr-x··2.0·unx·····1092·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions.class83 ?rwxrwxr-x··2.0·unx·····1092·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions.class
84 ?rwxrwxr-x··2.0·unx······756·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitionsComparator.class84 ?rwxrwxr-x··2.0·unx······756·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitionsComparator.class
85 ?rwxrwxr-x··2.0·unx·····6511·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector.class85 ?rwxrwxr-x··2.0·unx·····6515·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector.class
86 ?rwxrwxr-x··2.0·unx·····2585·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/DefaultPlacement.class86 ?rwxrwxr-x··2.0·unx·····2590·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/DefaultPlacement.class
87 ?rwxrwxr-x··2.0·unx······202·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/Encoder.class87 ?rwxrwxr-x··2.0·unx······202·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/Encoder.class
88 ?rwxrwxr-x··2.0·unx·····3070·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/EncoderContext.class88 ?rwxrwxr-x··2.0·unx·····3070·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/EncoderContext.class
89 ?rwxrwxr-x··2.0·unx·····5789·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/ErrorCorrection.class89 ?rwxrwxr-x··2.0·unx·····5786·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/ErrorCorrection.class
90 ?rwxrwxr-x··2.0·unx·····6855·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/HighLevelEncoder.class90 ?rwxrwxr-x··2.0·unx·····6803·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/HighLevelEncoder.class
91 ?rwxrwxr-x··2.0·unx·····4970·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/SymbolInfo.class91 ?rwxrwxr-x··2.0·unx·····4962·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/SymbolInfo.class
92 ?rwxrwxr-x··2.0·unx······917·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/SymbolShapeHint.class92 ?rwxrwxr-x··2.0·unx······917·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/SymbolShapeHint.class
93 ?rwxrwxr-x··2.0·unx·····1921·b-·stor·80-Jan-01·00:00·com/google/zxing/integration/android/IntentIntegrator$1.class93 ?rwxrwxr-x··2.0·unx·····1921·b-·stor·80-Jan-01·00:00·com/google/zxing/integration/android/IntentIntegrator$1.class
94 ?rwxrwxr-x··2.0·unx·····9379·b-·stor·80-Jan-01·00:00·com/google/zxing/integration/android/IntentIntegrator.class94 ?rwxrwxr-x··2.0·unx·····9379·b-·stor·80-Jan-01·00:00·com/google/zxing/integration/android/IntentIntegrator.class
95 ?rwxrwxr-x··2.0·unx·····1400·b-·stor·80-Jan-01·00:00·com/google/zxing/integration/android/IntentResult.class95 ?rwxrwxr-x··2.0·unx·····1343·b-·stor·80-Jan-01·00:00·com/google/zxing/integration/android/IntentResult.class
96 ?rwxrwxr-x··2.0·unx·····7149·b-·stor·80-Jan-01·00:00·com/google/zxing/maxicode/decoder/BitMatrixParser.class96 ?rwxrwxr-x··2.0·unx·····7149·b-·stor·80-Jan-01·00:00·com/google/zxing/maxicode/decoder/BitMatrixParser.class
97 ?rwxrwxr-x··2.0·unx·····4744·b-·stor·80-Jan-01·00:00·com/google/zxing/maxicode/decoder/DecodedBitStreamParser.class97 ?rwxrwxr-x··2.0·unx·····4644·b-·stor·80-Jan-01·00:00·com/google/zxing/maxicode/decoder/DecodedBitStreamParser.class
98 ?rwxrwxr-x··2.0·unx·····2098·b-·stor·80-Jan-01·00:00·com/google/zxing/maxicode/decoder/Decoder.class98 ?rwxrwxr-x··2.0·unx·····2095·b-·stor·80-Jan-01·00:00·com/google/zxing/maxicode/decoder/Decoder.class
99 ?rwxrwxr-x··2.0·unx······268·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/MultipleBarcodeReader.class99 ?rwxrwxr-x··2.0·unx······268·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/MultipleBarcodeReader.class
100 ?rwxrwxr-x··2.0·unx······101·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/QRCodeMultiReader$1.class100 ?rwxrwxr-x··2.0·unx······101·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/QRCodeMultiReader$1.class
101 ?rwxrwxr-x··2.0·unx······929·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/QRCodeMultiReader$SAComparator.class101 ?rwxrwxr-x··2.0·unx······929·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/QRCodeMultiReader$SAComparator.class
102 ?rwxrwxr-x··2.0·unx······117·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$1.class102 ?rwxrwxr-x··2.0·unx······117·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$1.class
103 ?rwxrwxr-x··2.0·unx······778·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator.class103 ?rwxrwxr-x··2.0·unx······778·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator.class
 104 ?rwxrwxr-x··2.0·unx······925·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/Code128Writer$CType.class
104 ?rwxrwxr-x··2.0·unx·····7672·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/EANManufacturerOrgSupport.class105 ?rwxrwxr-x··2.0·unx·····7672·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/EANManufacturerOrgSupport.class
105 ?rwxrwxr-x··2.0·unx·····2428·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/UPCEANExtension2Support.class106 ?rwxrwxr-x··2.0·unx·····2428·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/UPCEANExtension2Support.class
106 ?rwxrwxr-x··2.0·unx·····3493·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/UPCEANExtension5Support.class107 ?rwxrwxr-x··2.0·unx·····3524·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/UPCEANExtension5Support.class
107 ?rwxrwxr-x··2.0·unx······981·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/UPCEANExtensionSupport.class108 ?rwxrwxr-x··2.0·unx······982·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/UPCEANExtensionSupport.class
108 ?rwxrwxr-x··2.0·unx······824·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/DataCharacter.class109 ?rwxrwxr-x··2.0·unx······824·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/DataCharacter.class
109 ?rwxrwxr-x··2.0·unx······771·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/FinderPattern.class110 ?rwxrwxr-x··2.0·unx······771·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/FinderPattern.class
110 ?rwxrwxr-x··2.0·unx······765·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/RSSUtils.class111 ?rwxrwxr-x··2.0·unx······765·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/RSSUtils.class
111 ?rwxrwxr-x··2.0·unx······945·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/BitArrayBuilder.class112 ?rwxrwxr-x··2.0·unx······941·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/BitArrayBuilder.class
112 ?rwxrwxr-x··2.0·unx·····1823·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/ExpandedPair.class113 ?rwxrwxr-x··2.0·unx·····1847·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/ExpandedPair.class
113 ?rwxrwxr-x··2.0·unx·····1229·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/ExpandedRow.class114 ?rwxrwxr-x··2.0·unx·····1253·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/ExpandedRow.class
114 ?rwxrwxr-x··2.0·unx·····2420·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder.class115 ?rwxrwxr-x··2.0·unx·····2347·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder.class
115 ?rwxrwxr-x··2.0·unx······620·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/BlockParsedResult.class116 ?rwxrwxr-x··2.0·unx······620·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/BlockParsedResult.class
116 ?rwxrwxr-x··2.0·unx······993·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/CurrentParsingState$State.class117 ?rwxrwxr-x··2.0·unx······993·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/CurrentParsingState$State.class
117 ?rwxrwxr-x··2.0·unx······975·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/CurrentParsingState.class118 ?rwxrwxr-x··2.0·unx······975·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/CurrentParsingState.class
118 ?rwxrwxr-x··2.0·unx······274·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/DecodedObject.class119 ?rwxrwxr-x··2.0·unx······274·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/DecodedObject.class
119 ?rwxrwxr-x··2.0·unx·····8025·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/FieldParser.class120 ?rwxrwxr-x··2.0·unx·····8070·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/FieldParser.class
120 ?rwxrwxr-x··2.0·unx·····6912·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder.class121 ?rwxrwxr-x··2.0·unx·····6895·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder.class
121 ?rwxrwxr-x··2.0·unx····56416·b-·defN·80-Jan-01·00:00·com/google/zxing/pdf417/PDF417Common.class122 ?rwxrwxr-x··2.0·unx····56454·b-·defN·80-Jan-01·00:00·com/google/zxing/pdf417/PDF417Common.class
122 ?rwxrwxr-x··2.0·unx······787·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/PDF417ResultMetadata.class123 ?rwxrwxr-x··2.0·unx······787·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/PDF417ResultMetadata.class
123 ?rwxrwxr-x··2.0·unx······650·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BarcodeMetadata.class124 ?rwxrwxr-x··2.0·unx······650·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BarcodeMetadata.class
124 ?rwxrwxr-x··2.0·unx·····1331·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BarcodeValue.class125 ?rwxrwxr-x··2.0·unx·····1331·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BarcodeValue.class
125 ?rwxrwxr-x··2.0·unx·····2592·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BoundingBox.class126 ?rwxrwxr-x··2.0·unx·····2592·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BoundingBox.class
126 ?rwxrwxr-x··2.0·unx·····1222·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/Codeword.class127 ?rwxrwxr-x··2.0·unx·····1222·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/Codeword.class
127 ?rwxrwxr-x··2.0·unx·····1034·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DecodedBitStreamParser$1.class128 ?rwxrwxr-x··2.0·unx·····1034·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DecodedBitStreamParser$1.class
128 ?rwxrwxr-x··2.0·unx·····1161·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode.class129 ?rwxrwxr-x··2.0·unx·····1161·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode.class
129 ?rwxrwxr-x··2.0·unx·····7072·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DecodedBitStreamParser.class130 ?rwxrwxr-x··2.0·unx·····6869·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DecodedBitStreamParser.class
130 ?rwxrwxr-x··2.0·unx·····4866·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DetectionResult.class131 ?rwxrwxr-x··2.0·unx·····4860·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DetectionResult.class
131 ?rwxrwxr-x··2.0·unx·····1863·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DetectionResultColumn.class132 ?rwxrwxr-x··2.0·unx·····1863·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DetectionResultColumn.class
132 ?rwxrwxr-x··2.0·unx·····1518·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/PDF417CodewordDecoder.class133 ?rwxrwxr-x··2.0·unx·····1550·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/PDF417CodewordDecoder.class
133 ?rwxrwxr-x··2.0·unx····11162·b-·defN·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/PDF417ScanningDecoder.class134 ?rwxrwxr-x··2.0·unx····11133·b-·defN·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/PDF417ScanningDecoder.class
134 ?rwxrwxr-x··2.0·unx·····3096·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/ec/ErrorCorrection.class135 ?rwxrwxr-x··2.0·unx·····3096·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/ec/ErrorCorrection.class
135 ?rwxrwxr-x··2.0·unx·····1636·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/ec/ModulusGF.class136 ?rwxrwxr-x··2.0·unx·····1636·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/ec/ModulusGF.class
136 ?rwxrwxr-x··2.0·unx·····3624·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/ec/ModulusPoly.class137 ?rwxrwxr-x··2.0·unx·····3155·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/ec/ModulusPoly.class
137 ?rwxrwxr-x··2.0·unx·····4384·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/detector/Detector.class138 ?rwxrwxr-x··2.0·unx·····4378·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/detector/Detector.class
138 ?rwxrwxr-x··2.0·unx······489·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/detector/PDF417DetectorResult.class139 ?rwxrwxr-x··2.0·unx······489·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/detector/PDF417DetectorResult.class
139 ?rwxrwxr-x··2.0·unx·····1148·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/encoder/BarcodeMatrix.class140 ?rwxrwxr-x··2.0·unx·····1148·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/encoder/BarcodeMatrix.class
Max diff block lines reached; 25089/43716 bytes (57.39%) of diff not shown.
3.32 KB
zipnote «TEMP»/diffoscope_ce4a51n__tmp/tmp62tobr19_.zip
    
Offset 300, 14 lines modifiedOffset 300, 17 lines modified
  
300 Filename:·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$1.class300 Filename:·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$1.class
301 Comment:·301 Comment:·
  
302 Filename:·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator.class302 Filename:·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator.class
303 Comment:·303 Comment:·
  
 304 Filename:·com/google/zxing/oned/Code128Writer$CType.class
 305 Comment:·
  
304 Filename:·com/google/zxing/oned/EANManufacturerOrgSupport.class306 Filename:·com/google/zxing/oned/EANManufacturerOrgSupport.class
305 Comment:·307 Comment:·
  
306 Filename:·com/google/zxing/oned/UPCEANExtension2Support.class308 Filename:·com/google/zxing/oned/UPCEANExtension2Support.class
307 Comment:·309 Comment:·
  
308 Filename:·com/google/zxing/oned/UPCEANExtension5Support.class310 Filename:·com/google/zxing/oned/UPCEANExtension5Support.class
Offset 432, 17 lines modifiedOffset 435, 14 lines modified
  
432 Filename:·com/google/zxing/qrcode/decoder/BitMatrixParser.class435 Filename:·com/google/zxing/qrcode/decoder/BitMatrixParser.class
433 Comment:·436 Comment:·
  
434 Filename:·com/google/zxing/qrcode/decoder/DataBlock.class437 Filename:·com/google/zxing/qrcode/decoder/DataBlock.class
435 Comment:·438 Comment:·
  
436 Filename:·com/google/zxing/qrcode/decoder/DataMask$1.class 
437 Comment:· 
  
438 Filename:·com/google/zxing/qrcode/decoder/DataMask.class439 Filename:·com/google/zxing/qrcode/decoder/DataMask.class
439 Comment:·440 Comment:·
  
440 Filename:·com/google/zxing/qrcode/decoder/DecodedBitStreamParser.class441 Filename:·com/google/zxing/qrcode/decoder/DecodedBitStreamParser.class
441 Comment:·442 Comment:·
  
442 Filename:·com/google/zxing/qrcode/decoder/Decoder.class443 Filename:·com/google/zxing/qrcode/decoder/Decoder.class
Offset 726, 36 lines modifiedOffset 726, 36 lines modified
  
726 Filename:·com/google/zxing/qrcode/QRCodeReader.class726 Filename:·com/google/zxing/qrcode/QRCodeReader.class
727 Comment:·727 Comment:·
  
728 Filename:·com/google/zxing/qrcode/QRCodeWriter.class728 Filename:·com/google/zxing/qrcode/QRCodeWriter.class
729 Comment:·729 Comment:·
  
730 Filename:·com/google/zxing/qrcode/decoder/DataMask$DataMask000.class730 Filename:·com/google/zxing/qrcode/decoder/DataMask$1.class
731 Comment:·731 Comment:·
  
732 Filename:·com/google/zxing/qrcode/decoder/DataMask$DataMask001.class732 Filename:·com/google/zxing/qrcode/decoder/DataMask$2.class
733 Comment:·733 Comment:·
  
734 Filename:·com/google/zxing/qrcode/decoder/DataMask$DataMask010.class734 Filename:·com/google/zxing/qrcode/decoder/DataMask$3.class
735 Comment:·735 Comment:·
  
736 Filename:·com/google/zxing/qrcode/decoder/DataMask$DataMask011.class736 Filename:·com/google/zxing/qrcode/decoder/DataMask$4.class
737 Comment:·737 Comment:·
  
738 Filename:·com/google/zxing/qrcode/decoder/DataMask$DataMask100.class738 Filename:·com/google/zxing/qrcode/decoder/DataMask$5.class
739 Comment:·739 Comment:·
  
740 Filename:·com/google/zxing/qrcode/decoder/DataMask$DataMask101.class740 Filename:·com/google/zxing/qrcode/decoder/DataMask$6.class
741 Comment:·741 Comment:·
  
742 Filename:·com/google/zxing/qrcode/decoder/DataMask$DataMask110.class742 Filename:·com/google/zxing/qrcode/decoder/DataMask$7.class
743 Comment:·743 Comment:·
  
744 Filename:·com/google/zxing/qrcode/decoder/DataMask$DataMask111.class744 Filename:·com/google/zxing/qrcode/decoder/DataMask$8.class
745 Comment:·745 Comment:·
  
746 Filename:·com/google/zxing/qrcode/detector/AlignmentPattern.class746 Filename:·com/google/zxing/qrcode/detector/AlignmentPattern.class
747 Comment:·747 Comment:·
  
748 Filename:·com/google/zxing/qrcode/detector/FinderPattern.class748 Filename:·com/google/zxing/qrcode/detector/FinderPattern.class
749 Comment:·749 Comment:·
Offset 801, 14 lines modifiedOffset 801, 17 lines modified
  
801 Filename:·com/google/zxing/oned/Code39Writer.class801 Filename:·com/google/zxing/oned/Code39Writer.class
802 Comment:·802 Comment:·
  
803 Filename:·com/google/zxing/oned/Code93Reader.class803 Filename:·com/google/zxing/oned/Code93Reader.class
804 Comment:·804 Comment:·
  
 805 Filename:·com/google/zxing/oned/Code93Writer.class
 806 Comment:·
  
805 Filename:·com/google/zxing/oned/ITFReader.class807 Filename:·com/google/zxing/oned/ITFReader.class
806 Comment:·808 Comment:·
  
807 Filename:·com/google/zxing/oned/ITFWriter.class809 Filename:·com/google/zxing/oned/ITFWriter.class
808 Comment:·810 Comment:·
  
809 Filename:·com/google/zxing/oned/MultiFormatOneDReader.class811 Filename:·com/google/zxing/oned/MultiFormatOneDReader.class
Offset 852, 14 lines modifiedOffset 855, 17 lines modified
  
852 Filename:·com/google/zxing/oned/UPCAReader.class855 Filename:·com/google/zxing/oned/UPCAReader.class
853 Comment:·856 Comment:·
  
854 Filename:·com/google/zxing/oned/UPCEReader.class857 Filename:·com/google/zxing/oned/UPCEReader.class
855 Comment:·858 Comment:·
  
 859 Filename:·com/google/zxing/oned/UPCEWriter.class
 860 Comment:·
  
856 Filename:·com/google/zxing/oned/rss/RSS14Reader.class861 Filename:·com/google/zxing/oned/rss/RSS14Reader.class
857 Comment:·862 Comment:·
  
858 Filename:·com/google/zxing/oned/rss/expanded/RSSExpandedReader.class863 Filename:·com/google/zxing/oned/rss/expanded/RSSExpandedReader.class
859 Comment:·864 Comment:·
  
860 Filename:·com/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder.class865 Filename:·com/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder.class
864 B
com/google/zxing/BinaryBitmap.class
794 B
javap -verbose -constants -s -l -private {}
    
Offset 277, 15 lines modifiedOffset 277, 15 lines modified
277 ·········1:·invokevirtual·#71·················//·Method·getBlackMatrix:()Lcom/google/zxing/common/BitMatrix;277 ·········1:·invokevirtual·#71·················//·Method·getBlackMatrix:()Lcom/google/zxing/common/BitMatrix;
278 ·········4:·astore_1278 ·········4:·astore_1
279 ·········5:·aload_1279 ·········5:·aload_1
280 ·········6:·invokevirtual·#77·················//·Method·com/google/zxing/common/BitMatrix.toString:()Ljava/lang/String;280 ·········6:·invokevirtual·#77·················//·Method·com/google/zxing/common/BitMatrix.toString:()Ljava/lang/String;
281 ·········9:·astore_1281 ·········9:·astore_1
282 ········10:·aload_1282 ········10:·aload_1
283 ········11:·areturn283 ········11:·areturn
284 ········12:·pop284 ········12:·astore_1
285 ········13:·ldc···········#79·················//·String285 ········13:·ldc···········#79·················//·String
286 ········15:·astore_1286 ········15:·astore_1
287 ········16:·goto··········10287 ········16:·goto··········10
288 ······Exception·table:288 ······Exception·table:
289 ·········from····to··target·type289 ·········from····to··target·type
290 ·············0·····4····12···Class·com/google/zxing/NotFoundException290 ·············0·····4····12···Class·com/google/zxing/NotFoundException
291 ·············5·····9····12···Class·com/google/zxing/NotFoundException291 ·············5·····9····12···Class·com/google/zxing/NotFoundException
1.45 KB
com/google/zxing/EncodeHintType.class
1.37 KB
procyon -ec {}
    
Offset 8, 31 lines modifiedOffset 8, 33 lines modified
8 ····DATA_MATRIX_SHAPE("DATA_MATRIX_SHAPE",·n3),·8 ····DATA_MATRIX_SHAPE("DATA_MATRIX_SHAPE",·n3),·
9 ····ERROR_CORRECTION("ERROR_CORRECTION",·0),·9 ····ERROR_CORRECTION("ERROR_CORRECTION",·0),·
10 ····MARGIN("MARGIN",·5),·10 ····MARGIN("MARGIN",·5),·
11 ····MAX_SIZE("MAX_SIZE",·n),·11 ····MAX_SIZE("MAX_SIZE",·n),·
12 ····MIN_SIZE("MIN_SIZE",·n2),·12 ····MIN_SIZE("MIN_SIZE",·n2),·
13 ····PDF417_COMPACT("PDF417_COMPACT",·6),·13 ····PDF417_COMPACT("PDF417_COMPACT",·6),·
14 ····PDF417_COMPACTION("PDF417_COMPACTION",·7),·14 ····PDF417_COMPACTION("PDF417_COMPACTION",·7),·
15 ····PDF417_DIMENSIONS("PDF417_DIMENSIONS",·8);15 ····PDF417_DIMENSIONS("PDF417_DIMENSIONS",·8),·
 16 ····QR_VERSION("QR_VERSION",·10);
16 ····17 ····
17 ····static·{18 ····static·{
18 ········final·int·n·=·4;19 ········final·int·n·=·4;
19 ········final·int·n2·=·3;20 ········final·int·n2·=·3;
20 ········final·int·n3·=·2;21 ········final·int·n3·=·2;
21 ········final·int·n4·=·1;22 ········final·int·n4·=·1;
22 ········final·EncodeHintType[]·$values·=·new·EncodeHintType[10];23 ········final·EncodeHintType[]·$values·=·new·EncodeHintType[11];
23 ········$values[0]·=·EncodeHintType.ERROR_CORRECTION;24 ········$values[0]·=·EncodeHintType.ERROR_CORRECTION;
24 ········$values[n4]·=·EncodeHintType.CHARACTER_SET;25 ········$values[n4]·=·EncodeHintType.CHARACTER_SET;
25 ········$values[n3]·=·EncodeHintType.DATA_MATRIX_SHAPE;26 ········$values[n3]·=·EncodeHintType.DATA_MATRIX_SHAPE;
26 ········$values[n2]·=·EncodeHintType.MIN_SIZE;27 ········$values[n2]·=·EncodeHintType.MIN_SIZE;
27 ········$values[n]·=·EncodeHintType.MAX_SIZE;28 ········$values[n]·=·EncodeHintType.MAX_SIZE;
28 ········$values[5]·=·EncodeHintType.MARGIN;29 ········$values[5]·=·EncodeHintType.MARGIN;
29 ········$values[6]·=·EncodeHintType.PDF417_COMPACT;30 ········$values[6]·=·EncodeHintType.PDF417_COMPACT;
30 ········$values[7]·=·EncodeHintType.PDF417_COMPACTION;31 ········$values[7]·=·EncodeHintType.PDF417_COMPACTION;
31 ········$values[8]·=·EncodeHintType.PDF417_DIMENSIONS;32 ········$values[8]·=·EncodeHintType.PDF417_DIMENSIONS;
32 ········$values[9]·=·EncodeHintType.AZTEC_LAYERS;33 ········$values[9]·=·EncodeHintType.AZTEC_LAYERS;
 34 ········$values[10]·=·EncodeHintType.QR_VERSION;
33 ········$VALUES·=·$values;35 ········$VALUES·=·$values;
34 ····}36 ····}
35 ····37 ····
36 ····private·EncodeHintType(final·String·name,·final·int·ordinal)·{38 ····private·EncodeHintType(final·String·name,·final·int·ordinal)·{
37 ····}39 ····}
38 }40 }
24.9 KB
com/google/zxing/MultiFormatWriter$1.class
24.8 KB
procyon -ec {}
Max HTML report size reached
369 B
com/google/zxing/ReaderException.class
293 B
procyon -ec {}
    
Offset 16, 10 lines modifiedOffset 16, 12 lines modified
16 ····16 ····
17 ····ReaderException(final·Throwable·cause)·{17 ····ReaderException(final·Throwable·cause)·{
18 ········super(cause);18 ········super(cause);
19 ····}19 ····}
20 ····20 ····
21 ····@Override21 ····@Override
22 ····public·final·Throwable·fillInStackTrace()·{22 ····public·final·Throwable·fillInStackTrace()·{
 23 ········//·monitorenter(this)
 24 ········//·monitorexit(this)
23 ········return·null;25 ········return·null;
24 ····}26 ····}
25 }27 }
2.49 KB
com/google/zxing/Result.class
2.43 KB
procyon -ec {}
    
Offset 3, 33 lines modifiedOffset 3, 46 lines modified
  
3 import·java.util.EnumMap;3 import·java.util.EnumMap;
4 import·java.util.Map;4 import·java.util.Map;
  
5 public·final·class·Result5 public·final·class·Result
6 {6 {
7 ····private·final·BarcodeFormat·format;7 ····private·final·BarcodeFormat·format;
 8 ····private·final·int·numBits;
8 ····private·final·byte[]·rawBytes;9 ····private·final·byte[]·rawBytes;
9 ····private·Map·resultMetadata;10 ····private·Map·resultMetadata;
10 ····private·ResultPoint[]·resultPoints;11 ····private·ResultPoint[]·resultPoints;
11 ····private·final·String·text;12 ····private·final·String·text;
12 ····private·final·long·timestamp;13 ····private·final·long·timestamp;
13 ····14 ····
14 ····public·Result(final·String·s,·final·byte[]·array,·final·ResultPoint[]·array2,·final·BarcodeFormat·barcodeFormat)·{ 
15 ········this(s,·array,·array2,·barcodeFormat,·System.currentTimeMillis()); 
16 ····} 
17 ···· 
18 ····public·Result(final·String·text,·final·byte[]·rawBytes,·final·ResultPoint[]·resultPoints,·final·BarcodeFormat·format,·final·long·timestamp)·{15 ····public·Result(final·String·text,·final·byte[]·rawBytes,·final·int·numBits,·final·ResultPoint[]·resultPoints,·final·BarcodeFormat·format,·final·long·timestamp)·{
19 ········this.text·=·text;16 ········this.text·=·text;
20 ········this.rawBytes·=·rawBytes;17 ········this.rawBytes·=·rawBytes;
 18 ········this.numBits·=·numBits;
21 ········this.resultPoints·=·resultPoints;19 ········this.resultPoints·=·resultPoints;
22 ········this.format·=·format;20 ········this.format·=·format;
23 ········this.resultMetadata·=·null;21 ········this.resultMetadata·=·null;
24 ········this.timestamp·=·timestamp;22 ········this.timestamp·=·timestamp;
25 ····}23 ····}
26 ····24 ····
 25 ····public·Result(final·String·s,·final·byte[]·array,·final·ResultPoint[]·array2,·final·BarcodeFormat·barcodeFormat)·{
 26 ········this(s,·array,·array2,·barcodeFormat,·System.currentTimeMillis());
 27 ····}
 28 ····
 29 ····public·Result(final·String·s,·final·byte[]·array,·final·ResultPoint[]·array2,·final·BarcodeFormat·barcodeFormat,·final·long·n)·{
 30 ········int·n2;
 31 ········if·(array·==·null)·{
 32 ············n2·=·0;
 33 ········}
 34 ········else·{
 35 ············n2·=·array.length·*·8;
 36 ········}
 37 ········this(s,·array,·n2,·array2,·barcodeFormat,·n);
 38 ····}
 39 ····
27 ····public·void·addResultPoints(final·ResultPoint[]·resultPoints)·{40 ····public·void·addResultPoints(final·ResultPoint[]·resultPoints)·{
28 ········final·ResultPoint[]·resultPoints2·=·this.resultPoints;41 ········final·ResultPoint[]·resultPoints2·=·this.resultPoints;
29 ········if·(resultPoints2·==·null)·{42 ········if·(resultPoints2·==·null)·{
30 ············this.resultPoints·=·resultPoints;43 ············this.resultPoints·=·resultPoints;
31 ········}44 ········}
32 ········else·if·(resultPoints·!=·null·&&·resultPoints.length·>·0)·{45 ········else·if·(resultPoints·!=·null·&&·resultPoints.length·>·0)·{
33 ············final·ResultPoint[]·resultPoints3·=·new·ResultPoint[resultPoints2.length·+·resultPoints.length];46 ············final·ResultPoint[]·resultPoints3·=·new·ResultPoint[resultPoints2.length·+·resultPoints.length];
Offset 39, 14 lines modifiedOffset 52, 18 lines modified
39 ········}52 ········}
40 ····}53 ····}
41 ····54 ····
42 ····public·BarcodeFormat·getBarcodeFormat()·{55 ····public·BarcodeFormat·getBarcodeFormat()·{
43 ········return·this.format;56 ········return·this.format;
44 ····}57 ····}
45 ····58 ····
 59 ····public·int·getNumBits()·{
 60 ········return·this.numBits;
 61 ····}
 62 ····
46 ····public·byte[]·getRawBytes()·{63 ····public·byte[]·getRawBytes()·{
47 ········return·this.rawBytes;64 ········return·this.rawBytes;
48 ····}65 ····}
49 ····66 ····
50 ····public·Map·getResultMetadata()·{67 ····public·Map·getResultMetadata()·{
51 ········return·this.resultMetadata;68 ········return·this.resultMetadata;
52 ····}69 ····}
594 B
com/google/zxing/ResultPoint.class
526 B
procyon -ec {}
    
Offset 80, 16 lines modifiedOffset 80, 10 lines modified
80 ····@Override80 ····@Override
81 ····public·final·int·hashCode()·{81 ····public·final·int·hashCode()·{
82 ········return·Float.floatToIntBits(this.x)·*·31·+·Float.floatToIntBits(this.y);82 ········return·Float.floatToIntBits(this.x)·*·31·+·Float.floatToIntBits(this.y);
83 ····}83 ····}
84 ····84 ····
85 ····@Override85 ····@Override
86 ····public·final·String·toString()·{86 ····public·final·String·toString()·{
 87 ········return·"("·+·this.x·+·','·+·this.y·+·')';
87 ········final·StringBuilder·sb·=·new·StringBuilder(25); 
88 ········sb.append('('); 
89 ········sb.append(this.x); 
90 ········sb.append(','); 
91 ········sb.append(this.y); 
92 ········sb.append(')'); 
93 ········return·sb.toString(); 
94 ····}88 ····}
95 }89 }
10.8 KB
com/google/zxing/aztec/decoder/Decoder.class
10.7 KB
procyon -ec {}
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
  
1 package·com.google.zxing.aztec.decoder;1 package·com.google.zxing.aztec.decoder;
  
2 import·com.google.zxing.common.BitMatrix; 
3 import·java.util.List;2 import·java.util.List;
4 import·com.google.zxing.common.DecoderResult;3 import·com.google.zxing.common.DecoderResult;
 4 import·com.google.zxing.common.BitMatrix;
5 import·java.util.Arrays;5 import·java.util.Arrays;
6 import·com.google.zxing.common.reedsolomon.ReedSolomonException;6 import·com.google.zxing.common.reedsolomon.ReedSolomonException;
7 import·com.google.zxing.common.reedsolomon.ReedSolomonDecoder;7 import·com.google.zxing.common.reedsolomon.ReedSolomonDecoder;
8 import·com.google.zxing.FormatException;8 import·com.google.zxing.FormatException;
9 import·com.google.zxing.common.reedsolomon.GenericGF;9 import·com.google.zxing.common.reedsolomon.GenericGF;
10 import·com.google.zxing.aztec.AztecDetectorResult;10 import·com.google.zxing.aztec.AztecDetectorResult;
  
Offset 177, 14 lines modifiedOffset 177, 22 lines modified
177 ········digit_TABLE[12]·=·",";177 ········digit_TABLE[12]·=·",";
178 ········digit_TABLE[13]·=·".";178 ········digit_TABLE[13]·=·".";
179 ········digit_TABLE[14]·=·"CTRL_UL";179 ········digit_TABLE[14]·=·"CTRL_UL";
180 ········digit_TABLE[15]·=·"CTRL_US";180 ········digit_TABLE[15]·=·"CTRL_US";
181 ········DIGIT_TABLE·=·digit_TABLE;181 ········DIGIT_TABLE·=·digit_TABLE;
182 ····}182 ····}
183 ····183 ····
 184 ····static·byte[]·convertBoolArrayToByteArray(final·boolean[]·array)·{
 185 ········final·byte[]·array2·=·new·byte[(array.length·+·7)·/·8];
 186 ········for·(int·i·=·0;·i·<·array2.length;·++i)·{
 187 ············array2[i]·=·readByte(array,·i·<<·3);
 188 ········}
 189 ········return·array2;
 190 ····}
 191 ····
184 ····private·boolean[]·correctBits(final·boolean[]·array)·{192 ····private·boolean[]·correctBits(final·boolean[]·array)·{
185 ········int·n;193 ········int·n;
186 ········GenericGF·genericGF;194 ········GenericGF·genericGF;
187 ········if·(this.ddata.getNbLayers()·<=·2)·{195 ········if·(this.ddata.getNbLayers()·<=·2)·{
188 ············n·=·6;196 ············n·=·6;
189 ············genericGF·=·GenericGF.AZTEC_DATA_6;197 ············genericGF·=·GenericGF.AZTEC_DATA_6;
190 ········}198 ········}
Offset 202, 74 lines modifiedOffset 210, 127 lines modified
202 ········}210 ········}
203 ········final·int·nbDatablocks·=·this.ddata.getNbDatablocks();211 ········final·int·nbDatablocks·=·this.ddata.getNbDatablocks();
204 ········final·int·n2·=·array.length·/·n;212 ········final·int·n2·=·array.length·/·n;
205 ········if·(n2·<·nbDatablocks)·{213 ········if·(n2·<·nbDatablocks)·{
206 ············throw·FormatException.getFormatInstance();214 ············throw·FormatException.getFormatInstance();
207 ········}215 ········}
208 ········int·n3·=·array.length·%·n;216 ········int·n3·=·array.length·%·n;
209 ········final·int·n4·=·n2·-·nbDatablocks; 
210 ········final·int[]·array2·=·new·int[n2];217 ········final·int[]·array2·=·new·int[n2];
211 ········for·(int·i·=·0;·i·<·n2;·++i,·n3·+=·n)·{218 ········for·(int·i·=·0;·i·<·n2;·++i,·n3·+=·n)·{
212 ············array2[i]·=·readCode(array,·n3,·n);219 ············array2[i]·=·readCode(array,·n3,·n);
213 ········}220 ········}
 221 ········int·n4;
214 ········int·n5;222 ········int·n5;
215 ········int·n6; 
216 ········while·(true)·{223 ········while·(true)·{
217 ············while·(true)·{224 ············while·(true)·{
 225 ················int·n6;
218 ················int·n7;226 ················int·n7;
219 ················int·n8; 
220 ················try·{227 ················try·{
221 ····················new·ReedSolomonDecoder(genericGF).decode(array2,·n4);228 ····················new·ReedSolomonDecoder(genericGF).decode(array2,·n2·-·nbDatablocks);
222 ····················n5·=·(1·<<·n)·-·1;229 ····················n4·=·(1·<<·n)·-·1;
 230 ····················n5·=·0;
223 ····················n6·=·0;231 ····················n6·=·0;
224 ····················n7·=·0; 
225 ····················if·(n7·>=·nbDatablocks)·{232 ····················if·(n6·>=·nbDatablocks)·{
226 ························break;233 ························break;
227 ····················}234 ····················}
228 ····················n8·=·array2[n7];235 ····················n7·=·array2[n6];
229 ····················if·(n8·==·0·||·n8·==·n5)·{236 ····················if·(n7·==·0·||·n7·==·n4)·{
230 ························throw·FormatException.getFormatInstance();237 ························throw·FormatException.getFormatInstance();
231 ····················}238 ····················}
232 ················}239 ················}
233 ················catch·(ReedSolomonException·ex)·{240 ················catch·(ReedSolomonException·ex)·{
234 ····················throw·FormatException.getFormatInstance((Throwable)ex);241 ····················throw·FormatException.getFormatInstance((Throwable)ex);
235 ················}242 ················}
236 ················final·int·n9; 
237 ················if·(n8·==·1·||·n8·==·(n9·=·n5·-·1))·{243 ················if·(n7·==·1·||·n7·==·n4·-·1)·{
238 ····················++n6;244 ····················++n5;
239 ················}245 ················}
240 ················++n7;246 ················++n6;
241 ················continue;247 ················continue;
242 ············}248 ············}
243 ········}249 ········}
244 ········final·boolean[]·a·=·new·boolean[nbDatablocks·*·n·-·n6];250 ········final·boolean[]·a·=·new·boolean[nbDatablocks·*·n·-·n5];
245 ········int·fromIndex·=·0;251 ········int·fromIndex·=·0;
246 ········for·(int·j·=·0;·j·<·nbDatablocks;·++j)·{252 ········for·(int·j·=·0;·j·<·nbDatablocks;·++j)·{
247 ············final·int·n10·=·array2[j];253 ············final·int·n8·=·array2[j];
248 ············final·int·n11; 
249 ············if·(n10·==·1·||·n10·==·(n11·=·n5·-·1))·{254 ············if·(n8·==·1·||·n8·==·n4·-·1)·{
250 ················final·int·n12; 
251 ················Arrays.fill(a,·fromIndex,·fromIndex·+·n·-·1,·n10·>·(n12·=·1));255 ················Arrays.fill(a,·fromIndex,·fromIndex·+·n·-·1,·n8·>·1);
252 ················fromIndex·+=·n·-·1;256 ················fromIndex·+=·n·-·1;
253 ············}257 ············}
254 ············else·{258 ············else·{
255 ················int·k·=·n·-·1;259 ················int·k·=·n·-·1;
256 ················int·n13·=·fromIndex;260 ················int·n9·=·fromIndex;
257 ················while·(k·>=·0)·{261 ················while·(k·>=·0)·{
258 ····················final·int·n14·=·n13·+·1;262 ····················final·int·n10·=·n9·+·1;
259 ····················a[n13]·=·((1·<<·k·&·n10)·!=·0x0);263 ····················a[n9]·=·((1·<<·k·&·n8)·!=·0x0);
260 ····················--k;264 ····················--k;
261 ····················n13·=·n14;265 ····················n9·=·n10;
262 ················}266 ················}
263 ················fromIndex·=·n13;267 ················fromIndex·=·n9;
264 ············}268 ············}
265 ········}269 ········}
266 ········return·a;270 ········return·a;
267 ····}271 ····}
268 ····272 ····
 273 ····private·boolean[]·extractBits(final·BitMatrix·bitMatrix)·{
 274 ········final·boolean·compact·=·this.ddata.isCompact();
 275 ········final·int·nbLayers·=·this.ddata.getNbLayers();
 276 ········int·n;
 277 ········if·(compact)·{
 278 ············n·=·11;
 279 ········}
 280 ········else·{
 281 ············n·=·14;
 282 ········}
 283 ········final·int·n2·=·n·+·(nbLayers·<<·2);
 284 ········final·int[]·array·=·new·int[n2];
 285 ········final·boolean[]·array2·=·new·boolean[totalBitsInLayer(nbLayers,·compact)];
 286 ········if·(compact)·{
 287 ············for·(int·i·=·0;·i·<·array.length;·++i)·{
 288 ················array[i]·=·i;
 289 ············}
 290 ········}
 291 ········else·{
Max diff block lines reached; 4445/10948 bytes (40.60%) of diff not shown.
6.2 KB
com/google/zxing/aztec/detector/Detector$Point.class
6.1 KB
javap -verbose -constants -s -l -private {}
    
Offset 31, 37 lines modifiedOffset 31, 36 lines modified
31 ··#23·=·NameAndType········#22:#19········//·getY:()I31 ··#23·=·NameAndType········#22:#19········//·getY:()I
32 ··#24·=·Methodref··········#2.#23·········//·com/google/zxing/aztec/detector/Detector$Point.getY:()I32 ··#24·=·Methodref··········#2.#23·········//·com/google/zxing/aztec/detector/Detector$Point.getY:()I
33 ··#25·=·Utf8···············(FF)V33 ··#25·=·Utf8···············(FF)V
34 ··#26·=·NameAndType········#8:#25·········//·"<init>":(FF)V34 ··#26·=·NameAndType········#8:#25·········//·"<init>":(FF)V
35 ··#27·=·Methodref··········#17.#26········//·com/google/zxing/ResultPoint."<init>":(FF)V35 ··#27·=·Methodref··········#17.#26········//·com/google/zxing/ResultPoint."<init>":(FF)V
36 ··#28·=·Utf8···············java/lang/StringBuilder36 ··#28·=·Utf8···············java/lang/StringBuilder
37 ··#29·=·Class··············#28············//·java/lang/StringBuilder37 ··#29·=·Class··············#28············//·java/lang/StringBuilder
38 ··#30·=·Methodref··········#29.#10········//·java/lang/StringBuilder."<init>":()V 
39 ··#31·=·Utf8···············<38 ··#30·=·Utf8···············<
40 ··#32·=·String·············#31············//·<39 ··#31·=·String·············#30············//·<
 40 ··#32·=·Utf8···············(Ljava/lang/String;)V
 41 ··#33·=·NameAndType········#8:#32·········//·"<init>":(Ljava/lang/String;)V
 42 ··#34·=·Methodref··········#29.#33········//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
41 ··#33·=·Utf8···············append43 ··#35·=·Utf8···············append
42 ··#34·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder; 
43 ··#35·=·NameAndType········#33:#34········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder; 
44 ··#36·=·Methodref··········#29.#35········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; 
45 ··#37·=·Utf8···············(I)Ljava/lang/StringBuilder;44 ··#36·=·Utf8···············(I)Ljava/lang/StringBuilder;
46 ··#38·=·NameAndType········#33:#37········//·append:(I)Ljava/lang/StringBuilder;45 ··#37·=·NameAndType········#35:#36········//·append:(I)Ljava/lang/StringBuilder;
47 ··#39·=·Methodref··········#29.#38········//·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;46 ··#38·=·Methodref··········#29.#37········//·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
48 ··#40·=·Float··············4.5E-44f47 ··#39·=·Float··············4.5E-44f
49 ··#41·=·Utf8···············(C)Ljava/lang/StringBuilder;48 ··#40·=·Utf8···············(C)Ljava/lang/StringBuilder;
50 ··#42·=·NameAndType········#33:#41········//·append:(C)Ljava/lang/StringBuilder;49 ··#41·=·NameAndType········#35:#40········//·append:(C)Ljava/lang/StringBuilder;
51 ··#43·=·Methodref··········#29.#42········//·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;50 ··#42·=·Methodref··········#29.#41········//·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;
52 ··#44·=·Float··············8.7E-44f51 ··#43·=·Float··············8.7E-44f
53 ··#45·=·Utf8···············toString52 ··#44·=·Utf8···············toString
54 ··#46·=·Utf8···············()Ljava/lang/String;53 ··#45·=·Utf8···············()Ljava/lang/String;
55 ··#47·=·NameAndType········#45:#46········//·toString:()Ljava/lang/String;54 ··#46·=·NameAndType········#44:#45········//·toString:()Ljava/lang/String;
56 ··#48·=·Methodref··········#29.#47········//·java/lang/StringBuilder.toString:()Ljava/lang/String;55 ··#47·=·Methodref··········#29.#46········//·java/lang/StringBuilder.toString:()Ljava/lang/String;
57 ··#49·=·Utf8···············Code56 ··#48·=·Utf8···············Code
58 ··#50·=·Utf8···············(II)V57 ··#49·=·Utf8···············(II)V
59 ··#51·=·Utf8···············toResultPoint58 ··#50·=·Utf8···············toResultPoint
60 ··#52·=·Utf8···············()Lcom/google/zxing/ResultPoint;59 ··#51·=·Utf8···············()Lcom/google/zxing/ResultPoint;
61 {60 {
62 ··private·final·int·x;61 ··private·final·int·x;
63 ····descriptor:·I62 ····descriptor:·I
64 ····flags:·(0x0012)·ACC_PRIVATE,·ACC_FINAL63 ····flags:·(0x0012)·ACC_PRIVATE,·ACC_FINAL
  
65 ··private·final·int·y;64 ··private·final·int·y;
66 ····descriptor:·I65 ····descriptor:·I
Offset 126, 32 lines modifiedOffset 125, 29 lines modified
126 ····descriptor:·()Ljava/lang/String;125 ····descriptor:·()Ljava/lang/String;
127 ····flags:·(0x0001)·ACC_PUBLIC126 ····flags:·(0x0001)·ACC_PUBLIC
128 ····Code:127 ····Code:
129 ······stack=300,·locals=3,·args_size=1128 ······stack=300,·locals=3,·args_size=1
130 ·········0:·new···········#29·················//·class·java/lang/StringBuilder129 ·········0:·new···········#29·················//·class·java/lang/StringBuilder
131 ·········3:·astore_1130 ·········3:·astore_1
132 ·········4:·aload_1131 ·········4:·aload_1
133 ·········5:·invokespecial·#30·················//·Method·java/lang/StringBuilder."<init>":()V 
134 ·········8:·aload_1 
135 ·········9:·ldc···········#32·················//·String·<132 ·········5:·ldc···········#31·················//·String·<
136 ········11:·invokevirtual·#36·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;133 ·········7:·invokespecial·#34·················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
137 ········14:·astore_1 
138 ········15:·aload_0134 ········10:·aload_0
139 ········16:·getfield······#13·················//·Field·x:I135 ········11:·getfield······#13·················//·Field·x:I
140 ········19:·istore_2136 ········14:·istore_2
141 ········20:·aload_1137 ········15:·aload_1
142 ········21:·iload_2138 ········16:·iload_2
143 ········22:·invokevirtual·#39·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;139 ········17:·invokevirtual·#38·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
144 ········25:·bipush········32140 ········20:·bipush········32
145 ········27:·invokevirtual·#43·················//·Method·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;141 ········22:·invokevirtual·#42·················//·Method·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;
146 ········30:·astore_1142 ········25:·astore_1
147 ········31:·aload_0143 ········26:·aload_0
148 ········32:·getfield······#15·················//·Field·y:I144 ········27:·getfield······#15·················//·Field·y:I
149 ········35:·istore_2145 ········30:·istore_2
150 ········36:·aload_1146 ········31:·aload_1
151 ········37:·iload_2147 ········32:·iload_2
152 ········38:·invokevirtual·#39·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;148 ········33:·invokevirtual·#38·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
153 ········41:·bipush········62149 ········36:·bipush········62
154 ········43:·invokevirtual·#43·················//·Method·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;150 ········38:·invokevirtual·#42·················//·Method·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;
155 ········46:·invokevirtual·#48·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;151 ········41:·invokevirtual·#47·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;
156 ········49:·areturn152 ········44:·areturn
157 }153 }
26.3 KB
com/google/zxing/aztec/detector/Detector.class
26.3 KB
procyon -ec {}
Max HTML report size reached
6.64 KB
com/google/zxing/aztec/encoder/Encoder.class
6.55 KB
procyon -ec {}
    
Offset 144, 15 lines modifiedOffset 144, 15 lines modified
144 ························if·(n5·!=·Encoder.WORD_SIZE[abs])·{144 ························if·(n5·!=·Encoder.WORD_SIZE[abs])·{
145 ····························n5·=·Encoder.WORD_SIZE[abs];145 ····························n5·=·Encoder.WORD_SIZE[abs];
146 ····························bitArray·=·stuffBits(encode,·n5);146 ····························bitArray·=·stuffBits(encode,·n5);
147 ························}147 ························}
148 ························final·int·n7·=·n6·-·n6·%·n5;148 ························final·int·n7·=·n6·-·n6·%·n5;
149 ························final·int·size;149 ························final·int·size;
150 ························final·int·n8;150 ························final·int·n8;
151 ························if·((!compact·||·(size·=·bitArray.getSize())·<=·n5·*·64)·&&·(n8·=·bitArray.getSize()·+·n3)·<=·n7)·{151 ························if·((compact·||·(size·=·bitArray.getSize())·<=·n5·<<·6)·&&·(n8·=·bitArray.getSize()·+·n3)·<=·n7)·{
152 ····························break·Label_0471;152 ····························break·Label_0471;
153 ························}153 ························}
154 ····················}154 ····················}
155 ················}155 ················}
156 ················throw·new·IllegalArgumentException("Data·too·large·for·an·Aztec·code");156 ················throw·new·IllegalArgumentException("Data·too·large·for·an·Aztec·code");
157 ············}157 ············}
158 ············compact·=·(n2·<·0);158 ············compact·=·(n2·<·0);
Offset 171, 89 lines modifiedOffset 171, 92 lines modified
171 ············n5·=·Encoder.WORD_SIZE[abs];171 ············n5·=·Encoder.WORD_SIZE[abs];
172 ············final·int·n10·=·n6·-·n6·%·n5;172 ············final·int·n10·=·n6·-·n6·%·n5;
173 ············bitArray·=·stuffBits(encode,·n5);173 ············bitArray·=·stuffBits(encode,·n5);
174 ············if·(bitArray.getSize()·+·n3·>·n10)·{174 ············if·(bitArray.getSize()·+·n3·>·n10)·{
175 ················throw·new·IllegalArgumentException("Data·to·large·for·user·specified·layer");175 ················throw·new·IllegalArgumentException("Data·to·large·for·user·specified·layer");
176 ············}176 ············}
177 ············final·int·size2;177 ············final·int·size2;
178 ············if·(compact·&&·(size2·=·bitArray.getSize())·>·n5·*·64)·{178 ············if·(compact·&&·(size2·=·bitArray.getSize())·>·n5·<<·6)·{
179 ················throw·new·IllegalArgumentException("Data·to·large·for·user·specified·layer");179 ················throw·new·IllegalArgumentException("Data·to·large·for·user·specified·layer");
180 ············}180 ············}
181 ········}181 ········}
182 ········final·BitArray·generateCheckWords·=·generateCheckWords(bitArray,·n6,·n5);182 ········final·BitArray·generateCheckWords·=·generateCheckWords(bitArray,·n6,·n5);
183 ········final·int·codeWords·=·bitArray.getSize()·/·n5;183 ········final·int·codeWords·=·bitArray.getSize()·/·n5;
184 ········final·BitArray·generateModeMessage·=·generateModeMessage(compact,·abs,·codeWords);184 ········final·BitArray·generateModeMessage·=·generateModeMessage(compact,·abs,·codeWords);
185 ········int·n11;185 ········int·n11;
186 ········if·(compact)·{186 ········if·(compact)·{
187 ············n11·=·abs·*·4·+·11;187 ············n11·=·11;
188 ········}188 ········}
189 ········else·{189 ········else·{
190 ············n11·=·abs·*·4·+·14;190 ············n11·=·14;
191 ········}191 ········}
 192 ········final·int·n12·=·n11·+·(abs·<<·2);
192 ········final·int[]·array2·=·new·int[n11];193 ········final·int[]·array2·=·new·int[n12];
193 ········int·size3;194 ········int·size3;
194 ········if·(compact)·{195 ········if·(compact)·{
195 ············size3·=·n11;196 ············size3·=·n12;
196 ············for·(int·j·=·0;·j·<·array2.length;·++j)·{197 ············for·(int·j·=·0;·j·<·array2.length;·++j)·{
197 ················array2[j]·=·j;198 ················array2[j]·=·j;
198 ············}199 ············}
199 ········}200 ········}
200 ········else·{201 ········else·{
201 ············size3·=·n11·+·1·+·(n11·/·2·-·1)·/·15·*·2;202 ············size3·=·n12·+·1·+·(n12·/·2·-·1)·/·15·*·2;
202 ············final·int·n12·=·n11·/·2;203 ············final·int·n13·=·n12·/·2;
203 ············final·int·n13·=·size3·/·2;204 ············final·int·n14·=·size3·/·2;
204 ············for·(int·k·=·0;·k·<·n12;·++k)·{205 ············for·(int·k·=·0;·k·<·n13;·++k)·{
205 ················final·int·n14·=·k·+·k·/·15;206 ················final·int·n15·=·k·+·k·/·15;
206 ················array2[n12·-·k·-·1]·=·n13·-·n14·-·1;207 ················array2[n13·-·k·-·1]·=·n14·-·n15·-·1;
207 ················array2[n12·+·k]·=·n13·+·n14·+·1;208 ················array2[n13·+·k]·=·n14·+·n15·+·1;
208 ············}209 ············}
209 ········}210 ········}
210 ········final·BitMatrix·matrix·=·new·BitMatrix(size3);211 ········final·BitMatrix·matrix·=·new·BitMatrix(size3);
211 ········int·l·=·0;212 ········int·l·=·0;
212 ········int·n15·=·0;213 ········int·n16·=·0;
213 ········while·(l·<·abs)·{214 ········while·(l·<·abs)·{
 215 ············final·int·n17·=·abs·-·l·<<·2;
214 ············int·n16;216 ············int·n18;
215 ············if·(compact)·{217 ············if·(compact)·{
216 ················n16·=·(abs·-·l)·*·4·+·9;218 ················n18·=·9;
217 ············}219 ············}
218 ············else·{220 ············else·{
219 ················n16·=·(abs·-·l)·*·4·+·12;221 ················n18·=·12;
220 ············}222 ············}
 223 ············final·int·n19·=·n17·+·n18;
221 ············for·(int·n17·=·0;·n17·<·n16;·++n17)·{224 ············for·(int·n20·=·0;·n20·<·n19;·++n20)·{
222 ················final·int·n18·=·n17·*·2;225 ················final·int·n21·=·n20·<<·1;
223 ················for·(int·n19·=·0;·n19·<·2;·++n19)·{226 ················for·(int·n22·=·0;·n22·<·2;·++n22)·{
224 ····················if·(generateCheckWords.get(n15·+·n18·+·n19))·{227 ····················if·(generateCheckWords.get(n16·+·n21·+·n22))·{
225 ························matrix.set(array2[l·*·2·+·n19],·array2[l·*·2·+·n17]);228 ························matrix.set(array2[(l·<<·1)·+·n22],·array2[(l·<<·1)·+·n20]);
226 ····················}229 ····················}
227 ····················if·(generateCheckWords.get(n16·*·2·+·n15·+·n18·+·n19))·{230 ····················if·(generateCheckWords.get((n19·<<·1)·+·n16·+·n21·+·n22))·{
228 ························matrix.set(array2[l·*·2·+·n17],·array2[n11·-·1·-·l·*·2·-·n19]);231 ························matrix.set(array2[(l·<<·1)·+·n20],·array2[n12·-·1·-·(l·<<·1)·-·n22]);
229 ····················}232 ····················}
230 ····················if·(generateCheckWords.get(n16·*·4·+·n15·+·n18·+·n19))·{233 ····················if·(generateCheckWords.get((n19·<<·2)·+·n16·+·n21·+·n22))·{
231 ························matrix.set(array2[n11·-·1·-·l·*·2·-·n19],·array2[n11·-·1·-·l·*·2·-·n17]);234 ························matrix.set(array2[n12·-·1·-·(l·<<·1)·-·n22],·array2[n12·-·1·-·(l·<<·1)·-·n20]);
232 ····················}235 ····················}
233 ····················if·(generateCheckWords.get(n16·*·6·+·n15·+·n18·+·n19))·{236 ····················if·(generateCheckWords.get(n19·*·6·+·n16·+·n21·+·n22))·{
234 ························matrix.set(array2[n11·-·1·-·l·*·2·-·n17],·array2[l·*·2·+·n19]);237 ························matrix.set(array2[n12·-·1·-·(l·<<·1)·-·n20],·array2[(l·<<·1)·+·n22]);
235 ····················}238 ····················}
236 ················}239 ················}
237 ············}240 ············}
238 ············n15·+=·n16·*·8;241 ············n16·+=·n19·<<·3;
239 ············++l;242 ············++l;
240 ········}243 ········}
241 ········drawModeMessage(matrix,·compact,·size3,·generateModeMessage);244 ········drawModeMessage(matrix,·compact,·size3,·generateModeMessage);
242 ········if·(compact)·{245 ········if·(compact)·{
243 ············drawBullsEye(matrix,·size3·/·2,·5);246 ············drawBullsEye(matrix,·size3·/·2,·5);
244 ········}247 ········}
245 ········else·{248 ········else·{
246 ············drawBullsEye(matrix,·size3·/·2,·7);249 ············drawBullsEye(matrix,·size3·/·2,·7);
247 ············for·(int·n20·=·0,·n21·=·0;·n20·<·n11·/·2·-·1;·n20·+=·15,·n21·+=·16)·{250 ············for·(int·n23·=·0,·n24·=·0;·n23·<·n12·/·2·-·1;·n23·+=·15,·n24·+=·16)·{
248 ················for·(int·n22·=·size3·/·2·&·0x1;·n22·<·size3;·n22·+=·2)·{251 ················for·(int·n25·=·size3·/·2·&·0x1;·n25·<·size3;·n25·+=·2)·{
249 ····················matrix.set(size3·/·2·-·n21,·n22);252 ····················matrix.set(size3·/·2·-·n24,·n25);
250 ····················matrix.set(size3·/·2·+·n21,·n22);253 ····················matrix.set(size3·/·2·+·n24,·n25);
251 ····················matrix.set(n22,·size3·/·2·-·n21);254 ····················matrix.set(n25,·size3·/·2·-·n24);
252 ····················matrix.set(n22,·size3·/·2·+·n21);255 ····················matrix.set(n25,·size3·/·2·+·n24);
253 ················}256 ················}
254 ············}257 ············}
255 ········}258 ········}
256 ········final·AztecCode·aztecCode·=·new·AztecCode();259 ········final·AztecCode·aztecCode·=·new·AztecCode();
257 ········aztecCode.setCompact(compact);260 ········aztecCode.setCompact(compact);
258 ········aztecCode.setSize(size3);261 ········aztecCode.setSize(size3);
259 ········aztecCode.setLayers(abs);262 ········aztecCode.setLayers(abs);
Offset 357, 10 lines modifiedOffset 360, 10 lines modified
357 ········int·n2;360 ········int·n2;
358 ········if·(b)·{361 ········if·(b)·{
359 ············n2·=·88;362 ············n2·=·88;
360 ········}363 ········}
361 ········else·{364 ········else·{
362 ············n2·=·112;365 ············n2·=·112;
363 ········}366 ········}
364 ········return·(n2·+·n·*·16)·*·n;367 ········return·(n2·+·(n·<<·4))·*·n;
365 ····}368 ····}
366 }369 }
2.56 KB
com/google/zxing/aztec/encoder/HighLevelEncoder.class
2.45 KB
procyon -ec {}
    
Offset 73, 16 lines modifiedOffset 73, 15 lines modified
73 ········array10[0]·=·327711;73 ········array10[0]·=·327711;
74 ········array10[1]·=·656380;74 ········array10[1]·=·656380;
75 ········array10[2]·=·656382;75 ········array10[2]·=·656382;
76 ········array10[3]·=·656381;76 ········array10[3]·=·656381;
77 ········array10[4]·=·0;77 ········array10[4]·=·0;
78 ········latch_TABLE[n]·=·array9;78 ········latch_TABLE[n]·=·array9;
79 ········LATCH_TABLE·=·latch_TABLE;79 ········LATCH_TABLE·=·latch_TABLE;
80 ········CHAR_MAP·=·(int[][])Array.newInstance(Integer.TYPE,·n2,·256);80 ········(CHAR_MAP·=·(int[][])Array.newInstance(Integer.TYPE,·n2,·256))[0][32]·=·n4;
81 ········HighLevelEncoder.CHAR_MAP[0][32]·=·n4; 
82 ········for·(int·i·=·65;·i·<=·90;·++i)·{81 ········for·(int·i·=·65;·i·<=·90;·++i)·{
83 ············HighLevelEncoder.CHAR_MAP[0][i]·=·i·-·65·+·2;82 ············HighLevelEncoder.CHAR_MAP[0][i]·=·i·-·65·+·2;
84 ········}83 ········}
85 ········HighLevelEncoder.CHAR_MAP[n4][32]·=·n4;84 ········HighLevelEncoder.CHAR_MAP[n4][32]·=·n4;
86 ········for·(int·j·=·97;·j·<=·122;·++j)·{85 ········for·(int·j·=·97;·j·<=·122;·++j)·{
87 ············HighLevelEncoder.CHAR_MAP[n4][j]·=·j·-·97·+·2;86 ············HighLevelEncoder.CHAR_MAP[n4][j]·=·j·-·97·+·2;
88 ········}87 ········}
Offset 118, 15 lines modifiedOffset 117, 15 lines modified
118 ········array12[21]·=·92;117 ········array12[21]·=·92;
119 ········array12[22]·=·94;118 ········array12[22]·=·94;
120 ········array12[23]·=·95;119 ········array12[23]·=·95;
121 ········array12[24]·=·96;120 ········array12[24]·=·96;
122 ········array12[25]·=·124;121 ········array12[25]·=·124;
123 ········array12[26]·=·126;122 ········array12[26]·=·126;
124 ········array12[27]·=·127;123 ········array12[27]·=·127;
125 ········for·(int·l·=·0;·l·<·array11.length;·++l)·{124 ········for·(int·l·=·0;·l·<·28;·++l)·{
126 ············HighLevelEncoder.CHAR_MAP[3][array11[l]]·=·l;125 ············HighLevelEncoder.CHAR_MAP[3][array11[l]]·=·l;
127 ········}126 ········}
128 ········final·int[]·array14;127 ········final·int[]·array14;
129 ········final·int[]·array13·=·array14·=·new·int[31];128 ········final·int[]·array13·=·array14·=·new·int[31];
130 ········array14[0]·=·0;129 ········array14[0]·=·0;
131 ········array14[1]·=·13;130 ········array14[1]·=·13;
132 ········array14[3]·=·(array14[2]·=·0);131 ········array14[3]·=·(array14[2]·=·0);
Offset 152, 23 lines modifiedOffset 151, 22 lines modified
152 ········array14[24]·=·61;151 ········array14[24]·=·61;
153 ········array14[25]·=·62;152 ········array14[25]·=·62;
154 ········array14[26]·=·63;153 ········array14[26]·=·63;
155 ········array14[27]·=·91;154 ········array14[27]·=·91;
156 ········array14[28]·=·93;155 ········array14[28]·=·93;
157 ········array14[29]·=·123;156 ········array14[29]·=·123;
158 ········array14[30]·=·125;157 ········array14[30]·=·125;
159 ········for·(int·n5·=·0;·n5·<·array13.length;·++n5)·{158 ········for·(int·n5·=·0;·n5·<·31;·++n5)·{
160 ············if·(array13[n5]·>·0)·{159 ············if·(array13[n5]·>·0)·{
161 ················HighLevelEncoder.CHAR_MAP[n][array13[n5]]·=·n5;160 ················HighLevelEncoder.CHAR_MAP[n][array13[n5]]·=·n5;
162 ············}161 ············}
163 ········}162 ········}
164 ········SHIFT_TABLE·=·(int[][])Array.newInstance(Integer.TYPE,·6,·6);163 ········final·int[][]·array15·=·SHIFT_TABLE·=·(int[][])Array.newInstance(Integer.TYPE,·6,·6);
165 ········final·int[][]·shift_TABLE·=·HighLevelEncoder.SHIFT_TABLE; 
166 ········for·(int·length·=·shift_TABLE.length,·n6·=·0;·n6·<·length;·++n6)·{164 ········for·(int·length·=·array15.length,·n6·=·0;·n6·<·length;·++n6)·{
167 ············Arrays.fill(shift_TABLE[n6],·-1);165 ············Arrays.fill(array15[n6],·-1);
168 ········}166 ········}
169 ········HighLevelEncoder.SHIFT_TABLE[0][n]·=·0;167 ········HighLevelEncoder.SHIFT_TABLE[0][n]·=·0;
170 ········HighLevelEncoder.SHIFT_TABLE[n4][n]·=·0;168 ········HighLevelEncoder.SHIFT_TABLE[n4][n]·=·0;
171 ········HighLevelEncoder.SHIFT_TABLE[n4][0]·=·28;169 ········HighLevelEncoder.SHIFT_TABLE[n4][0]·=·28;
172 ········HighLevelEncoder.SHIFT_TABLE[3][n]·=·0;170 ········HighLevelEncoder.SHIFT_TABLE[3][n]·=·0;
173 ········HighLevelEncoder.SHIFT_TABLE[n3][n]·=·0;171 ········HighLevelEncoder.SHIFT_TABLE[n3][n]·=·0;
174 ········HighLevelEncoder.SHIFT_TABLE[n3][0]·=·15;172 ········HighLevelEncoder.SHIFT_TABLE[n3][0]·=·15;
6.04 KB
com/google/zxing/aztec/encoder/State.class
5.95 KB
javap -verbose -constants -s -l -private {}
    
Offset 329, 57 lines modifiedOffset 329, 59 lines modified
329 ·······225:·istore········9329 ·······225:·istore········9
330 ·······227:·goto··········132330 ·······227:·goto··········132
  
331 ··com.google.zxing.aztec.encoder.State·endBinaryShift(int);331 ··com.google.zxing.aztec.encoder.State·endBinaryShift(int);
332 ····descriptor:·(I)Lcom/google/zxing/aztec/encoder/State;332 ····descriptor:·(I)Lcom/google/zxing/aztec/encoder/State;
333 ····flags:·(0x0000)333 ····flags:·(0x0000)
334 ····Code:334 ····Code:
335 ······stack=300,·locals=7,·args_size=2335 ······stack=300,·locals=8,·args_size=2
336 ·········0:·aload_0336 ·········0:·aload_0
337 ·········1:·getfield······#32·················//·Field·binaryShiftByteCount:I337 ·········1:·getfield······#32·················//·Field·binaryShiftByteCount:I
338 ·········4:·istore_2338 ·········4:·istore_2
339 ·········5:·iload_2339 ·········5:·iload_2
340 ·········6:·ifne··········11340 ·········6:·ifne··········11
341 ·········9:·aload_0341 ·········9:·aload_0
342 ········10:·areturn342 ········10:·areturn
343 ········11:·aload_0343 ········11:·aload_0
344 ········12:·getfield······#28·················//·Field·token:Lcom/google/zxing/aztec/encoder/Token;344 ········12:·getfield······#28·················//·Field·token:Lcom/google/zxing/aztec/encoder/Token;
345 ········15:·astore_3345 ········15:·astore_3
346 ········16:·aload_0346 ········16:·aload_0
347 ········17:·getfield······#32·················//·Field·binaryShiftByteCount:I347 ········17:·getfield······#32·················//·Field·binaryShiftByteCount:I
348 ········20:·istore_2348 ········20:·istore········4
349 ········21:·iload_1349 ········22:·iload_1
350 ········22:·iload_2350 ········23:·iload·········4
351 ········23:·isub351 ········25:·isub
352 ········24:·istore_2352 ········26:·istore········4
353 ········25:·aload_0353 ········28:·aload_0
354 ········26:·getfield······#32·················//·Field·binaryShiftByteCount:I354 ········29:·getfield······#32·················//·Field·binaryShiftByteCount:I
355 ········29:·istore········4355 ········32:·istore········5
356 ········31:·aload_3356 ········34:·aload_3
357 ········32:·iload_2 
358 ········33:·iload·········4357 ········35:·iload·········4
 358 ········37:·iload·········5
359 ········35:·invokevirtual·#60·················//·Method·com/google/zxing/aztec/encoder/Token.addBinaryShift:(II)Lcom/google/zxing/aztec/encoder/Token;359 ········39:·invokevirtual·#60·················//·Method·com/google/zxing/aztec/encoder/Token.addBinaryShift:(II)Lcom/google/zxing/aztec/encoder/Token;
360 ········38:·astore_3360 ········42:·astore········6
361 ········39:·new···········#2··················//·class·com/google/zxing/aztec/encoder/State361 ········44:·new···········#2··················//·class·com/google/zxing/aztec/encoder/State
362 ········42:·astore········5362 ········47:·astore_3
363 ········44:·aload_0363 ········48:·aload_0
364 ········45:·getfield······#30·················//·Field·mode:I364 ········49:·getfield······#30·················//·Field·mode:I
365 ········48:·istore········4365 ········52:·istore········4
 366 ········54:·iconst_0
 367 ········55:·istore········5
366 ········50:·aload_0368 ········57:·aload_0
367 ········51:·getfield······#34·················//·Field·bitCount:I369 ········58:·getfield······#34·················//·Field·bitCount:I
368 ········54:·istore········6370 ········61:·istore········7
 371 ········63:·aload_3
369 ········56:·aload·········5372 ········64:·aload·········6
370 ········58:·aload_3 
371 ········59:·iload·········4373 ········66:·iload·········4
372 ········61:·iconst_0374 ········68:·iconst_0
373 ········62:·iload·········6375 ········69:·iload·········7
374 ········64:·invokespecial·#21·················//·Method·"<init>":(Lcom/google/zxing/aztec/encoder/Token;III)V376 ········71:·invokespecial·#21·················//·Method·"<init>":(Lcom/google/zxing/aztec/encoder/Token;III)V
375 ········67:·aload·········5377 ········74:·aload_3
376 ········69:·astore_0378 ········75:·astore_0
377 ········70:·goto··········9379 ········76:·goto··········9
  
378 ··int·getBinaryShiftByteCount();380 ··int·getBinaryShiftByteCount();
379 ····descriptor:·()I381 ····descriptor:·()I
380 ····flags:·(0x0000)382 ····flags:·(0x0000)
381 ····Code:383 ····Code:
382 ······stack=300,·locals=1,·args_size=1384 ······stack=300,·locals=1,·args_size=1
383 ·········0:·aload_0385 ·········0:·aload_0
Offset 625, 15 lines modifiedOffset 627, 15 lines modified
625 ·······101:·istore········7627 ·······101:·istore········7
626 ·······103:·goto··········27628 ·······103:·goto··········27
  
627 ··com.google.zxing.common.BitArray·toBitArray(byte[]);629 ··com.google.zxing.common.BitArray·toBitArray(byte[]);
628 ····descriptor:·([B)Lcom/google/zxing/common/BitArray;630 ····descriptor:·([B)Lcom/google/zxing/common/BitArray;
629 ····flags:·(0x0000)631 ····flags:·(0x0000)
630 ····Code:632 ····Code:
631 ······stack=300,·locals=9,·args_size=2633 ······stack=300,·locals=8,·args_size=2
632 ·········0:·new···········#67·················//·class·java/util/LinkedList634 ·········0:·new···········#67·················//·class·java/util/LinkedList
633 ·········3:·astore_2635 ·········3:·astore_2
634 ·········4:·aload_2636 ·········4:·aload_2
635 ·········5:·invokespecial·#68·················//·Method·java/util/LinkedList."<init>":()V637 ·········5:·invokespecial·#68·················//·Method·java/util/LinkedList."<init>":()V
636 ·········8:·aload_1638 ·········8:·aload_1
637 ·········9:·arraylength639 ·········9:·arraylength
638 ········10:·istore_3640 ········10:·istore_3
Offset 655, 31 lines modifiedOffset 657, 31 lines modified
655 ········45:·goto··········25657 ········45:·goto··········25
656 ········48:·new···········#80·················//·class·com/google/zxing/common/BitArray658 ········48:·new···········#80·················//·class·com/google/zxing/common/BitArray
657 ········51:·astore········6659 ········51:·astore········6
658 ········53:·aload·········6660 ········53:·aload·········6
659 ········55:·invokespecial·#81·················//·Method·com/google/zxing/common/BitArray."<init>":()V661 ········55:·invokespecial·#81·················//·Method·com/google/zxing/common/BitArray."<init>":()V
660 ········58:·aload_2662 ········58:·aload_2
661 ········59:·invokeinterface·#85,··1···········//·InterfaceMethod·java/util/Deque.iterator:()Ljava/util/Iterator;663 ········59:·invokeinterface·#85,··1···········//·InterfaceMethod·java/util/Deque.iterator:()Ljava/util/Iterator;
662 ········64:·astore········4664 ········64:·astore········7
663 ········66:·aload·········4665 ········66:·aload·········7
664 ········68:·invokeinterface·#91,··1···········//·InterfaceMethod·java/util/Iterator.hasNext:()Z666 ········68:·invokeinterface·#91,··1···········//·InterfaceMethod·java/util/Iterator.hasNext:()Z
665 ········73:·istore········7667 ········73:·istore_3
666 ········75:·iload·········7668 ········74:·iload_3
667 ········77:·ifeq··········103669 ········75:·ifeq··········101
668 ········80:·aload·········4670 ········78:·aload·········7
669 ········82:·invokeinterface·#95,··1···········//·InterfaceMethod·java/util/Iterator.next:()Ljava/lang/Object;671 ········80:·invokeinterface·#95,··1···········//·InterfaceMethod·java/util/Iterator.next:()Ljava/lang/Object;
670 ········87:·checkcast·····#14·················//·class·com/google/zxing/aztec/encoder/Token672 ········85:·checkcast·····#14·················//·class·com/google/zxing/aztec/encoder/Token
671 ········90:·astore········8673 ········88:·astore········4
 674 ········90:·aload·········4
672 ········92:·aload·········8675 ········92:·aload·········6
673 ········94:·aload·········6 
674 ········96:·aload_1676 ········94:·aload_1
675 ········97:·invokevirtual·#99·················//·Method·com/google/zxing/aztec/encoder/Token.appendTo:(Lcom/google/zxing/common/BitArray;[B)V677 ········95:·invokevirtual·#99·················//·Method·com/google/zxing/aztec/encoder/Token.appendTo:(Lcom/google/zxing/common/BitArray;[B)V
676 ·······100:·goto··········66678 ········98:·goto··········66
677 ·······103:·aload·········6679 ·······101:·aload·········6
678 ·······105:·areturn680 ·······103:·areturn
  
679 ··public·java.lang.String·toString();681 ··public·java.lang.String·toString();
680 ····descriptor:·()Ljava/lang/String;682 ····descriptor:·()Ljava/lang/String;
681 ····flags:·(0x0001)·ACC_PUBLIC683 ····flags:·(0x0001)·ACC_PUBLIC
682 ····Code:684 ····Code:
683 ······stack=300,·locals=4,·args_size=1685 ······stack=300,·locals=4,·args_size=1
684 ·········0:·iconst_3686 ·········0:·iconst_3
16.6 KB
com/google/zxing/client/result/ResultParser.class
16.5 KB
javap -verbose -constants -s -l -private {}
Max HTML report size reached
7.65 KB
com/google/zxing/common/BitArray.class
7.57 KB
procyon -ec {}
    
Offset 20, 15 lines modifiedOffset 20, 15 lines modified
20 ····20 ····
21 ····BitArray(final·int[]·bits,·final·int·size)·{21 ····BitArray(final·int[]·bits,·final·int·size)·{
22 ········this.bits·=·bits;22 ········this.bits·=·bits;
23 ········this.size·=·size;23 ········this.size·=·size;
24 ····}24 ····}
25 ····25 ····
26 ····private·void·ensureCapacity(final·int·n)·{26 ····private·void·ensureCapacity(final·int·n)·{
27 ········if·(n·>·this.bits.length·*·32)·{27 ········if·(n·>·this.bits.length·<<·5)·{
28 ············final·int[]·array·=·makeArray(n);28 ············final·int[]·array·=·makeArray(n);
29 ············System.arraycopy(this.bits,·0,·array,·0,·this.bits.length);29 ············System.arraycopy(this.bits,·0,·array,·0,·this.bits.length);
30 ············this.bits·=·array;30 ············this.bits·=·array;
31 ········}31 ········}
32 ····}32 ····}
33 ····33 ····
34 ····private·static·int[]·makeArray(final·int·n)·{34 ····private·static·int[]·makeArray(final·int·n)·{
Offset 115, 15 lines modifiedOffset 115, 15 lines modified
115 ············for·(n3·=·n·/·32,·i·=·(this.bits[n3]·&·~((1·<<·(n·&·0x1F))·-·1));·i·==·0;·i·=·this.bits[n3])·{115 ············for·(n3·=·n·/·32,·i·=·(this.bits[n3]·&·~((1·<<·(n·&·0x1F))·-·1));·i·==·0;·i·=·this.bits[n3])·{
116 ················++n3;116 ················++n3;
117 ················if·(n3·==·this.bits.length)·{117 ················if·(n3·==·this.bits.length)·{
118 ····················n2·=·this.size;118 ····················n2·=·this.size;
119 ····················return·n2;119 ····················return·n2;
120 ················}120 ················}
121 ············}121 ············}
122 ············n2·=·n3·*·32·+·Integer.numberOfTrailingZeros(i);122 ············n2·=·(n3·<<·5)·+·Integer.numberOfTrailingZeros(i);
123 ············if·(n2·>·this.size)·{123 ············if·(n2·>·this.size)·{
124 ················n2·=·this.size;124 ················n2·=·this.size;
125 ············}125 ············}
126 ········}126 ········}
127 ········return·n2;127 ········return·n2;
128 ····}128 ····}
129 ····129 ····
Offset 138, 15 lines modifiedOffset 138, 15 lines modified
138 ············for·(n3·=·n·/·32,·i·=·(~this.bits[n3]·&·~((1·<<·(n·&·0x1F))·-·1));·i·==·0;·i·=·~this.bits[n3])·{138 ············for·(n3·=·n·/·32,·i·=·(~this.bits[n3]·&·~((1·<<·(n·&·0x1F))·-·1));·i·==·0;·i·=·~this.bits[n3])·{
139 ················++n3;139 ················++n3;
140 ················if·(n3·==·this.bits.length)·{140 ················if·(n3·==·this.bits.length)·{
141 ····················n2·=·this.size;141 ····················n2·=·this.size;
142 ····················return·n2;142 ····················return·n2;
143 ················}143 ················}
144 ············}144 ············}
145 ············n2·=·n3·*·32·+·Integer.numberOfTrailingZeros(i);145 ············n2·=·(n3·<<·5)·+·Integer.numberOfTrailingZeros(i);
146 ············if·(n2·>·this.size)·{146 ············if·(n2·>·this.size)·{
147 ················n2·=·this.size;147 ················n2·=·this.size;
148 ············}148 ············}
149 ········}149 ········}
150 ········return·n2;150 ········return·n2;
151 ····}151 ····}
152 ····152 ····
Offset 160, 85 lines modifiedOffset 160, 71 lines modified
160 ····160 ····
161 ····@Override161 ····@Override
162 ····public·int·hashCode()·{162 ····public·int·hashCode()·{
163 ········return·this.size·*·31·+·Arrays.hashCode(this.bits);163 ········return·this.size·*·31·+·Arrays.hashCode(this.bits);
164 ····}164 ····}
165 ····165 ····
166 ····public·boolean·isRange(final·int·n,·int·n2,·final·boolean·b)·{166 ····public·boolean·isRange(final·int·n,·int·n2,·final·boolean·b)·{
167 ········final·int·n3·=·31; 
168 ········int·n4·=·1;167 ········int·n3·=·1;
169 ········if·(n2·<·n)·{168 ········if·(n2·<·n·||·n·<·0·||·n2·>·this.size)·{
170 ············throw·new·IllegalArgumentException();169 ············throw·new·IllegalArgumentException();
171 ········}170 ········}
172 ········if·(n2·!=·n)·{171 ········if·(n2·!=·n)·{
173 ············--n2;172 ············--n2;
174 ············final·int·n5·=·n·/·32;173 ············final·int·n4·=·n·/·32;
175 ············for·(int·n6·=·n2·/·32,·i·=·n5;·i·<=·n6;·++i)·{174 ············for·(int·n5·=·n2·/·32,·i·=·n4;·i·<=·n5;·++i)·{
176 ················int·n7;175 ················int·n6;
177 ················if·(i·>·n5)·{176 ················if·(i·>·n4)·{
178 ····················n7·=·0;177 ····················n6·=·0;
179 ················} 
180 ················else·{ 
181 ····················n7·=·(n·&·0x1F); 
182 ················} 
183 ················int·n8; 
184 ················if·(i·<·n6)·{ 
185 ····················n8·=·n3; 
186 ················}178 ················}
187 ················else·{179 ················else·{
188 ····················n8·=·(n2·&·0x1F);180 ····················n6·=·(n·&·0x1F);
189 ················}181 ················}
190 ················int·n9;182 ················int·n7;
191 ················if·(n7·==·0·&&·n8·==·n3)·{183 ················if·(i·<·n5)·{
192 ····················n9·=·-1;184 ····················n7·=·31;
193 ················}185 ················}
194 ················else·{186 ················else·{
195 ····················n9·=·0;187 ····················n7·=·(n2·&·0x1F);
196 ····················for·(int·j·=·n7;·j·<=·n8;·++j)·{ 
197 ························n9·|=·n4·<<·j; 
198 ····················} 
199 ················}188 ················}
 189 ················int·n8·=·(2·<<·n7)·-·(n3·<<·n6);
200 ················final·int·n10·=·this.bits[i]·&·n9;190 ················final·int·n9·=·this.bits[i]·&·n8;
201 ················if·(!b)·{191 ················if·(!b)·{
202 ····················n9·=·0;192 ····················n8·=·0;
203 ················}193 ················}
204 ················if·(n10·!=·n9)·{194 ················if·(n9·!=·n8)·{
205 ····················n4·=·0;195 ····················n3·=·0;
206 ····················break;196 ····················break;
207 ················}197 ················}
208 ············}198 ············}
209 ········}199 ········}
210 ········return·n4·!=·0;200 ········return·n3·!=·0;
211 ····}201 ····}
212 ····202 ····
213 ····public·void·reverse()·{203 ····public·void·reverse()·{
214 ········final·int[]·bits·=·new·int[this.bits.length];204 ········final·int[]·bits·=·new·int[this.bits.length];
215 ········final·int·n·=·(this.size·-·1)·/·32;205 ········final·int·n·=·(this.size·-·1)·/·32;
216 ········final·int·n2·=·n·+·1;206 ········final·int·n2·=·n·+·1;
217 ········for·(int·i·=·0;·i·<·n2;·++i)·{207 ········for·(int·i·=·0;·i·<·n2;·++i)·{
218 ············final·long·n3·=·(long)this.bits[i];208 ············final·long·n3·=·(long)this.bits[i];
219 ············final·long·n4·=·(n3·>>·1·&·0x55555555L)·|·(0x55555555L·&·n3)·<<·1;209 ············final·long·n4·=·(n3·>>·1·&·0x55555555L)·|·(0x55555555L·&·n3)·<<·1;
220 ············final·long·n5·=·(n4·>>·2·&·0x33333333L)·|·(0x33333333L·&·n4)·<<·2;210 ············final·long·n5·=·(n4·>>·2·&·0x33333333L)·|·(0x33333333L·&·n4)·<<·2;
221 ············final·long·n6·=·(n5·>>·4·&·0xF0F0F0FL)·|·(0xF0F0F0FL·&·n5)·<<·4;211 ············final·long·n6·=·(n5·>>·4·&·0xF0F0F0FL)·|·(0xF0F0F0FL·&·n5)·<<·4;
222 ············final·long·n7·=·(n6·>>·8·&·0xFF00FFL)·|·(0xFF00FFL·&·n6)·<<·8;212 ············final·long·n7·=·(n6·>>·8·&·0xFF00FFL)·|·(0xFF00FFL·&·n6)·<<·8;
223 ············bits[n·-·i]·=·(int)((n7·>>·16·&·(long)(char)(-1))·|·((long)(char)(-1)·&·n7)·<<·16);213 ············bits[n·-·i]·=·(int)((n7·>>·16·&·(long)(char)(-1))·|·((long)(char)(-1)·&·n7)·<<·16);
224 ········}214 ········}
225 ········if·(this.size·!=·n2·*·32)·{215 ········if·(this.size·!=·n2·<<·5)·{
226 ············final·int·n8·=·n2·*·32·-·this.size;216 ············final·int·n8·=·(n2·<<·5)·-·this.size;
227 ············int·n9·=·1; 
228 ············for·(int·j·=·0;·j·<·31·-·n8;·++j)·{ 
229 ················n9·=·(n9·<<·1·|·0x1); 
230 ············} 
231 ············int·n10·=·bits[0]·>>·n8·&·n9;217 ············int·n9·=·bits[0]·>>>·n8;
232 ············for·(int·k·=·1;·k·<·n2;·++k)·{218 ············for·(int·j·=·1;·j·<·n2;·++j)·{
233 ················final·int·n11·=·bits[k];219 ················final·int·n10·=·bits[j];
234 ················bits[k·-·1]·=·(n10·|·n11·<<·32·-·n8);220 ················bits[j·-·1]·=·(n9·|·n10·<<·32·-·n8);
235 ················n10·=·(n11·>>·n8·&·n9);221 ················n9·=·n10·>>>·n8;
236 ············}222 ············}
237 ············bits[n2·-·1]·=·n10;223 ············bits[n2·-·1]·=·n9;
Max diff block lines reached; 2512/7728 bytes (32.51%) of diff not shown.
7.68 KB
com/google/zxing/common/BitMatrix.class
7.61 KB
procyon -ec {}
    
Offset 11, 16 lines modifiedOffset 11, 15 lines modified
11 ····private·final·int·width;11 ····private·final·int·width;
12 ····12 ····
13 ····public·BitMatrix(final·int·n)·{13 ····public·BitMatrix(final·int·n)·{
14 ········this(n,·n);14 ········this(n,·n);
15 ····}15 ····}
16 ····16 ····
17 ····public·BitMatrix(final·int·width,·final·int·height)·{17 ····public·BitMatrix(final·int·width,·final·int·height)·{
18 ········final·int·n·=·1; 
19 ········if·(width·<·n·||·height·<·n)·{18 ········if·(width·<=·0·||·height·<=·0)·{
20 ············throw·new·IllegalArgumentException("Both·dimensions·must·be·greater·than·0");19 ············throw·new·IllegalArgumentException("Both·dimensions·must·be·greater·than·0");
21 ········}20 ········}
22 ········this.width·=·width;21 ········this.width·=·width;
23 ········this.height·=·height;22 ········this.height·=·height;
24 ········this.rowSize·=·(width·+·31)·/·32;23 ········this.rowSize·=·(width·+·31)·/·32;
25 ········this.bits·=·new·int[this.rowSize·*·height];24 ········this.bits·=·new·int[this.rowSize·*·height];
26 ····}25 ····}
Offset 28, 14 lines modifiedOffset 27, 32 lines modified
28 ····private·BitMatrix(final·int·width,·final·int·height,·final·int·rowSize,·final·int[]·bits)·{27 ····private·BitMatrix(final·int·width,·final·int·height,·final·int·rowSize,·final·int[]·bits)·{
29 ········this.width·=·width;28 ········this.width·=·width;
30 ········this.height·=·height;29 ········this.height·=·height;
31 ········this.rowSize·=·rowSize;30 ········this.rowSize·=·rowSize;
32 ········this.bits·=·bits;31 ········this.bits·=·bits;
33 ····}32 ····}
34 ····33 ····
 34 ····private·String·buildToString(final·String·s,·final·String·s2,·final·String·str)·{
 35 ········final·StringBuilder·sb·=·new·StringBuilder(this.height·*·(this.width·+·1));
 36 ········for·(int·i·=·0;·i·<·this.height;·++i)·{
 37 ············for·(int·j·=·0;·j·<·this.width;·++j)·{
 38 ················String·str2;
 39 ················if·(this.get(j,·i))·{
 40 ····················str2·=·s;
 41 ················}
 42 ················else·{
 43 ····················str2·=·s2;
 44 ················}
 45 ················sb.append(str2);
 46 ············}
 47 ············sb.append(str);
 48 ········}
 49 ········return·sb.toString();
 50 ····}
 51 ····
35 ····public·static·BitMatrix·parse(final·String·s,·final·String·anObject,·final·String·anObject2)·{52 ····public·static·BitMatrix·parse(final·String·s,·final·String·anObject,·final·String·anObject2)·{
36 ········final·int·n·=·-1;53 ········final·int·n·=·-1;
37 ········if·(s·==·null)·{54 ········if·(s·==·null)·{
38 ············throw·new·IllegalArgumentException();55 ············throw·new·IllegalArgumentException();
39 ········}56 ········}
40 ········final·boolean[]·array·=·new·boolean[s.length()];57 ········final·boolean[]·array·=·new·boolean[s.length()];
41 ········int·n2·=·0;58 ········int·n2·=·0;
Offset 126, 15 lines modifiedOffset 143, 15 lines modified
126 ········for·(n·=·this.bits.length·-·1;·n·>=·0·&&·this.bits[n]·==·0;·--n)·{}143 ········for·(n·=·this.bits.length·-·1;·n·>=·0·&&·this.bits[n]·==·0;·--n)·{}
127 ········int[]·array;144 ········int[]·array;
128 ········if·(n·<·0)·{145 ········if·(n·<·0)·{
129 ············array·=·null;146 ············array·=·null;
130 ········}147 ········}
131 ········else·{148 ········else·{
132 ············final·int·n2·=·n·/·this.rowSize;149 ············final·int·n2·=·n·/·this.rowSize;
133 ············final·int·n3·=·n·%·this.rowSize·*·32;150 ············final·int·n3·=·n·%·this.rowSize·<<·5;
134 ············int·n4;151 ············int·n4;
135 ············int·n5;152 ············int·n5;
136 ············for·(n4·=·this.bits[n],·n5·=·31;·n4·>>>·n5·==·0;·--n5)·{}153 ············for·(n4·=·this.bits[n],·n5·=·31;·n4·>>>·n5·==·0;·--n5)·{}
137 ············array·=·new·int[]·{·n3·+·n5,·n2·};154 ············array·=·new·int[]·{·n3·+·n5,·n2·};
138 ········}155 ········}
139 ········return·array;156 ········return·array;
140 ····}157 ····}
Offset 150, 39 lines modifiedOffset 167, 37 lines modified
150 ················if·(n3·!=·0)·{167 ················if·(n3·!=·0)·{
151 ····················if·(i·<·height)·{168 ····················if·(i·<·height)·{
152 ························height·=·i;169 ························height·=·i;
153 ····················}170 ····················}
154 ····················if·(i·>·n2)·{171 ····················if·(i·>·n2)·{
155 ························n2·=·i;172 ························n2·=·i;
156 ····················}173 ····················}
157 ····················if·(j·*·32·<·width)·{174 ····················if·(j·<<·5·<·width)·{
158 ························int·n4;175 ························int·n4;
159 ························for·(n4·=·0;·n3·<<·31·-·n4·==·0;·++n4)·{}176 ························for·(n4·=·0;·n3·<<·31·-·n4·==·0;·++n4)·{}
160 ························if·(j·*·32·+·n4·<·width)·{177 ························if·((j·<<·5)·+·n4·<·width)·{
161 ····························width·=·j·*·32·+·n4;178 ····························width·=·(j·<<·5)·+·n4;
162 ························}179 ························}
163 ····················}180 ····················}
164 ····················if·(j·*·32·+·31·>·n)·{181 ····················if·((j·<<·5)·+·31·>·n)·{
165 ························int·n5;182 ························int·n5;
166 ························for·(n5·=·31;·n3·>>>·n5·==·0;·--n5)·{}183 ························for·(n5·=·31;·n3·>>>·n5·==·0;·--n5)·{}
167 ························if·(j·*·32·+·n5·>·n)·{184 ························if·((j·<<·5)·+·n5·>·n)·{
168 ····························n·=·j·*·32·+·n5;185 ····························n·=·(j·<<·5)·+·n5;
169 ························}186 ························}
170 ····················}187 ····················}
171 ················}188 ················}
172 ············}189 ············}
173 ········}190 ········}
174 ········final·int·n6·=·n·-·width; 
175 ········final·int·n7·=·n2·-·height; 
176 ········int[]·array;191 ········int[]·array;
177 ········if·(n6·<·0·||·n7·<·0)·{192 ········if·(n·<·width·||·n2·<·height)·{
178 ············array·=·null;193 ············array·=·null;
179 ········}194 ········}
180 ········else·{195 ········else·{
181 ············array·=·new·int[]·{·width,·height,·n6,·n7·};196 ············array·=·new·int[]·{·width,·height,·n·-·width·+·1,·n2·-·height·+·1·};
182 ········}197 ········}
183 ········return·array;198 ········return·array;
184 ····}199 ····}
185 ····200 ····
186 ····public·int·getHeight()·{201 ····public·int·getHeight()·{
187 ········return·this.height;202 ········return·this.height;
188 ····}203 ····}
Offset 192, 15 lines modifiedOffset 207, 15 lines modified
192 ············bitArray·=·new·BitArray(this.width);207 ············bitArray·=·new·BitArray(this.width);
193 ········}208 ········}
194 ········else·{209 ········else·{
195 ············bitArray.clear();210 ············bitArray.clear();
196 ········}211 ········}
197 ········final·int·n2·=·n·*·this.rowSize;212 ········final·int·n2·=·n·*·this.rowSize;
198 ········for·(int·i·=·0;·i·<·this.rowSize;·++i)·{213 ········for·(int·i·=·0;·i·<·this.rowSize;·++i)·{
199 ············bitArray.setBulk(i·*·32,·this.bits[n2·+·i]);214 ············bitArray.setBulk(i·<<·5,·this.bits[n2·+·i]);
200 ········}215 ········}
201 ········return·bitArray;216 ········return·bitArray;
202 ····}217 ····}
203 ····218 ····
204 ····public·int·getRowSize()·{219 ····public·int·getRowSize()·{
205 ········return·this.rowSize;220 ········return·this.rowSize;
206 ····}221 ····}
Offset 210, 15 lines modifiedOffset 225, 15 lines modified
210 ········for·(n·=·0;·n·<·this.bits.length·&&·this.bits[n]·==·0;·++n)·{}225 ········for·(n·=·0;·n·<·this.bits.length·&&·this.bits[n]·==·0;·++n)·{}
211 ········int[]·array;226 ········int[]·array;
212 ········if·(n·==·this.bits.length)·{227 ········if·(n·==·this.bits.length)·{
213 ············array·=·null;228 ············array·=·null;
214 ········}229 ········}
Max diff block lines reached; 3199/7761 bytes (41.22%) of diff not shown.
639 B
com/google/zxing/common/BitSource.class
561 B
procyon -ec {}
    
Offset 22, 15 lines modifiedOffset 22, 15 lines modified
22 ····public·int·getByteOffset()·{22 ····public·int·getByteOffset()·{
23 ········return·this.byteOffset;23 ········return·this.byteOffset;
24 ····}24 ····}
25 ····25 ····
26 ····public·int·readBits(int·i)·{26 ····public·int·readBits(int·i)·{
27 ········final·int·n·=·255;27 ········final·int·n·=·255;
28 ········final·int·n2·=·8;28 ········final·int·n2·=·8;
29 ········if·(i·<·1·||·i·>·32·||·i·>·this.available())·{29 ········if·(i·<=·0·||·i·>·32·||·i·>·this.available())·{
30 ············throw·new·IllegalArgumentException(String.valueOf(i));30 ············throw·new·IllegalArgumentException(String.valueOf(i));
31 ········}31 ········}
32 ········int·n3·=·0;32 ········int·n3·=·0;
33 ········if·(this.bitOffset·>·0)·{33 ········if·(this.bitOffset·>·0)·{
34 ············final·int·n4·=·8·-·this.bitOffset;34 ············final·int·n4·=·8·-·this.bitOffset;
35 ············int·n5;35 ············int·n5;
36 ············if·(i·<·n4)·{36 ············if·(i·<·n4)·{
2.11 KB
com/google/zxing/common/DecoderResult.class
2.03 KB
procyon -ec {}
    
Offset 5, 27 lines modifiedOffset 5, 36 lines modified
  
5 public·final·class·DecoderResult5 public·final·class·DecoderResult
6 {6 {
7 ····private·final·List·byteSegments;7 ····private·final·List·byteSegments;
8 ····private·final·String·ecLevel;8 ····private·final·String·ecLevel;
9 ····private·Integer·erasures;9 ····private·Integer·erasures;
10 ····private·Integer·errorsCorrected;10 ····private·Integer·errorsCorrected;
 11 ····private·int·numBits;
11 ····private·Object·other;12 ····private·Object·other;
12 ····private·final·byte[]·rawBytes;13 ····private·final·byte[]·rawBytes;
13 ····private·final·int·structuredAppendParity;14 ····private·final·int·structuredAppendParity;
14 ····private·final·int·structuredAppendSequenceNumber;15 ····private·final·int·structuredAppendSequenceNumber;
15 ····private·final·String·text;16 ····private·final·String·text;
16 ····17 ····
17 ····public·DecoderResult(final·byte[]·array,·final·String·s,·final·List·list,·final·String·s2)·{18 ····public·DecoderResult(final·byte[]·array,·final·String·s,·final·List·list,·final·String·s2)·{
18 ········final·int·n·=·-1;19 ········final·int·n·=·-1;
19 ········this(array,·s,·list,·s2,·n,·n);20 ········this(array,·s,·list,·s2,·n,·n);
20 ····}21 ····}
21 ····22 ····
22 ····public·DecoderResult(final·byte[]·rawBytes,·final·String·text,·final·List·byteSegments,·final·String·ecLevel,·final·int·structuredAppendSequenceNumber,·final·int·structuredAppendParity)·{23 ····public·DecoderResult(final·byte[]·rawBytes,·final·String·text,·final·List·byteSegments,·final·String·ecLevel,·final·int·structuredAppendSequenceNumber,·final·int·structuredAppendParity)·{
23 ········this.rawBytes·=·rawBytes;24 ········this.rawBytes·=·rawBytes;
 25 ········int·numBits;
 26 ········if·(rawBytes·==·null)·{
 27 ············numBits·=·0;
 28 ········}
 29 ········else·{
 30 ············numBits·=·rawBytes.length·*·8;
 31 ········}
 32 ········this.numBits·=·numBits;
24 ········this.text·=·text;33 ········this.text·=·text;
25 ········this.byteSegments·=·byteSegments;34 ········this.byteSegments·=·byteSegments;
26 ········this.ecLevel·=·ecLevel;35 ········this.ecLevel·=·ecLevel;
27 ········this.structuredAppendParity·=·structuredAppendParity;36 ········this.structuredAppendParity·=·structuredAppendParity;
28 ········this.structuredAppendSequenceNumber·=·structuredAppendSequenceNumber;37 ········this.structuredAppendSequenceNumber·=·structuredAppendSequenceNumber;
29 ····}38 ····}
30 ····39 ····
Offset 41, 14 lines modifiedOffset 50, 18 lines modified
41 ········return·this.erasures;50 ········return·this.erasures;
42 ····}51 ····}
43 ····52 ····
44 ····public·Integer·getErrorsCorrected()·{53 ····public·Integer·getErrorsCorrected()·{
45 ········return·this.errorsCorrected;54 ········return·this.errorsCorrected;
46 ····}55 ····}
47 ····56 ····
 57 ····public·int·getNumBits()·{
 58 ········return·this.numBits;
 59 ····}
 60 ····
48 ····public·Object·getOther()·{61 ····public·Object·getOther()·{
49 ········return·this.other;62 ········return·this.other;
50 ····}63 ····}
51 ····64 ····
52 ····public·byte[]·getRawBytes()·{65 ····public·byte[]·getRawBytes()·{
53 ········return·this.rawBytes;66 ········return·this.rawBytes;
54 ····}67 ····}
Offset 73, 11 lines modifiedOffset 86, 15 lines modified
73 ········this.erasures·=·erasures;86 ········this.erasures·=·erasures;
74 ····}87 ····}
75 ····88 ····
76 ····public·void·setErrorsCorrected(final·Integer·errorsCorrected)·{89 ····public·void·setErrorsCorrected(final·Integer·errorsCorrected)·{
77 ········this.errorsCorrected·=·errorsCorrected;90 ········this.errorsCorrected·=·errorsCorrected;
78 ····}91 ····}
79 ····92 ····
 93 ····public·void·setNumBits(final·int·numBits)·{
 94 ········this.numBits·=·numBits;
 95 ····}
 96 ····
80 ····public·void·setOther(final·Object·other)·{97 ····public·void·setOther(final·Object·other)·{
81 ········this.other·=·other;98 ········this.other·=·other;
82 ····}99 ····}
83 }100 }
9.58 KB
com/google/zxing/common/StringUtils.class
9.5 KB
procyon -ec {}
    
Offset 19, 161 lines modifiedOffset 19, 157 lines modified
19 ········PLATFORM_DEFAULT_ENCODING·=·Charset.defaultCharset().name();19 ········PLATFORM_DEFAULT_ENCODING·=·Charset.defaultCharset().name();
20 ····}20 ····}
21 ····21 ····
22 ····private·StringUtils()·{22 ····private·StringUtils()·{
23 ····}23 ····}
24 ····24 ····
25 ····public·static·String·guessEncoding(final·byte[]·array,·final·Map·map)·{25 ····public·static·String·guessEncoding(final·byte[]·array,·final·Map·map)·{
 26 ········String·s;
 27 ········if·(map·!=·null·&&·map.containsKey(DecodeHintType.CHARACTER_SET))·{
 28 ············s·=·map.get(DecodeHintType.CHARACTER_SET).toString();
26 ········Label_0025:·{ 
27 ············if·(map·==·null)·{ 
28 ················break·Label_0025; 
29 ············} 
30 ············final·String·platform_DEFAULT_ENCODING·=·(String)map.get(DecodeHintType.CHARACTER_SET); 
31 ············if·(platform_DEFAULT_ENCODING·==·null)·{ 
32 ················break·Label_0025; 
33 ············} 
34 ············return·platform_DEFAULT_ENCODING; 
35 ········}29 ········}
 30 ········else·{
36 ········final·int·length·=·array.length;31 ············final·int·length·=·array.length;
37 ········int·n·=·1;32 ············int·n·=·1;
38 ········int·n2·=·1;33 ············int·n2·=·1;
39 ········int·n3·=·1;34 ············int·n3·=·1;
40 ········int·n4·=·0;35 ············int·n4·=·0;
41 ········int·n5·=·0;36 ············int·n5·=·0;
42 ········int·n6·=·0;37 ············int·n6·=·0;
43 ········int·n7·=·0;38 ············int·n7·=·0;
44 ········int·n8·=·0;39 ············int·n8·=·0;
45 ········int·n9·=·0;40 ············int·n9·=·0;
46 ········int·n10·=·0;41 ············int·n10·=·0;
47 ········int·n11·=·0;42 ············int·n11·=·0;
48 ········int·n12·=·0;43 ············int·n12·=·0;
49 ········int·n13·=·0;44 ············int·n13·=·0;
50 ········int·n14·=·0;45 ············int·n14·=·0;
51 ········final·byte·b2;46 ············final·byte·b2;
52 ········final·byte·b3;47 ············final·byte·b3;
53 ········final·byte·b4;48 ············final·byte·b4;
54 ········final·boolean·b·=·array.length·>·3·&&·(b2·=·array[0])·==·-17·&&·(b3·=·array[1])·==·-69·&&·(b4·=·array[2])·==·-65;49 ············final·boolean·b·=·array.length·>·3·&&·(b2·=·array[0])·==·-17·&&·(b3·=·array[1])·==·-69·&&·(b4·=·array[2])·==·-65;
55 ········for·(int·n15·=·0;·n15·<·length·&&·(n·!=·0·||·n2·!=·0·||·n3·!=·0);·++n15)·{50 ············for·(int·n15·=·0;·n15·<·length·&&·(n·!=·0·||·n2·!=·0·||·n3·!=·0);·++n15)·{
56 ············final·int·n17;51 ················final·int·n17;
57 ············final·int·n16·=·n17·=·(array[n15]·&·0xFF);52 ················final·int·n16·=·n17·=·(array[n15]·&·0xFF);
 53 ················Label_0232:·{
58 ············if·(n3·!=·0)·{54 ····················if·(n3·!=·0)·{
59 ················if·(n4·>·0)·{55 ························if·(n4·>·0)·{
60 ····················if·((n16·&·0x80)·==·0x0)·{ 
61 ························n3·=·0; 
62 ····················} 
63 ····················else·{ 
64 ························--n4; 
65 ····················} 
66 ················} 
67 ················else·if·((n16·&·0x80)·!=·0x0)·{ 
68 ····················if·((n17·&·0x40)·==·0x0)·{ 
69 ························n3·=·0; 
70 ····················} 
71 ····················else·{ 
72 ························++n4; 
73 ························if·((n17·&·0x20)·==·0x0)·{56 ····························if·((n16·&·0x80)·!=·0x0)·{
 57 ································--n4;
 58 ································break·Label_0232;
74 ····························++n5;59 ····························}
75 ························}60 ························}
76 ························else·{61 ························else·{
77 ····························++n4; 
78 ····························if·((n17·&·0x10)·==·0x0)·{62 ····························if·((n16·&·0x80)·==·0x0)·{
79 ································++n6;63 ································break·Label_0232;
80 ····························}64 ····························}
 65 ····························if·((n17·&·0x40)·!=·0x0)·{
 66 ································++n4;
 67 ································if·((n17·&·0x20)·==·0x0)·{
 68 ····································++n5;
 69 ····································break·Label_0232;
81 ····························else·{70 ································}
 71 ································++n4;
 72 ································if·((n17·&·0x10)·==·0x0)·{
 73 ····································++n6;
 74 ····································break·Label_0232;
 75 ································}
82 ································++n4;76 ································++n4;
83 ································if·((n17·&·0x8)·==·0x0)·{77 ································if·((n17·&·0x8)·==·0x0)·{
84 ····································++n7;78 ····································++n7;
85 ································} 
86 ································else·{ 
87 ····································n3·=·0;79 ····································break·Label_0232;
88 ································}80 ································}
89 ····························}81 ····························}
90 ························}82 ························}
 83 ························n3·=·0;
91 ····················}84 ····················}
92 ················}85 ················}
93 ············} 
94 ············if·(n·!=·0)·{86 ················if·(n·!=·0)·{
95 ················if·(n17·>·127·&&·n17·<·160)·{87 ····················if·(n17·>·127·&&·n17·<·160)·{
96 ····················n·=·0; 
97 ················} 
98 ················else·{ 
99 ····················final·int·n18; 
100 ····················if·((n18·=·n17)·>·159·&&·(n17·<·192·||·n17·==·215·||·n17·==·247))·{ 
101 ························++n14; 
102 ····················} 
103 ················} 
104 ············} 
105 ············if·(n2·!=·0)·{ 
106 ················if·(n8·>·0)·{ 
107 ····················if·(n17·<·64·||·n17·==·127·||·n17·>·252)·{ 
108 ························n2·=·0;88 ························n·=·0;
109 ····················}89 ····················}
110 ····················else·{90 ····················else·{
 91 ························final·int·n18;
 92 ························if·((n18·=·n17)·>·159·&&·(n17·<·192·||·n17·==·215·||·n17·==·247))·{
 93 ····························++n14;
111 ························--n8;94 ························}
112 ····················}95 ····················}
113 ················}96 ················}
114 ················else·if·(n17·==·128·||·n17·==·160·||·n17·>·239)·{ 
115 ····················n2·=·0;97 ················if·(n2·!=·0)·{
116 ················} 
117 ················else·if·(n17·>·160·&&·n17·<·224)·{ 
118 ····················++n9; 
119 ····················n11·=·0; 
120 ····················++n10; 
121 ····················if·(n10·>·n12)·{98 ····················if·(n8·>·0)·{
 99 ························if·(n17·<·64·||·n17·==·127·||·n17·>·252)·{
122 ························n12·=·n10;100 ····························n2·=·0;
 101 ························}
Max diff block lines reached; 3605/9700 bytes (37.16%) of diff not shown.
477 B
com/google/zxing/common/detector/MathUtils.class
381 B
procyon -ec {}
    
Offset 24, 8 lines modifiedOffset 24, 16 lines modified
24 ············n2·=·-0.5f;24 ············n2·=·-0.5f;
25 ········}25 ········}
26 ········else·{26 ········else·{
27 ············n2·=·0.5f;27 ············n2·=·0.5f;
28 ········}28 ········}
29 ········return·(int)(n2·+·n);29 ········return·(int)(n2·+·n);
30 ····}30 ····}
 31 ····
 32 ····public·static·int·sum(final·int[]·array)·{
 33 ········int·n·=·0;
 34 ········for·(int·length·=·array.length,·i·=·0;·i·<·length;·++i)·{
 35 ············n·+=·array[i];
 36 ········}
 37 ········return·n;
 38 ····}
31 }39 }
2.45 KB
com/google/zxing/common/detector/MonochromeRectangleDetector.class
2.32 KB
procyon -ec {}
    
Offset 133, 44 lines modifiedOffset 133, 44 lines modified
133 ····················throw·NotFoundException.getNotFoundInstance();133 ····················throw·NotFoundException.getNotFoundInstance();
134 ················}134 ················}
135 ················ResultPoint·resultPoint;135 ················ResultPoint·resultPoint;
136 ················if·(n2·==·0)·{136 ················if·(n2·==·0)·{
137 ····················final·int·n12·=·n10·-·n6;137 ····················final·int·n12·=·n10·-·n6;
138 ····················if·(array[0]·<·n)·{138 ····················if·(array[0]·<·n)·{
139 ························if·(array[1]·>·n)·{139 ························if·(array[1]·>·n)·{
140 ····························float·n13;140 ····························int·n13;
141 ····························if·(n6·>·0)·{141 ····························if·(n6·>·0)·{
142 ································n13·=·(float)array[0];142 ································n13·=·0;
143 ····························}143 ····························}
144 ····························else·{144 ····························else·{
145 ································n13·=·(float)array[1];145 ································n13·=·1;
146 ····························}146 ····························}
147 ····························resultPoint·=·new·ResultPoint(n13,·(float)n12);147 ····························resultPoint·=·new·ResultPoint((float)array[n13],·(float)n12);
148 ························}148 ························}
149 ························else·{149 ························else·{
150 ····························resultPoint·=·new·ResultPoint((float)array[0],·(float)n12);150 ····························resultPoint·=·new·ResultPoint((float)array[0],·(float)n12);
151 ························}151 ························}
152 ····················}152 ····················}
153 ····················else·{153 ····················else·{
154 ························resultPoint·=·new·ResultPoint((float)array[1],·(float)n12);154 ························resultPoint·=·new·ResultPoint((float)array[1],·(float)n12);
155 ····················}155 ····················}
156 ················}156 ················}
157 ················else·{157 ················else·{
158 ····················final·int·n14·=·n11·-·n2;158 ····················final·int·n14·=·n11·-·n2;
159 ····················if·(array[0]·<·n5)·{159 ····················if·(array[0]·<·n5)·{
160 ························if·(array[1]·>·n5)·{160 ························if·(array[1]·>·n5)·{
161 ····························final·float·n15·=·(float)n14;161 ····························final·float·n15·=·(float)n14;
162 ····························float·n16;162 ····························int·n16;
163 ····························if·(n2·<·0)·{163 ····························if·(n2·<·0)·{
164 ································n16·=·(float)array[0];164 ································n16·=·0;
165 ····························}165 ····························}
166 ····························else·{166 ····························else·{
167 ································n16·=·(float)array[1];167 ································n16·=·1;
168 ····························}168 ····························}
169 ····························resultPoint·=·new·ResultPoint(n15,·n16);169 ····························resultPoint·=·new·ResultPoint(n15,·(float)array[n16]);
170 ························}170 ························}
171 ························else·{171 ························else·{
172 ····························resultPoint·=·new·ResultPoint((float)n14,·(float)array[0]);172 ····························resultPoint·=·new·ResultPoint((float)n14,·(float)array[0]);
173 ························}173 ························}
174 ····················}174 ····················}
175 ····················else·{175 ····················else·{
176 ························resultPoint·=·new·ResultPoint((float)n14,·(float)array[1]);176 ························resultPoint·=·new·ResultPoint((float)n14,·(float)array[1]);
3.15 KB
com/google/zxing/common/detector/WhiteRectangleDetector.class
3.03 KB
procyon -ec {}
    
Offset 186, 49 lines modifiedOffset 186, 33 lines modified
186 ············b2·=·true;186 ············b2·=·true;
187 ········}187 ········}
188 ········if·(b·||·!b2)·{188 ········if·(b·||·!b2)·{
189 ············throw·NotFoundException.getNotFoundInstance();189 ············throw·NotFoundException.getNotFoundInstance();
190 ········}190 ········}
191 ········final·int·n6·=·rightInit·-·leftInit;191 ········final·int·n6·=·rightInit·-·leftInit;
192 ········ResultPoint·blackPointOnSegment·=·null;192 ········ResultPoint·blackPointOnSegment·=·null;
 193 ········int·n8;
 194 ········for·(int·n7·=·1;·blackPointOnSegment·==·null·&&·n7·<·(n8·=·n6);·blackPointOnSegment·=·this.getBlackPointOnSegment((float)leftInit,·(float)(downInit·-·n7),·(float)(leftInit·+·n7),·(float)downInit),·++n7)·{}
193 ········for·(int·j·=·1;·j·<·n6;·++j)·{ 
194 ············blackPointOnSegment·=·this.getBlackPointOnSegment((float)leftInit,·(float)(downInit·-·j),·(float)(leftInit·+·j),·(float)downInit); 
195 ············if·(blackPointOnSegment·!=·null)·{ 
196 ················break; 
197 ············} 
198 ········} 
199 ········if·(blackPointOnSegment·==·null)·{195 ········if·(blackPointOnSegment·==·null)·{
200 ············throw·NotFoundException.getNotFoundInstance();196 ············throw·NotFoundException.getNotFoundInstance();
201 ········}197 ········}
202 ········ResultPoint·blackPointOnSegment2·=·null;198 ········ResultPoint·blackPointOnSegment2·=·null;
 199 ········int·n10;
 200 ········for·(int·n9·=·1;·blackPointOnSegment2·==·null·&&·n9·<·(n10·=·n6);·blackPointOnSegment2·=·this.getBlackPointOnSegment((float)leftInit,·(float)(upInit·+·n9),·(float)(leftInit·+·n9),·(float)upInit),·++n9)·{}
203 ········for·(int·k·=·1;·k·<·n6;·++k)·{ 
204 ············blackPointOnSegment2·=·this.getBlackPointOnSegment((float)leftInit,·(float)(upInit·+·k),·(float)(leftInit·+·k),·(float)upInit); 
205 ············if·(blackPointOnSegment2·!=·null)·{ 
206 ················break; 
207 ············} 
208 ········} 
209 ········if·(blackPointOnSegment2·==·null)·{201 ········if·(blackPointOnSegment2·==·null)·{
210 ············throw·NotFoundException.getNotFoundInstance();202 ············throw·NotFoundException.getNotFoundInstance();
211 ········}203 ········}
212 ········ResultPoint·blackPointOnSegment3·=·null;204 ········ResultPoint·blackPointOnSegment3·=·null;
 205 ········int·n12;
 206 ········for·(int·n11·=·1;·blackPointOnSegment3·==·null·&&·n11·<·(n12·=·n6);·blackPointOnSegment3·=·this.getBlackPointOnSegment((float)rightInit,·(float)(upInit·+·n11),·(float)(rightInit·-·n11),·(float)upInit),·++n11)·{}
213 ········for·(int·l·=·1;·l·<·n6;·++l)·{ 
214 ············blackPointOnSegment3·=·this.getBlackPointOnSegment((float)rightInit,·(float)(upInit·+·l),·(float)(rightInit·-·l),·(float)upInit); 
215 ············if·(blackPointOnSegment3·!=·null)·{ 
216 ················break; 
217 ············} 
218 ········} 
219 ········if·(blackPointOnSegment3·==·null)·{207 ········if·(blackPointOnSegment3·==·null)·{
220 ············throw·NotFoundException.getNotFoundInstance();208 ············throw·NotFoundException.getNotFoundInstance();
221 ········}209 ········}
222 ········ResultPoint·blackPointOnSegment4·=·null;210 ········ResultPoint·blackPointOnSegment4·=·null;
 211 ········int·n14;
 212 ········for·(int·n13·=·1;·blackPointOnSegment4·==·null·&&·n13·<·(n14·=·n6);·blackPointOnSegment4·=·this.getBlackPointOnSegment((float)rightInit,·(float)(downInit·-·n13),·(float)(rightInit·-·n13),·(float)downInit),·++n13)·{}
223 ········for·(int·n7·=·1;·n7·<·n6;·++n7)·{ 
224 ············blackPointOnSegment4·=·this.getBlackPointOnSegment((float)rightInit,·(float)(downInit·-·n7),·(float)(rightInit·-·n7),·(float)downInit); 
225 ············if·(blackPointOnSegment4·!=·null)·{ 
226 ················break; 
227 ············} 
228 ········} 
229 ········if·(blackPointOnSegment4·==·null)·{213 ········if·(blackPointOnSegment4·==·null)·{
230 ············throw·NotFoundException.getNotFoundInstance();214 ············throw·NotFoundException.getNotFoundInstance();
231 ········}215 ········}
232 ········return·this.centerEdges(blackPointOnSegment4,·blackPointOnSegment,·blackPointOnSegment3,·blackPointOnSegment2);216 ········return·this.centerEdges(blackPointOnSegment4,·blackPointOnSegment,·blackPointOnSegment3,·blackPointOnSegment2);
233 ····}217 ····}
234 }218 }
1.36 KB
com/google/zxing/common/reedsolomon/GenericGF.class
1.26 KB
procyon -ec {}
    
Offset 23, 30 lines modifiedOffset 23, 29 lines modified
23 ········final·int·n·=·256;23 ········final·int·n·=·256;
24 ········final·int·n2·=·1;24 ········final·int·n2·=·1;
25 ········AZTEC_DATA_12·=·new·GenericGF(4201,·4096,·n2);25 ········AZTEC_DATA_12·=·new·GenericGF(4201,·4096,·n2);
26 ········AZTEC_DATA_10·=·new·GenericGF(1033,·1024,·n2);26 ········AZTEC_DATA_10·=·new·GenericGF(1033,·1024,·n2);
27 ········AZTEC_DATA_6·=·new·GenericGF(67,·64,·n2);27 ········AZTEC_DATA_6·=·new·GenericGF(67,·64,·n2);
28 ········AZTEC_PARAM·=·new·GenericGF(19,·16,·n2);28 ········AZTEC_PARAM·=·new·GenericGF(19,·16,·n2);
29 ········QR_CODE_FIELD_256·=·new·GenericGF(285,·n,·0);29 ········QR_CODE_FIELD_256·=·new·GenericGF(285,·n,·0);
30 ········DATA_MATRIX_FIELD_256·=·new·GenericGF(301,·n,·n2);30 ········AZTEC_DATA_8·=·(DATA_MATRIX_FIELD_256·=·new·GenericGF(301,·n,·n2));
31 ········AZTEC_DATA_8·=·GenericGF.DATA_MATRIX_FIELD_256; 
32 ········MAXICODE_FIELD_64·=·GenericGF.AZTEC_DATA_6;31 ········MAXICODE_FIELD_64·=·GenericGF.AZTEC_DATA_6;
33 ····}32 ····}
34 ····33 ····
35 ····public·GenericGF(final·int·primitive,·final·int·size,·final·int·generatorBase)·{34 ····public·GenericGF(final·int·primitive,·final·int·size,·final·int·generatorBase)·{
36 ········final·int·n·=·1;35 ········final·int·n·=·1;
37 ········this.primitive·=·primitive;36 ········this.primitive·=·primitive;
38 ········this.size·=·size;37 ········this.size·=·size;
39 ········this.generatorBase·=·generatorBase;38 ········this.generatorBase·=·generatorBase;
40 ········this.expTable·=·new·int[size];39 ········this.expTable·=·new·int[size];
41 ········this.logTable·=·new·int[size];40 ········this.logTable·=·new·int[size];
42 ········int·n2·=·1;41 ········int·n2·=·1;
43 ········for·(int·i·=·0;·i·<·size;·++i)·{42 ········for·(int·i·=·0;·i·<·size;·++i)·{
44 ············this.expTable[i]·=·n2;43 ············this.expTable[i]·=·n2;
45 ············n2·*=·2;44 ············n2·<<=·1;
46 ············if·(n2·>=·size)·{45 ············if·(n2·>=·size)·{
47 ················n2·=·((n2·^·primitive)·&·size·-·1);46 ················n2·=·((n2·^·primitive)·&·size·-·1);
48 ············}47 ············}
49 ········}48 ········}
50 ········for·(int·j·=·0;·j·<·size·-·1;·++j)·{49 ········for·(int·j·=·0;·j·<·size·-·1;·++j)·{
51 ············this.logTable[this.expTable[j]]·=·j;50 ············this.logTable[this.expTable[j]]·=·j;
52 ········}51 ········}
1.46 KB
com/google/zxing/common/reedsolomon/GenericGFPoly.class
1.35 KB
procyon -ec {}
    
Offset 80, 27 lines modifiedOffset 80, 24 lines modified
80 ····80 ····
81 ····int·evaluateAt(final·int·n)·{81 ····int·evaluateAt(final·int·n)·{
82 ········int·i·=·0;82 ········int·i·=·0;
83 ········int·n2;83 ········int·n2;
84 ········if·(n·==·0)·{84 ········if·(n·==·0)·{
85 ············n2·=·this.getCoefficient(0);85 ············n2·=·this.getCoefficient(0);
86 ········}86 ········}
87 ········else·{ 
88 ············final·int·length·=·this.coefficients.length; 
89 ············if·(n·==·1)·{87 ········else·if·(n·==·1)·{
90 ················n2·=·0;88 ············n2·=·0;
91 ················for·(int[]·coefficients·=·this.coefficients;·i·<·coefficients.length;·++i)·{89 ············for·(int[]·coefficients·=·this.coefficients;·i·<·coefficients.length;·++i)·{
92 ····················n2·=·GenericGF.addOrSubtract(n2,·coefficients[i]);90 ················n2·=·GenericGF.addOrSubtract(n2,·coefficients[i]);
93 ················} 
94 ············}91 ············}
 92 ········}
95 ············else·{93 ········else·{
96 ················n2·=·this.coefficients[0];94 ············n2·=·this.coefficients[0];
97 ················for·(int·j·=·1;·j·<·length;·++j)·{95 ············for·(int·length·=·this.coefficients.length,·j·=·1;·j·<·length;·++j)·{
98 ····················n2·=·GenericGF.addOrSubtract(this.field.multiply(n,·n2),·this.coefficients[j]);96 ················n2·=·GenericGF.addOrSubtract(this.field.multiply(n,·n2),·this.coefficients[j]);
99 ················} 
100 ············}97 ············}
101 ········}98 ········}
102 ········return·n2;99 ········return·n2;
103 ····}100 ····}
104 ····101 ····
105 ····int·getCoefficient(final·int·n)·{102 ····int·getCoefficient(final·int·n)·{
106 ········return·this.coefficients[this.coefficients.length·-·1·-·n];103 ········return·this.coefficients[this.coefficients.length·-·1·-·n];
1.05 KB
com/google/zxing/common/reedsolomon/ReedSolomonDecoder.class
956 B
procyon -ec {}
    
Offset 101, 15 lines modifiedOffset 101, 15 lines modified
101 ····}101 ····}
102 ····102 ····
103 ····public·void·decode(final·int[]·array,·final·int·n)·{103 ····public·void·decode(final·int[]·array,·final·int·n)·{
104 ········final·GenericGFPoly·genericGFPoly·=·new·GenericGFPoly(this.field,·array);104 ········final·GenericGFPoly·genericGFPoly·=·new·GenericGFPoly(this.field,·array);
105 ········final·int[]·array2·=·new·int[n];105 ········final·int[]·array2·=·new·int[n];
106 ········boolean·b·=·true;106 ········boolean·b·=·true;
107 ········for·(int·i·=·0;·i·<·n;·++i)·{107 ········for·(int·i·=·0;·i·<·n;·++i)·{
108 ············if·((array2[array2.length·-·1·-·i]·=·genericGFPoly.evaluateAt(this.field.exp(this.field.getGeneratorBase()·+·i)))·!=·0)·{108 ············if·((array2[n·-·1·-·i]·=·genericGFPoly.evaluateAt(this.field.exp(this.field.getGeneratorBase()·+·i)))·!=·0)·{
109 ················b·=·false;109 ················b·=·false;
110 ············}110 ············}
111 ········}111 ········}
112 ········if·(!b)·{112 ········if·(!b)·{
113 ············final·GenericGFPoly[]·runEuclideanAlgorithm·=·this.runEuclideanAlgorithm(this.field.buildMonomial(n,·1),·new·GenericGFPoly(this.field,·array2),·n);113 ············final·GenericGFPoly[]·runEuclideanAlgorithm·=·this.runEuclideanAlgorithm(this.field.buildMonomial(n,·1),·new·GenericGFPoly(this.field,·array2),·n);
114 ············final·GenericGFPoly·genericGFPoly2·=·runEuclideanAlgorithm[0];114 ············final·GenericGFPoly·genericGFPoly2·=·runEuclideanAlgorithm[0];
115 ············final·GenericGFPoly·genericGFPoly3·=·runEuclideanAlgorithm[1];115 ············final·GenericGFPoly·genericGFPoly3·=·runEuclideanAlgorithm[1];
4.68 KB
com/google/zxing/common/reedsolomon/ReedSolomonEncoder.class
4.56 KB
javap -verbose -constants -s -l -private {}
    
Offset 295, 71 lines modifiedOffset 295, 67 lines modified
295 ········64:·aload_1295 ········64:·aload_1
296 ········65:·iconst_0296 ········65:·iconst_0
297 ········66:·aload·········8297 ········66:·aload·········8
298 ········68:·iconst_0298 ········68:·iconst_0
299 ········69:·iload·········6299 ········69:·iload·········6
300 ········71:·invokestatic··#72·················//·Method·java/lang/System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V300 ········71:·invokestatic··#72·················//·Method·java/lang/System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
301 ········74:·new···········#22·················//·class·com/google/zxing/common/reedsolomon/GenericGFPoly301 ········74:·new···········#22·················//·class·com/google/zxing/common/reedsolomon/GenericGFPoly
302 ········77:·astore········9302 ········77:·astore········4
303 ········79:·aload_0303 ········79:·aload_0
304 ········80:·getfield······#15·················//·Field·field:Lcom/google/zxing/common/reedsolomon/GenericGF;304 ········80:·getfield······#15·················//·Field·field:Lcom/google/zxing/common/reedsolomon/GenericGF;
305 ········83:·astore········4305 ········83:·astore········9
306 ········85:·aload·········9306 ········85:·aload·········4
307 ········87:·aload·········4307 ········87:·aload·········9
308 ········89:·aload·········8308 ········89:·aload·········8
309 ········91:·invokespecial·#25·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly."<init>":(Lcom/google/zxing/common/reedsolomon/GenericGF;[I)V309 ········91:·invokespecial·#25·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly."<init>":(Lcom/google/zxing/common/reedsolomon/GenericGF;[I)V
310 ········94:·aload·········9310 ········94:·aload·········4
311 ········96:·iload_2311 ········96:·iload_2
312 ········97:·iload_3312 ········97:·iload_3
313 ········98:·invokevirtual·#76·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly.multiplyByMonomial:(II)Lcom/google/zxing/common/reedsolomon/GenericGFPoly;313 ········98:·invokevirtual·#76·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly.multiplyByMonomial:(II)Lcom/google/zxing/common/reedsolomon/GenericGFPoly;
314 ·······101:·astore········9 
315 ·······103:·aload·········9 
316 ·······105:·aload·········7314 ·······101:·aload·········7
317 ·······107:·invokevirtual·#80·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly.divide:(Lcom/google/zxing/common/reedsolomon/GenericGFPoly;)[Lcom/google/zxing/common/reedsolomon/GenericGFPoly;315 ·······103:·invokevirtual·#80·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly.divide:(Lcom/google/zxing/common/reedsolomon/GenericGFPoly;)[Lcom/google/zxing/common/reedsolomon/GenericGFPoly;
 316 ·······106:·iload_3
 317 ·······107:·aaload
318 ·······110:·astore········4318 ·······108:·astore········4
319 ·······112:·aload·········4319 ·······110:·aload·········4
320 ·······114:·iload_3 
321 ·······115:·aaload 
322 ·······116:·astore········10 
323 ·······118:·aload·········10 
324 ·······120:·invokevirtual·#84·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly.getCoefficients:()[I320 ·······112:·invokevirtual·#84·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly.getCoefficients:()[I
325 ·······123:·astore········11321 ·······115:·astore········10
326 ·······125:·aload·········11322 ·······117:·aload·········10
327 ·······127:·arraylength323 ·······119:·arraylength
328 ·······128:·istore········5324 ·······120:·istore········5
329 ·······130:·iload_2325 ·······122:·iload_2
330 ·······131:·iload·········5326 ·······123:·iload·········5
331 ·······133:·isub327 ·······125:·isub
 328 ·······126:·istore········11
 329 ·······128:·iconst_0
332 ·······134:·istore········12330 ·······129:·istore········12
333 ·······136:·iconst_0 
334 ·······137:·istore········13 
335 ·······139:·iload·········13 
336 ·······141:·iload·········12331 ·······131:·iload·········12
 332 ·······133:·iload·········11
337 ·······143:·if_icmpge·····167333 ·······135:·if_icmpge·····159
 334 ·······138:·iload·········6
 335 ·······140:·iload·········12
 336 ·······142:·iadd
 337 ·······143:·istore········5
 338 ·······145:·aload_1
338 ·······146:·iload·········6339 ·······146:·iload·········5
 340 ·······148:·iconst_0
 341 ·······149:·iastore
339 ·······148:·iload·········13342 ·······150:·iload·········12
 343 ·······152:·iconst_1
340 ·······150:·iadd344 ·······153:·iadd
341 ·······151:·istore········5345 ·······154:·istore········12
342 ·······153:·aload_1346 ·······156:·goto··········131
343 ·······154:·iload·········5347 ·······159:·iload·········6
344 ·······156:·iconst_0 
345 ·······157:·iastore 
346 ·······158:·iload·········13348 ·······161:·iload·········11
347 ·······160:·iconst_1 
348 ·······161:·iadd349 ·······163:·iadd
 350 ·······164:·istore········5
 351 ·······166:·aload·········10
 352 ·······168:·arraylength
349 ·······162:·istore········13353 ·······169:·istore········13
350 ·······164:·goto··········139 
351 ·······167:·iload·········6 
352 ·······169:·iload·········12 
353 ·······171:·iadd 
354 ·······172:·istore········5 
355 ·······174:·aload·········11354 ·······171:·aload·········10
356 ·······176:·arraylength 
357 ·······177:·istore_3 
358 ·······178:·aload·········11 
359 ·······180:·iconst_0355 ·······173:·iconst_0
360 ·······181:·aload_1356 ·······174:·aload_1
361 ·······182:·iload·········5357 ·······175:·iload·········5
362 ·······184:·iload_3358 ·······177:·iload·········13
363 ·······185:·invokestatic··#72·················//·Method·java/lang/System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V359 ·······179:·invokestatic··#72·················//·Method·java/lang/System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
364 ·······188:·return360 ·······182:·return
365 }361 }
11.3 KB
com/google/zxing/datamatrix/decoder/BitMatrixParser.class
11.2 KB
procyon -ec {}
    
Offset 16, 19 lines modifiedOffset 16, 15 lines modified
16 ············throw·FormatException.getFormatInstance();16 ············throw·FormatException.getFormatInstance();
17 ········}17 ········}
18 ········this.version·=·readVersion(bitMatrix);18 ········this.version·=·readVersion(bitMatrix);
19 ········this.mappingBitMatrix·=·this.extractDataRegion(bitMatrix);19 ········this.mappingBitMatrix·=·this.extractDataRegion(bitMatrix);
20 ········this.readMappingMatrix·=·new·BitMatrix(this.mappingBitMatrix.getWidth(),·this.mappingBitMatrix.getHeight());20 ········this.readMappingMatrix·=·new·BitMatrix(this.mappingBitMatrix.getWidth(),·this.mappingBitMatrix.getHeight());
21 ····}21 ····}
22 ····22 ····
23 ····private·static·Version·readVersion(final·BitMatrix·bitMatrix)·{ 
24 ········return·Version.getVersionForDimensions(bitMatrix.getHeight(),·bitMatrix.getWidth()); 
25 ····} 
26 ···· 
27 ····BitMatrix·extractDataRegion(final·BitMatrix·bitMatrix)·{23 ····private·BitMatrix·extractDataRegion(final·BitMatrix·bitMatrix)·{
28 ········final·int·symbolSizeRows·=·this.version.getSymbolSizeRows();24 ········final·int·symbolSizeRows·=·this.version.getSymbolSizeRows();
29 ········final·int·symbolSizeColumns·=·this.version.getSymbolSizeColumns();25 ········final·int·symbolSizeColumns·=·this.version.getSymbolSizeColumns();
30 ········if·(bitMatrix.getHeight()·!=·symbolSizeRows)·{26 ········if·(bitMatrix.getHeight()·!=·symbolSizeRows)·{
31 ············throw·new·IllegalArgumentException("Dimension·of·bitMarix·must·match·the·version·size");27 ············throw·new·IllegalArgumentException("Dimension·of·bitMarix·must·match·the·version·size");
32 ········}28 ········}
33 ········final·int·dataRegionSizeRows·=·this.version.getDataRegionSizeRows();29 ········final·int·dataRegionSizeRows·=·this.version.getDataRegionSizeRows();
34 ········final·int·dataRegionSizeColumns·=·this.version.getDataRegionSizeColumns();30 ········final·int·dataRegionSizeColumns·=·this.version.getDataRegionSizeColumns();
Offset 49, 114 lines modifiedOffset 45, 20 lines modified
49 ····················}45 ····················}
50 ················}46 ················}
51 ············}47 ············}
52 ········}48 ········}
53 ········return·bitMatrix2;49 ········return·bitMatrix2;
54 ····}50 ····}
55 ····51 ····
56 ····Version·getVersion()·{ 
57 ········return·this.version; 
58 ····} 
59 ···· 
60 ····byte[]·readCodewords()·{ 
61 ········final·byte[]·array·=·new·byte[this.version.getTotalCodewords()]; 
62 ········int·n·=·4; 
63 ········int·n2·=·0; 
64 ········final·int·height·=·this.mappingBitMatrix.getHeight(); 
65 ········final·int·width·=·this.mappingBitMatrix.getWidth(); 
66 ········int·n3·=·0; 
67 ········int·n4·=·0; 
68 ········int·n5·=·0; 
69 ········int·n6·=·0; 
70 ········int·n7·=·0; 
71 ········int·n8; 
72 ········while·(true)·{ 
73 ············if·(n·==·height·&&·n2·==·0·&&·n3·==·0)·{ 
74 ················n8·=·n7·+·1; 
75 ················array[n7]·=·(byte)this.readCorner1(height,·width); 
76 ················n·-=·2; 
77 ················n2·+=·2; 
78 ················n3·=·1; 
79 ············} 
80 ············else·if·(n·==·height·-·2·&&·n2·==·0·&&·(width·&·0x3)·!=·0x0·&&·n4·==·0)·{ 
81 ················n8·=·n7·+·1; 
82 ················array[n7]·=·(byte)this.readCorner2(height,·width); 
83 ················n·-=·2; 
84 ················n2·+=·2; 
85 ················n4·=·1; 
86 ············} 
87 ············else·if·(n·==·height·+·4·&&·n2·==·2·&&·(width·&·0x7)·==·0x0·&&·n5·==·0)·{ 
88 ················n8·=·n7·+·1; 
89 ················array[n7]·=·(byte)this.readCorner3(height,·width); 
90 ················n·-=·2; 
91 ················n2·+=·2; 
92 ················n5·=·1; 
93 ············} 
94 ············else·if·(n·==·height·-·2·&&·n2·==·0·&&·(width·&·0x7)·==·0x4·&&·n6·==·0)·{ 
95 ················n8·=·n7·+·1; 
96 ················array[n7]·=·(byte)this.readCorner4(height,·width); 
97 ················n·-=·2; 
98 ················n2·+=·2; 
99 ················n6·=·1; 
100 ············} 
101 ············else·{ 
102 ················int·n9; 
103 ················while·(true)·{ 
104 ····················if·(n·<·height·&&·n2·>=·0·&&·!this.readMappingMatrix.get(n2,·n))·{ 
105 ························n9·=·n7·+·1; 
106 ························array[n7]·=·(byte)this.readUtah(n,·n2,·height,·width); 
107 ····················} 
108 ····················else·{ 
109 ························n9·=·n7; 
110 ····················} 
111 ····················n·-=·2; 
112 ····················n2·+=·2; 
113 ····················if·(n·<·0·||·n2·>=·width)·{ 
114 ························break; 
115 ····················} 
116 ····················n7·=·n9; 
117 ················} 
118 ················int·n10·=·n·+·1; 
119 ················int·n11·=·n2·+·3; 
120 ················int·n12·=·n9; 
121 ················while·(true)·{ 
122 ····················if·(n10·>=·0·&&·n11·<·width·&&·!this.readMappingMatrix.get(n11,·n10))·{ 
123 ························n8·=·n12·+·1; 
124 ························array[n12]·=·(byte)this.readUtah(n10,·n11,·height,·width); 
125 ····················} 
126 ····················else·{ 
127 ························n8·=·n12; 
128 ····················} 
129 ····················n10·+=·2; 
130 ····················n11·-=·2; 
131 ····················if·(n10·>=·height·||·n11·<·0)·{ 
132 ························break; 
133 ····················} 
134 ····················n12·=·n8; 
135 ················} 
136 ················n·=·n10·+·3; 
137 ················n2·=·n11·+·1; 
138 ············} 
139 ············if·(n·>=·height·&&·n2·>=·width)·{ 
140 ················break; 
141 ············} 
142 ············n7·=·n8; 
143 ········} 
144 ········if·(n8·!=·this.version.getTotalCodewords())·{ 
145 ············throw·FormatException.getFormatInstance(); 
146 ········} 
147 ········return·array; 
148 ····} 
149 ···· 
150 ····int·readCorner1(final·int·n,·final·int·n2)·{52 ····private·int·readCorner1(final·int·n,·final·int·n2)·{
151 ········final·int·n3·=·2;53 ········final·int·n3·=·2;
152 ········final·int·n4·=·1;54 ········final·int·n4·=·1;
153 ········int·n5·=·0;55 ········int·n5·=·0;
154 ········if·(this.readModule(n·-·1,·0,·n,·n2))·{56 ········if·(this.readModule(n·-·1,·0,·n,·n2))·{
155 ············n5·=·((false·|·true)·?·1·:·0);57 ············n5·=·1;
Max diff block lines reached; 6720/11467 bytes (58.60%) of diff not shown.
15.4 KB
com/google/zxing/datamatrix/decoder/DataBlock.class
15.3 KB
javap -verbose -constants -s -l -private {}
Max HTML report size reached
4.89 KB
com/google/zxing/datamatrix/decoder/DecodedBitStreamParser.class
4.76 KB
javap -verbose -constants -s -l -private {}
    
Offset 207, 23 lines modifiedOffset 207, 23 lines modified
207 ··#199·=·Utf8···············ISO8859_1207 ··#199·=·Utf8···············ISO8859_1
208 ··#200·=·String·············#199··········//·ISO8859_1208 ··#200·=·String·············#199··········//·ISO8859_1
209 ··#201·=·Utf8···············([BLjava/lang/String;)V209 ··#201·=·Utf8···············([BLjava/lang/String;)V
210 ··#202·=·NameAndType········#24:#201······//·"<init>":([BLjava/lang/String;)V210 ··#202·=·NameAndType········#24:#201······//·"<init>":([BLjava/lang/String;)V
211 ··#203·=·Methodref··········#198.#202·····//·java/lang/String."<init>":([BLjava/lang/String;)V211 ··#203·=·Methodref··········#198.#202·····//·java/lang/String."<init>":([BLjava/lang/String;)V
212 ··#204·=·Utf8···············java/lang/IllegalStateException212 ··#204·=·Utf8···············java/lang/IllegalStateException
213 ··#205·=·Class··············#204··········//·java/lang/IllegalStateException213 ··#205·=·Class··············#204··········//·java/lang/IllegalStateException
214 ··#206·=·Methodref··········#34.#26·······//·java/lang/StringBuilder."<init>":()V 
215 ··#207·=·Utf8···············Platform·does·not·support·required·encoding:214 ··#206·=·Utf8···············Platform·does·not·support·required·encoding:
216 ··#208·=·String·············#207··········//·Platform·does·not·support·required·encoding:215 ··#207·=·String·············#206··········//·Platform·does·not·support·required·encoding:
 216 ··#208·=·Utf8···············(Ljava/lang/String;)V
 217 ··#209·=·NameAndType········#24:#208······//·"<init>":(Ljava/lang/String;)V
 218 ··#210·=·Methodref··········#34.#209······//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
217 ··#209·=·Utf8···············(Ljava/lang/Object;)Ljava/lang/StringBuilder;219 ··#211·=·Utf8···············(Ljava/lang/Object;)Ljava/lang/StringBuilder;
218 ··#210·=·NameAndType········#63:#209······//·append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;220 ··#212·=·NameAndType········#63:#211······//·append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
219 ··#211·=·Methodref··········#34.#210······//·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;221 ··#213·=·Methodref··········#34.#212······//·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
220 ··#212·=·Utf8···············(Ljava/lang/String;)V 
221 ··#213·=·NameAndType········#24:#212······//·"<init>":(Ljava/lang/String;)V 
222 ··#214·=·Methodref··········#205.#213·····//·java/lang/IllegalStateException."<init>":(Ljava/lang/String;)V222 ··#214·=·Methodref··········#205.#209·····//·java/lang/IllegalStateException."<init>":(Ljava/lang/String;)V
223 ··#215·=·Utf8···············java/io/UnsupportedEncodingException223 ··#215·=·Utf8···············java/io/UnsupportedEncodingException
224 ··#216·=·Class··············#215··········//·java/io/UnsupportedEncodingException224 ··#216·=·Class··············#215··········//·java/io/UnsupportedEncodingException
225 ··#217·=·Float··············4.2E-44f225 ··#217·=·Float··············4.2E-44f
226 ··#218·=·Float··············2.24E-44f226 ··#218·=·Float··············2.24E-44f
227 ··#219·=·Float··············5.6E-45f227 ··#219·=·Float··············5.6E-45f
228 ··#220·=·Float··············8.4E-45f228 ··#220·=·Float··············8.4E-45f
229 ··#221·=·Float··············4.3E-44f229 ··#221·=·Float··············4.3E-44f
Offset 1382, 27 lines modifiedOffset 1382, 26 lines modified
1382 ·······244:·return1382 ·······244:·return
1383 ·······245:·astore········141383 ·······245:·astore········14
1384 ·······247:·new···········#205················//·class·java/lang/IllegalStateException1384 ·······247:·new···········#205················//·class·java/lang/IllegalStateException
1385 ·······250:·astore········121385 ·······250:·astore········12
1386 ·······252:·new···········#34·················//·class·java/lang/StringBuilder1386 ·······252:·new···········#34·················//·class·java/lang/StringBuilder
1387 ·······255:·astore········131387 ·······255:·astore········13
1388 ·······257:·aload·········131388 ·······257:·aload·········13
1389 ·······259:·invokespecial·#206················//·Method·java/lang/StringBuilder."<init>":()V 
1390 ·······262:·aload·········13 
1391 ·······264:·ldc···········#208················//·String·Platform·does·not·support·required·encoding:1389 ·······259:·ldc···········#207················//·String·Platform·does·not·support·required·encoding:
1392 ·······266:·invokevirtual·#159················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;1390 ·······261:·invokespecial·#210················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
 1391 ·······264:·aload·········13
1393 ·······269:·aload·········141392 ·······266:·aload·········14
1394 ·······271:·invokevirtual·#211················//·Method·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;1393 ·······268:·invokevirtual·#213················//·Method·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
1395 ·······274:·invokevirtual·#72·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;1394 ·······271:·invokevirtual·#72·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;
1396 ·······277:·astore········131395 ·······274:·astore········13
1397 ·······279:·aload·········121396 ·······276:·aload·········12
1398 ·······281:·aload·········131397 ·······278:·aload·········13
1399 ·······283:·invokespecial·#214················//·Method·java/lang/IllegalStateException."<init>":(Ljava/lang/String;)V1398 ·······280:·invokespecial·#214················//·Method·java/lang/IllegalStateException."<init>":(Ljava/lang/String;)V
1400 ·······286:·aload·········121399 ·······283:·aload·········12
1401 ·······288:·athrow1400 ·······285:·athrow
1402 ······Exception·table:1401 ······Exception·table:
1403 ·········from····to··target·type1402 ·········from····to··target·type
1404 ···········219···222···245···Class·java/io/UnsupportedEncodingException1403 ···········219···222···245···Class·java/io/UnsupportedEncodingException
1405 ···········232···237···245···Class·java/io/UnsupportedEncodingException1404 ···········232···237···245···Class·java/io/UnsupportedEncodingException
1406 ···········238···244···245···Class·java/io/UnsupportedEncodingException1405 ···········238···244···245···Class·java/io/UnsupportedEncodingException
  
1407 ··private·static·void·decodeC40Segment(com.google.zxing.common.BitSource,·java.lang.StringBuilder);1406 ··private·static·void·decodeC40Segment(com.google.zxing.common.BitSource,·java.lang.StringBuilder);
2.46 KB
com/google/zxing/datamatrix/decoder/Decoder.class
2.36 KB
procyon -ec {}
    
Offset 18, 42 lines modifiedOffset 18, 44 lines modified
18 ····18 ····
19 ····private·void·correctErrors(final·byte[]·array,·final·int·n)·{19 ····private·void·correctErrors(final·byte[]·array,·final·int·n)·{
20 ········final·int·length·=·array.length;20 ········final·int·length·=·array.length;
21 ········final·int[]·array2·=·new·int[length];21 ········final·int[]·array2·=·new·int[length];
22 ········for·(int·i·=·0;·i·<·length;·++i)·{22 ········for·(int·i·=·0;·i·<·length;·++i)·{
23 ············array2[i]·=·(array[i]·&·0xFF);23 ············array2[i]·=·(array[i]·&·0xFF);
24 ········}24 ········}
25 ········final·int·n2·=·array.length·-·n; 
26 ········try·{25 ········try·{
 26 ············final·ReedSolomonDecoder·rsDecoder·=·this.rsDecoder;
 27 ············try·{
27 ············this.rsDecoder.decode(array2,·n2);28 ················rsDecoder.decode(array2,·array.length·-·n);
28 ············for·(int·j·=·0;·j·<·n;·++j)·{29 ················for·(int·j·=·0;·j·<·n;·++j)·{
29 ················array[j]·=·(byte)array2[j];30 ····················array[j]·=·(byte)array2[j];
 31 ················}
 32 ············}
 33 ············catch·(ReedSolomonException·ex)·{
 34 ················throw·ChecksumException.getChecksumInstance();
30 ············}35 ············}
31 ········}36 ········}
32 ········catch·(ReedSolomonException·ex)·{37 ········catch·(ReedSolomonException·ex2)·{}
33 ············throw·ChecksumException.getChecksumInstance(); 
34 ········} 
35 ····}38 ····}
36 ····39 ····
37 ····public·DecoderResult·decode(final·BitMatrix·bitMatrix)·{40 ····public·DecoderResult·decode(final·BitMatrix·bitMatrix)·{
38 ········final·BitMatrixParser·bitMatrixParser·=·new·BitMatrixParser(bitMatrix);41 ········final·BitMatrixParser·bitMatrixParser·=·new·BitMatrixParser(bitMatrix);
39 ········final·DataBlock[]·dataBlocks·=·DataBlock.getDataBlocks(bitMatrixParser.readCodewords(),·bitMatrixParser.getVersion());42 ········final·DataBlock[]·dataBlocks·=·DataBlock.getDataBlocks(bitMatrixParser.readCodewords(),·bitMatrixParser.getVersion());
40 ········final·int·length·=·dataBlocks.length; 
41 ········int·n·=·0;43 ········int·n·=·0;
42 ········for·(int·length2·=·dataBlocks.length,·i·=·0;·i·<·length2;·++i)·{44 ········for·(int·length·=·dataBlocks.length,·i·=·0;·i·<·length;·++i)·{
43 ············n·+=·dataBlocks[i].getNumDataCodewords();45 ············n·+=·dataBlocks[i].getNumDataCodewords();
44 ········}46 ········}
45 ········final·byte[]·array·=·new·byte[n];47 ········final·byte[]·array·=·new·byte[n];
46 ········for·(int·j·=·0;·j·<·length;·++j)·{48 ········for·(int·length2·=·dataBlocks.length,·j·=·0;·j·<·length2;·++j)·{
47 ············final·DataBlock·dataBlock·=·dataBlocks[j];49 ············final·DataBlock·dataBlock·=·dataBlocks[j];
48 ············final·byte[]·codewords·=·dataBlock.getCodewords();50 ············final·byte[]·codewords·=·dataBlock.getCodewords();
49 ············final·int·numDataCodewords·=·dataBlock.getNumDataCodewords();51 ············final·int·numDataCodewords·=·dataBlock.getNumDataCodewords();
50 ············this.correctErrors(codewords,·numDataCodewords);52 ············this.correctErrors(codewords,·numDataCodewords);
51 ············for·(int·k·=·0;·k·<·numDataCodewords;·++k)·{53 ············for·(int·k·=·0;·k·<·numDataCodewords;·++k)·{
52 ················array[k·*·length·+·j]·=·codewords[k];54 ················array[k·*·length2·+·j]·=·codewords[k];
53 ············}55 ············}
54 ········}56 ········}
55 ········return·DecodedBitStreamParser.decode(array);57 ········return·DecodedBitStreamParser.decode(array);
56 ····}58 ····}
57 ····59 ····
58 ····public·DecoderResult·decode(final·boolean[][]·array)·{60 ····public·DecoderResult·decode(final·boolean[][]·array)·{
59 ········final·int·length·=·array.length;61 ········final·int·length·=·array.length;
541 B
com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions.class
385 B
procyon -ec {}
    
Offset 19, 15 lines modifiedOffset 19, 15 lines modified
19 ········return·this.from;19 ········return·this.from;
20 ····}20 ····}
21 ····21 ····
22 ····ResultPoint·getTo()·{22 ····ResultPoint·getTo()·{
23 ········return·this.to;23 ········return·this.to;
24 ····}24 ····}
25 ····25 ····
26 ····public·int·getTransitions()·{26 ····int·getTransitions()·{
27 ········return·this.transitions;27 ········return·this.transitions;
28 ····}28 ····}
29 ····29 ····
30 ····@Override30 ····@Override
31 ····public·String·toString()·{31 ····public·String·toString()·{
32 ········return·this.from·+·"/"·+·this.to·+·'/'·+·this.transitions;32 ········return·this.from·+·"/"·+·this.to·+·'/'·+·this.transitions;
33 ····}33 ····}
952 B
com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitionsComparator.class
776 B
procyon -ec {}
    
Offset 1, 14 lines modifiedOffset 1, 14 lines modified
  
1 package·com.google.zxing.datamatrix.detector;1 package·com.google.zxing.datamatrix.detector;
  
2 import·java.io.Serializable; 
3 import·java.util.Comparator;2 import·java.util.Comparator;
 3 import·java.io.Serializable;
  
4 final·class·Detector$ResultPointsAndTransitionsComparator·implements·Comparator,·Serializable4 final·class·Detector$ResultPointsAndTransitionsComparator·implements·Serializable,·Comparator
5 {5 {
6 ····private·Detector$ResultPointsAndTransitionsComparator()·{6 ····private·Detector$ResultPointsAndTransitionsComparator()·{
7 ····}7 ····}
8 ····8 ····
9 ····public·int·compare(final·Detector$ResultPointsAndTransitions·detector$ResultPointsAndTransitions,·final·Detector$ResultPointsAndTransitions·detector$ResultPointsAndTransitions2)·{9 ····public·int·compare(final·Detector$ResultPointsAndTransitions·detector$ResultPointsAndTransitions,·final·Detector$ResultPointsAndTransitions·detector$ResultPointsAndTransitions2)·{
10 ········return·detector$ResultPointsAndTransitions.getTransitions()·-·detector$ResultPointsAndTransitions2.getTransitions();10 ········return·detector$ResultPointsAndTransitions.getTransitions()·-·detector$ResultPointsAndTransitions2.getTransitions();
11 ····}11 ····}
3.48 KB
com/google/zxing/datamatrix/detector/Detector.class
3.38 KB
procyon -ec {}
    
Offset 25, 30 lines modifiedOffset 25, 30 lines modified
25 ········this.image·=·image;25 ········this.image·=·image;
26 ········this.rectangleDetector·=·new·WhiteRectangleDetector(image);26 ········this.rectangleDetector·=·new·WhiteRectangleDetector(image);
27 ····}27 ····}
28 ····28 ····
29 ····private·ResultPoint·correctTopRight(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3,·final·ResultPoint·resultPoint4,·final·int·n)·{29 ····private·ResultPoint·correctTopRight(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3,·final·ResultPoint·resultPoint4,·final·int·n)·{
30 ········final·float·n2·=·distance(resultPoint,·resultPoint2)·/·(float)n;30 ········final·float·n2·=·distance(resultPoint,·resultPoint2)·/·(float)n;
31 ········final·int·distance·=·distance(resultPoint3,·resultPoint4);31 ········final·int·distance·=·distance(resultPoint3,·resultPoint4);
32 ········ResultPoint·resultPoint5·=·new·ResultPoint(resultPoint4.getX()·+·n2·*·((resultPoint4.getX()·-·resultPoint3.getX())·/·distance),·resultPoint4.getY()·+·n2·*·((resultPoint4.getY()·-·resultPoint3.getY())·/·distance));32 ········final·ResultPoint·resultPoint5·=·new·ResultPoint(resultPoint4.getX()·+·n2·*·((resultPoint4.getX()·-·resultPoint3.getX())·/·distance),·resultPoint4.getY()·+·n2·*·((resultPoint4.getY()·-·resultPoint3.getY())·/·distance));
33 ········final·float·n3·=·distance(resultPoint,·resultPoint3)·/·(float)n;33 ········final·float·n3·=·distance(resultPoint,·resultPoint3)·/·(float)n;
34 ········final·int·distance2·=·distance(resultPoint2,·resultPoint4);34 ········final·int·distance2·=·distance(resultPoint2,·resultPoint4);
35 ········final·ResultPoint·resultPoint6·=·new·ResultPoint(resultPoint4.getX()·+·n3·*·((resultPoint4.getX()·-·resultPoint2.getX())·/·distance2),·resultPoint4.getY()·+·n3·*·((resultPoint4.getY()·-·resultPoint2.getY())·/·distance2));35 ········ResultPoint·resultPoint6·=·new·ResultPoint(resultPoint4.getX()·+·n3·*·((resultPoint4.getX()·-·resultPoint2.getX())·/·distance2),·resultPoint4.getY()·+·n3·*·((resultPoint4.getY()·-·resultPoint2.getY())·/·distance2));
36 ········if·(!this.isValid(resultPoint5))·{36 ········if·(!this.isValid(resultPoint5))·{
37 ············if·(this.isValid(resultPoint6))·{37 ············if·(!this.isValid(resultPoint6))·{
38 ················resultPoint5·=·resultPoint6; 
39 ············} 
40 ············else·{ 
41 ················resultPoint5·=·null;38 ················resultPoint6·=·null;
42 ············}39 ············}
43 ········}40 ········}
 41 ········else·if·(!this.isValid(resultPoint6))·{
 42 ············resultPoint6·=·resultPoint5;
 43 ········}
44 ········else·if·(this.isValid(resultPoint6)·&&·Math.abs(this.transitionsBetween(resultPoint3,·resultPoint5).getTransitions()·-·this.transitionsBetween(resultPoint2,·resultPoint5).getTransitions())·>·Math.abs(this.transitionsBetween(resultPoint3,·resultPoint6).getTransitions()·-·this.transitionsBetween(resultPoint2,·resultPoint6).getTransitions()))·{44 ········else·if·(Math.abs(this.transitionsBetween(resultPoint3,·resultPoint5).getTransitions()·-·this.transitionsBetween(resultPoint2,·resultPoint5).getTransitions())·<=·Math.abs(this.transitionsBetween(resultPoint3,·resultPoint6).getTransitions()·-·this.transitionsBetween(resultPoint2,·resultPoint6).getTransitions()))·{
45 ············resultPoint5·=·resultPoint6;45 ············resultPoint6·=·resultPoint5;
46 ········}46 ········}
47 ········return·resultPoint5;47 ········return·resultPoint6;
48 ····}48 ····}
49 ····49 ····
50 ····private·ResultPoint·correctTopRightRectangular(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3,·final·ResultPoint·resultPoint4,·final·int·n,·final·int·n2)·{50 ····private·ResultPoint·correctTopRightRectangular(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3,·final·ResultPoint·resultPoint4,·final·int·n,·final·int·n2)·{
51 ········final·float·n3·=·distance(resultPoint,·resultPoint2)·/·(float)n;51 ········final·float·n3·=·distance(resultPoint,·resultPoint2)·/·(float)n;
52 ········final·int·distance·=·distance(resultPoint3,·resultPoint4);52 ········final·int·distance·=·distance(resultPoint3,·resultPoint4);
53 ········final·ResultPoint·resultPoint5·=·new·ResultPoint(resultPoint4.getX()·+·n3·*·((resultPoint4.getX()·-·resultPoint3.getX())·/·distance),·resultPoint4.getY()·+·n3·*·((resultPoint4.getY()·-·resultPoint3.getY())·/·distance));53 ········final·ResultPoint·resultPoint5·=·new·ResultPoint(resultPoint4.getX()·+·n3·*·((resultPoint4.getX()·-·resultPoint3.getX())·/·distance),·resultPoint4.getY()·+·n3·*·((resultPoint4.getY()·-·resultPoint3.getY())·/·distance));
54 ········final·float·n4·=·distance(resultPoint,·resultPoint3)·/·(float)n2;54 ········final·float·n4·=·distance(resultPoint,·resultPoint3)·/·(float)n2;
2.63 KB
com/google/zxing/datamatrix/encoder/DefaultPlacement.class
2.51 KB
procyon -ec {}
    
Offset 65, 14 lines modifiedOffset 65, 18 lines modified
65 ········this.module(0,·this.numcols·-·2,·n,·4);65 ········this.module(0,·this.numcols·-·2,·n,·4);
66 ········this.module(0,·this.numcols·-·1,·n,·5);66 ········this.module(0,·this.numcols·-·1,·n,·5);
67 ········this.module(n2,·this.numcols·-·3,·n,·6);67 ········this.module(n2,·this.numcols·-·3,·n,·6);
68 ········this.module(n2,·this.numcols·-·2,·n,·7);68 ········this.module(n2,·this.numcols·-·2,·n,·7);
69 ········this.module(n2,·this.numcols·-·1,·n,·8);69 ········this.module(n2,·this.numcols·-·1,·n,·8);
70 ····}70 ····}
71 ····71 ····
 72 ····private·boolean·hasBit(final·int·n,·final·int·n2)·{
 73 ········return·this.bits[this.numcols·*·n2·+·n]·>=·0;
 74 ····}
 75 ····
72 ····private·void·module(int·n,·int·n2,·final·int·n3,·final·int·n4)·{76 ····private·void·module(int·n,·int·n2,·final·int·n3,·final·int·n4)·{
73 ········int·n5·=·1;77 ········int·n5·=·1;
74 ········if·(n·<·0)·{78 ········if·(n·<·0)·{
75 ············n·+=·this.numrows;79 ············n·+=·this.numrows;
76 ············n2·+=·4·-·(this.numrows·+·4)·%·8;80 ············n2·+=·4·-·(this.numrows·+·4)·%·8;
77 ········}81 ········}
78 ········if·(n2·<·0)·{82 ········if·(n2·<·0)·{
Offset 81, 14 lines modifiedOffset 85, 27 lines modified
81 ········}85 ········}
82 ········if·((this.codewords.charAt(n3)·&·n5·<<·8·-·n4)·==·0x0)·{86 ········if·((this.codewords.charAt(n3)·&·n5·<<·8·-·n4)·==·0x0)·{
83 ············n5·=·0;87 ············n5·=·0;
84 ········}88 ········}
85 ········this.setBit(n2,·n,·(boolean)(n5·!=·0));89 ········this.setBit(n2,·n,·(boolean)(n5·!=·0));
86 ····}90 ····}
87 ····91 ····
 92 ····private·void·setBit(final·int·n,·final·int·n2,·final·boolean·b)·{
 93 ········final·byte[]·bits·=·this.bits;
 94 ········final·int·n3·=·this.numcols·*·n2·+·n;
 95 ········int·n4;
 96 ········if·(b)·{
 97 ············n4·=·1;
 98 ········}
 99 ········else·{
 100 ············n4·=·0;
 101 ········}
 102 ········bits[n3]·=·(byte)n4;
 103 ····}
 104 ····
88 ····private·void·utah(final·int·n,·final·int·n2,·final·int·n3)·{105 ····private·void·utah(final·int·n,·final·int·n2,·final·int·n3)·{
89 ········this.module(n·-·2,·n2·-·2,·n3,·1);106 ········this.module(n·-·2,·n2·-·2,·n3,·1);
90 ········this.module(n·-·2,·n2·-·1,·n3,·2);107 ········this.module(n·-·2,·n2·-·1,·n3,·2);
91 ········this.module(n·-·1,·n2·-·2,·n3,·3);108 ········this.module(n·-·1,·n2·-·2,·n3,·3);
92 ········this.module(n·-·1,·n2·-·1,·n3,·4);109 ········this.module(n·-·1,·n2·-·1,·n3,·4);
93 ········this.module(n·-·1,·n2,·n3,·5);110 ········this.module(n·-·1,·n2,·n3,·5);
94 ········this.module(n,·n2·-·2,·n3,·6);111 ········this.module(n,·n2·-·2,·n3,·6);
Offset 112, 18 lines modifiedOffset 129, 14 lines modified
112 ········return·this.numcols;129 ········return·this.numcols;
113 ····}130 ····}
114 ····131 ····
115 ····final·int·getNumrows()·{132 ····final·int·getNumrows()·{
116 ········return·this.numrows;133 ········return·this.numrows;
117 ····}134 ····}
118 ····135 ····
119 ····final·boolean·hasBit(final·int·n,·final·int·n2)·{ 
120 ········return·this.bits[this.numcols·*·n2·+·n]·>=·0; 
121 ····} 
122 ···· 
123 ····public·final·void·place()·{136 ····public·final·void·place()·{
124 ········final·boolean·b·=·true;137 ········final·boolean·b·=·true;
125 ········int·n·=·0;138 ········int·n·=·0;
126 ········int·n2·=·4;139 ········int·n2·=·4;
127 ········int·n3·=·0;140 ········int·n3·=·0;
128 ········do·{141 ········do·{
129 ············if·(n2·==·this.numrows·&&·n3·==·0)·{142 ············if·(n2·==·this.numrows·&&·n3·==·0)·{
Offset 177, 21 lines modifiedOffset 190, 8 lines modified
177 ············n3·=·n10·+·1;190 ············n3·=·n10·+·1;
178 ········}·while·(n2·<·this.numrows·||·n3·<·this.numcols);191 ········}·while·(n2·<·this.numrows·||·n3·<·this.numcols);
179 ········if·(!this.hasBit(this.numcols·-·1,·this.numrows·-·1))·{192 ········if·(!this.hasBit(this.numcols·-·1,·this.numrows·-·1))·{
180 ············this.setBit(this.numcols·-·1,·this.numrows·-·1,·b);193 ············this.setBit(this.numcols·-·1,·this.numrows·-·1,·b);
181 ············this.setBit(this.numcols·-·2,·this.numrows·-·2,·b);194 ············this.setBit(this.numcols·-·2,·this.numrows·-·2,·b);
182 ········}195 ········}
183 ····}196 ····}
184 ···· 
185 ····final·void·setBit(final·int·n,·final·int·n2,·final·boolean·b)·{ 
186 ········final·byte[]·bits·=·this.bits; 
187 ········final·int·n3·=·this.numcols·*·n2·+·n; 
188 ········byte·b2; 
189 ········if·(b)·{ 
190 ············b2·=·1; 
191 ········} 
192 ········else·{ 
193 ············b2·=·0; 
194 ········} 
195 ········bits[n3]·=·b2; 
196 ····} 
197 }197 }
575 B
com/google/zxing/datamatrix/encoder/ErrorCorrection.class
461 B
procyon -ec {}
    
Offset 545, 15 lines modifiedOffset 545, 15 lines modified
545 ········FACTORS·=·factors;545 ········FACTORS·=·factors;
546 ········LOG·=·new·int[256];546 ········LOG·=·new·int[256];
547 ········ALOG·=·new·int[255];547 ········ALOG·=·new·int[255];
548 ········int·n7·=·1;548 ········int·n7·=·1;
549 ········for·(int·i·=·0;·i·<·255;·++i)·{549 ········for·(int·i·=·0;·i·<·255;·++i)·{
550 ············ErrorCorrection.ALOG[i]·=·n7;550 ············ErrorCorrection.ALOG[i]·=·n7;
551 ············ErrorCorrection.LOG[n7]·=·i;551 ············ErrorCorrection.LOG[n7]·=·i;
552 ············n7·*=·2;552 ············n7·<<=·1;
553 ············if·(n7·>=·256)·{553 ············if·(n7·>=·256)·{
554 ················n7·^=·0x12D;554 ················n7·^=·0x12D;
555 ············}555 ············}
556 ········}556 ········}
557 ····}557 ····}
558 ····558 ····
559 ····private·ErrorCorrection()·{559 ····private·ErrorCorrection()·{
2.78 KB
com/google/zxing/datamatrix/encoder/HighLevelEncoder.class
2.66 KB
procyon -ec {}
    
Offset 61, 20 lines modifiedOffset 61, 20 lines modified
61 ········array[n]·=·(Encoder)new·Base256Encoder();61 ········array[n]·=·(Encoder)new·Base256Encoder();
62 ········final·EncoderContext·encoderContext·=·new·EncoderContext(s);62 ········final·EncoderContext·encoderContext·=·new·EncoderContext(s);
63 ········encoderContext.setSymbolShape(symbolShape);63 ········encoderContext.setSymbolShape(symbolShape);
64 ········encoderContext.setSizeConstraints(dimension,·dimension2);64 ········encoderContext.setSizeConstraints(dimension,·dimension2);
65 ········if·(s.startsWith("[)>\u001e05\u001d")·&&·s.endsWith("\u001e\u0004"))·{65 ········if·(s.startsWith("[)>\u001e05\u001d")·&&·s.endsWith("\u001e\u0004"))·{
66 ············encoderContext.writeCodeword('\u00ec');66 ············encoderContext.writeCodeword('\u00ec');
67 ············encoderContext.setSkipAtEnd(n2);67 ············encoderContext.setSkipAtEnd(n2);
68 ············encoderContext.pos·+=·"[)>\u001e05\u001d".length();68 ············encoderContext.pos·+=·7;
69 ········}69 ········}
70 ········else·if·(s.startsWith("[)>\u001e06\u001d")·&&·s.endsWith("\u001e\u0004"))·{70 ········else·if·(s.startsWith("[)>\u001e06\u001d")·&&·s.endsWith("\u001e\u0004"))·{
71 ············encoderContext.writeCodeword('\u00ed');71 ············encoderContext.writeCodeword('\u00ed');
72 ············encoderContext.setSkipAtEnd(n2);72 ············encoderContext.setSkipAtEnd(n2);
73 ············encoderContext.pos·+=·"[)>\u001e06\u001d".length();73 ············encoderContext.pos·+=·7;
74 ········}74 ········}
75 ········int·newEncoding·=·0;75 ········int·newEncoding·=·0;
76 ········while·(encoderContext.hasMoreCharacters())·{76 ········while·(encoderContext.hasMoreCharacters())·{
77 ············array[newEncoding].encode(encoderContext);77 ············array[newEncoding].encode(encoderContext);
78 ············if·(encoderContext.getNewEncoding()·>=·0)·{78 ············if·(encoderContext.getNewEncoding()·>=·0)·{
79 ················newEncoding·=·encoderContext.getNewEncoding();79 ················newEncoding·=·encoderContext.getNewEncoding();
80 ················encoderContext.resetEncoderSignal();80 ················encoderContext.resetEncoderSignal();
Offset 178, 22 lines modifiedOffset 178, 22 lines modified
178 ················array[n2]·=·0.0f;178 ················array[n2]·=·0.0f;
179 ············}179 ············}
180 ············int·n3·=·0;180 ············int·n3·=·0;
181 ············while·(n·+·n3·!=·charSequence.length())·{181 ············while·(n·+·n3·!=·charSequence.length())·{
182 ················final·char·char1·=·charSequence.charAt(n·+·n3);182 ················final·char·char1·=·charSequence.charAt(n·+·n3);
183 ················++n3;183 ················++n3;
184 ················if·(isDigit(char1))·{184 ················if·(isDigit(char1))·{
185 ····················array[0]·+=·0.5;185 ····················array[0]·+=·0.5f;
186 ················}186 ················}
187 ················else·if·(isExtendedASCII(char1))·{187 ················else·if·(isExtendedASCII(char1))·{
188 ····················array[0]·=·(float)(int)Math.ceil(array[0]);188 ····················array[0]·=·(float)Math.ceil(array[0]);
189 ····················array[0]·+=·2.0f;189 ····················array[0]·+=·2.0f;
190 ················}190 ················}
191 ················else·{191 ················else·{
192 ····················array[0]·=·(float)(int)Math.ceil(array[0]);192 ····················array[0]·=·(float)Math.ceil(array[0]);
193 ····················++array[0];193 ····················++array[0];
194 ················}194 ················}
195 ················if·(isNativeC40(char1))·{195 ················if·(isNativeC40(char1))·{
196 ····················final·int·n4·=·1;196 ····················final·int·n4·=·1;
197 ····················array[n4]·+=·0.6666667f;197 ····················array[n4]·+=·0.6666667f;
198 ················}198 ················}
199 ················else·if·(isExtendedASCII(char1))·{199 ················else·if·(isExtendedASCII(char1))·{
Offset 320, 18 lines modifiedOffset 320, 14 lines modified
320 ················n2·=·1;320 ················n2·=·1;
321 ············}321 ············}
322 ········}322 ········}
323 ········return·n2;323 ········return·n2;
324 ····}324 ····}
325 ····325 ····
326 ····private·static·char·randomize253State(final·char·c,·final·int·n)·{326 ····private·static·char·randomize253State(final·char·c,·final·int·n)·{
327 ········final·int·n2·=·c·+·(n·*·149·%·253·+·1);327 ········int·n2·=·c·+·(n·*·149·%·253·+·1);
328 ········char·c2; 
329 ········if·(n2·<=·254)·{328 ········if·(n2·>·254)·{
330 ············c2·=·(char)n2;329 ············n2·-=·254;
331 ········}330 ········}
332 ········else·{ 
333 ············c2·=·(char)(n2·-·254); 
334 ········} 
335 ········return·c2;331 ········return·(char)n2;
336 ····}332 ····}
337 }333 }
8.62 KB
com/google/zxing/datamatrix/encoder/SymbolInfo.class
8.51 KB
procyon -ec {}
    
Offset 13, 16 lines modifiedOffset 13, 15 lines modified
13 ····public·final·int·matrixHeight;13 ····public·final·int·matrixHeight;
14 ····public·final·int·matrixWidth;14 ····public·final·int·matrixWidth;
15 ····private·final·boolean·rectangular;15 ····private·final·boolean·rectangular;
16 ····private·final·int·rsBlockData;16 ····private·final·int·rsBlockData;
17 ····private·final·int·rsBlockError;17 ····private·final·int·rsBlockError;
18 ····18 ····
19 ····static·{19 ····static·{
20 ········PROD_SYMBOLS·=·new·SymbolInfo[]·{·new·SymbolInfo(false,·3,·5,·8,·8,·1),·new·SymbolInfo(false,·5,·7,·10,·10,·1),·new·SymbolInfo(true,·5,·7,·16,·6,·1),·new·SymbolInfo(false,·8,·10,·12,·12,·1),·new·SymbolInfo(true,·10,·11,·14,·6,·2),·new·SymbolInfo(false,·12,[·...·truncated·by·diffoscope;·len:·1132,·SHA:·38e4083f9c3a1885ac3f3174830b2c22008b659e8111f2b7a0c19579aae98127·...·];20 ········SymbolInfo.symbols·=·(PROD_SYMBOLS·=·new·SymbolInfo[]·{·new·SymbolInfo(false,·3,·5,·8,·8,·1),·new·SymbolInfo(false,·5,·7,·10,·10,·1),·new·SymbolInfo(true,·5,·7,·16,·6,·1),·new·SymbolInfo(false,·8,·10,·12,·12,·1),·new·SymbolInfo(true,·10,·11,·14,·6,·2),·new[·...·truncated·by·diffoscope;·len:·1155,·SHA:·b62e4712c8144e6e274b05dceed462acdbb8fde2709c2e90e3d64271637f297c·...·];
21 ········SymbolInfo.symbols·=·SymbolInfo.PROD_SYMBOLS; 
22 ····}21 ····}
23 ····22 ····
24 ····public·SymbolInfo(final·boolean·b,·final·int·n,·final·int·n2,·final·int·n3,·final·int·n4,·final·int·n5)·{23 ····public·SymbolInfo(final·boolean·b,·final·int·n,·final·int·n2,·final·int·n3,·final·int·n4,·final·int·n5)·{
25 ········this(b,·n,·n2,·n3,·n4,·n5,·n,·n2);24 ········this(b,·n,·n2,·n3,·n4,·n5,·n,·n2);
26 ····}25 ····}
27 ····26 ····
28 ····SymbolInfo(final·boolean·rectangular,·final·int·dataCapacity,·final·int·errorCodewords,·final·int·matrixWidth,·final·int·matrixHeight,·final·int·dataRegions,·final·int·rsBlockData,·final·int·rsBlockError)·{27 ····SymbolInfo(final·boolean·rectangular,·final·int·dataCapacity,·final·int·errorCodewords,·final·int·matrixWidth,·final·int·matrixHeight,·final·int·dataRegions,·final·int·rsBlockData,·final·int·rsBlockError)·{
Offset 32, 14 lines modifiedOffset 31, 68 lines modified
32 ········this.matrixWidth·=·matrixWidth;31 ········this.matrixWidth·=·matrixWidth;
33 ········this.matrixHeight·=·matrixHeight;32 ········this.matrixHeight·=·matrixHeight;
34 ········this.dataRegions·=·dataRegions;33 ········this.dataRegions·=·dataRegions;
35 ········this.rsBlockData·=·rsBlockData;34 ········this.rsBlockData·=·rsBlockData;
36 ········this.rsBlockError·=·rsBlockError;35 ········this.rsBlockError·=·rsBlockError;
37 ····}36 ····}
38 ····37 ····
 38 ····private·int·getHorizontalDataRegions()·{
 39 ········int·n·=·0;
 40 ········switch·(this.dataRegions)·{
 41 ············default:·{
 42 ················throw·new·IllegalStateException("Cannot·handle·this·number·of·data·regions");
 43 ············}
 44 ············case·1:·{
 45 ················n·=·1;
 46 ················break;
 47 ············}
 48 ············case·2:
 49 ············case·4:·{
 50 ················n·=·2;
 51 ················break;
 52 ············}
 53 ············case·16:·{
 54 ················n·=·4;
 55 ················break;
 56 ············}
 57 ············case·36:·{
 58 ················n·=·6;
 59 ················break;
 60 ············}
 61 ········}
 62 ········return·n;
 63 ····}
 64 ····
 65 ····private·int·getVerticalDataRegions()·{
 66 ········int·n·=·0;
 67 ········switch·(this.dataRegions)·{
 68 ············default:·{
 69 ················throw·new·IllegalStateException("Cannot·handle·this·number·of·data·regions");
 70 ············}
 71 ············case·1:
 72 ············case·2:·{
 73 ················n·=·1;
 74 ················break;
 75 ············}
 76 ············case·4:·{
 77 ················n·=·2;
 78 ················break;
 79 ············}
 80 ············case·16:·{
 81 ················n·=·4;
 82 ················break;
 83 ············}
 84 ············case·36:·{
 85 ················n·=·6;
 86 ················break;
 87 ············}
 88 ········}
 89 ········return·n;
 90 ····}
 91 ····
39 ····public·static·SymbolInfo·lookup(final·int·n)·{92 ····public·static·SymbolInfo·lookup(final·int·n)·{
40 ········return·lookup(n,·SymbolShapeHint.FORCE_NONE,·true);93 ········return·lookup(n,·SymbolShapeHint.FORCE_NONE,·true);
41 ····}94 ····}
42 ····95 ····
43 ····public·static·SymbolInfo·lookup(final·int·n,·final·SymbolShapeHint·symbolShapeHint)·{96 ····public·static·SymbolInfo·lookup(final·int·n,·final·SymbolShapeHint·symbolShapeHint)·{
44 ········return·lookup(n,·symbolShapeHint,·true);97 ········return·lookup(n,·symbolShapeHint,·true);
45 ····}98 ····}
Offset 93, 94 lines modifiedOffset 146, 41 lines modified
93 ········return·this.errorCodewords;146 ········return·this.errorCodewords;
94 ····}147 ····}
95 ····148 ····
96 ····public·final·int·getErrorLengthForInterleavedBlock(final·int·n)·{149 ····public·final·int·getErrorLengthForInterleavedBlock(final·int·n)·{
97 ········return·this.rsBlockError;150 ········return·this.rsBlockError;
98 ····}151 ····}
99 ····152 ····
100 ····final·int·getHorizontalDataRegions()·{ 
101 ········int·n·=·2; 
102 ········switch·(this.dataRegions)·{ 
103 ············default:·{ 
104 ················throw·new·IllegalStateException("Cannot·handle·this·number·of·data·regions"); 
105 ············} 
106 ············case·1:·{ 
107 ················n·=·1; 
108 ················return·n; 
109 ············} 
110 ············case·36:·{ 
111 ················n·=·6; 
112 ················return·n; 
113 ············} 
114 ············case·16:·{ 
115 ················n·=·4; 
116 ············} 
117 ············case·2: 
118 ············case·4:·{ 
119 ················return·n; 
120 ············} 
121 ········} 
122 ····} 
123 ···· 
124 ····public·int·getInterleavedBlockCount()·{153 ····public·int·getInterleavedBlockCount()·{
125 ········return·this.dataCapacity·/·this.rsBlockData;154 ········return·this.dataCapacity·/·this.rsBlockData;
126 ····}155 ····}
127 ····156 ····
128 ····public·final·int·getSymbolDataHeight()·{157 ····public·final·int·getSymbolDataHeight()·{
129 ········return·this.getVerticalDataRegions()·*·this.matrixHeight;158 ········return·this.getVerticalDataRegions()·*·this.matrixHeight;
130 ····}159 ····}
131 ····160 ····
132 ····public·final·int·getSymbolDataWidth()·{161 ····public·final·int·getSymbolDataWidth()·{
133 ········return·this.getHorizontalDataRegions()·*·this.matrixWidth;162 ········return·this.getHorizontalDataRegions()·*·this.matrixWidth;
Max diff block lines reached; 2255/8691 bytes (25.95%) of diff not shown.
1.11 KB
com/google/zxing/integration/android/IntentResult.class
1.01 KB
procyon -ec {}
    
Offset 40, 23 lines modifiedOffset 40, 17 lines modified
40 ····public·byte[]·getRawBytes()·{40 ····public·byte[]·getRawBytes()·{
41 ········return·this.rawBytes;41 ········return·this.rawBytes;
42 ····}42 ····}
43 ····43 ····
44 ····@Override44 ····@Override
45 ····public·String·toString()·{45 ····public·String·toString()·{
46 ········final·char·c·=·'\n';46 ········final·char·c·=·'\n';
47 ········final·StringBuilder·sb·=·new·StringBuilder(100); 
48 ········sb.append("Format:·").append(this.formatName).append(c); 
49 ········sb.append("Contents:·").append(this.contents).append(c); 
50 ········int·length;47 ········int·length;
51 ········if·(this.rawBytes·==·null)·{48 ········if·(this.rawBytes·==·null)·{
52 ············length·=·0;49 ············length·=·0;
53 ········}50 ········}
54 ········else·{51 ········else·{
55 ············length·=·this.rawBytes.length;52 ············length·=·this.rawBytes.length;
56 ········}53 ········}
 54 ········return·"Format:·"·+·this.formatName·+·c·+·"Contents:·"·+·this.contents·+·c·+·"Raw·bytes:·("·+·length·+·"·bytes)\nOrientation:·"·+·this.orientation·+·c·+·"EC·level:·"·+·this.errorCorrectionLevel·+·c;
57 ········sb.append("Raw·bytes:·(").append(length).append("·bytes)\n"); 
58 ········sb.append("Orientation:·").append(this.orientation).append(c); 
59 ········sb.append("EC·level:·").append(this.errorCorrectionLevel).append(c); 
60 ········return·sb.toString(); 
61 ····}55 ····}
62 }56 }
4.85 KB
com/google/zxing/maxicode/decoder/DecodedBitStreamParser.class
4.73 KB
procyon -ec {}
    
Offset 1, 40 lines modifiedOffset 1, 35 lines modified
  
1 package·com.google.zxing.maxicode.decoder;1 package·com.google.zxing.maxicode.decoder;
  
2 import·java.util.List;2 import·java.util.List;
3 import·com.google.zxing.common.DecoderResult; 
4 import·java.text.DecimalFormat;3 import·java.text.DecimalFormat;
5 import·java.text.NumberFormat;4 import·com.google.zxing.common.DecoderResult;
  
6 final·class·DecodedBitStreamParser5 final·class·DecodedBitStreamParser
7 {6 {
8 ····private·static·final·char·ECI·=·'\ufffa';7 ····private·static·final·char·ECI·=·'\ufffa';
9 ····private·static·final·char·FS·=·'\u001c';8 ····private·static·final·char·FS·=·'\u001c';
10 ····private·static·final·char·GS·=·'\u001d';9 ····private·static·final·char·GS·=·'\u001d';
11 ····private·static·final·char·LATCHA·=·'\ufff7';10 ····private·static·final·char·LATCHA·=·'\ufff7';
12 ····private·static·final·char·LATCHB·=·'\ufff8';11 ····private·static·final·char·LATCHB·=·'\ufff8';
13 ····private·static·final·char·LOCK·=·'\ufff9';12 ····private·static·final·char·LOCK·=·'\ufff9';
14 ····private·static·final·NumberFormat·NINE_DIGITS; 
15 ····private·static·final·char·NS·=·'\ufffb';13 ····private·static·final·char·NS·=·'\ufffb';
16 ····private·static·final·char·PAD·=·'\ufffc';14 ····private·static·final·char·PAD·=·'\ufffc';
17 ····private·static·final·char·RS·=·'\u001e';15 ····private·static·final·char·RS·=·'\u001e';
18 ····private·static·final·String[]·SETS;16 ····private·static·final·String[]·SETS;
19 ····private·static·final·char·SHIFTA·=·'\ufff0';17 ····private·static·final·char·SHIFTA·=·'\ufff0';
20 ····private·static·final·char·SHIFTB·=·'\ufff1';18 ····private·static·final·char·SHIFTB·=·'\ufff1';
21 ····private·static·final·char·SHIFTC·=·'\ufff2';19 ····private·static·final·char·SHIFTC·=·'\ufff2';
22 ····private·static·final·char·SHIFTD·=·'\ufff3';20 ····private·static·final·char·SHIFTD·=·'\ufff3';
23 ····private·static·final·char·SHIFTE·=·'\ufff4';21 ····private·static·final·char·SHIFTE·=·'\ufff4';
24 ····private·static·final·char·THREESHIFTA·=·'\ufff6';22 ····private·static·final·char·THREESHIFTA·=·'\ufff6';
25 ····private·static·final·NumberFormat·THREE_DIGITS; 
26 ····private·static·final·char·TWOSHIFTA·=·'\ufff5';23 ····private·static·final·char·TWOSHIFTA·=·'\ufff5';
27 ····24 ····
28 ····static·{25 ····static·{
29 ········NINE_DIGITS·=·new·DecimalFormat("000000000"); 
30 ········THREE_DIGITS·=·new·DecimalFormat("000"); 
31 ········SETS·=·new·String[]·{·"\nABCDEFGHIJKLMNOPQRSTUVWXYZ\ufffa\u001c\u001d\u001e\ufffb·\ufffc\"#$%&'()*+,-./0123456789:\ufff1\ufff2\ufff3\ufff4\ufff8",·"`abcdefghijklmnopqrstuvwxyz\ufffa\u001c\u001d\u001e\ufffb{\ufffc}~\u007f;<=>?[\\]^_·,./:@!|\ufffc\ufff5\ufff6\ufffc\ufff0\ufff2\ufff3\ufff4\ufff7",·"\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d7\u00d8\u00d9\u00da\ufffa\u001c\u001d\u001e\u00db\u00dc\u00dd\u00de\u00dfª¬±²³µ¹º¼½¾\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\ufff7·\ufff9\ufff3\ufff4\ufff8",·"\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f7\u00f8\u00f9\u00fa\ufffa\u001c\u001d\u001e\ufffb\u00fb\u00fc\u00fd\u00fe\u00ff¡¨«¯°´·¸»¿\u008a\u008b\u008c\u008d\u008e\u008f\u0090\u0091\u0092\u0093\u0094\ufff7·\ufff2\ufff9\ufff4\ufff8",·"\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\ufffa\ufffc\ufffc\u001b\ufffb\u001c\u001d\u001e\u001f\u009f ¢£¤¥¦§©\u00ad®¶\u0095\u0096\u0097\u0098\u0099\u009a\u009b\u009c\u009d\u009e\ufff7·\ufff2\ufff3\ufff9\ufff8",·"\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f·!\"#$%&'()*+,-./0123456789:;<=>?"·};26 ········SETS·=·new·String[]·{·"\nABCDEFGHIJKLMNOPQRSTUVWXYZ\ufffa\u001c\u001d\u001e\ufffb·\ufffc\"#$%&'()*+,-./0123456789:\ufff1\ufff2\ufff3\ufff4\ufff8",·"`abcdefghijklmnopqrstuvwxyz\ufffa\u001c\u001d\u001e\ufffb{\ufffc}~\u007f;<=>?[\\]^_·,./:@!|\ufffc\ufff5\ufff6\ufffc\ufff0\ufff2\ufff3\ufff4\ufff7",·"\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d7\u00d8\u00d9\u00da\ufffa\u001c\u001d\u001e\u00db\u00dc\u00dd\u00de\u00dfª¬±²³µ¹º¼½¾\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\ufff7·\ufff9\ufff3\ufff4\ufff8",·"\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f7\u00f8\u00f9\u00fa\ufffa\u001c\u001d\u001e\ufffb\u00fb\u00fc\u00fd\u00fe\u00ff¡¨«¯°´·¸»¿\u008a\u008b\u008c\u008d\u008e\u008f\u0090\u0091\u0092\u0093\u0094\ufff7·\ufff2\ufff9\ufff4\ufff8",·"\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\ufffa\ufffc\ufffc\u001b\ufffb\u001c\u001d\u001e\u001f\u009f ¢£¤¥¦§©\u00ad®¶\u0095\u0096\u0097\u0098\u0099\u009a\u009b\u009c\u009d\u009e\ufff7·\ufff2\ufff3\ufff9\ufff8",·"\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f·!\"#$%&'()*+,-./0123456789:;<=>?"·};
32 ····}27 ····}
33 ····28 ····
34 ····private·DecodedBitStreamParser()·{29 ····private·DecodedBitStreamParser()·{
35 ····}30 ····}
36 ····31 ····
37 ····static·DecoderResult·decode(final·byte[]·array,·final·int·i)·{32 ····static·DecoderResult·decode(final·byte[]·array,·final·int·i)·{
Offset 47, 16 lines modifiedOffset 42, 17 lines modified
47 ················String·s;42 ················String·s;
48 ················if·(i·==·2)·{43 ················if·(i·==·2)·{
49 ····················s·=·new·DecimalFormat("0000000000".substring(0,·getPostCode2Length(array))).format(getPostCode2(array));44 ····················s·=·new·DecimalFormat("0000000000".substring(0,·getPostCode2Length(array))).format(getPostCode2(array));
50 ················}45 ················}
51 ················else·{46 ················else·{
52 ····················s·=·getPostCode3(array);47 ····················s·=·getPostCode3(array);
53 ················}48 ················}
 49 ················final·DecimalFormat·decimalFormat·=·new·DecimalFormat("000");
54 ················final·String·format·=·DecodedBitStreamParser.THREE_DIGITS.format(getCountry(array));50 ················final·String·format·=·decimalFormat.format(getCountry(array));
55 ················final·String·format2·=·DecodedBitStreamParser.THREE_DIGITS.format(getServiceClass(array));51 ················final·String·format2·=·decimalFormat.format(getServiceClass(array));
56 ················sb.append(getMessage(array,·10,·84));52 ················sb.append(getMessage(array,·10,·84));
57 ················if·(sb.toString().startsWith("[)>\u001e01\u001d"))·{53 ················if·(sb.toString().startsWith("[)>\u001e01\u001d"))·{
58 ····················sb.insert(9,·s·+·c·+·format·+·c·+·format2·+·c);54 ····················sb.insert(9,·s·+·c·+·format·+·c·+·format2·+·c);
59 ····················break;55 ····················break;
60 ················}56 ················}
61 ················sb.insert(0,·s·+·c·+·format·+·c·+·format2·+·c);57 ················sb.insert(0,·s·+·c·+·format·+·c·+·format2·+·c);
62 ················break;58 ················break;
Offset 161, 15 lines modifiedOffset 157, 15 lines modified
161 ····················final·int·n9·=·n7·+·1;157 ····················final·int·n9·=·n7·+·1;
162 ····················final·int·n10·=·n8·+·(array[n9]·<<·18);158 ····················final·int·n10·=·n8·+·(array[n9]·<<·18);
163 ····················final·int·n11·=·n9·+·1;159 ····················final·int·n11·=·n9·+·1;
164 ····················final·int·n12·=·n10·+·(array[n11]·<<·12);160 ····················final·int·n12·=·n10·+·(array[n11]·<<·12);
165 ····················final·int·n13·=·n11·+·1;161 ····················final·int·n13·=·n11·+·1;
166 ····················final·int·n14·=·n12·+·(array[n13]·<<·6);162 ····················final·int·n14·=·n12·+·(array[n13]·<<·6);
167 ····················i·=·n13·+·1;163 ····················i·=·n13·+·1;
168 ····················sb.append(DecodedBitStreamParser.NINE_DIGITS.format((long)(n14·+·array[i])));164 ····················sb.append(new·DecimalFormat("000000000").format((long)(n14·+·array[i])));
169 ····················n6·=·n3;165 ····················n6·=·n3;
170 ····················break;166 ····················break;
171 ················}167 ················}
172 ················case·65529:·{168 ················case·65529:·{
173 ····················n6·=·-1;169 ····················n6·=·-1;
174 ····················break;170 ····················break;
175 ················}171 ················}
2.0 KB
com/google/zxing/maxicode/decoder/Decoder.class
1.91 KB
procyon -ec {}
    
Offset 50, 35 lines modifiedOffset 50, 39 lines modified
50 ····}50 ····}
51 ····51 ····
52 ····public·DecoderResult·decode(final·BitMatrix·bitMatrix)·{52 ····public·DecoderResult·decode(final·BitMatrix·bitMatrix)·{
53 ········return·this.decode(bitMatrix,·null);53 ········return·this.decode(bitMatrix,·null);
54 ····}54 ····}
55 ····55 ····
56 ····public·DecoderResult·decode(final·BitMatrix·bitMatrix,·final·Map·map)·{56 ····public·DecoderResult·decode(final·BitMatrix·bitMatrix,·final·Map·map)·{
 57 ········final·int·n·=·2;
 58 ········final·int·n2·=·1;
 59 ········final·int·n3·=·10;
 60 ········final·int·n4·=·20;
57 ········final·byte[]·codewords·=·new·BitMatrixParser(bitMatrix).readCodewords();61 ········final·byte[]·codewords·=·new·BitMatrixParser(bitMatrix).readCodewords();
58 ········this.correctErrors(codewords,·0,·10,·10,·0);62 ········this.correctErrors(codewords,·0,·n3,·n3,·0);
59 ········final·int·n·=·codewords[0]·&·0xF;63 ········final·int·n5·=·codewords[0]·&·0xF;
60 ········byte[]·array·=·null;64 ········byte[]·array·=·null;
61 ········switch·(n)·{65 ········switch·(n5)·{
62 ············default:·{66 ············default:·{
63 ················throw·FormatException.getFormatInstance();67 ················throw·FormatException.getFormatInstance();
64 ············}68 ············}
65 ············case·2:69 ············case·2:
66 ············case·3:70 ············case·3:
67 ············case·4:·{71 ············case·4:·{
68 ················this.correctErrors(codewords,·20,·84,·40,·1); 
69 ················this.correctErrors(codewords,·20,·84,·40,·2);72 ················this.correctErrors(codewords,·n4,·84,·40,·n2);
 73 ················this.correctErrors(codewords,·n4,·84,·40,·n);
70 ················array·=·new·byte[94];74 ················array·=·new·byte[94];
71 ················break;75 ················break;
72 ············}76 ············}
73 ············case·5:·{77 ············case·5:·{
74 ················this.correctErrors(codewords,·20,·68,·56,·1); 
75 ················this.correctErrors(codewords,·20,·68,·56,·2);78 ················this.correctErrors(codewords,·n4,·68,·56,·n2);
 79 ················this.correctErrors(codewords,·n4,·68,·56,·n);
76 ················array·=·new·byte[78];80 ················array·=·new·byte[78];
77 ················break;81 ················break;
78 ············}82 ············}
79 ········}83 ········}
80 ········System.arraycopy(codewords,·0,·array,·0,·10);84 ········System.arraycopy(codewords,·0,·array,·0,·n3);
81 ········System.arraycopy(codewords,·20,·array,·10,·array.length·-·10);85 ········System.arraycopy(codewords,·n4,·array,·n3,·array.length·-·10);
82 ········return·DecodedBitStreamParser.decode(array,·n);86 ········return·DecodedBitStreamParser.decode(array,·n5);
83 ····}87 ····}
84 }88 }
965 B
com/google/zxing/multi/qrcode/QRCodeMultiReader$SAComparator.class
833 B
procyon -ec {}
    
Offset 1, 16 lines modifiedOffset 1, 16 lines modified
  
1 package·com.google.zxing.multi.qrcode;1 package·com.google.zxing.multi.qrcode;
  
2 import·com.google.zxing.ResultMetadataType;2 import·com.google.zxing.ResultMetadataType;
3 import·com.google.zxing.Result;3 import·com.google.zxing.Result;
4 import·java.io.Serializable; 
5 import·java.util.Comparator;4 import·java.util.Comparator;
 5 import·java.io.Serializable;
  
6 final·class·QRCodeMultiReader$SAComparator·implements·Comparator,·Serializable6 final·class·QRCodeMultiReader$SAComparator·implements·Serializable,·Comparator
7 {7 {
8 ····private·QRCodeMultiReader$SAComparator()·{8 ····private·QRCodeMultiReader$SAComparator()·{
9 ····}9 ····}
10 ····10 ····
11 ····public·int·compare(final·Result·result,·final·Result·result2)·{11 ····public·int·compare(final·Result·result,·final·Result·result2)·{
12 ········final·int·intValue·=·(int)Integer.valueOf(result.getResultMetadata().get((Object)ResultMetadataType.STRUCTURED_APPEND_SEQUENCE));12 ········final·int·intValue·=·(int)Integer.valueOf(result.getResultMetadata().get((Object)ResultMetadataType.STRUCTURED_APPEND_SEQUENCE));
13 ········final·int·intValue2·=·(int)Integer.valueOf(result2.getResultMetadata().get((Object)ResultMetadataType.STRUCTURED_APPEND_SEQUENCE));13 ········final·int·intValue2·=·(int)Integer.valueOf(result2.getResultMetadata().get((Object)ResultMetadataType.STRUCTURED_APPEND_SEQUENCE));
932 B
com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator.class
752 B
procyon -ec {}
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
  
1 package·com.google.zxing.multi.qrcode.detector;1 package·com.google.zxing.multi.qrcode.detector;
  
2 import·com.google.zxing.qrcode.detector.FinderPattern;2 import·com.google.zxing.qrcode.detector.FinderPattern;
3 import·java.io.Serializable; 
4 import·java.util.Comparator;3 import·java.util.Comparator;
 4 import·java.io.Serializable;
  
5 final·class·MultiFinderPatternFinder$ModuleSizeComparator·implements·Comparator,·Serializable5 final·class·MultiFinderPatternFinder$ModuleSizeComparator·implements·Serializable,·Comparator
6 {6 {
7 ····private·MultiFinderPatternFinder$ModuleSizeComparator()·{7 ····private·MultiFinderPatternFinder$ModuleSizeComparator()·{
8 ····}8 ····}
9 ····9 ····
10 ····public·int·compare(final·FinderPattern·finderPattern,·final·FinderPattern·finderPattern2)·{10 ····public·int·compare(final·FinderPattern·finderPattern,·final·FinderPattern·finderPattern2)·{
11 ········final·double·n·=·0.0;11 ········final·double·n·=·0.0;
12 ········final·float·n2·=·finderPattern2.getEstimatedModuleSize()·-·finderPattern.getEstimatedModuleSize();12 ········final·float·n2·=·finderPattern2.getEstimatedModuleSize()·-·finderPattern.getEstimatedModuleSize();
2.79 KB
com/google/zxing/oned/UPCEANExtension2Support.class
2.69 KB
procyon -ec {}
    
Offset 1, 42 lines modifiedOffset 1, 30 lines modified
  
1 package·com.google.zxing.oned;1 package·com.google.zxing.oned;
  
2 import·com.google.zxing.BarcodeFormat;2 import·com.google.zxing.BarcodeFormat;
3 import·com.google.zxing.ResultPoint;3 import·com.google.zxing.ResultPoint;
4 import·com.google.zxing.Result;4 import·com.google.zxing.Result;
5 import·com.google.zxing.NotFoundException; 
6 import·com.google.zxing.common.BitArray; 
7 import·java.util.EnumMap;5 import·java.util.EnumMap;
8 import·com.google.zxing.ResultMetadataType;6 import·com.google.zxing.ResultMetadataType;
9 import·java.util.Map;7 import·java.util.Map;
 8 import·com.google.zxing.NotFoundException;
 9 import·com.google.zxing.common.BitArray;
  
10 final·class·UPCEANExtension2Support10 final·class·UPCEANExtension2Support
11 {11 {
12 ····private·final·int[]·decodeMiddleCounters;12 ····private·final·int[]·decodeMiddleCounters;
13 ····private·final·StringBuilder·decodeRowStringBuffer;13 ····private·final·StringBuilder·decodeRowStringBuffer;
14 ····14 ····
15 ····UPCEANExtension2Support()·{15 ····UPCEANExtension2Support()·{
16 ········this.decodeMiddleCounters·=·new·int[4];16 ········this.decodeMiddleCounters·=·new·int[4];
17 ········this.decodeRowStringBuffer·=·new·StringBuilder();17 ········this.decodeRowStringBuffer·=·new·StringBuilder();
18 ····}18 ····}
19 ····19 ····
20 ····private·static·Map·parseExtensionString(final·String·s)·{ 
21 ········Map<ResultMetadataType,·Integer>·map; 
22 ········if·(s.length()·!=·2)·{ 
23 ············map·=·null; 
24 ········} 
25 ········else·{ 
26 ············map·=·new·EnumMap<ResultMetadataType,·Integer>(ResultMetadataType.class); 
27 ············map.put(ResultMetadataType.ISSUE_NUMBER,·Integer.valueOf(s)); 
28 ········} 
29 ········return·map; 
30 ····} 
31 ···· 
32 ····int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{20 ····private·int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{
33 ········final·int·n·=·2;21 ········final·int·n·=·2;
34 ········final·int·n2·=·1;22 ········final·int·n2·=·1;
35 ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters;23 ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters;
36 ········decodeMiddleCounters[n2]·=·(decodeMiddleCounters[0]·=·0);24 ········decodeMiddleCounters[n2]·=·(decodeMiddleCounters[0]·=·0);
37 ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[n]·=·0);25 ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[n]·=·0);
38 ········final·int·size·=·bitArray.getSize();26 ········final·int·size·=·bitArray.getSize();
39 ········int·nextUnset·=·array[n2];27 ········int·nextUnset·=·array[n2];
Offset 59, 14 lines modifiedOffset 47, 26 lines modified
59 ········}47 ········}
60 ········if·(Integer.parseInt(sb.toString())·%·4·!=·n3)·{48 ········if·(Integer.parseInt(sb.toString())·%·4·!=·n3)·{
61 ············throw·NotFoundException.getNotFoundInstance();49 ············throw·NotFoundException.getNotFoundInstance();
62 ········}50 ········}
63 ········return·nextUnset;51 ········return·nextUnset;
64 ····}52 ····}
65 ····53 ····
 54 ····private·static·Map·parseExtensionString(final·String·s)·{
 55 ········Map<ResultMetadataType,·Integer>·map;
 56 ········if·(s.length()·!=·2)·{
 57 ············map·=·null;
 58 ········}
 59 ········else·{
 60 ············map·=·new·EnumMap<ResultMetadataType,·Integer>(ResultMetadataType.class);
 61 ············map.put(ResultMetadataType.ISSUE_NUMBER,·Integer.valueOf(s));
 62 ········}
 63 ········return·map;
 64 ····}
 65 ····
66 ····Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·int[]·array)·{66 ····Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·int[]·array)·{
67 ········final·int·n2·=·1;67 ········final·int·n2·=·1;
68 ········final·StringBuilder·decodeRowStringBuffer·=·this.decodeRowStringBuffer;68 ········final·StringBuilder·decodeRowStringBuffer·=·this.decodeRowStringBuffer;
69 ········decodeRowStringBuffer.setLength(0);69 ········decodeRowStringBuffer.setLength(0);
70 ········final·int·decodeMiddle·=·this.decodeMiddle(bitArray,·array,·decodeRowStringBuffer);70 ········final·int·decodeMiddle·=·this.decodeMiddle(bitArray,·array,·decodeRowStringBuffer);
71 ········final·String·string·=·decodeRowStringBuffer.toString();71 ········final·String·string·=·decodeRowStringBuffer.toString();
72 ········final·Map·extensionString·=·parseExtensionString(string);72 ········final·Map·extensionString·=·parseExtensionString(string);
4.45 KB
com/google/zxing/oned/UPCEANExtension5Support.class
4.35 KB
procyon -ec {}
    
Offset 1, 18 lines modifiedOffset 1, 18 lines modified
  
1 package·com.google.zxing.oned;1 package·com.google.zxing.oned;
  
2 import·com.google.zxing.BarcodeFormat;2 import·com.google.zxing.BarcodeFormat;
3 import·com.google.zxing.ResultPoint;3 import·com.google.zxing.ResultPoint;
4 import·com.google.zxing.Result;4 import·com.google.zxing.Result;
5 import·com.google.zxing.common.BitArray; 
6 import·java.util.EnumMap;5 import·java.util.EnumMap;
7 import·com.google.zxing.ResultMetadataType;6 import·com.google.zxing.ResultMetadataType;
8 import·java.util.Map;7 import·java.util.Map;
9 import·com.google.zxing.NotFoundException;8 import·com.google.zxing.NotFoundException;
 9 import·com.google.zxing.common.BitArray;
  
10 final·class·UPCEANExtension5Support10 final·class·UPCEANExtension5Support
11 {11 {
12 ····private·static·final·int[]·CHECK_DIGIT_ENCODINGS;12 ····private·static·final·int[]·CHECK_DIGIT_ENCODINGS;
13 ····private·final·int[]·decodeMiddleCounters;13 ····private·final·int[]·decodeMiddleCounters;
14 ····private·final·StringBuilder·decodeRowStringBuffer;14 ····private·final·StringBuilder·decodeRowStringBuffer;
15 ····15 ····
Offset 31, 14 lines modifiedOffset 31, 43 lines modified
31 ····}31 ····}
32 ····32 ····
33 ····UPCEANExtension5Support()·{33 ····UPCEANExtension5Support()·{
34 ········this.decodeMiddleCounters·=·new·int[4];34 ········this.decodeMiddleCounters·=·new·int[4];
35 ········this.decodeRowStringBuffer·=·new·StringBuilder();35 ········this.decodeRowStringBuffer·=·new·StringBuilder();
36 ····}36 ····}
37 ····37 ····
 38 ····private·int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{
 39 ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters;
 40 ········decodeMiddleCounters[1]·=·(decodeMiddleCounters[0]·=·0);
 41 ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[2]·=·0);
 42 ········final·int·size·=·bitArray.getSize();
 43 ········int·nextUnset·=·array[1];
 44 ········int·n·=·0;
 45 ········for·(int·n2·=·0;·n2·<·5·&&·nextUnset·<·size;·++n2)·{
 46 ············final·int·decodeDigit·=·UPCEANReader.decodeDigit(bitArray,·decodeMiddleCounters,·nextUnset,·UPCEANReader.L_AND_G_PATTERNS);
 47 ············sb.append((char)(decodeDigit·%·10·+·48));
 48 ············for·(int·length·=·decodeMiddleCounters.length,·i·=·0;·i·<·length;·++i)·{
 49 ················nextUnset·+=·decodeMiddleCounters[i];
 50 ············}
 51 ············if·(decodeDigit·>=·10)·{
 52 ················n·|=·1·<<·4·-·n2;
 53 ············}
 54 ············if·(n2·!=·4)·{
 55 ················nextUnset·=·bitArray.getNextUnset(bitArray.getNextSet(nextUnset));
 56 ············}
 57 ········}
 58 ········if·(sb.length()·!=·5)·{
 59 ············throw·NotFoundException.getNotFoundInstance();
 60 ········}
 61 ········if·(extensionChecksum(sb.toString())·!=·determineCheckDigit(n))·{
 62 ············throw·NotFoundException.getNotFoundInstance();
 63 ········}
 64 ········return·nextUnset;
 65 ····}
 66 ····
38 ····private·static·int·determineCheckDigit(final·int·n)·{67 ····private·static·int·determineCheckDigit(final·int·n)·{
39 ········for·(int·i·=·0;·i·<·10;·++i)·{68 ········for·(int·i·=·0;·i·<·10;·++i)·{
40 ············if·(n·==·UPCEANExtension5Support.CHECK_DIGIT_ENCODINGS[i])·{69 ············if·(n·==·UPCEANExtension5Support.CHECK_DIGIT_ENCODINGS[i])·{
41 ················return·i;70 ················return·i;
42 ············}71 ············}
43 ········}72 ········}
44 ········throw·NotFoundException.getNotFoundInstance();73 ········throw·NotFoundException.getNotFoundInstance();
Offset 107, 43 lines modifiedOffset 136, 14 lines modified
107 ················map·=·new·EnumMap<ResultMetadataType,·String>(ResultMetadataType.class);136 ················map·=·new·EnumMap<ResultMetadataType,·String>(ResultMetadataType.class);
108 ················map.put(ResultMetadataType.SUGGESTED_PRICE,·extension5String);137 ················map.put(ResultMetadataType.SUGGESTED_PRICE,·extension5String);
109 ············}138 ············}
110 ········}139 ········}
111 ········return·map;140 ········return·map;
112 ····}141 ····}
113 ····142 ····
114 ····int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{ 
115 ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters; 
116 ········decodeMiddleCounters[1]·=·(decodeMiddleCounters[0]·=·0); 
117 ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[2]·=·0); 
118 ········final·int·size·=·bitArray.getSize(); 
119 ········int·nextUnset·=·array[1]; 
120 ········int·n·=·0; 
121 ········for·(int·n2·=·0;·n2·<·5·&&·nextUnset·<·size;·++n2)·{ 
122 ············final·int·decodeDigit·=·UPCEANReader.decodeDigit(bitArray,·decodeMiddleCounters,·nextUnset,·UPCEANReader.L_AND_G_PATTERNS); 
123 ············sb.append((char)(decodeDigit·%·10·+·48)); 
124 ············for·(int·length·=·decodeMiddleCounters.length,·i·=·0;·i·<·length;·++i)·{ 
125 ················nextUnset·+=·decodeMiddleCounters[i]; 
126 ············} 
127 ············if·(decodeDigit·>=·10)·{ 
128 ················n·|=·1·<<·4·-·n2; 
129 ············} 
130 ············if·(n2·!=·4)·{ 
131 ················nextUnset·=·bitArray.getNextUnset(bitArray.getNextSet(nextUnset)); 
132 ············} 
133 ········} 
134 ········if·(sb.length()·!=·5)·{ 
135 ············throw·NotFoundException.getNotFoundInstance(); 
136 ········} 
137 ········if·(extensionChecksum(sb.toString())·!=·determineCheckDigit(n))·{ 
138 ············throw·NotFoundException.getNotFoundInstance(); 
139 ········} 
140 ········return·nextUnset; 
141 ····} 
142 ···· 
143 ····Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·int[]·array)·{143 ····Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·int[]·array)·{
144 ········final·int·n2·=·1;144 ········final·int·n2·=·1;
145 ········final·StringBuilder·decodeRowStringBuffer·=·this.decodeRowStringBuffer;145 ········final·StringBuilder·decodeRowStringBuffer·=·this.decodeRowStringBuffer;
146 ········decodeRowStringBuffer.setLength(0);146 ········decodeRowStringBuffer.setLength(0);
147 ········final·int·decodeMiddle·=·this.decodeMiddle(bitArray,·array,·decodeRowStringBuffer);147 ········final·int·decodeMiddle·=·this.decodeMiddle(bitArray,·array,·decodeRowStringBuffer);
148 ········final·String·string·=·decodeRowStringBuffer.toString();148 ········final·String·string·=·decodeRowStringBuffer.toString();
149 ········final·Map·extensionString·=·parseExtensionString(string);149 ········final·Map·extensionString·=·parseExtensionString(string);
1.63 KB
com/google/zxing/oned/UPCEANExtensionSupport.class
1.53 KB
javap -verbose -constants -s -l -private {}
    
Offset 131, 21 lines modifiedOffset 131, 21 lines modified
131 ········26:·iload_1131 ········26:·iload_1
132 ········27:·aload_2132 ········27:·aload_2
133 ········28:·aload·········6133 ········28:·aload·········6
134 ········30:·invokevirtual·#37·················//·Method·com/google/zxing/oned/UPCEANExtension5Support.decodeRow:(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result;134 ········30:·invokevirtual·#37·················//·Method·com/google/zxing/oned/UPCEANExtension5Support.decodeRow:(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result;
135 ········33:·astore········4135 ········33:·astore········4
136 ········35:·aload·········4136 ········35:·aload·········4
137 ········37:·areturn137 ········37:·areturn
138 ········38:·pop138 ········38:·astore········4
139 ········39:·aload_0139 ········40:·aload_0
140 ········40:·getfield······#22·················//·Field·twoSupport:Lcom/google/zxing/oned/UPCEANExtension2Support;140 ········41:·getfield······#22·················//·Field·twoSupport:Lcom/google/zxing/oned/UPCEANExtension2Support;
141 ········43:·iload_1141 ········44:·iload_1
142 ········44:·aload_2142 ········45:·aload_2
143 ········45:·aload·········6143 ········46:·aload·········6
144 ········47:·invokevirtual·#38·················//·Method·com/google/zxing/oned/UPCEANExtension2Support.decodeRow:(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result;144 ········48:·invokevirtual·#38·················//·Method·com/google/zxing/oned/UPCEANExtension2Support.decodeRow:(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result;
145 ········50:·astore········4145 ········51:·astore········4
146 ········52:·goto··········35146 ········53:·goto··········35
147 ······Exception·table:147 ······Exception·table:
148 ·········from····to··target·type148 ·········from····to··target·type
149 ············18····22····38···Class·com/google/zxing/ReaderException149 ············18····22····38···Class·com/google/zxing/ReaderException
150 ············28····33····38···Class·com/google/zxing/ReaderException150 ············28····33····38···Class·com/google/zxing/ReaderException
151 }151 }
1.98 KB
com/google/zxing/oned/rss/RSSUtils.class
1.9 KB
procyon -ec {}
    
Offset 31, 34 lines modifiedOffset 31, 33 lines modified
31 ············++i;31 ············++i;
32 ········}32 ········}
33 ········return·n5;33 ········return·n5;
34 ····}34 ····}
35 ····35 ····
36 ····public·static·int·getRSSvalue(final·int[]·array,·final·int·n,·final·boolean·b)·{36 ····public·static·int·getRSSvalue(final·int[]·array,·final·int·n,·final·boolean·b)·{
37 ········final·int·n2·=·1;37 ········final·int·n2·=·1;
38 ········final·int·length·=·array.length; 
39 ········int·n3·=·0;38 ········int·n3·=·0;
40 ········for·(int·length2·=·array.length,·i·=·0;·i·<·length2;·++i)·{39 ········for·(int·length·=·array.length,·i·=·0;·i·<·length;·++i)·{
41 ············n3·+=·array[i];40 ············n3·+=·array[i];
42 ········}41 ········}
43 ········int·n4·=·0;42 ········int·n4·=·0;
44 ········int·n5·=·0;43 ········int·n5·=·0;
45 ········for·(int·j·=·0;·j·<·length·-·1;·++j)·{44 ········for·(int·length2·=·array.length,·j·=·0;·j·<·length2·-·1;·++j)·{
46 ············int·k;45 ············int·k;
47 ············for·(k·=·1,·n5·|=·n2·<<·j;·k·<·array[j];·++k,·n5·&=·~(n2·<<·j))·{46 ············for·(k·=·1,·n5·|=·n2·<<·j;·k·<·array[j];·++k,·n5·&=·~(n2·<<·j))·{
48 ················int·combins·=·combins(n3·-·k·-·1,·length·-·j·-·2);47 ················int·combins·=·combins(n3·-·k·-·1,·length2·-·j·-·2);
49 ················if·(b·&&·n5·==·0·&&·n3·-·k·-·(length·-·j·-·1)·>=·length·-·j·-·1)·{48 ················if·(b·&&·n5·==·0·&&·n3·-·k·-·(length2·-·j·-·1)·>=·length2·-·j·-·1)·{
50 ····················combins·-=·combins(n3·-·k·-·(length·-·j),·length·-·j·-·2);49 ····················combins·-=·combins(n3·-·k·-·(length2·-·j),·length2·-·j·-·2);
51 ················}50 ················}
52 ················if·(length·-·j·-·1·>·n2)·{51 ················if·(length2·-·j·-·1·>·n2)·{
53 ····················int·n6·=·0;52 ····················int·n6·=·0;
54 ····················for·(int·l·=·n3·-·k·-·(length·-·j·-·2);·l·>·n;·--l)·{53 ····················for·(int·l·=·n3·-·k·-·(length2·-·j·-·2);·l·>·n;·--l)·{
55 ························n6·+=·combins(n3·-·k·-·l·-·1,·length·-·j·-·3);54 ························n6·+=·combins(n3·-·k·-·l·-·1,·length2·-·j·-·3);
56 ····················}55 ····················}
57 ····················combins·-=·(length·-·1·-·j)·*·n6;56 ····················combins·-=·(length2·-·1·-·j)·*·n6;
58 ················}57 ················}
59 ················else·if·(n3·-·k·>·n)·{58 ················else·if·(n3·-·k·>·n)·{
60 ····················--combins;59 ····················--combins;
61 ················}60 ················}
62 ················n4·+=·combins;61 ················n4·+=·combins;
63 ············}62 ············}
64 ············n3·-=·k;63 ············n3·-=·k;
710 B
com/google/zxing/oned/rss/expanded/BitArrayBuilder.class
598 B
procyon -ec {}
    
Offset 7, 15 lines modifiedOffset 7, 15 lines modified
7 final·class·BitArrayBuilder7 final·class·BitArrayBuilder
8 {8 {
9 ····private·BitArrayBuilder()·{9 ····private·BitArrayBuilder()·{
10 ····}10 ····}
11 ····11 ····
12 ····static·BitArray·buildBitArray(final·List·list)·{12 ····static·BitArray·buildBitArray(final·List·list)·{
13 ········final·int·n·=·1;13 ········final·int·n·=·1;
14 ········int·n2·=·list.size()·*·2·-·1;14 ········int·n2·=·(list.size()·<<·1)·-·1;
15 ········if·(((ExpandedPair)list.get(list.size()·-·1)).getRightChar()·==·null)·{15 ········if·(((ExpandedPair)list.get(list.size()·-·1)).getRightChar()·==·null)·{
16 ············--n2;16 ············--n2;
17 ········}17 ········}
18 ········final·BitArray·bitArray·=·new·BitArray(n2·*·12);18 ········final·BitArray·bitArray·=·new·BitArray(n2·*·12);
19 ········int·n3·=·0;19 ········int·n3·=·0;
20 ········final·int·value·=·((ExpandedPair)list.get(0)).getRightChar().getValue();20 ········final·int·value·=·((ExpandedPair)list.get(0)).getRightChar().getValue();
21 ········for·(int·i·=·11;·i·>=·0;·--i)·{21 ········for·(int·i·=·11;·i·>=·0;·--i)·{
784 B
com/google/zxing/oned/rss/expanded/ExpandedPair.class
678 B
procyon -ec {}
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ····76 ····
77 ····public·boolean·mustBeLast()·{77 ····public·boolean·mustBeLast()·{
78 ········return·this.rightChar·==·null;78 ········return·this.rightChar·==·null;
79 ····}79 ····}
80 ····80 ····
81 ····@Override81 ····@Override
82 ····public·String·toString()·{82 ····public·String·toString()·{
83 ········final·StringBuilder·append·=·new·StringBuilder().append("[·").append(this.leftChar).append("·,·").append(this.rightChar).append("·:·");83 ········final·StringBuilder·append·=·new·StringBuilder("[·").append(this.leftChar).append("·,·").append(this.rightChar).append("·:·");
84 ········Serializable·value;84 ········Serializable·value;
85 ········if·(this.finderPattern·==·null)·{85 ········if·(this.finderPattern·==·null)·{
86 ············value·=·"null";86 ············value·=·"null";
87 ········}87 ········}
88 ········else·{88 ········else·{
89 ············value·=·Integer.valueOf(this.finderPattern.getValue());89 ············value·=·Integer.valueOf(this.finderPattern.getValue());
90 ········}90 ········}
5.7 KB
com/google/zxing/oned/rss/expanded/ExpandedRow.class
5.59 KB
javap -verbose -constants -s -l -private {}
    
Offset 51, 37 lines modifiedOffset 51, 39 lines modified
51 ··#43·=·Utf8···············valueOf51 ··#43·=·Utf8···············valueOf
52 ··#44·=·Utf8···············(Z)Ljava/lang/Boolean;52 ··#44·=·Utf8···············(Z)Ljava/lang/Boolean;
53 ··#45·=·NameAndType········#43:#44········//·valueOf:(Z)Ljava/lang/Boolean;53 ··#45·=·NameAndType········#43:#44········//·valueOf:(Z)Ljava/lang/Boolean;
54 ··#46·=·Methodref··········#42.#45········//·java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean;54 ··#46·=·Methodref··········#42.#45········//·java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean;
55 ··#47·=·Methodref··········#42.#39········//·java/lang/Boolean.hashCode:()I55 ··#47·=·Methodref··········#42.#39········//·java/lang/Boolean.hashCode:()I
56 ··#48·=·Utf8···············java/lang/StringBuilder56 ··#48·=·Utf8···············java/lang/StringBuilder
57 ··#49·=·Class··············#48············//·java/lang/StringBuilder57 ··#49·=·Class··············#48············//·java/lang/StringBuilder
58 ··#50·=·Methodref··········#49.#13········//·java/lang/StringBuilder."<init>":()V 
59 ··#51·=·Utf8···············{58 ··#50·=·Utf8···············{
60 ··#52·=·String·············#51············//·{59 ··#51·=·String·············#50············//·{
 60 ··#52·=·Utf8···············(Ljava/lang/String;)V
 61 ··#53·=·NameAndType········#11:#52········//·"<init>":(Ljava/lang/String;)V
 62 ··#54·=·Methodref··········#49.#53········//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
61 ··#53·=·Utf8···············append63 ··#55·=·Utf8···············append
62 ··#54·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder; 
63 ··#55·=·NameAndType········#53:#54········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder; 
64 ··#56·=·Methodref··········#49.#55········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; 
65 ··#57·=·Utf8···············(Ljava/lang/Object;)Ljava/lang/StringBuilder;64 ··#56·=·Utf8···············(Ljava/lang/Object;)Ljava/lang/StringBuilder;
66 ··#58·=·NameAndType········#53:#57········//·append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;65 ··#57·=·NameAndType········#55:#56········//·append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
67 ··#59·=·Methodref··········#49.#58········//·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;66 ··#58·=·Methodref··········#49.#57········//·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
68 ··#60·=·Utf8················}67 ··#59·=·Utf8················}
69 ··#61·=·String·············#60············//··}68 ··#60·=·String·············#59············//··}
 69 ··#61·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder;
 70 ··#62·=·NameAndType········#55:#61········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
 71 ··#63·=·Methodref··········#49.#62········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
70 ··#62·=·Utf8···············toString72 ··#64·=·Utf8···············toString
71 ··#63·=·Utf8···············()Ljava/lang/String;73 ··#65·=·Utf8···············()Ljava/lang/String;
72 ··#64·=·NameAndType········#62:#63········//·toString:()Ljava/lang/String;74 ··#66·=·NameAndType········#64:#65········//·toString:()Ljava/lang/String;
73 ··#65·=·Methodref··········#49.#64········//·java/lang/StringBuilder.toString:()Ljava/lang/String;75 ··#67·=·Methodref··········#49.#66········//·java/lang/StringBuilder.toString:()Ljava/lang/String;
74 ··#66·=·Utf8···············Code76 ··#68·=·Utf8···············Code
75 ··#67·=·Utf8···············(Ljava/util/List;IZ)V77 ··#69·=·Utf8···············(Ljava/util/List;IZ)V
76 ··#68·=·Utf8···············getRowNumber78 ··#70·=·Utf8···············getRowNumber
77 ··#69·=·Utf8···············isEquivalent79 ··#71·=·Utf8···············isEquivalent
78 ··#70·=·Utf8···············(Ljava/util/List;)Z80 ··#72·=·Utf8···············(Ljava/util/List;)Z
79 ··#71·=·Utf8···············isReversed81 ··#73·=·Utf8···············isReversed
80 ··#72·=·Utf8···············()Z82 ··#74·=·Utf8···············()Z
81 {83 {
82 ··private·final·java.util.List·pairs;84 ··private·final·java.util.List·pairs;
83 ····descriptor:·Ljava/util/List;85 ····descriptor:·Ljava/util/List;
84 ····flags:·(0x0012)·ACC_PRIVATE,·ACC_FINAL86 ····flags:·(0x0012)·ACC_PRIVATE,·ACC_FINAL
  
85 ··private·final·int·rowNumber;87 ··private·final·int·rowNumber;
86 ····descriptor:·I88 ····descriptor:·I
Offset 219, 23 lines modifiedOffset 221, 20 lines modified
219 ····descriptor:·()Ljava/lang/String;221 ····descriptor:·()Ljava/lang/String;
220 ····flags:·(0x0001)·ACC_PUBLIC222 ····flags:·(0x0001)·ACC_PUBLIC
221 ····Code:223 ····Code:
222 ······stack=300,·locals=3,·args_size=1224 ······stack=300,·locals=3,·args_size=1
223 ·········0:·new···········#49·················//·class·java/lang/StringBuilder225 ·········0:·new···········#49·················//·class·java/lang/StringBuilder
224 ·········3:·astore_1226 ·········3:·astore_1
225 ·········4:·aload_1227 ·········4:·aload_1
226 ·········5:·invokespecial·#50·················//·Method·java/lang/StringBuilder."<init>":()V 
227 ·········8:·aload_1 
228 ·········9:·ldc···········#52·················//·String·{228 ·········5:·ldc···········#51·················//·String·{
229 ········11:·invokevirtual·#56·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;229 ·········7:·invokespecial·#54·················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
230 ········14:·astore_1 
231 ········15:·aload_0230 ········10:·aload_0
232 ········16:·getfield······#21·················//·Field·pairs:Ljava/util/List;231 ········11:·getfield······#21·················//·Field·pairs:Ljava/util/List;
233 ········19:·astore_2232 ········14:·astore_2
234 ········20:·aload_1233 ········15:·aload_1
235 ········21:·aload_2234 ········16:·aload_2
236 ········22:·invokevirtual·#59·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;235 ········17:·invokevirtual·#58·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
237 ········25:·ldc···········#61·················//·String··}236 ········20:·ldc···········#60·················//·String··}
238 ········27:·invokevirtual·#56·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;237 ········22:·invokevirtual·#63·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
239 ········30:·invokevirtual·#65·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;238 ········25:·invokevirtual·#67·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;
240 ········33:·areturn239 ········28:·areturn
241 }240 }
36.2 KB
com/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder.class
36.0 KB
javap -verbose -constants -s -l -private {}
Max HTML report size reached
1.34 KB
com/google/zxing/oned/rss/expanded/decoders/FieldParser.class
1.22 KB
procyon -ec {}
    
Offset 661, 15 lines modifiedOffset 661, 15 lines modified
661 ········}661 ········}
662 ········final·String·substring·=·s.substring(0,·n);662 ········final·String·substring·=·s.substring(0,·n);
663 ········if·(s.length()·<·n·+·n2)·{663 ········if·(s.length()·<·n·+·n2)·{
664 ············throw·NotFoundException.getNotFoundInstance();664 ············throw·NotFoundException.getNotFoundInstance();
665 ········}665 ········}
666 ········final·String·substring2·=·s.substring(n,·n·+·n2);666 ········final·String·substring2·=·s.substring(n,·n·+·n2);
667 ········final·String·substring3·=·s.substring(n·+·n2);667 ········final·String·substring3·=·s.substring(n·+·n2);
668 ········String·str·=·'('·+·substring·+·')'·+·substring2;668 ········String·str·=·"("·+·substring·+·')'·+·substring2;
669 ········final·String·fieldsInGeneralPurpose·=·parseFieldsInGeneralPurpose(substring3);669 ········final·String·fieldsInGeneralPurpose·=·parseFieldsInGeneralPurpose(substring3);
670 ········if·(fieldsInGeneralPurpose·!=·null)·{670 ········if·(fieldsInGeneralPurpose·!=·null)·{
671 ············str·+=·fieldsInGeneralPurpose;671 ············str·+=·fieldsInGeneralPurpose;
672 ········}672 ········}
673 ········return·str;673 ········return·str;
674 ····}674 ····}
675 ····675 ····
Offset 680, 15 lines modifiedOffset 680, 15 lines modified
680 ············length·=·s.length();680 ············length·=·s.length();
681 ········}681 ········}
682 ········else·{682 ········else·{
683 ············length·=·n·+·n2;683 ············length·=·n·+·n2;
684 ········}684 ········}
685 ········final·String·substring2·=·s.substring(n,·length);685 ········final·String·substring2·=·s.substring(n,·length);
686 ········final·String·substring3·=·s.substring(length);686 ········final·String·substring3·=·s.substring(length);
687 ········String·str·=·'('·+·substring·+·')'·+·substring2;687 ········String·str·=·"("·+·substring·+·')'·+·substring2;
688 ········final·String·fieldsInGeneralPurpose·=·parseFieldsInGeneralPurpose(substring3);688 ········final·String·fieldsInGeneralPurpose·=·parseFieldsInGeneralPurpose(substring3);
689 ········if·(fieldsInGeneralPurpose·!=·null)·{689 ········if·(fieldsInGeneralPurpose·!=·null)·{
690 ············str·+=·fieldsInGeneralPurpose;690 ············str·+=·fieldsInGeneralPurpose;
691 ········}691 ········}
692 ········return·str;692 ········return·str;
693 ····}693 ····}
694 }694 }
2.49 KB
com/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder.class
2.35 KB
procyon -ec {}
    
Offset 254, 52 lines modifiedOffset 254, 50 lines modified
254 ········}254 ········}
255 ········return·b;255 ········return·b;
256 ····}256 ····}
257 ····257 ····
258 ····private·boolean·isStillAlpha(final·int·n)·{258 ····private·boolean·isStillAlpha(final·int·n)·{
259 ········final·int·n2·=·16;259 ········final·int·n2·=·16;
260 ········final·int·n3·=·5;260 ········final·int·n3·=·5;
261 ········boolean·b·=·true;261 ········final·boolean·b·=·true;
262 ········boolean·b2·=·false;262 ········boolean·b2·=·false;
263 ········if·(n·+·5·<=·this.information.getSize())·{263 ········if·(n·+·5·<=·this.information.getSize())·{
264 ············final·int·numericValueFromBitArray·=·this.extractNumericValueFromBitArray(n,·n3);264 ············final·int·numericValueFromBitArray·=·this.extractNumericValueFromBitArray(n,·n3);
265 ············if·(numericValueFromBitArray·>=·n3·&&·numericValueFromBitArray·<·n2)·{265 ············if·(numericValueFromBitArray·>=·n3·&&·numericValueFromBitArray·<·n2)·{
266 ················b2·=·b;266 ················b2·=·b;
267 ············}267 ············}
268 ············else·if·(n·+·6·<=·this.information.getSize())·{268 ············else·if·(n·+·6·<=·this.information.getSize())·{
269 ················final·int·numericValueFromBitArray2·=·this.extractNumericValueFromBitArray(n,·6);269 ················final·int·numericValueFromBitArray2·=·this.extractNumericValueFromBitArray(n,·6);
270 ················if·(numericValueFromBitArray2·<·n2·||·numericValueFromBitArray2·>=·63)·{270 ················if·(numericValueFromBitArray2·>=·n2·&&·numericValueFromBitArray2·<·63)·{
271 ····················b·=·false;271 ····················b2·=·b;
272 ················}272 ················}
273 ················b2·=·b; 
274 ············}273 ············}
275 ········}274 ········}
276 ········return·b2;275 ········return·b2;
277 ····}276 ····}
278 ····277 ····
279 ····private·boolean·isStillIsoIec646(final·int·n)·{278 ····private·boolean·isStillIsoIec646(final·int·n)·{
280 ········final·int·n2·=·5;279 ········final·int·n2·=·5;
281 ········boolean·b·=·true;280 ········final·boolean·b·=·true;
282 ········boolean·b2·=·false;281 ········boolean·b2·=·false;
283 ········if·(n·+·5·<=·this.information.getSize())·{282 ········if·(n·+·5·<=·this.information.getSize())·{
284 ············final·int·numericValueFromBitArray·=·this.extractNumericValueFromBitArray(n,·n2);283 ············final·int·numericValueFromBitArray·=·this.extractNumericValueFromBitArray(n,·n2);
285 ············if·(numericValueFromBitArray·>=·n2·&&·numericValueFromBitArray·<·16)·{284 ············if·(numericValueFromBitArray·>=·n2·&&·numericValueFromBitArray·<·16)·{
286 ················b2·=·b;285 ················b2·=·b;
287 ············}286 ············}
288 ············else·if·(n·+·7·<=·this.information.getSize())·{287 ············else·if·(n·+·7·<=·this.information.getSize())·{
289 ················final·int·numericValueFromBitArray2·=·this.extractNumericValueFromBitArray(n,·7);288 ················final·int·numericValueFromBitArray2·=·this.extractNumericValueFromBitArray(n,·7);
290 ················if·(numericValueFromBitArray2·>=·64·&&·numericValueFromBitArray2·<·116)·{289 ················if·(numericValueFromBitArray2·>=·64·&&·numericValueFromBitArray2·<·116)·{
291 ····················b2·=·b;290 ····················b2·=·b;
292 ················}291 ················}
293 ················else·if·(n·+·8·<=·this.information.getSize())·{292 ················else·if·(n·+·8·<=·this.information.getSize())·{
294 ····················final·int·numericValueFromBitArray3·=·this.extractNumericValueFromBitArray(n,·8);293 ····················final·int·numericValueFromBitArray3·=·this.extractNumericValueFromBitArray(n,·8);
295 ····················if·(numericValueFromBitArray3·<·232·||·numericValueFromBitArray3·>=·253)·{294 ····················if·(numericValueFromBitArray3·>=·232·&&·numericValueFromBitArray3·<·253)·{
296 ························b·=·false;295 ························b2·=·b;
297 ····················}296 ····················}
298 ····················b2·=·b; 
299 ················}297 ················}
300 ············}298 ············}
301 ········}299 ········}
302 ········return·b2;300 ········return·b2;
303 ····}301 ····}
304 ····302 ····
305 ····private·boolean·isStillNumeric(final·int·n)·{303 ····private·boolean·isStillNumeric(final·int·n)·{
1.12 KB
com/google/zxing/pdf417/PDF417Common.class
1.03 KB
procyon -ec {}
    
Offset 1, 13 lines modifiedOffset 1, 14 lines modified
  
1 package·com.google.zxing.pdf417;1 package·com.google.zxing.pdf417;
  
2 import·java.util.Iterator;2 import·java.util.Iterator;
3 import·java.util.Collection;3 import·java.util.Collection;
4 import·java.util.Arrays;4 import·java.util.Arrays;
 5 import·com.google.zxing.common.detector.MathUtils;
  
5 public·final·class·PDF417Common6 public·final·class·PDF417Common
6 {7 {
7 ····public·static·final·int·BARS_IN_MODULE·=·8;8 ····public·static·final·int·BARS_IN_MODULE·=·8;
8 ····private·static·final·int[]·CODEWORD_TABLE;9 ····private·static·final·int[]·CODEWORD_TABLE;
9 ····private·static·final·int[]·EMPTY_INT_ARRAY;10 ····private·static·final·int[]·EMPTY_INT_ARRAY;
10 ····public·static·final·int·MAX_CODEWORDS_IN_BARCODE·=·928;11 ····public·static·final·int·MAX_CODEWORDS_IN_BARCODE·=·928;
Offset 5602, 19 lines modifiedOffset 5603, 15 lines modified
5602 ········CODEWORD_TABLE·=·codeword_TABLE;5603 ········CODEWORD_TABLE·=·codeword_TABLE;
5603 ····}5604 ····}
5604 ····5605 ····
5605 ····private·PDF417Common()·{5606 ····private·PDF417Common()·{
5606 ····}5607 ····}
5607 ····5608 ····
5608 ····public·static·int·getBitCountSum(final·int[]·array)·{5609 ····public·static·int·getBitCountSum(final·int[]·array)·{
 5610 ········return·MathUtils.sum(array);
5609 ········int·n·=·0; 
5610 ········for·(int·length·=·array.length,·i·=·0;·i·<·length;·++i)·{ 
5611 ············n·+=·array[i]; 
5612 ········} 
5613 ········return·n; 
5614 ····}5611 ····}
5615 ····5612 ····
5616 ····public·static·int·getCodeword(final·int·n)·{5613 ····public·static·int·getCodeword(final·int·n)·{
5617 ········final·int·binarySearch·=·Arrays.binarySearch(PDF417Common.SYMBOL_TABLE,·0x3FFFF·&·n);5614 ········final·int·binarySearch·=·Arrays.binarySearch(PDF417Common.SYMBOL_TABLE,·0x3FFFF·&·n);
5618 ········int·n2;5615 ········int·n2;
5619 ········if·(binarySearch·<·0)·{5616 ········if·(binarySearch·<·0)·{
5620 ············n2·=·-1;5617 ············n2·=·-1;
6.64 KB
com/google/zxing/pdf417/decoder/DecodedBitStreamParser.class
6.52 KB
procyon -ec {}
    
Offset 35, 74 lines modifiedOffset 35, 16 lines modified
35 ····private·static·final·int·PAL·=·29;35 ····private·static·final·int·PAL·=·29;
36 ····private·static·final·int·PL·=·25;36 ····private·static·final·int·PL·=·25;
37 ····private·static·final·int·PS·=·29;37 ····private·static·final·int·PS·=·29;
38 ····private·static·final·char[]·PUNCT_CHARS;38 ····private·static·final·char[]·PUNCT_CHARS;
39 ····private·static·final·int·TEXT_COMPACTION_MODE_LATCH·=·900;39 ····private·static·final·int·TEXT_COMPACTION_MODE_LATCH·=·900;
40 ····40 ····
41 ····static·{41 ····static·{
 42 ········PUNCT_CHARS·=·";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'".toCharArray();
 43 ········MIXED_CHARS·=·"0123456789&\r\t,:#-.$/+%*=^".toCharArray();
42 ········final·char[]·array; 
43 ········final·char[]·punct_CHARS·=·array·=·new·char[29]; 
44 ········array[0]·=·';'; 
45 ········array[1]·=·'<'; 
46 ········array[2]·=·'>'; 
47 ········array[3]·=·'@'; 
48 ········array[4]·=·'['; 
49 ········array[5]·=·'\\'; 
50 ········array[6]·=·']'; 
51 ········array[7]·=·'_'; 
52 ········array[8]·=·'`'; 
53 ········array[9]·=·'~'; 
54 ········array[10]·=·'!'; 
55 ········array[11]·=·'\r'; 
56 ········array[12]·=·'\t'; 
57 ········array[13]·=·','; 
58 ········array[14]·=·':'; 
59 ········array[15]·=·'\n'; 
60 ········array[16]·=·'-'; 
61 ········array[17]·=·'.'; 
62 ········array[18]·=·'$'; 
63 ········array[19]·=·'/'; 
64 ········array[20]·=·'\"'; 
65 ········array[21]·=·'|'; 
66 ········array[22]·=·'*'; 
67 ········array[23]·=·'('; 
68 ········array[24]·=·')'; 
69 ········array[25]·=·'?'; 
70 ········array[26]·=·'{'; 
71 ········array[27]·=·'}'; 
72 ········array[28]·=·'\''; 
73 ········PUNCT_CHARS·=·punct_CHARS; 
74 ········final·char[]·array2; 
75 ········final·char[]·mixed_CHARS·=·array2·=·new·char[25]; 
76 ········array2[0]·=·'0'; 
77 ········array2[1]·=·'1'; 
78 ········array2[2]·=·'2'; 
79 ········array2[3]·=·'3'; 
80 ········array2[4]·=·'4'; 
81 ········array2[5]·=·'5'; 
82 ········array2[6]·=·'6'; 
83 ········array2[7]·=·'7'; 
84 ········array2[8]·=·'8'; 
85 ········array2[9]·=·'9'; 
86 ········array2[10]·=·'&'; 
87 ········array2[11]·=·'\r'; 
88 ········array2[12]·=·'\t'; 
89 ········array2[13]·=·','; 
90 ········array2[14]·=·':'; 
91 ········array2[15]·=·'#'; 
92 ········array2[16]·=·'-'; 
93 ········array2[17]·=·'.'; 
94 ········array2[18]·=·'$'; 
95 ········array2[19]·=·'/'; 
96 ········array2[20]·=·'+'; 
97 ········array2[21]·=·'%'; 
98 ········array2[22]·=·'*'; 
99 ········array2[23]·=·'='; 
100 ········array2[24]·=·'^'; 
101 ········MIXED_CHARS·=·mixed_CHARS; 
102 ········DEFAULT_ENCODING·=·Charset.forName("ISO-8859-1");44 ········DEFAULT_ENCODING·=·Charset.forName("ISO-8859-1");
103 ········(EXP900·=·new·BigInteger[16])[0]·=·BigInteger.ONE;45 ········(EXP900·=·new·BigInteger[16])[0]·=·BigInteger.ONE;
104 ········final·BigInteger·value·=·BigInteger.valueOf(900L);46 ········final·BigInteger·value·=·BigInteger.valueOf(900L);
105 ········DecodedBitStreamParser.EXP900[1]·=·value;47 ········DecodedBitStreamParser.EXP900[1]·=·value;
106 ········for·(int·i·=·2;·i·<·DecodedBitStreamParser.EXP900.length;·++i)·{48 ········for·(int·i·=·2;·i·<·DecodedBitStreamParser.EXP900.length;·++i)·{
107 ············DecodedBitStreamParser.EXP900[i]·=·DecodedBitStreamParser.EXP900[i·-·1].multiply(value);49 ············DecodedBitStreamParser.EXP900[i]·=·DecodedBitStreamParser.EXP900[i·-·1].multiply(value);
108 ········}50 ········}
Offset 183, 75 lines modifiedOffset 125, 75 lines modified
183 ············}125 ············}
184 ········}126 ········}
185 ········sb.append(new·String(byteArrayOutputStream.toByteArray(),·charset));127 ········sb.append(new·String(byteArrayOutputStream.toByteArray(),·charset));
186 ········return·n2;128 ········return·n2;
187 ····}129 ····}
188 ····130 ····
189 ····static·DecoderResult·decode(final·int[]·array,·final·String·s)·{131 ····static·DecoderResult·decode(final·int[]·array,·final·String·s)·{
190 ········final·StringBuilder·sb·=·new·StringBuilder(array.length·*·2);132 ········final·StringBuilder·sb·=·new·StringBuilder(array.length·<<·1);
191 ········Charset·charset·=·DecodedBitStreamParser.DEFAULT_ENCODING;133 ········Charset·charset·=·DecodedBitStreamParser.DEFAULT_ENCODING;
192 ········final·int·n·=·1;134 ········final·int·n·=·1;
193 ········final·int·n2·=·n·+·1;135 ········int·i·=·1·+·1;
194 ········int·n3·=·array[n];136 ········int·n2·=·array[n];
195 ········final·PDF417ResultMetadata·other·=·new·PDF417ResultMetadata();137 ········final·PDF417ResultMetadata·other·=·new·PDF417ResultMetadata();
 138 ········while·(i·<·array[0])·{
196 ········int·n7; 
197 ········for·(int·i·=·n2;·i·<·array[0];·i·=·n7)·{ 
198 ············int·n4·=·0;139 ············int·n3·=·0;
199 ············switch·(n3)·{140 ············switch·(n2)·{
200 ················default:·{141 ················default:·{
201 ····················n4·=·textCompaction(array,·i·-·1,·sb);142 ····················n3·=·textCompaction(array,·i·-·1,·sb);
202 ····················break;143 ····················break;
203 ················}144 ················}
204 ················case·900:·{145 ················case·900:·{
205 ····················n4·=·textCompaction(array,·i,·sb);146 ····················n3·=·textCompaction(array,·i,·sb);
206 ····················break;147 ····················break;
207 ················}148 ················}
208 ················case·901:149 ················case·901:
209 ················case·924:·{150 ················case·924:·{
210 ····················n4·=·byteCompaction(n3,·array,·charset,·i,·sb);151 ····················n3·=·byteCompaction(n2,·array,·charset,·i,·sb);
211 ····················break;152 ····················break;
212 ················}153 ················}
213 ················case·913:·{154 ················case·913:·{
214 ····················final·int·n5·=·i·+·1;155 ····················final·int·n4·=·i·+·1;
215 ····················sb.append((char)array[i]);156 ····················sb.append((char)array[i]);
216 ····················n4·=·n5;157 ····················n3·=·n4;
217 ····················break;158 ····················break;
218 ················}159 ················}
219 ················case·902:·{160 ················case·902:·{
220 ····················n4·=·numericCompaction(array,·i,·sb);161 ····················n3·=·numericCompaction(array,·i,·sb);
221 ····················break;162 ····················break;
222 ················}163 ················}
223 ················case·927:·{164 ················case·927:·{
224 ····················final·int·n6·=·i·+·1;165 ····················final·int·n5·=·i·+·1;
225 ····················charset·=·Charset.forName(CharacterSetECI.getCharacterSetECIByValue(array[i]).name());166 ····················charset·=·Charset.forName(CharacterSetECI.getCharacterSetECIByValue(array[i]).name());
226 ····················n4·=·n6;167 ····················n3·=·n5;
227 ····················break;168 ····················break;
228 ················}169 ················}
229 ················case·926:·{170 ················case·926:·{
230 ····················n4·=·i·+·2;171 ····················n3·=·i·+·2;
231 ····················break;172 ····················break;
Max diff block lines reached; 1745/6650 bytes (26.24%) of diff not shown.
2.52 KB
com/google/zxing/pdf417/decoder/DetectionResult.class
2.42 KB
procyon -ec {}
    
Offset 68, 53 lines modifiedOffset 68, 54 lines modified
68 ················}68 ················}
69 ············}69 ············}
70 ········}70 ········}
71 ········return·adjustRowNumbersByRow;71 ········return·adjustRowNumbersByRow;
72 ····}72 ····}
73 ····73 ····
74 ····private·void·adjustRowNumbers(final·int·n,·final·int·n2,·final·Codeword[]·array)·{74 ····private·void·adjustRowNumbers(final·int·n,·final·int·n2,·final·Codeword[]·array)·{
75 ········final·int·n3·=·1;75 ········final·int·n3·=·14;
 76 ········final·int·n4·=·1;
76 ········int·n4·=·0;77 ········int·n5·=·0;
77 ········final·Codeword·codeword·=·array[n2];78 ········final·Codeword·codeword·=·array[n2];
78 ········Codeword[]·array3;79 ········Codeword[]·array3;
79 ········final·Codeword[]·array2·=·array3·=·this.detectionResultColumns[n·-·1].getCodewords();80 ········final·Codeword[]·array2·=·array3·=·this.detectionResultColumns[n·-·1].getCodewords();
80 ········if·(this.detectionResultColumns[n·+·1]·!=·null)·{81 ········if·(this.detectionResultColumns[n·+·1]·!=·null)·{
81 ············array3·=·this.detectionResultColumns[n·+·1].getCodewords();82 ············array3·=·this.detectionResultColumns[n·+·1].getCodewords();
82 ········}83 ········}
83 ········final·Codeword[]·array4·=·new·Codeword[14];84 ········final·Codeword[]·array4·=·new·Codeword[n3];
84 ········array4[2]·=·array2[n2];85 ········array4[2]·=·array2[n2];
85 ········array4[3]·=·array3[n2];86 ········array4[3]·=·array3[n2];
86 ········if·(n2·>·0)·{87 ········if·(n2·>·0)·{
87 ············array4[0]·=·array[n2·-·1];88 ············array4[0]·=·array[n2·-·1];
88 ············array4[4]·=·array2[n2·-·1];89 ············array4[4]·=·array2[n2·-·1];
89 ············array4[5]·=·array3[n2·-·1];90 ············array4[5]·=·array3[n2·-·1];
90 ········}91 ········}
91 ········if·(n2·>·n3)·{92 ········if·(n2·>·n4)·{
92 ············array4[8]·=·array[n2·-·2];93 ············array4[8]·=·array[n2·-·2];
93 ············array4[10]·=·array2[n2·-·2];94 ············array4[10]·=·array2[n2·-·2];
94 ············array4[11]·=·array3[n2·-·2];95 ············array4[11]·=·array3[n2·-·2];
95 ········}96 ········}
96 ········if·(n2·<·array.length·-·1)·{97 ········if·(n2·<·array.length·-·1)·{
97 ············array4[n3]·=·array[n2·+·1];98 ············array4[n4]·=·array[n2·+·1];
98 ············array4[6]·=·array2[n2·+·1];99 ············array4[6]·=·array2[n2·+·1];
99 ············array4[7]·=·array3[n2·+·1];100 ············array4[7]·=·array3[n2·+·1];
100 ········}101 ········}
101 ········if·(n2·<·array.length·-·2)·{102 ········if·(n2·<·array.length·-·2)·{
102 ············array4[9]·=·array[n2·+·2];103 ············array4[9]·=·array[n2·+·2];
103 ············array4[12]·=·array2[n2·+·2];104 ············array4[12]·=·array2[n2·+·2];
104 ············array4[13]·=·array3[n2·+·2];105 ············array4[13]·=·array3[n2·+·2];
105 ········}106 ········}
106 ········while·(n4·<·array4.length·&&·!adjustRowNumber(codeword,·array4[n4]))·{107 ········while·(n5·<·n3·&&·!adjustRowNumber(codeword,·array4[n5]))·{
107 ············++n4;108 ············++n5;
108 ········}109 ········}
109 ····}110 ····}
110 ····111 ····
111 ····private·int·adjustRowNumbersByRow()·{112 ····private·int·adjustRowNumbersByRow()·{
112 ········this.adjustRowNumbersFromBothRI();113 ········this.adjustRowNumbersFromBothRI();
113 ········return·this.adjustRowNumbersFromRRI()·+·this.adjustRowNumbersFromLRI();114 ········return·this.adjustRowNumbersFromLRI()·+·this.adjustRowNumbersFromRRI();
114 ····}115 ····}
115 ····116 ····
116 ····private·void·adjustRowNumbersFromBothRI()·{117 ····private·void·adjustRowNumbersFromBothRI()·{
117 ········if·(this.detectionResultColumns[0]·!=·null·&&·this.detectionResultColumns[this.barcodeColumnCount·+·1]·!=·null)·{118 ········if·(this.detectionResultColumns[0]·!=·null·&&·this.detectionResultColumns[this.barcodeColumnCount·+·1]·!=·null)·{
118 ············final·Codeword[]·codewords·=·this.detectionResultColumns[0].getCodewords();119 ············final·Codeword[]·codewords·=·this.detectionResultColumns[0].getCodewords();
119 ············final·Codeword[]·codewords2·=·this.detectionResultColumns[this.barcodeColumnCount·+·1].getCodewords();120 ············final·Codeword[]·codewords2·=·this.detectionResultColumns[this.barcodeColumnCount·+·1].getCodewords();
120 ············for·(int·i·=·0;·i·<·codewords.length;·++i)·{121 ············for·(int·i·=·0;·i·<·codewords.length;·++i)·{
1.79 KB
com/google/zxing/pdf417/decoder/PDF417CodewordDecoder.class
1.67 KB
procyon -ec {}
    
Offset 1, 10 lines modifiedOffset 1, 11 lines modified
  
1 package·com.google.zxing.pdf417.decoder;1 package·com.google.zxing.pdf417.decoder;
  
 2 import·com.google.zxing.common.detector.MathUtils;
2 import·java.lang.reflect.Array;3 import·java.lang.reflect.Array;
3 import·com.google.zxing.pdf417.PDF417Common;4 import·com.google.zxing.pdf417.PDF417Common;
  
4 final·class·PDF417CodewordDecoder5 final·class·PDF417CodewordDecoder
5 {6 {
6 ····private·static·final·float[][]·RATIOS_TABLE;7 ····private·static·final·float[][]·RATIOS_TABLE;
7 ····8 ····
Offset 46, 18 lines modifiedOffset 47, 18 lines modified
46 ············}47 ············}
47 ········}48 ········}
48 ········return·(int)n2;49 ········return·(int)n2;
49 ····}50 ····}
50 ····51 ····
51 ····private·static·int·getClosestDecodedValue(final·int[]·array)·{52 ····private·static·int·getClosestDecodedValue(final·int[]·array)·{
52 ········final·int·n·=·8;53 ········final·int·n·=·8;
53 ········final·int·bitCountSum·=·PDF417Common.getBitCountSum(array);54 ········final·int·sum·=·MathUtils.sum(array);
54 ········final·float[]·array2·=·new·float[n];55 ········final·float[]·array2·=·new·float[n];
55 ········for·(int·i·=·0;·i·<·array2.length;·++i)·{56 ········for·(int·i·=·0;·i·<·n;·++i)·{
56 ············array2[i]·=·array[i]·/·(float)bitCountSum;57 ············array2[i]·=·array[i]·/·(float)sum;
57 ········}58 ········}
58 ········float·n2·=·Float.MAX_VALUE;59 ········float·n2·=·Float.MAX_VALUE;
59 ········int·n3·=·-1;60 ········int·n3·=·-1;
60 ········for·(int·j·=·0;·j·<·PDF417CodewordDecoder.RATIOS_TABLE.length;·++j)·{61 ········for·(int·j·=·0;·j·<·PDF417CodewordDecoder.RATIOS_TABLE.length;·++j)·{
61 ············float·n4·=·0.0f;62 ············float·n4·=·0.0f;
62 ············final·float[]·array3·=·PDF417CodewordDecoder.RATIOS_TABLE[j];63 ············final·float[]·array3·=·PDF417CodewordDecoder.RATIOS_TABLE[j];
63 ············for·(int·k·=·0;·k·<·n;·++k)·{64 ············for·(int·k·=·0;·k·<·n;·++k)·{
Offset 89, 15 lines modifiedOffset 90, 15 lines modified
89 ········if·(n·==·-1)·{90 ········if·(n·==·-1)·{
90 ············n·=·getClosestDecodedValue(array);91 ············n·=·getClosestDecodedValue(array);
91 ········}92 ········}
92 ········return·n;93 ········return·n;
93 ····}94 ····}
94 ····95 ····
95 ····private·static·int[]·sampleBitCounts(final·int[]·array)·{96 ····private·static·int[]·sampleBitCounts(final·int[]·array)·{
96 ········final·float·n·=·(float)PDF417Common.getBitCountSum(array);97 ········final·float·n·=·(float)MathUtils.sum(array);
97 ········final·int[]·array2·=·new·int[8];98 ········final·int[]·array2·=·new·int[8];
98 ········int·n2·=·0;99 ········int·n2·=·0;
99 ········int·n3·=·0;100 ········int·n3·=·0;
100 ········for·(int·i·=·0;·i·<·17;·++i)·{101 ········for·(int·i·=·0;·i·<·17;·++i)·{
101 ············if·(array[n2]·+·n3·<=·n·/·34.0f·+·i·*·n·/·17.0f)·{102 ············if·(array[n2]·+·n3·<=·n·/·34.0f·+·i·*·n·/·17.0f)·{
102 ················n3·+=·array[n2];103 ················n3·+=·array[n2];
103 ················++n2;104 ················++n2;
15.0 KB
com/google/zxing/pdf417/decoder/PDF417ScanningDecoder.class
14.9 KB
procyon -ec {}
Max HTML report size reached
2.67 KB
com/google/zxing/pdf417/decoder/ec/ModulusPoly.class
2.57 KB
procyon -ec {}
    
Offset 54, 53 lines modifiedOffset 54, 30 lines modified
54 ················}54 ················}
55 ················o·=·new·ModulusPoly(this.field,·array2);55 ················o·=·new·ModulusPoly(this.field,·array2);
56 ············}56 ············}
57 ········}57 ········}
58 ········return·(ModulusPoly)o;58 ········return·(ModulusPoly)o;
59 ····}59 ····}
60 ····60 ····
61 ····ModulusPoly[]·divide(final·ModulusPoly·modulusPoly)·{ 
62 ········if·(!this.field.equals(modulusPoly.field))·{ 
63 ············throw·new·IllegalArgumentException("ModulusPolys·do·not·have·same·ModulusGF·field"); 
64 ········} 
65 ········if·(modulusPoly.isZero())·{ 
66 ············throw·new·IllegalArgumentException("Divide·by·0"); 
67 ········} 
68 ········ModulusPoly·modulusPoly2·=·this.field.getZero(); 
69 ········ModulusPoly·subtract·=·this; 
70 ········final·int·inverse·=·this.field.inverse(modulusPoly.getCoefficient(modulusPoly.getDegree())); 
71 ········while·(subtract.getDegree()·>=·modulusPoly.getDegree()·&&·!subtract.isZero())·{ 
72 ············final·int·n·=·subtract.getDegree()·-·modulusPoly.getDegree(); 
73 ············final·int·multiply·=·this.field.multiply(subtract.getCoefficient(subtract.getDegree()),·inverse); 
74 ············final·ModulusPoly·multiplyByMonomial·=·modulusPoly.multiplyByMonomial(n,·multiply); 
75 ············modulusPoly2·=·modulusPoly2.add(this.field.buildMonomial(n,·multiply)); 
76 ············subtract·=·subtract.subtract(multiplyByMonomial); 
77 ········} 
78 ········return·new·ModulusPoly[]·{·modulusPoly2,·subtract·}; 
79 ····} 
80 ···· 
81 ····int·evaluateAt(final·int·n)·{61 ····int·evaluateAt(final·int·n)·{
82 ········int·i·=·0;62 ········int·i·=·0;
83 ········int·n2;63 ········int·n2;
84 ········if·(n·==·0)·{64 ········if·(n·==·0)·{
85 ············n2·=·this.getCoefficient(0);65 ············n2·=·this.getCoefficient(0);
86 ········}66 ········}
87 ········else·{ 
88 ············final·int·length·=·this.coefficients.length; 
89 ············if·(n·==·1)·{67 ········else·if·(n·==·1)·{
90 ················n2·=·0;68 ············n2·=·0;
91 ················for·(int[]·coefficients·=·this.coefficients;·i·<·coefficients.length;·++i)·{69 ············for·(int[]·coefficients·=·this.coefficients;·i·<·coefficients.length;·++i)·{
92 ····················n2·=·this.field.add(n2,·coefficients[i]);70 ················n2·=·this.field.add(n2,·coefficients[i]);
93 ················} 
94 ············}71 ············}
 72 ········}
95 ············else·{73 ········else·{
96 ················n2·=·this.coefficients[0];74 ············n2·=·this.coefficients[0];
97 ················for·(int·j·=·1;·j·<·length;·++j)·{75 ············for·(int·length·=·this.coefficients.length,·j·=·1;·j·<·length;·++j)·{
98 ····················n2·=·this.field.add(this.field.multiply(n,·n2),·this.coefficients[j]);76 ················n2·=·this.field.add(this.field.multiply(n,·n2),·this.coefficients[j]);
99 ················} 
100 ············}77 ············}
101 ········}78 ········}
102 ········return·n2;79 ········return·n2;
103 ····}80 ····}
104 ····81 ····
105 ····int·getCoefficient(final·int·n)·{82 ····int·getCoefficient(final·int·n)·{
106 ········return·this.coefficients[this.coefficients.length·-·1·-·n];83 ········return·this.coefficients[this.coefficients.length·-·1·-·n];
2.07 KB
com/google/zxing/pdf417/detector/Detector.class
1.98 KB
procyon -ec {}
    
Offset 123, 28 lines modifiedOffset 123, 28 lines modified
123 ············}123 ············}
124 ········}124 ········}
125 ········return·list;125 ········return·list;
126 ····}126 ····}
127 ····127 ····
128 ····private·static·int[]·findGuardPattern(final·BitMatrix·bitMatrix,·final·int·n,·final·int·n2,·final·int·n3,·final·boolean·b,·final·int[]·array,·final·int[]·a)·{128 ····private·static·int[]·findGuardPattern(final·BitMatrix·bitMatrix,·final·int·n,·final·int·n2,·final·int·n3,·final·boolean·b,·final·int[]·array,·final·int[]·a)·{
129 ········Arrays.fill(a,·0,·a.length,·0);129 ········Arrays.fill(a,·0,·a.length,·0);
130 ········final·int·length·=·array.length; 
131 ········boolean·b2·=·b; 
132 ········int·n4·=·n;130 ········int·n4·=·n;
133 ········int·n5·=·0;131 ········int·n5·=·0;
134 ········while·(bitMatrix.get(n4,·n2)·&&·n4·>·0)·{132 ········while·(bitMatrix.get(n4,·n2)·&&·n4·>·0)·{
135 ············final·int·n6·=·n5·+·1;133 ············final·int·n6·=·n5·+·1;
136 ············if·(n5·>=·3)·{134 ············if·(n5·>=·3)·{
137 ················break;135 ················break;
138 ············}136 ············}
139 ············--n4;137 ············--n4;
140 ············n5·=·n6;138 ············n5·=·n6;
141 ········}139 ········}
142 ········int·i·=·n4;140 ········int·i·=·n4;
143 ········int·n7·=·0;141 ········int·n7·=·0;
 142 ········final·int·length·=·array.length;
 143 ········boolean·b2·=·b;
144 ········while·(i·<·n3)·{144 ········while·(i·<·n3)·{
145 ············if·(bitMatrix.get(i,·n2)·^·b2)·{145 ············if·(bitMatrix.get(i,·n2)·^·b2)·{
146 ················++a[n7];146 ················++a[n7];
147 ············}147 ············}
148 ············else·{148 ············else·{
149 ················if·(n7·==·length·-·1)·{149 ················if·(n7·==·length·-·1)·{
150 ····················if·(patternMatchVariance(a,·array,·0.8f)·<·0.42f)·{150 ····················if·(patternMatchVariance(a,·array,·0.8f)·<·0.42f)·{
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ····················a[length·-·1]·=·(a[length·-·2]·=·0);155 ····················a[length·-·1]·=·(a[length·-·2]·=·0);
156 ····················--n7;156 ····················--n7;
157 ················}157 ················}
158 ················else·{158 ················else·{
159 ····················++n7;159 ····················++n7;
160 ················}160 ················}
161 ················a[n7]·=·1;161 ················a[n7]·=·1;
162 ················b2·=·(!b2·&&·true);162 ················b2·=·!b2;
163 ············}163 ············}
164 ············++i;164 ············++i;
165 ········}165 ········}
166 ········if·(n7·==·length·-·1·&&·patternMatchVariance(a,·array,·0.8f)·<·0.42f)·{166 ········if·(n7·==·length·-·1·&&·patternMatchVariance(a,·array,·0.8f)·<·0.42f)·{
167 ············return·new·int[]·{·n4,·i·-·1·};167 ············return·new·int[]·{·n4,·i·-·1·};
168 ········}168 ········}
169 ········return·null;169 ········return·null;
Offset 211, 15 lines modifiedOffset 211, 15 lines modified
211 ················++j;211 ················++j;
212 ············}212 ············}
213 ············j·-=·n4·+·1;213 ············j·-=·n4·+·1;
214 ············array2[2]·=·new·ResultPoint((float)array4[0],·(float)j);214 ············array2[2]·=·new·ResultPoint((float)array4[0],·(float)j);
215 ············array2[3]·=·new·ResultPoint((float)array4[1],·(float)j);215 ············array2[3]·=·new·ResultPoint((float)array4[1],·(float)j);
216 ········}216 ········}
217 ········if·(j·-·i·<·10)·{217 ········if·(j·-·i·<·10)·{
218 ············for·(int·k·=·0;·k·<·array2.length;·++k)·{218 ············for·(int·k·=·0;·k·<·4;·++k)·{
219 ················array2[k]·=·null;219 ················array2[k]·=·null;
220 ············}220 ············}
221 ········}221 ········}
222 ········return·array2;222 ········return·array2;
223 ····}223 ····}
224 ····224 ····
225 ····private·static·ResultPoint[]·findVertices(final·BitMatrix·bitMatrix,·int·n,·int·n2)·{225 ····private·static·ResultPoint[]·findVertices(final·BitMatrix·bitMatrix,·int·n,·int·n2)·{
1.1 KB
com/google/zxing/pdf417/encoder/BarcodeRow.class
1.01 KB
procyon -ec {}
    
Offset 7, 14 lines modifiedOffset 7, 26 lines modified
7 ····private·final·byte[]·row;7 ····private·final·byte[]·row;
8 ····8 ····
9 ····BarcodeRow(final·int·n)·{9 ····BarcodeRow(final·int·n)·{
10 ········this.row·=·new·byte[n];10 ········this.row·=·new·byte[n];
11 ········this.currentLocation·=·0;11 ········this.currentLocation·=·0;
12 ····}12 ····}
13 ····13 ····
 14 ····private·void·set(final·int·n,·final·boolean·b)·{
 15 ········final·byte[]·row·=·this.row;
 16 ········int·n2;
 17 ········if·(b)·{
 18 ············n2·=·1;
 19 ········}
 20 ········else·{
 21 ············n2·=·0;
 22 ········}
 23 ········row[n]·=·(byte)n2;
 24 ····}
 25 ····
14 ····void·addBar(final·boolean·b,·final·int·n)·{26 ····void·addBar(final·boolean·b,·final·int·n)·{
15 ········for·(int·i·=·0;·i·<·n;·++i)·{27 ········for·(int·i·=·0;·i·<·n;·++i)·{
16 ············this.set(this.currentLocation++,·b);28 ············this.set(this.currentLocation++,·b);
17 ········}29 ········}
18 ····}30 ····}
19 ····31 ····
20 ····byte[]·getScaledRow(final·int·n)·{32 ····byte[]·getScaledRow(final·int·n)·{
Offset 24, 20 lines modifiedOffset 36, 8 lines modified
24 ········}36 ········}
25 ········return·array;37 ········return·array;
26 ····}38 ····}
27 ····39 ····
28 ····void·set(final·int·n,·final·byte·b)·{40 ····void·set(final·int·n,·final·byte·b)·{
29 ········this.row[n]·=·b;41 ········this.row[n]·=·b;
30 ····}42 ····}
31 ···· 
32 ····void·set(final·int·n,·final·boolean·b)·{ 
33 ········final·byte[]·row·=·this.row; 
34 ········int·n2; 
35 ········if·(b)·{ 
36 ············n2·=·1; 
37 ········} 
38 ········else·{ 
39 ············n2·=·0; 
40 ········} 
41 ········row[n]·=·(byte)n2; 
42 ····} 
43 }43 }
1.87 KB
com/google/zxing/pdf417/encoder/PDF417.class
1.79 KB
procyon -ec {}
    
Offset 2963, 25 lines modifiedOffset 2963, 27 lines modified
2963 ········final·String·encodeHighLevel·=·PDF417HighLevelEncoder.encodeHighLevel(s,·this.compaction,·this.encoding);2963 ········final·String·encodeHighLevel·=·PDF417HighLevelEncoder.encodeHighLevel(s,·this.compaction,·this.encoding);
2964 ········final·int·length·=·encodeHighLevel.length();2964 ········final·int·length·=·encodeHighLevel.length();
2965 ········final·int[]·determineDimensions·=·this.determineDimensions(length,·errorCorrectionCodewordCount);2965 ········final·int[]·determineDimensions·=·this.determineDimensions(length,·errorCorrectionCodewordCount);
2966 ········final·int·n2·=·determineDimensions[0];2966 ········final·int·n2·=·determineDimensions[0];
2967 ········final·int·n3·=·determineDimensions[1];2967 ········final·int·n3·=·determineDimensions[1];
2968 ········final·int·numberOfPadCodewords·=·getNumberOfPadCodewords(length,·errorCorrectionCodewordCount,·n2,·n3);2968 ········final·int·numberOfPadCodewords·=·getNumberOfPadCodewords(length,·errorCorrectionCodewordCount,·n2,·n3);
2969 ········if·(length·+·errorCorrectionCodewordCount·+·1·>·929)·{2969 ········if·(length·+·errorCorrectionCodewordCount·+·1·>·929)·{
2970 ············throw·new·WriterException("Encoded·message·contains·to·many·code·words,·message·to·big·("·+·s.length()·+·"·bytes)");2970 ············throw·new·WriterException("Encoded·message·contains·too·many·code·words,·message·too·big·("·+·s.length()·+·"·bytes)");
2971 ········}2971 ········}
2972 ········final·int·capacity·=·length·+·numberOfPadCodewords·+·1;2972 ········final·int·capacity·=·length·+·numberOfPadCodewords·+·1;
2973 ········final·StringBuilder·sb·=·new·StringBuilder(capacity);2973 ········final·StringBuilder·sb·=·new·StringBuilder(capacity);
2974 ········sb.append((char)capacity);2974 ········sb.append((char)capacity);
2975 ········sb.append(encodeHighLevel);2975 ········sb.append(encodeHighLevel);
2976 ········for·(int·i·=·0;·i·<·numberOfPadCodewords;·++i)·{2976 ········for·(int·i·=·0;·i·<·numberOfPadCodewords;·++i)·{
2977 ············sb.append('\u0384');2977 ············sb.append('\u0384');
2978 ········}2978 ········}
2979 ········final·String·string·=·sb.toString();2979 ········final·String·string·=·sb.toString();
2980 ········this.encodeLowLevel(string·+·PDF417ErrorCorrection.generateErrorCorrection((CharSequence)string,·n),·n2,·n3,·n,·this.barcodeMatrix·=·new·BarcodeMatrix(n3,·n2));2980 ········final·String·generateErrorCorrection·=·PDF417ErrorCorrection.generateErrorCorrection((CharSequence)string,·n);
 2981 ········this.barcodeMatrix·=·new·BarcodeMatrix(n3,·n2);
 2982 ········this.encodeLowLevel(string·+·generateErrorCorrection,·n2,·n3,·n,·this.barcodeMatrix);
2981 ····}2983 ····}
2982 ····2984 ····
2983 ····public·BarcodeMatrix·getBarcodeMatrix()·{2985 ····public·BarcodeMatrix·getBarcodeMatrix()·{
2984 ········return·this.barcodeMatrix;2986 ········return·this.barcodeMatrix;
2985 ····}2987 ····}
2986 ····2988 ····
2987 ····public·void·setCompact(final·boolean·compact)·{2989 ····public·void·setCompact(final·boolean·compact)·{
1.29 KB
com/google/zxing/pdf417/encoder/PDF417ErrorCorrection.class
1.18 KB
procyon -ec {}
    
Offset 1067, 16 lines modifiedOffset 1067, 16 lines modified
1067 ····private·PDF417ErrorCorrection()·{1067 ····private·PDF417ErrorCorrection()·{
1068 ····}1068 ····}
1069 ····1069 ····
1070 ····static·String·generateErrorCorrection(final·CharSequence·charSequence,·final·int·n)·{1070 ····static·String·generateErrorCorrection(final·CharSequence·charSequence,·final·int·n)·{
1071 ········final·int·errorCorrectionCodewordCount·=·getErrorCorrectionCodewordCount(n);1071 ········final·int·errorCorrectionCodewordCount·=·getErrorCorrectionCodewordCount(n);
1072 ········final·char[]·array·=·new·char[errorCorrectionCodewordCount];1072 ········final·char[]·array·=·new·char[errorCorrectionCodewordCount];
1073 ········for·(int·length·=·charSequence.length(),·i·=·0;·i·<·length;·++i)·{1073 ········for·(int·length·=·charSequence.length(),·i·=·0;·i·<·length;·++i)·{
1074 ············final·int·n2·=·(charSequence.charAt(i)·+·array[array.length·-·1])·%·929;1074 ············final·int·n2·=·(charSequence.charAt(i)·+·array[errorCorrectionCodewordCount·-·1])·%·929;
1075 ············for·(int·j·=·errorCorrectionCodewordCount·-·1;·j·>=·1;·--j)·{1075 ············for·(int·j·=·errorCorrectionCodewordCount·-·1;·j·>·0;·--j)·{
1076 ················array[j]·=·(char)((array[j·-·1]·+·(929·-·PDF417ErrorCorrection.EC_COEFFICIENTS[n][j]·*·n2·%·929))·%·929);1076 ················array[j]·=·(char)((array[j·-·1]·+·(929·-·PDF417ErrorCorrection.EC_COEFFICIENTS[n][j]·*·n2·%·929))·%·929);
1077 ············}1077 ············}
1078 ············array[0]·=·(char)((929·-·PDF417ErrorCorrection.EC_COEFFICIENTS[n][0]·*·n2·%·929)·%·929);1078 ············array[0]·=·(char)((929·-·PDF417ErrorCorrection.EC_COEFFICIENTS[n][0]·*·n2·%·929)·%·929);
1079 ········}1079 ········}
1080 ········final·StringBuilder·sb·=·new·StringBuilder(errorCorrectionCodewordCount);1080 ········final·StringBuilder·sb·=·new·StringBuilder(errorCorrectionCodewordCount);
1081 ········for·(int·k·=·errorCorrectionCodewordCount·-·1;·k·>=·0;·--k)·{1081 ········for·(int·k·=·errorCorrectionCodewordCount·-·1;·k·>=·0;·--k)·{
1082 ············if·(array[k]·!=·'\0')·{1082 ············if·(array[k]·!=·'\0')·{
4.36 KB
com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.class
4.24 KB
procyon -ec {}
    
Offset 100, 25 lines modifiedOffset 100, 25 lines modified
100 ········array2[28]·=·39;100 ········array2[28]·=·39;
101 ········array2[29]·=·0;101 ········array2[29]·=·0;
102 ········TEXT_PUNCTUATION_RAW·=·text_PUNCTUATION_RAW;102 ········TEXT_PUNCTUATION_RAW·=·text_PUNCTUATION_RAW;
103 ········MIXED·=·new·byte[n];103 ········MIXED·=·new·byte[n];
104 ········PUNCTUATION·=·new·byte[n];104 ········PUNCTUATION·=·new·byte[n];
105 ········DEFAULT_ENCODING·=·Charset.forName("ISO-8859-1");105 ········DEFAULT_ENCODING·=·Charset.forName("ISO-8859-1");
106 ········Arrays.fill(PDF417HighLevelEncoder.MIXED,·b);106 ········Arrays.fill(PDF417HighLevelEncoder.MIXED,·b);
107 ········for·(byte·b2·=·0;·b2·<·PDF417HighLevelEncoder.TEXT_MIXED_RAW.length;·++b2)·{107 ········for·(int·i·=·0;·i·<·PDF417HighLevelEncoder.TEXT_MIXED_RAW.length;·++i)·{
108 ············final·byte·b3·=·PDF417HighLevelEncoder.TEXT_MIXED_RAW[b2];108 ············final·byte·b2·=·PDF417HighLevelEncoder.TEXT_MIXED_RAW[i];
109 ············if·(b3·>·0)·{109 ············if·(b2·>·0)·{
110 ················PDF417HighLevelEncoder.MIXED[b3]·=·b2;110 ················PDF417HighLevelEncoder.MIXED[b2]·=·(byte)i;
111 ············}111 ············}
112 ········}112 ········}
113 ········Arrays.fill(PDF417HighLevelEncoder.PUNCTUATION,·b);113 ········Arrays.fill(PDF417HighLevelEncoder.PUNCTUATION,·b);
114 ········for·(byte·b4·=·0;·b4·<·PDF417HighLevelEncoder.TEXT_PUNCTUATION_RAW.length;·++b4)·{114 ········for·(int·j·=·0;·j·<·PDF417HighLevelEncoder.TEXT_PUNCTUATION_RAW.length;·++j)·{
115 ············final·byte·b5·=·PDF417HighLevelEncoder.TEXT_PUNCTUATION_RAW[b4];115 ············final·byte·b3·=·PDF417HighLevelEncoder.TEXT_PUNCTUATION_RAW[j];
116 ············if·(b5·>·0)·{116 ············if·(b3·>·0)·{
117 ················PDF417HighLevelEncoder.PUNCTUATION[b5]·=·b4;117 ················PDF417HighLevelEncoder.PUNCTUATION[b3]·=·(byte)j;
118 ············}118 ············}
119 ········}119 ········}
120 ····}120 ····}
121 ····121 ····
122 ····private·PDF417HighLevelEncoder()·{122 ····private·PDF417HighLevelEncoder()·{
123 ····}123 ····}
124 ····124 ····
Offset 189, 48 lines modifiedOffset 189, 39 lines modified
189 ········return·i·-·n;189 ········return·i·-·n;
190 ····}190 ····}
191 ····191 ····
192 ····private·static·void·encodeBinary(final·byte[]·array,·final·int·n,·final·int·n2,·final·int·n3,·final·StringBuilder·sb)·{192 ····private·static·void·encodeBinary(final·byte[]·array,·final·int·n,·final·int·n2,·final·int·n3,·final·StringBuilder·sb)·{
193 ········if·(n2·==·1·&&·n3·==·0)·{193 ········if·(n2·==·1·&&·n3·==·0)·{
194 ············sb.append('\u0391');194 ············sb.append('\u0391');
195 ········}195 ········}
 196 ········else·if·(n2·%·6·==·0)·{
 197 ············sb.append('\u039c');
 198 ········}
196 ········else·{199 ········else·{
197 ············int·n4; 
198 ············if·(n2·%·6·==·0)·{ 
199 ················n4·=·1; 
200 ············} 
201 ············else·{ 
202 ················n4·=·0; 
203 ············} 
204 ············if·(n4·!=·0)·{ 
205 ················sb.append('\u039c'); 
206 ············} 
207 ············else·{ 
208 ················sb.append('\u0385');200 ············sb.append('\u0385');
209 ············} 
210 ········}201 ········}
211 ········int·n5·=·n;202 ········int·n4·=·n;
212 ········if·(n2·>=·6)·{203 ········if·(n2·>=·6)·{
213 ············final·char[]·array2·=·new·char[5];204 ············final·char[]·array2·=·new·char[5];
214 ············while·(n·+·n2·-·n5·>=·6)·{205 ············while·(n·+·n2·-·n4·>=·6)·{
215 ················long·n6·=·0L;206 ················long·n5·=·0L;
216 ················for·(int·i·=·0;·i·<·6;·++i)·{207 ················for·(int·i·=·0;·i·<·6;·++i)·{
217 ····················n6·=·(n6·<<·8)·+·(array[n5·+·i]·&·0xFF);208 ····················n5·=·(n5·<<·8)·+·(array[n4·+·i]·&·0xFF);
218 ················}209 ················}
219 ················for·(int·j·=·0;·j·<·5;·++j)·{210 ················for·(int·j·=·0;·j·<·5;·++j)·{
220 ····················array2[j]·=·(char)(n6·%·900L);211 ····················array2[j]·=·(char)(n5·%·900L);
221 ····················n6·/=·900L;212 ····················n5·/=·900L;
222 ················}213 ················}
223 ················for·(int·k·=·array2.length·-·1;·k·>=·0;·--k)·{214 ················for·(int·k·=·4;·k·>=·0;·--k)·{
224 ····················sb.append(array2[k]);215 ····················sb.append(array2[k]);
225 ················}216 ················}
226 ················n5·+=·6;217 ················n4·+=·6;
227 ············}218 ············}
228 ········}219 ········}
229 ········for·(int·l·=·n5;·l·<·n·+·n2;·++l)·{220 ········for·(int·l·=·n4;·l·<·n·+·n2;·++l)·{
230 ············sb.append((char)(array[l]·&·0xFF));221 ············sb.append((char)(array[l]·&·0xFF));
231 ········}222 ········}
232 ····}223 ····}
233 ····224 ····
234 ····static·String·encodeHighLevel(final·String·s,·final·Compaction·compaction,·Charset·default_ENCODING)·{225 ····static·String·encodeHighLevel(final·String·s,·final·Compaction·compaction,·Charset·default_ENCODING)·{
235 ········final·StringBuilder·sb·=·new·StringBuilder(s.length());226 ········final·StringBuilder·sb·=·new·StringBuilder(s.length());
236 ········if·(default_ENCODING·==·null)·{227 ········if·(default_ENCODING·==·null)·{
Offset 304, 15 lines modifiedOffset 295, 15 lines modified
304 ········int·i·=·0;295 ········int·i·=·0;
305 ········final·StringBuilder·sb2·=·new·StringBuilder(n2·/·3·+·1);296 ········final·StringBuilder·sb2·=·new·StringBuilder(n2·/·3·+·1);
306 ········final·BigInteger·value·=·BigInteger.valueOf(900L);297 ········final·BigInteger·value·=·BigInteger.valueOf(900L);
307 ········final·BigInteger·value2·=·BigInteger.valueOf(0L);298 ········final·BigInteger·value2·=·BigInteger.valueOf(0L);
308 ········while·(i·<·n2)·{299 ········while·(i·<·n2)·{
309 ············sb2.setLength(0);300 ············sb2.setLength(0);
310 ············final·int·min·=·Math.min(44,·n2·-·i);301 ············final·int·min·=·Math.min(44,·n2·-·i);
311 ············BigInteger·divide·=·new·BigInteger('1'·+·s.substring(n·+·i,·n·+·i·+·min));302 ············BigInteger·divide·=·new·BigInteger("1"·+·s.substring(n·+·i,·n·+·i·+·min));
312 ············do·{303 ············do·{
313 ················sb2.append((char)divide.mod(value).intValue());304 ················sb2.append((char)divide.mod(value).intValue());
314 ················divide·=·divide.divide(value);305 ················divide·=·divide.divide(value);
315 ············}·while·(!divide.equals(value2));306 ············}·while·(!divide.equals(value2));
316 ············for·(int·j·=·sb2.length()·-·1;·j·>=·0;·--j)·{307 ············for·(int·j·=·sb2.length()·-·1;·j·>=·0;·--j)·{
317 ················sb.append(sb2.charAt(j));308 ················sb.append(sb2.charAt(j));
318 ············}309 ············}
3.09 KB
com/google/zxing/qrcode/decoder/BitMatrixParser.class
2.98 KB
procyon -ec {}
    
Offset 47, 17 lines modifiedOffset 47, 17 lines modified
47 ············}47 ············}
48 ········}48 ········}
49 ····}49 ····}
50 ····50 ····
51 ····byte[]·readCodewords()·{51 ····byte[]·readCodewords()·{
52 ········final·FormatInformation·formatInformation·=·this.readFormatInformation();52 ········final·FormatInformation·formatInformation·=·this.readFormatInformation();
53 ········final·Version·version·=·this.readVersion();53 ········final·Version·version·=·this.readVersion();
54 ········final·DataMask·forReference·=·DataMask.forReference((int)formatInformation.getDataMask());54 ········final·DataMask·dataMask·=·DataMask.values()[formatInformation.getDataMask()];
55 ········final·int·height·=·this.bitMatrix.getHeight();55 ········final·int·height·=·this.bitMatrix.getHeight();
56 ········forReference.unmaskBitMatrix(this.bitMatrix,·height);56 ········dataMask.unmaskBitMatrix(this.bitMatrix,·height);
57 ········final·BitMatrix·buildFunctionPattern·=·version.buildFunctionPattern();57 ········final·BitMatrix·buildFunctionPattern·=·version.buildFunctionPattern();
58 ········int·n·=·1;58 ········int·n·=·1;
59 ········final·byte[]·array·=·new·byte[version.getTotalCodewords()];59 ········final·byte[]·array·=·new·byte[version.getTotalCodewords()];
60 ········int·n2·=·0;60 ········int·n2·=·0;
61 ········int·n3·=·0;61 ········int·n3·=·0;
62 ········int·n4·=·0;62 ········int·n4·=·0;
63 ········for·(int·i·=·height·-·1;·i·>·0;·i·-=·2)·{63 ········for·(int·i·=·height·-·1;·i·>·0;·i·-=·2)·{
Offset 71, 36 lines modifiedOffset 71, 36 lines modified
71 ····················n5·=·height·-·1·-·j;71 ····················n5·=·height·-·1·-·j;
72 ················}72 ················}
73 ················else·{73 ················else·{
74 ····················n5·=·j;74 ····················n5·=·j;
75 ················}75 ················}
76 ················int·k·=·0;76 ················int·k·=·0;
77 ················n6·=·n2;77 ················n6·=·n2;
78 ············Label_0286_Outer:78 ············Label_0304_Outer:
79 ················while·(k·<·2)·{79 ················while·(k·<·2)·{
80 ····················while·(true)·{80 ····················while·(true)·{
81 ························Label_0359:·{81 ························Label_0377:·{
82 ····························if·(buildFunctionPattern.get(i·-·k,·n5))·{82 ····························if·(buildFunctionPattern.get(i·-·k,·n5))·{
83 ································break·Label_0359;83 ································break·Label_0377;
84 ····························}84 ····························}
85 ····························++n4;85 ····························++n4;
86 ····························n3·<<=·1;86 ····························n3·<<=·1;
87 ····························if·(this.bitMatrix.get(i·-·k,·n5))·{87 ····························if·(this.bitMatrix.get(i·-·k,·n5))·{
88 ································n3·|=·0x1;88 ································n3·|=·0x1;
89 ····························}89 ····························}
90 ····························if·(n4·!=·8)·{90 ····························if·(n4·!=·8)·{
91 ································break·Label_0359;91 ································break·Label_0377;
92 ····························}92 ····························}
93 ····························final·int·n7·=·n6·+·1;93 ····························final·int·n7·=·n6·+·1;
94 ····························array[n6]·=·(byte)n3;94 ····························array[n6]·=·(byte)n3;
95 ····························n4·=·0;95 ····························n4·=·0;
96 ····························n3·=·0;96 ····························n3·=·0;
97 ····························++k;97 ····························++k;
98 ····························n6·=·n7;98 ····························n6·=·n7;
99 ····························continue·Label_0286_Outer;99 ····························continue·Label_0304_Outer;
100 ························}100 ························}
101 ························final·int·n7·=·n6;101 ························final·int·n7·=·n6;
102 ························continue;102 ························continue;
103 ····················}103 ····················}
104 ················}104 ················}
105 ············}105 ············}
106 ············n·^=·0x1;106 ············n·^=·0x1;
Offset 183, 15 lines modifiedOffset 183, 15 lines modified
183 ············}183 ············}
184 ········}184 ········}
185 ········return·version;185 ········return·version;
186 ····}186 ····}
187 ····187 ····
188 ····void·remask()·{188 ····void·remask()·{
189 ········if·(this.parsedFormatInfo·!=·null)·{189 ········if·(this.parsedFormatInfo·!=·null)·{
190 ············DataMask.forReference((int)this.parsedFormatInfo.getDataMask()).unmaskBitMatrix(this.bitMatrix,·this.bitMatrix.getHeight());190 ············DataMask.values()[this.parsedFormatInfo.getDataMask()].unmaskBitMatrix(this.bitMatrix,·this.bitMatrix.getHeight());
191 ········}191 ········}
192 ····}192 ····}
193 ····193 ····
194 ····void·setMirror(final·boolean·mirror)·{194 ····void·setMirror(final·boolean·mirror)·{
195 ········this.parsedVersion·=·null;195 ········this.parsedVersion·=·null;
196 ········this.parsedFormatInfo·=·null;196 ········this.parsedFormatInfo·=·null;
197 ········this.mirror·=·mirror;197 ········this.mirror·=·mirror;
3.56 KB
com/google/zxing/qrcode/decoder/DataBlock.class
3.47 KB
procyon -ec {}
    
Offset 31, 62 lines modifiedOffset 31, 62 lines modified
31 ················final·int·n3·=·ecBlocksForLevel.getECCodewordsPerBlock()·+·dataCodewords;31 ················final·int·n3·=·ecBlocksForLevel.getECCodewordsPerBlock()·+·dataCodewords;
32 ················n4·=·n2·+·1;32 ················n4·=·n2·+·1;
33 ················array2[n2]·=·new·DataBlock(dataCodewords,·new·byte[n3]);33 ················array2[n2]·=·new·DataBlock(dataCodewords,·new·byte[n3]);
34 ············}34 ············}
35 ········}35 ········}
36 ········int·length3;36 ········int·length3;
37 ········int·n5;37 ········int·n5;
38 ········int·n6;38 ········int·length4;
39 ········for·(length3·=·array2[0].codewords.length,·n5·=·array2.length·-·1;·n5·>=·0·&&·array2[n5].codewords.length·!=·(n6·=·length3);·--n5)·{}39 ········for·(length3·=·array2[0].codewords.length,·n5·=·array2.length·-·1;·n5·>=·0·&&·(length4·=·array2[n5].codewords.length)·!=·length3;·--n5)·{}
40 ········final·int·n7·=·n5·+·1;40 ········final·int·n6·=·n5·+·1;
41 ········final·int·n8·=·length3·-·ecBlocksForLevel.getECCodewordsPerBlock();41 ········final·int·n7·=·length3·-·ecBlocksForLevel.getECCodewordsPerBlock();
42 ········int·n9·=·0;42 ········int·n8·=·0;
43 ········int·n11;43 ········int·n10;
44 ········for·(int·l·=·0;·l·<·n8;·++l,·n9·=·n11)·{44 ········for·(int·l·=·0;·l·<·n7;·++l,·n8·=·n10)·{
45 ············int·n10·=·0;45 ············int·n9·=·0;
46 ············n11·=·n9;46 ············n10·=·n8;
47 ············while·(n10·<·n2)·{47 ············while·(n9·<·n2)·{
48 ················final·byte[]·codewords·=·array2[n10].codewords;48 ················final·byte[]·codewords·=·array2[n9].codewords;
49 ················final·int·n12·=·n11·+·1;49 ················final·int·n11·=·n10·+·1;
50 ················codewords[l]·=·array[n11];50 ················codewords[l]·=·array[n10];
51 ················++n10;51 ················++n9;
52 ················n11·=·n12;52 ················n10·=·n11;
53 ············}53 ············}
54 ········}54 ········}
 55 ········int·n12·=·n6;
55 ········int·n13·=·n7;56 ········int·n13·=·n8;
56 ········int·n14·=·n9; 
57 ········while·(n13·<·n2)·{57 ········while·(n12·<·n2)·{
58 ············final·byte[]·codewords2·=·array2[n13].codewords;58 ············final·byte[]·codewords2·=·array2[n12].codewords;
59 ············final·int·n15·=·n14·+·1;59 ············final·int·n14·=·n13·+·1;
60 ············codewords2[n8]·=·array[n14];60 ············codewords2[n7]·=·array[n13];
61 ············++n13;61 ············++n12;
62 ············n14·=·n15;62 ············n13·=·n14;
63 ········}63 ········}
64 ········final·int·length4·=·array2[0].codewords.length;64 ········final·int·length5·=·array2[0].codewords.length;
 65 ········int·n15·=·n7;
65 ········int·n16·=·n8;66 ········int·n16·=·n13;
66 ········int·n17·=·n14; 
67 ········while·(n16·<·length4)·{67 ········while·(n15·<·length5)·{
68 ············int·n18·=·0;68 ············int·n17·=·0;
69 ············int·n19·=·n17;69 ············int·n18·=·n16;
70 ············while·(n18·<·n2)·{70 ············while·(n17·<·n2)·{
71 ················int·n20;71 ················int·n19;
72 ················if·(n18·<·n7)·{72 ················if·(n17·<·n6)·{
73 ····················n20·=·n16;73 ····················n19·=·n15;
74 ················}74 ················}
75 ················else·{75 ················else·{
76 ····················n20·=·n16·+·1;76 ····················n19·=·n15·+·1;
77 ················}77 ················}
78 ················final·byte[]·codewords3·=·array2[n18].codewords;78 ················final·byte[]·codewords3·=·array2[n17].codewords;
79 ················final·int·n21·=·n19·+·1;79 ················final·int·n20·=·n18·+·1;
80 ················codewords3[n20]·=·array[n19];80 ················codewords3[n19]·=·array[n18];
81 ················++n18;81 ················++n17;
82 ················n19·=·n21;82 ················n18·=·n20;
83 ············}83 ············}
84 ············++n16;84 ············++n15;
85 ············n17·=·n19;85 ············n16·=·n18;
86 ········}86 ········}
87 ········return·array2;87 ········return·array2;
88 ····}88 ····}
89 ····89 ····
90 ····byte[]·getCodewords()·{90 ····byte[]·getCodewords()·{
91 ········return·this.codewords;91 ········return·this.codewords;
92 ····}92 ····}
385 B
com/google/zxing/qrcode/decoder/DataMask$1.class
289 B
procyon -ec {}
    
Offset 1, 6 lines modifiedOffset 1, 12 lines modified
  
1 package·com.google.zxing.qrcode.decoder;1 package·com.google.zxing.qrcode.decoder;
  
2 class·DataMask$12 enum·DataMask$1
3 {3 {
 4 ····DataMask$1(final·String·s,·final·int·n)·{
 5 ····}
 6 ····
 7 ····boolean·isMasked(final·int·n,·final·int·n2)·{
 8 ········return·(n·+·n2·&·0x1)·==·0x0;
 9 ····}
4 }10 }
2.18 KB
com/google/zxing/qrcode/decoder/DataMask.class
2.09 KB
procyon -ec {}
    
Offset 1, 28 lines modifiedOffset 1, 41 lines modified
  
1 package·com.google.zxing.qrcode.decoder;1 package·com.google.zxing.qrcode.decoder;
  
2 import·com.google.zxing.common.BitMatrix;2 import·com.google.zxing.common.BitMatrix;
  
3 abstract·class·DataMask3 enum·DataMask
4 {4 {
5 ····private·static·final·DataMask[]·DATA_MASKS;5 ····DATA_MASK_000("DATA_MASK_000",·0),·
 6 ····DATA_MASK_001("DATA_MASK_001",·n4),·
 7 ····DATA_MASK_010("DATA_MASK_010",·n3),·
 8 ····DATA_MASK_011("DATA_MASK_011",·n2),·
 9 ····DATA_MASK_100("DATA_MASK_100",·n),·
 10 ····DATA_MASK_101("DATA_MASK_101",·5),·
 11 ····DATA_MASK_110("DATA_MASK_110",·6),·
 12 ····DATA_MASK_111("DATA_MASK_111",·7);
6 ····13 ····
7 ····static·{14 ····static·{
8 ········DATA_MASKS·=·new·DataMask[]·{·(DataMask)new·DataMask$DataMask000((DataMask$1)null),·(DataMask)new·DataMask$DataMask001((DataMask$1)null),·(DataMask)new·DataMask$DataMask010((DataMask$1)null),·(DataMask)new·DataMask$DataMask011((DataMask$1)null),·(DataMask)[·...·truncated·by·diffoscope;·len:·206,·SHA:·6625ad7b77d971ef28163016004279efce3aee2c6538a12517da42e3a40107b4·...·];15 ········final·int·n·=·4;
 16 ········final·int·n2·=·3;
 17 ········final·int·n3·=·2;
 18 ········final·int·n4·=·1;
 19 ········final·DataMask[]·$values·=·new·DataMask[8];
 20 ········$values[0]·=·DataMask.DATA_MASK_000;
 21 ········$values[n4]·=·DataMask.DATA_MASK_001;
 22 ········$values[n3]·=·DataMask.DATA_MASK_010;
 23 ········$values[n2]·=·DataMask.DATA_MASK_011;
 24 ········$values[n]·=·DataMask.DATA_MASK_100;
 25 ········$values[5]·=·DataMask.DATA_MASK_101;
 26 ········$values[6]·=·DataMask.DATA_MASK_110;
 27 ········$values[7]·=·DataMask.DATA_MASK_111;
 28 ········$VALUES·=·$values;
9 ····}29 ····}
10 ····30 ····
 31 ····private·DataMask(final·String·name,·final·int·ordinal)·{
11 ····private·DataMask()·{ 
12 ····} 
13 ···· 
14 ····static·DataMask·forReference(final·int·n)·{ 
15 ········if·(n·<·0·||·n·>·7)·{ 
16 ············throw·new·IllegalArgumentException(); 
17 ········} 
18 ········return·DataMask.DATA_MASKS[n]; 
19 ····}32 ····}
20 ····33 ····
21 ····abstract·boolean·isMasked(final·int·p0,·final·int·p1);34 ····abstract·boolean·isMasked(final·int·p0,·final·int·p1);
22 ····35 ····
23 ····final·void·unmaskBitMatrix(final·BitMatrix·bitMatrix,·final·int·n)·{36 ····final·void·unmaskBitMatrix(final·BitMatrix·bitMatrix,·final·int·n)·{
24 ········for·(int·i·=·0;·i·<·n;·++i)·{37 ········for·(int·i·=·0;·i·<·n;·++i)·{
25 ············for·(int·j·=·0;·j·<·n;·++j)·{38 ············for·(int·j·=·0;·j·<·n;·++j)·{
15.3 KB
com/google/zxing/qrcode/decoder/DecodedBitStreamParser.class
15.1 KB
procyon -ec {}
Max HTML report size reached
1.57 KB
com/google/zxing/qrcode/decoder/Decoder.class
1.48 KB
procyon -ec {}
    
Offset 20, 24 lines modifiedOffset 20, 27 lines modified
20 ····20 ····
21 ····private·void·correctErrors(final·byte[]·array,·final·int·n)·{21 ····private·void·correctErrors(final·byte[]·array,·final·int·n)·{
22 ········final·int·length·=·array.length;22 ········final·int·length·=·array.length;
23 ········final·int[]·array2·=·new·int[length];23 ········final·int[]·array2·=·new·int[length];
24 ········for·(int·i·=·0;·i·<·length;·++i)·{24 ········for·(int·i·=·0;·i·<·length;·++i)·{
25 ············array2[i]·=·(array[i]·&·0xFF);25 ············array2[i]·=·(array[i]·&·0xFF);
26 ········}26 ········}
27 ········final·int·n2·=·array.length·-·n; 
28 ········try·{27 ········try·{
 28 ············final·ReedSolomonDecoder·rsDecoder·=·this.rsDecoder;
 29 ············try·{
29 ············this.rsDecoder.decode(array2,·n2);30 ················rsDecoder.decode(array2,·array.length·-·n);
30 ············for·(int·j·=·0;·j·<·n;·++j)·{31 ················for·(int·j·=·0;·j·<·n;·++j)·{
31 ················array[j]·=·(byte)array2[j];32 ····················array[j]·=·(byte)array2[j];
 33 ················}
 34 ············}
 35 ············catch·(ReedSolomonException·ex)·{
 36 ················throw·ChecksumException.getChecksumInstance();
32 ············}37 ············}
33 ········}38 ········}
34 ········catch·(ReedSolomonException·ex)·{39 ········catch·(ReedSolomonException·ex2)·{}
35 ············throw·ChecksumException.getChecksumInstance(); 
36 ········} 
37 ····}40 ····}
38 ····41 ····
39 ····private·DecoderResult·decode(final·BitMatrixParser·bitMatrixParser,·final·Map·map)·{42 ····private·DecoderResult·decode(final·BitMatrixParser·bitMatrixParser,·final·Map·map)·{
40 ········final·Version·version·=·bitMatrixParser.readVersion();43 ········final·Version·version·=·bitMatrixParser.readVersion();
41 ········final·ErrorCorrectionLevel·errorCorrectionLevel·=·bitMatrixParser.readFormatInformation().getErrorCorrectionLevel();44 ········final·ErrorCorrectionLevel·errorCorrectionLevel·=·bitMatrixParser.readFormatInformation().getErrorCorrectionLevel();
42 ········final·DataBlock[]·dataBlocks·=·DataBlock.getDataBlocks(bitMatrixParser.readCodewords(),·version,·errorCorrectionLevel);45 ········final·DataBlock[]·dataBlocks·=·DataBlock.getDataBlocks(bitMatrixParser.readCodewords(),·version,·errorCorrectionLevel);
43 ········int·n·=·0;46 ········int·n·=·0;
9.65 KB
com/google/zxing/qrcode/decoder/FormatInformation.class
9.54 KB
procyon -ec {}
    
Offset 1, 168 lines modifiedOffset 1, 150 lines modified
  
1 package·com.google.zxing.qrcode.decoder;1 package·com.google.zxing.qrcode.decoder;
  
2 final·class·FormatInformation2 final·class·FormatInformation
3 {3 {
4 ····private·static·final·int[]·BITS_SET_IN_HALF_BYTE; 
5 ····private·static·final·int[][]·FORMAT_INFO_DECODE_LOOKUP;4 ····private·static·final·int[][]·FORMAT_INFO_DECODE_LOOKUP;
6 ····private·static·final·int·FORMAT_INFO_MASK_QR·=·21522;5 ····private·static·final·int·FORMAT_INFO_MASK_QR·=·21522;
7 ····private·final·byte·dataMask;6 ····private·final·byte·dataMask;
8 ····private·final·ErrorCorrectionLevel·errorCorrectionLevel;7 ····private·final·ErrorCorrectionLevel·errorCorrectionLevel;
9 ····8 ····
10 ····static·{9 ····static·{
11 ········final·int·n·=·16; 
12 ········final·int·n2·=·2;10 ········final·int·n·=·2;
13 ········final·int[][]·format_INFO_DECODE_LOOKUP·=·new·int[32][];11 ········final·int[][]·format_INFO_DECODE_LOOKUP·=·new·int[32][];
14 ········final·int[]·array2;12 ········final·int[]·array2;
15 ········final·int[]·array·=·array2·=·new·int[n2];13 ········final·int[]·array·=·array2·=·new·int[n];
16 ········array2[0]·=·21522;14 ········array2[0]·=·21522;
17 ········format_INFO_DECODE_LOOKUP[array2[1]·=·0]·=·array;15 ········format_INFO_DECODE_LOOKUP[array2[1]·=·0]·=·array;
18 ········final·int[]·array4;16 ········final·int[]·array4;
19 ········final·int[]·array3·=·array4·=·new·int[n2];17 ········final·int[]·array3·=·array4·=·new·int[n];
20 ········array4[0]·=·20773;18 ········array4[0]·=·20773;
21 ········format_INFO_DECODE_LOOKUP[array4[1]·=·1]·=·array3;19 ········format_INFO_DECODE_LOOKUP[array4[1]·=·1]·=·array3;
22 ········final·int[]·array6;20 ········final·int[]·array6;
23 ········final·int[]·array5·=·array6·=·new·int[n2];21 ········final·int[]·array5·=·array6·=·new·int[n];
24 ········array6[0]·=·24188;22 ········array6[0]·=·24188;
25 ········array6[1]·=·2;23 ········array6[1]·=·2;
26 ········format_INFO_DECODE_LOOKUP[n2]·=·array5;24 ········format_INFO_DECODE_LOOKUP[n]·=·array5;
27 ········final·int[]·array8;25 ········final·int[]·array8;
28 ········final·int[]·array7·=·array8·=·new·int[n2];26 ········final·int[]·array7·=·array8·=·new·int[n];
29 ········array8[0]·=·23371;27 ········array8[0]·=·23371;
30 ········format_INFO_DECODE_LOOKUP[array8[1]·=·3]·=·array7;28 ········format_INFO_DECODE_LOOKUP[array8[1]·=·3]·=·array7;
31 ········final·int[]·array10;29 ········final·int[]·array10;
32 ········final·int[]·array9·=·array10·=·new·int[n2];30 ········final·int[]·array9·=·array10·=·new·int[n];
33 ········array10[0]·=·17913;31 ········array10[0]·=·17913;
34 ········format_INFO_DECODE_LOOKUP[array10[1]·=·4]·=·array9;32 ········format_INFO_DECODE_LOOKUP[array10[1]·=·4]·=·array9;
35 ········final·int[]·array12;33 ········final·int[]·array12;
36 ········final·int[]·array11·=·array12·=·new·int[n2];34 ········final·int[]·array11·=·array12·=·new·int[n];
37 ········array12[0]·=·16590;35 ········array12[0]·=·16590;
38 ········format_INFO_DECODE_LOOKUP[array12[1]·=·5]·=·array11;36 ········format_INFO_DECODE_LOOKUP[array12[1]·=·5]·=·array11;
39 ········final·int[]·array14;37 ········final·int[]·array14;
40 ········final·int[]·array13·=·array14·=·new·int[n2];38 ········final·int[]·array13·=·array14·=·new·int[n];
41 ········array14[0]·=·20375;39 ········array14[0]·=·20375;
42 ········format_INFO_DECODE_LOOKUP[array14[1]·=·6]·=·array13;40 ········format_INFO_DECODE_LOOKUP[array14[1]·=·6]·=·array13;
43 ········final·int[]·array16;41 ········final·int[]·array16;
44 ········final·int[]·array15·=·array16·=·new·int[n2];42 ········final·int[]·array15·=·array16·=·new·int[n];
45 ········array16[0]·=·19104;43 ········array16[0]·=·19104;
46 ········format_INFO_DECODE_LOOKUP[array16[1]·=·7]·=·array15;44 ········format_INFO_DECODE_LOOKUP[array16[1]·=·7]·=·array15;
47 ········final·int[]·array18;45 ········final·int[]·array18;
48 ········final·int[]·array17·=·array18·=·new·int[n2];46 ········final·int[]·array17·=·array18·=·new·int[n];
49 ········array18[0]·=·30660;47 ········array18[0]·=·30660;
50 ········format_INFO_DECODE_LOOKUP[array18[1]·=·8]·=·array17;48 ········format_INFO_DECODE_LOOKUP[array18[1]·=·8]·=·array17;
51 ········final·int[]·array20;49 ········final·int[]·array20;
52 ········final·int[]·array19·=·array20·=·new·int[n2];50 ········final·int[]·array19·=·array20·=·new·int[n];
53 ········array20[0]·=·29427;51 ········array20[0]·=·29427;
54 ········format_INFO_DECODE_LOOKUP[array20[1]·=·9]·=·array19;52 ········format_INFO_DECODE_LOOKUP[array20[1]·=·9]·=·array19;
55 ········final·int[]·array22;53 ········final·int[]·array22;
56 ········final·int[]·array21·=·array22·=·new·int[n2];54 ········final·int[]·array21·=·array22·=·new·int[n];
57 ········array22[0]·=·32170;55 ········array22[0]·=·32170;
58 ········format_INFO_DECODE_LOOKUP[array22[1]·=·10]·=·array21;56 ········format_INFO_DECODE_LOOKUP[array22[1]·=·10]·=·array21;
59 ········final·int[]·array24;57 ········final·int[]·array24;
60 ········final·int[]·array23·=·array24·=·new·int[n2];58 ········final·int[]·array23·=·array24·=·new·int[n];
61 ········array24[0]·=·30877;59 ········array24[0]·=·30877;
62 ········format_INFO_DECODE_LOOKUP[array24[1]·=·11]·=·array23;60 ········format_INFO_DECODE_LOOKUP[array24[1]·=·11]·=·array23;
63 ········final·int[]·array26;61 ········final·int[]·array26;
64 ········final·int[]·array25·=·array26·=·new·int[n2];62 ········final·int[]·array25·=·array26·=·new·int[n];
65 ········array26[0]·=·26159;63 ········array26[0]·=·26159;
66 ········format_INFO_DECODE_LOOKUP[array26[1]·=·12]·=·array25;64 ········format_INFO_DECODE_LOOKUP[array26[1]·=·12]·=·array25;
67 ········final·int[]·array28;65 ········final·int[]·array28;
68 ········final·int[]·array27·=·array28·=·new·int[n2];66 ········final·int[]·array27·=·array28·=·new·int[n];
69 ········array28[0]·=·25368;67 ········array28[0]·=·25368;
70 ········format_INFO_DECODE_LOOKUP[array28[1]·=·13]·=·array27;68 ········format_INFO_DECODE_LOOKUP[array28[1]·=·13]·=·array27;
71 ········final·int[]·array30;69 ········final·int[]·array30;
72 ········final·int[]·array29·=·array30·=·new·int[n2];70 ········final·int[]·array29·=·array30·=·new·int[n];
73 ········array30[0]·=·27713;71 ········array30[0]·=·27713;
74 ········format_INFO_DECODE_LOOKUP[array30[1]·=·14]·=·array29;72 ········format_INFO_DECODE_LOOKUP[array30[1]·=·14]·=·array29;
75 ········final·int[]·array32;73 ········final·int[]·array32;
76 ········final·int[]·array31·=·array32·=·new·int[n2];74 ········final·int[]·array31·=·array32·=·new·int[n];
77 ········array32[0]·=·26998;75 ········array32[0]·=·26998;
78 ········format_INFO_DECODE_LOOKUP[array32[1]·=·15]·=·array31;76 ········format_INFO_DECODE_LOOKUP[array32[1]·=·15]·=·array31;
79 ········final·int[]·array34;77 ········final·int[]·array34;
80 ········final·int[]·array33·=·array34·=·new·int[n2];78 ········final·int[]·array33·=·array34·=·new·int[n];
81 ········array34[0]·=·5769;79 ········array34[0]·=·5769;
82 ········array34[1]·=·16; 
83 ········format_INFO_DECODE_LOOKUP[n]·=·array33;80 ········format_INFO_DECODE_LOOKUP[array34[1]·=·16]·=·array33;
84 ········final·int[]·array36;81 ········final·int[]·array36;
85 ········final·int[]·array35·=·array36·=·new·int[n2];82 ········final·int[]·array35·=·array36·=·new·int[n];
86 ········array36[0]·=·5054;83 ········array36[0]·=·5054;
87 ········format_INFO_DECODE_LOOKUP[array36[1]·=·17]·=·array35;84 ········format_INFO_DECODE_LOOKUP[array36[1]·=·17]·=·array35;
88 ········final·int[]·array38;85 ········final·int[]·array38;
89 ········final·int[]·array37·=·array38·=·new·int[n2];86 ········final·int[]·array37·=·array38·=·new·int[n];
90 ········array38[0]·=·7399;87 ········array38[0]·=·7399;
91 ········format_INFO_DECODE_LOOKUP[array38[1]·=·18]·=·array37;88 ········format_INFO_DECODE_LOOKUP[array38[1]·=·18]·=·array37;
92 ········final·int[]·array40;89 ········final·int[]·array40;
93 ········final·int[]·array39·=·array40·=·new·int[n2];90 ········final·int[]·array39·=·array40·=·new·int[n];
94 ········array40[0]·=·6608;91 ········array40[0]·=·6608;
95 ········format_INFO_DECODE_LOOKUP[array40[1]·=·19]·=·array39;92 ········format_INFO_DECODE_LOOKUP[array40[1]·=·19]·=·array39;
96 ········final·int[]·array42;93 ········final·int[]·array42;
97 ········final·int[]·array41·=·array42·=·new·int[n2];94 ········final·int[]·array41·=·array42·=·new·int[n];
98 ········array42[0]·=·1890;95 ········array42[0]·=·1890;
99 ········format_INFO_DECODE_LOOKUP[array42[1]·=·20]·=·array41;96 ········format_INFO_DECODE_LOOKUP[array42[1]·=·20]·=·array41;
100 ········final·int[]·array44;97 ········final·int[]·array44;
101 ········final·int[]·array43·=·array44·=·new·int[n2];98 ········final·int[]·array43·=·array44·=·new·int[n];
102 ········array44[0]·=·597;99 ········array44[0]·=·597;
103 ········format_INFO_DECODE_LOOKUP[array44[1]·=·21]·=·array43;100 ········format_INFO_DECODE_LOOKUP[array44[1]·=·21]·=·array43;
104 ········final·int[]·array46;101 ········final·int[]·array46;
105 ········final·int[]·array45·=·array46·=·new·int[n2];102 ········final·int[]·array45·=·array46·=·new·int[n];
106 ········array46[0]·=·3340;103 ········array46[0]·=·3340;
107 ········format_INFO_DECODE_LOOKUP[array46[1]·=·22]·=·array45;104 ········format_INFO_DECODE_LOOKUP[array46[1]·=·22]·=·array45;
108 ········final·int[]·array48;105 ········final·int[]·array48;
109 ········final·int[]·array47·=·array48·=·new·int[n2];106 ········final·int[]·array47·=·array48·=·new·int[n];
110 ········array48[0]·=·2107;107 ········array48[0]·=·2107;
111 ········format_INFO_DECODE_LOOKUP[array48[1]·=·23]·=·array47;108 ········format_INFO_DECODE_LOOKUP[array48[1]·=·23]·=·array47;
112 ········final·int[]·array50;109 ········final·int[]·array50;
113 ········final·int[]·array49·=·array50·=·new·int[n2];110 ········final·int[]·array49·=·array50·=·new·int[n];
114 ········array50[0]·=·13663;111 ········array50[0]·=·13663;
115 ········format_INFO_DECODE_LOOKUP[array50[1]·=·24]·=·array49;112 ········format_INFO_DECODE_LOOKUP[array50[1]·=·24]·=·array49;
116 ········final·int[]·array52;113 ········final·int[]·array52;
117 ········final·int[]·array51·=·array52·=·new·int[n2];114 ········final·int[]·array51·=·array52·=·new·int[n];
118 ········array52[0]·=·12392;115 ········array52[0]·=·12392;
119 ········format_INFO_DECODE_LOOKUP[array52[1]·=·25]·=·array51;116 ········format_INFO_DECODE_LOOKUP[array52[1]·=·25]·=·array51;
120 ········final·int[]·array54;117 ········final·int[]·array54;
121 ········final·int[]·array53·=·array54·=·new·int[n2];118 ········final·int[]·array53·=·array54·=·new·int[n];
122 ········array54[0]·=·16177;119 ········array54[0]·=·16177;
123 ········format_INFO_DECODE_LOOKUP[array54[1]·=·26]·=·array53;120 ········format_INFO_DECODE_LOOKUP[array54[1]·=·26]·=·array53;
124 ········final·int[]·array56;121 ········final·int[]·array56;
125 ········final·int[]·array55·=·array56·=·new·int[n2];122 ········final·int[]·array55·=·array56·=·new·int[n];
Max diff block lines reached; 2780/9745 bytes (28.53%) of diff not shown.
597 B
com/google/zxing/qrcode/decoder/Version.class
507 B
procyon -ec {}
    
Offset 403, 15 lines modifiedOffset 403, 15 lines modified
403 ················throw·FormatException.getFormatInstance();403 ················throw·FormatException.getFormatInstance();
404 ············}404 ············}
405 ········}405 ········}
406 ········catch·(IllegalArgumentException·ex2)·{}406 ········catch·(IllegalArgumentException·ex2)·{}
407 ····}407 ····}
408 ····408 ····
409 ····public·static·Version·getVersionForNumber(final·int·n)·{409 ····public·static·Version·getVersionForNumber(final·int·n)·{
410 ········if·(n·<·1·||·n·>·40)·{410 ········if·(n·<=·0·||·n·>·40)·{
411 ············throw·new·IllegalArgumentException();411 ············throw·new·IllegalArgumentException();
412 ········}412 ········}
413 ········return·Version.VERSIONS[n·-·1];413 ········return·Version.VERSIONS[n·-·1];
414 ····}414 ····}
415 ····415 ····
416 ····BitMatrix·buildFunctionPattern()·{416 ····BitMatrix·buildFunctionPattern()·{
417 ········final·int·n·=·3;417 ········final·int·n·=·3;
907 B
com/google/zxing/qrcode/detector/AlignmentPatternFinder.class
785 B
procyon -ec {}
    
Offset 131, 15 lines modifiedOffset 131, 15 lines modified
131 ············array[n]·=·(array[n2]·=·0);131 ············array[n]·=·(array[n2]·=·0);
132 ············int·j;132 ············int·j;
133 ············for·(j·=·startX;·j·<·n3·&&·!this.image.get(j,·n6);·++j)·{}133 ············for·(j·=·startX;·j·<·n3·&&·!this.image.get(j,·n6);·++j)·{}
134 ············int·n7·=·0;134 ············int·n7·=·0;
135 ············while·(j·<·n3)·{135 ············while·(j·<·n3)·{
136 ················if·(this.image.get(j,·n6))·{136 ················if·(this.image.get(j,·n6))·{
137 ····················if·(n7·==·n2)·{137 ····················if·(n7·==·n2)·{
138 ························++array[n7];138 ························++array[n2];
139 ····················}139 ····················}
140 ····················else·if·(n7·==·n)·{140 ····················else·if·(n7·==·n)·{
141 ························if·(this.foundPatternCross(array))·{141 ························if·(this.foundPatternCross(array))·{
142 ····························final·AlignmentPattern·alignmentPattern·=·this.handlePossibleCenter(array,·n6,·j);142 ····························final·AlignmentPattern·alignmentPattern·=·this.handlePossibleCenter(array,·n6,·j);
143 ····························if·(alignmentPattern·!=·null)·{143 ····························if·(alignmentPattern·!=·null)·{
144 ································return·alignmentPattern;144 ································return·alignmentPattern;
145 ····························}145 ····························}
984 B
com/google/zxing/qrcode/detector/Detector.class
890 B
procyon -ec {}
    
Offset 180, 15 lines modifiedOffset 180, 15 lines modified
180 ············n8·=·n2·/·(float)(n2·-·n7);180 ············n8·=·n2·/·(float)(n2·-·n7);
181 ············n7·=·0;181 ············n7·=·0;
182 ········}182 ········}
183 ········else·if·(n7·>=·this.image.getHeight())·{183 ········else·if·(n7·>=·this.image.getHeight())·{
184 ············n8·=·(this.image.getHeight()·-·1·-·n2)·/·(float)(n7·-·n2);184 ············n8·=·(this.image.getHeight()·-·1·-·n2)·/·(float)(n7·-·n2);
185 ············n7·=·this.image.getHeight()·-·1;185 ············n7·=·this.image.getHeight()·-·1;
186 ········}186 ········}
187 ········return·sizeOfBlackWhiteBlackRun·+·this.sizeOfBlackWhiteBlackRun(n,·n2,·(int)(n·+·(n6·-·n)·*·n8),·n7)·-·1.0f;187 ········return·this.sizeOfBlackWhiteBlackRun(n,·n2,·(int)(n·+·(n6·-·n)·*·n8),·n7)·+·sizeOfBlackWhiteBlackRun·-·1.0f;
188 ····}188 ····}
189 ····189 ····
190 ····protected·final·float·calculateModuleSize(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3)·{190 ····protected·final·float·calculateModuleSize(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3)·{
191 ········return·(this.calculateModuleSizeOneWay(resultPoint,·resultPoint2)·+·this.calculateModuleSizeOneWay(resultPoint,·resultPoint3))·/·2.0f;191 ········return·(this.calculateModuleSizeOneWay(resultPoint,·resultPoint2)·+·this.calculateModuleSizeOneWay(resultPoint,·resultPoint3))·/·2.0f;
192 ····}192 ····}
193 ····193 ····
194 ····public·DetectorResult·detect()·{194 ····public·DetectorResult·detect()·{
669 B
com/google/zxing/qrcode/detector/FinderPatternFinder$CenterComparator.class
519 B
procyon -ec {}
    
Offset 1, 14 lines modifiedOffset 1, 14 lines modified
  
1 package·com.google.zxing.qrcode.detector;1 package·com.google.zxing.qrcode.detector;
  
2 import·java.io.Serializable; 
3 import·java.util.Comparator;2 import·java.util.Comparator;
 3 import·java.io.Serializable;
  
4 final·class·FinderPatternFinder$CenterComparator·implements·Comparator,·Serializable4 final·class·FinderPatternFinder$CenterComparator·implements·Serializable,·Comparator
5 {5 {
6 ····private·final·float·average;6 ····private·final·float·average;
7 ····7 ····
8 ····private·FinderPatternFinder$CenterComparator(final·float·average)·{8 ····private·FinderPatternFinder$CenterComparator(final·float·average)·{
9 ········this.average·=·average;9 ········this.average·=·average;
10 ····}10 ····}
11 ····11 ····
734 B
com/google/zxing/qrcode/detector/FinderPatternFinder$FurthestFromAverageComparator.class
558 B
procyon -ec {}
    
Offset 1, 14 lines modifiedOffset 1, 14 lines modified
  
1 package·com.google.zxing.qrcode.detector;1 package·com.google.zxing.qrcode.detector;
  
2 import·java.io.Serializable; 
3 import·java.util.Comparator;2 import·java.util.Comparator;
 3 import·java.io.Serializable;
  
4 final·class·FinderPatternFinder$FurthestFromAverageComparator·implements·Comparator,·Serializable4 final·class·FinderPatternFinder$FurthestFromAverageComparator·implements·Serializable,·Comparator
5 {5 {
6 ····private·final·float·average;6 ····private·final·float·average;
7 ····7 ····
8 ····private·FinderPatternFinder$FurthestFromAverageComparator(final·float·average)·{8 ····private·FinderPatternFinder$FurthestFromAverageComparator(final·float·average)·{
9 ········this.average·=·average;9 ········this.average·=·average;
10 ····}10 ····}
11 ····11 ····
2.33 KB
com/google/zxing/qrcode/detector/FinderPatternFinder.class
2.21 KB
procyon -ec {}
    
Offset 266, 31 lines modifiedOffset 266, 31 lines modified
266 ················}266 ················}
267 ············}267 ············}
268 ········}268 ········}
269 ········return·n;269 ········return·n;
270 ····}270 ····}
271 ····271 ····
272 ····protected·static·boolean·foundPatternCross(final·int[]·array)·{272 ····protected·static·boolean·foundPatternCross(final·int[]·array)·{
273 ········int·n·=·1;273 ········final·int·n·=·1;
274 ········final·float·n2·=·3.0f;274 ········final·float·n2·=·3.0f;
275 ········int·n3·=·0;275 ········int·n3·=·0;
276 ········int·n4·=·0;276 ········int·n4·=·0;
277 ········for·(int·i·=·0;·i·<·5;·++i)·{277 ········for·(int·i·=·0;·i·<·5;·++i)·{
278 ············final·int·n5·=·array[i];278 ············final·int·n5·=·array[i];
279 ············if·(n5·==·0)·{279 ············if·(n5·==·0)·{
280 ················return·n3·!=·0;280 ················return·n3·!=·0;
281 ············}281 ············}
282 ············n4·+=·n5;282 ············n4·+=·n5;
283 ········}283 ········}
284 ········if·(n4·>=·7)·{284 ········if·(n4·<·7)·{
 285 ············return·n3·!=·0;
 286 ········}
285 ············final·float·n6·=·n4·/·7.0f;287 ········final·float·n6·=·n4·/·7.0f;
286 ············final·float·n7·=·n6·/·2.0f;288 ········final·float·n7·=·n6·/·2.0f;
 289 ········if·(Math.abs(n6·-·(float)array[0])·<·n7·&&·Math.abs(n6·-·(float)array[n])·<·n7·&&·Math.abs(n2·*·n6·-·(float)array[2])·<·n2·*·n7·&&·Math.abs(n6·-·(float)array[3])·<·n7·&&·Math.abs(n6·-·(float)array[4])·<·n7)·{
287 ············if·(Math.abs(n6·-·(float)array[0])·>=·n7·||·Math.abs(n6·-·(float)array[n])·>=·n7·||·Math.abs(n2·*·n6·-·(float)array[2])·>=·n2·*·n7·||·Math.abs(n6·-·(float)array[3])·>=·n7·||·Math.abs(n6·-·(float)array[4])·>=·n7)·{ 
288 ················n·=·0; 
289 ············} 
290 ············n3·=·n;290 ············n3·=·n;
291 ············return·n3·!=·0;291 ············return·n3·!=·0;
292 ········}292 ········}
293 ········return·n3·!=·0;293 ········return·n3·!=·0;
294 ····}294 ····}
295 ····295 ····
296 ····private·int[]·getCrossCheckStateCount()·{296 ····private·int[]·getCrossCheckStateCount()·{
Offset 400, 15 lines modifiedOffset 400, 15 lines modified
400 ································n·=·2;400 ································n·=·2;
401 ································if·(this.hasSkipped)·{401 ································if·(this.hasSkipped)·{
402 ····································b3·=·this.haveMultiplyConfirmedCenters();402 ····································b3·=·this.haveMultiplyConfirmedCenters();
403 ································}403 ································}
404 ································else·{404 ································else·{
405 ····································final·int·rowSkip·=·this.findRowSkip();405 ····································final·int·rowSkip·=·this.findRowSkip();
406 ····································if·(rowSkip·>·array[2])·{406 ····································if·(rowSkip·>·array[2])·{
407 ········································n2·+=·rowSkip·-·array[2]·-·n;407 ········································n2·+=·rowSkip·-·array[2]·-·2;
408 ········································i·=·width·-·1;408 ········································i·=·width·-·1;
409 ····································}409 ····································}
410 ································}410 ································}
411 ································n3·=·0;411 ································n3·=·0;
412 ································array[0]·=·0;412 ································array[0]·=·0;
413 ································array[2]·=·(array[1]·=·0);413 ································array[2]·=·(array[1]·=·0);
414 ································array[4]·=·(array[3]·=·0);414 ································array[4]·=·(array[3]·=·0);
10.8 KB
com/google/zxing/qrcode/encoder/Encoder.class
10.8 KB
procyon -ec {}
    
Offset 239, 14 lines modifiedOffset 239, 18 lines modified
239 ············else·{239 ············else·{
240 ················bitArray.appendBits(n,·4);240 ················bitArray.appendBits(n,·4);
241 ················++i;241 ················++i;
242 ············}242 ············}
243 ········}243 ········}
244 ····}244 ····}
245 ····245 ····
 246 ····private·static·int·calculateBitsNeeded(final·Mode·mode,·final·BitArray·bitArray,·final·BitArray·bitArray2,·final·Version·version)·{
 247 ········return·bitArray.getSize()·+·mode.getCharacterCountBits(version)·+·bitArray2.getSize();
 248 ····}
 249 ····
246 ····private·static·int·calculateMaskPenalty(final·ByteMatrix·byteMatrix)·{250 ····private·static·int·calculateMaskPenalty(final·ByteMatrix·byteMatrix)·{
247 ········return·MaskUtil.applyMaskPenaltyRule1(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule2(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule3(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule4(byteMatrix);251 ········return·MaskUtil.applyMaskPenaltyRule1(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule2(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule3(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule4(byteMatrix);
248 ····}252 ····}
249 ····253 ····
250 ····private·static·int·chooseMaskPattern(final·BitArray·bitArray,·final·ErrorCorrectionLevel·errorCorrectionLevel,·final·Version·version,·final·ByteMatrix·byteMatrix)·{254 ····private·static·int·chooseMaskPattern(final·BitArray·bitArray,·final·ErrorCorrectionLevel·errorCorrectionLevel,·final·Version·version,·final·ByteMatrix·byteMatrix)·{
251 ········int·n·=·-1·>>>·1;255 ········int·n·=·-1·>>>·1;
252 ········int·n2·=·-1;256 ········int·n2·=·-1;
Offset 263, 21 lines modifiedOffset 267, 16 lines modified
263 ····267 ····
264 ····public·static·Mode·chooseMode(final·String·s)·{268 ····public·static·Mode·chooseMode(final·String·s)·{
265 ········return·chooseMode(s,·null);269 ········return·chooseMode(s,·null);
266 ····}270 ····}
267 ····271 ····
268 ····private·static·Mode·chooseMode(final·String·s,·final·String·anObject)·{272 ····private·static·Mode·chooseMode(final·String·s,·final·String·anObject)·{
269 ········Mode·mode;273 ········Mode·mode;
270 ········if·("Shift_JIS".equals(anObject))·{274 ········if·("Shift_JIS".equals(anObject)·&&·isOnlyDoubleByteKanji(s))·{
271 ············if·(isOnlyDoubleByteKanji(s))·{ 
272 ················mode·=·Mode.KANJI;275 ············mode·=·Mode.KANJI;
273 ············} 
274 ············else·{ 
275 ················mode·=·Mode.BYTE; 
276 ············} 
277 ········}276 ········}
278 ········else·{277 ········else·{
279 ············boolean·b·=·false;278 ············boolean·b·=·false;
280 ············boolean·b2·=·false;279 ············boolean·b2·=·false;
281 ············for·(int·i·=·0;·i·<·s.length();·++i)·{280 ············for·(int·i·=·0;·i·<·s.length();·++i)·{
282 ················final·char·char1·=·s.charAt(i);281 ················final·char·char1·=·s.charAt(i);
283 ················if·(char1·>=·'0'·&&·char1·<=·'9')·{282 ················if·(char1·>=·'0'·&&·char1·<=·'9')·{
Offset 303, 72 lines modifiedOffset 302, 75 lines modified
303 ········}302 ········}
304 ········return·mode;303 ········return·mode;
305 ····}304 ····}
306 ····305 ····
307 ····private·static·Version·chooseVersion(final·int·n,·final·ErrorCorrectionLevel·errorCorrectionLevel)·{306 ····private·static·Version·chooseVersion(final·int·n,·final·ErrorCorrectionLevel·errorCorrectionLevel)·{
308 ········for·(int·i·=·1;·i·<=·40;·++i)·{307 ········for·(int·i·=·1;·i·<=·40;·++i)·{
309 ············final·Version·versionForNumber·=·Version.getVersionForNumber(i);308 ············final·Version·versionForNumber·=·Version.getVersionForNumber(i);
310 ············if·(versionForNumber.getTotalCodewords()·-·versionForNumber.getECBlocksForLevel(errorCorrectionLevel).getTotalECCodewords()·>=·(n·+·7)·/·8)·{309 ············if·(willFit(n,·versionForNumber,·errorCorrectionLevel))·{
311 ················return·versionForNumber;310 ················return·versionForNumber;
312 ············}311 ············}
313 ········}312 ········}
314 ········throw·new·WriterException("Data·too·big");313 ········throw·new·WriterException("Data·too·big");
315 ····}314 ····}
316 ····315 ····
317 ····public·static·QRCode·encode(final·String·s,·final·ErrorCorrectionLevel·errorCorrectionLevel)·{316 ····public·static·QRCode·encode(final·String·s,·final·ErrorCorrectionLevel·errorCorrectionLevel)·{
318 ········return·encode(s,·errorCorrectionLevel,·null);317 ········return·encode(s,·errorCorrectionLevel,·null);
319 ····}318 ····}
320 ····319 ····
321 ····public·static·QRCode·encode(final·String·s,·final·ErrorCorrectionLevel·ecLevel,·final·Map·map)·{320 ····public·static·QRCode·encode(final·String·s,·final·ErrorCorrectionLevel·ecLevel,·final·Map·map)·{
322 ········String·anObject; 
323 ········if·(map·==·null)·{ 
324 ············anObject·=·null;321 ········String·string·=·"ISO-8859-1";
 322 ········if·(map·!=·null·&&·map.containsKey(EncodeHintType.CHARACTER_SET))·{
 323 ············string·=·map.get(EncodeHintType.CHARACTER_SET).toString();
325 ········}324 ········}
326 ········else·{ 
327 ············anObject·=·map.get(EncodeHintType.CHARACTER_SET); 
328 ········} 
329 ········if·(anObject·==·null)·{ 
330 ············anObject·=·"ISO-8859-1"; 
331 ········} 
332 ········final·Mode·chooseMode·=·chooseMode(s,·anObject);325 ········final·Mode·chooseMode·=·chooseMode(s,·string);
333 ········final·BitArray·bitArray·=·new·BitArray();326 ········final·BitArray·bitArray·=·new·BitArray();
334 ········if·(chooseMode·==·Mode.BYTE·&&·!"ISO-8859-1".equals(anObject))·{327 ········if·(chooseMode·==·Mode.BYTE·&&·!"ISO-8859-1".equals(string))·{
335 ············final·CharacterSetECI·characterSetECIByName·=·CharacterSetECI.getCharacterSetECIByName(anObject);328 ············final·CharacterSetECI·characterSetECIByName·=·CharacterSetECI.getCharacterSetECIByName(string);
336 ············if·(characterSetECIByName·!=·null)·{329 ············if·(characterSetECIByName·!=·null)·{
337 ················appendECI(characterSetECIByName,·bitArray);330 ················appendECI(characterSetECIByName,·bitArray);
338 ············}331 ············}
339 ········}332 ········}
340 ········appendModeInfo(chooseMode,·bitArray);333 ········appendModeInfo(chooseMode,·bitArray);
341 ········final·BitArray·bitArray2·=·new·BitArray();334 ········final·BitArray·bitArray2·=·new·BitArray();
342 ········appendBytes(s,·chooseMode,·bitArray2,·anObject);335 ········appendBytes(s,·chooseMode,·bitArray2,·string);
343 ········final·Version·chooseVersion·=·chooseVersion(bitArray.getSize()·+·chooseMode.getCharacterCountBits(chooseVersion(bitArray.getSize()·+·chooseMode.getCharacterCountBits(Version.getVersionForNumber(1))·+·bitArray2.getSize(),·ecLevel))·+·bitArray2.getSize(),·ec[·...·truncated·by·diffoscope;·len:·6,·SHA:·269b5b863d861fa880c7757b2ca81763cf5a3079be499415be9deaca88f0fb7f·...·];336 ········Version·version;
 337 ········if·(map·!=·null·&&·map.containsKey(EncodeHintType.QR_VERSION))·{
 338 ············version·=·Version.getVersionForNumber(Integer.parseInt(map.get(EncodeHintType.QR_VERSION).toString()));
 339 ············if·(!willFit(calculateBitsNeeded(chooseMode,·bitArray,·bitArray2,·version),·version,·ecLevel))·{
 340 ················throw·new·WriterException("Data·too·big·for·requested·version");
 341 ············}
 342 ········}
 343 ········else·{
 344 ············version·=·recommendVersion(ecLevel,·chooseMode,·bitArray,·bitArray2);
 345 ········}
344 ········final·BitArray·bitArray3·=·new·BitArray();346 ········final·BitArray·bitArray3·=·new·BitArray();
345 ········bitArray3.appendBitArray(bitArray);347 ········bitArray3.appendBitArray(bitArray);
346 ········int·n;348 ········int·n;
347 ········if·(chooseMode·==·Mode.BYTE)·{349 ········if·(chooseMode·==·Mode.BYTE)·{
348 ············n·=·bitArray2.getSizeInBytes();350 ············n·=·bitArray2.getSizeInBytes();
349 ········}351 ········}
350 ········else·{352 ········else·{
351 ············n·=·s.length();353 ············n·=·s.length();
352 ········}354 ········}
353 ········appendLengthInfo(n,·chooseVersion,·chooseMode,·bitArray3);355 ········appendLengthInfo(n,·version,·chooseMode,·bitArray3);
354 ········bitArray3.appendBitArray(bitArray2);356 ········bitArray3.appendBitArray(bitArray2);
355 ········final·Version$ECBlocks·ecBlocksForLevel·=·chooseVersion.getECBlocksForLevel(ecLevel);357 ········final·Version$ECBlocks·ecBlocksForLevel·=·version.getECBlocksForLevel(ecLevel);
356 ········final·int·n2·=·chooseVersion.getTotalCodewords()·-·ecBlocksForLevel.getTotalECCodewords();358 ········final·int·n2·=·version.getTotalCodewords()·-·ecBlocksForLevel.getTotalECCodewords();
357 ········terminateBits(n2,·bitArray3);359 ········terminateBits(n2,·bitArray3);
358 ········final·BitArray·interleaveWithECBytes·=·interleaveWithECBytes(bitArray3,·chooseVersion.getTotalCodewords(),·n2,·ecBlocksForLevel.getNumBlocks());360 ········final·BitArray·interleaveWithECBytes·=·interleaveWithECBytes(bitArray3,·version.getTotalCodewords(),·n2,·ecBlocksForLevel.getNumBlocks());
359 ········final·QRCode·qrCode·=·new·QRCode();361 ········final·QRCode·qrCode·=·new·QRCode();
360 ········qrCode.setECLevel(ecLevel);362 ········qrCode.setECLevel(ecLevel);
361 ········qrCode.setMode(chooseMode);363 ········qrCode.setMode(chooseMode);
362 ········qrCode.setVersion(chooseVersion);364 ········qrCode.setVersion(version);
363 ········final·int·dimensionForVersion·=·chooseVersion.getDimensionForVersion();365 ········final·int·dimensionForVersion·=·version.getDimensionForVersion();
364 ········final·ByteMatrix·matrix·=·new·ByteMatrix(dimensionForVersion,·dimensionForVersion);366 ········final·ByteMatrix·matrix·=·new·ByteMatrix(dimensionForVersion,·dimensionForVersion);
365 ········final·int·chooseMaskPattern·=·chooseMaskPattern(interleaveWithECBytes,·ecLevel,·chooseVersion,·matrix);367 ········final·int·chooseMaskPattern·=·chooseMaskPattern(interleaveWithECBytes,·ecLevel,·version,·matrix);
366 ········qrCode.setMaskPattern(chooseMaskPattern);368 ········qrCode.setMaskPattern(chooseMaskPattern);
367 ········MatrixUtil.buildMatrix(interleaveWithECBytes,·ecLevel,·chooseVersion,·chooseMaskPattern,·matrix);369 ········MatrixUtil.buildMatrix(interleaveWithECBytes,·ecLevel,·version,·chooseMaskPattern,·matrix);
368 ········qrCode.setMatrix(matrix);370 ········qrCode.setMatrix(matrix);
369 ········return·qrCode;371 ········return·qrCode;
370 ····}372 ····}
371 ····373 ····
372 ····static·byte[]·generateECBytes(final·byte[]·array,·final·int·n)·{374 ····static·byte[]·generateECBytes(final·byte[]·array,·final·int·n)·{
373 ········final·int·length·=·array.length;375 ········final·int·length·=·array.length;
374 ········final·int[]·array2·=·new·int[length·+·n];376 ········final·int[]·array2·=·new·int[length·+·n];
Offset 435, 15 lines modifiedOffset 437, 15 lines modified
435 ········final·ArrayList<BlockPair>·list·=·new·ArrayList<BlockPair>(initialCapacity);437 ········final·ArrayList<BlockPair>·list·=·new·ArrayList<BlockPair>(initialCapacity);
436 ········for·(int·j·=·0;·j·<·initialCapacity;·++j)·{438 ········for·(int·j·=·0;·j·<·initialCapacity;·++j)·{
Max diff block lines reached; 3699/10984 bytes (33.68%) of diff not shown.
2.32 KB
com/google/zxing/qrcode/encoder/MaskUtil.class
2.23 KB
procyon -ec {}
    
Offset 105, 15 lines modifiedOffset 105, 15 lines modified
105 ············for·(int·j·=·0;·j·<·width;·++j)·{105 ············for·(int·j·=·0;·j·<·width;·++j)·{
106 ················if·(array2[j]·==·1)·{106 ················if·(array2[j]·==·1)·{
107 ····················++n;107 ····················++n;
108 ················}108 ················}
109 ············}109 ············}
110 ········}110 ········}
111 ········final·int·n2·=·byteMatrix.getHeight()·*·byteMatrix.getWidth();111 ········final·int·n2·=·byteMatrix.getHeight()·*·byteMatrix.getWidth();
112 ········return·Math.abs(n·*·2·-·n2)·*·10·/·n2·*·10;112 ········return·Math.abs((n·<<·1)·-·n2)·*·10·/·n2·*·10;
113 ····}113 ····}
114 ····114 ····
115 ····static·boolean·getDataMaskBit(final·int·i,·final·int·n,·final·int·n2)·{115 ····static·boolean·getDataMaskBit(final·int·i,·final·int·n,·final·int·n2)·{
116 ········int·n3·=·0;116 ········int·n3·=·0;
117 ········switch·(i)·{117 ········switch·(i)·{
118 ············default:·{118 ············default:·{
119 ················throw·new·IllegalArgumentException("Invalid·mask·pattern:·"·+·i);119 ················throw·new·IllegalArgumentException("Invalid·mask·pattern:·"·+·i);
Offset 152, 29 lines modifiedOffset 152, 35 lines modified
152 ················n3·=·(n2·*·n·%·3·+·(n2·+·n·&·0x1)·&·0x1);152 ················n3·=·(n2·*·n·%·3·+·(n2·+·n·&·0x1)·&·0x1);
153 ················break;153 ················break;
154 ············}154 ············}
155 ········}155 ········}
156 ········return·n3·==·0;156 ········return·n3·==·0;
157 ····}157 ····}
158 ····158 ····
159 ····private·static·boolean·isWhiteHorizontal(final·byte[]·array,·final·int·n,·final·int·n2)·{159 ····private·static·boolean·isWhiteHorizontal(final·byte[]·array,·int·max,·int·min)·{
160 ········byte·b·=·(byte)(true·?·1·:·0);160 ········final·boolean·b·=·true;
 161 ········boolean·b2·=·false;
 162 ········max·=·Math.max(max,·0);
 163 ········min·=·Math.min(min,·array.length);
161 ········for·(int·i·=·n;·i·<·n2;·++i)·{164 ········for·(int·i·=·max;·i·<·min;·++i)·{
 165 ············if·(array[i]·==·(b·?·1·:·0))·{
162 ············if·(i·>=·0·&&·i·<·array.length·&&·array[i]·==·b)·{ 
163 ················b·=·0; 
164 ················break;166 ················return·b2;
165 ············}167 ············}
166 ········}168 ········}
 169 ········b2·=·b;
167 ········return·b·!=·0;170 ········return·b2;
168 ····}171 ····}
169 ····172 ····
170 ····private·static·boolean·isWhiteVertical(final·byte[][]·array,·final·int·n,·final·int·n2,·final·int·n3)·{173 ····private·static·boolean·isWhiteVertical(final·byte[][]·array,·final·int·n,·int·max,·int·min)·{
171 ········byte·b·=·(byte)(true·?·1·:·0);174 ········final·boolean·b·=·true;
 175 ········boolean·b2·=·false;
 176 ········max·=·Math.max(max,·0);
 177 ········min·=·Math.min(min,·array.length);
172 ········for·(int·i·=·n2;·i·<·n3;·++i)·{178 ········for·(int·i·=·max;·i·<·min;·++i)·{
 179 ············if·(array[i][n]·==·(b·?·1·:·0))·{
173 ············if·(i·>=·0·&&·i·<·array.length·&&·array[i][n]·==·b)·{ 
174 ················b·=·0; 
175 ················break;180 ················return·b2;
176 ············}181 ············}
177 ········}182 ········}
 183 ········b2·=·b;
178 ········return·b·!=·0;184 ········return·b2;
179 ····}185 ····}
180 }186 }
3.58 KB
com/google/zxing/qrcode/encoder/MatrixUtil.class
3.48 KB
procyon -ec {}
    
Offset 646, 22 lines modifiedOffset 646, 20 lines modified
646 ····646 ····
647 ····private·static·void·embedPositionDetectionPatternsAndSeparators(final·ByteMatrix·byteMatrix)·{647 ····private·static·void·embedPositionDetectionPatternsAndSeparators(final·ByteMatrix·byteMatrix)·{
648 ········final·int·n·=·7;648 ········final·int·n·=·7;
649 ········final·int·length·=·MatrixUtil.POSITION_DETECTION_PATTERN[0].length;649 ········final·int·length·=·MatrixUtil.POSITION_DETECTION_PATTERN[0].length;
650 ········embedPositionDetectionPattern(0,·0,·byteMatrix);650 ········embedPositionDetectionPattern(0,·0,·byteMatrix);
651 ········embedPositionDetectionPattern(byteMatrix.getWidth()·-·length,·0,·byteMatrix);651 ········embedPositionDetectionPattern(byteMatrix.getWidth()·-·length,·0,·byteMatrix);
652 ········embedPositionDetectionPattern(0,·byteMatrix.getWidth()·-·length,·byteMatrix);652 ········embedPositionDetectionPattern(0,·byteMatrix.getWidth()·-·length,·byteMatrix);
653 ········final·int·n2·=·8; 
654 ········embedHorizontalSeparationPattern(0,·n,·byteMatrix);653 ········embedHorizontalSeparationPattern(0,·n,·byteMatrix);
655 ········embedHorizontalSeparationPattern(byteMatrix.getWidth()·-·n2,·n,·byteMatrix);654 ········embedHorizontalSeparationPattern(byteMatrix.getWidth()·-·8,·n,·byteMatrix);
656 ········embedHorizontalSeparationPattern(0,·byteMatrix.getWidth()·-·n2,·byteMatrix);655 ········embedHorizontalSeparationPattern(0,·byteMatrix.getWidth()·-·8,·byteMatrix);
657 ········final·int·n3·=·7; 
658 ········embedVerticalSeparationPattern(n3,·0,·byteMatrix);656 ········embedVerticalSeparationPattern(n,·0,·byteMatrix);
659 ········embedVerticalSeparationPattern(byteMatrix.getHeight()·-·n3·-·1,·0,·byteMatrix);657 ········embedVerticalSeparationPattern(byteMatrix.getHeight()·-·7·-·1,·0,·byteMatrix);
660 ········embedVerticalSeparationPattern(n3,·byteMatrix.getHeight()·-·n3,·byteMatrix);658 ········embedVerticalSeparationPattern(n,·byteMatrix.getHeight()·-·7,·byteMatrix);
661 ····}659 ····}
662 ····660 ····
663 ····private·static·void·embedTimingPatterns(final·ByteMatrix·byteMatrix)·{661 ····private·static·void·embedTimingPatterns(final·ByteMatrix·byteMatrix)·{
664 ········final·int·n·=·6;662 ········final·int·n·=·6;
665 ········for·(int·i·=·8;·i·<·byteMatrix.getWidth()·-·8;·++i)·{663 ········for·(int·i·=·8;·i·<·byteMatrix.getWidth()·-·8;·++i)·{
666 ············final·int·n2·=·(i·+·1)·%·2;664 ············final·int·n2·=·(i·+·1)·%·2;
667 ············if·(isEmpty(byteMatrix.get(i,·n)))·{665 ············if·(isEmpty(byteMatrix.get(i,·n)))·{
Offset 670, 41 lines modifiedOffset 668, 40 lines modified
670 ············if·(isEmpty(byteMatrix.get(n,·i)))·{668 ············if·(isEmpty(byteMatrix.get(n,·i)))·{
671 ················byteMatrix.set(n,·i,·n2);669 ················byteMatrix.set(n,·i,·n2);
672 ············}670 ············}
673 ········}671 ········}
674 ····}672 ····}
675 ····673 ····
676 ····static·void·embedTypeInfo(final·ErrorCorrectionLevel·errorCorrectionLevel,·final·int·n,·final·ByteMatrix·byteMatrix)·{674 ····static·void·embedTypeInfo(final·ErrorCorrectionLevel·errorCorrectionLevel,·final·int·n,·final·ByteMatrix·byteMatrix)·{
 675 ········final·int·n2·=·8;
677 ········final·BitArray·bitArray·=·new·BitArray();676 ········final·BitArray·bitArray·=·new·BitArray();
678 ········makeTypeInfoBits(errorCorrectionLevel,·n,·bitArray);677 ········makeTypeInfoBits(errorCorrectionLevel,·n,·bitArray);
679 ········for·(int·i·=·0;·i·<·bitArray.getSize();·++i)·{678 ········for·(int·i·=·0;·i·<·bitArray.getSize();·++i)·{
680 ············final·boolean·value·=·bitArray.get(bitArray.getSize()·-·1·-·i);679 ············final·boolean·value·=·bitArray.get(bitArray.getSize()·-·1·-·i);
681 ············byteMatrix.set(MatrixUtil.TYPE_INFO_COORDINATES[i][0],·MatrixUtil.TYPE_INFO_COORDINATES[i][1],·value);680 ············byteMatrix.set(MatrixUtil.TYPE_INFO_COORDINATES[i][0],·MatrixUtil.TYPE_INFO_COORDINATES[i][1],·value);
682 ············if·(i·<·8)·{681 ············if·(i·<·n2)·{
683 ················byteMatrix.set(byteMatrix.getWidth()·-·i·-·1,·8,·value);682 ················byteMatrix.set(byteMatrix.getWidth()·-·i·-·1,·n2,·value);
684 ············}683 ············}
685 ············else·{684 ············else·{
686 ················byteMatrix.set(8,·byteMatrix.getHeight()·-·7·+·(i·-·8),·value);685 ················byteMatrix.set(n2,·byteMatrix.getHeight()·-·7·+·(i·-·8),·value);
687 ············}686 ············}
688 ········}687 ········}
689 ····}688 ····}
690 ····689 ····
691 ····private·static·void·embedVerticalSeparationPattern(final·int·n,·final·int·n2,·final·ByteMatrix·byteMatrix)·{690 ····private·static·void·embedVerticalSeparationPattern(final·int·n,·final·int·n2,·final·ByteMatrix·byteMatrix)·{
692 ········for·(int·i·=·0;·i·<·7;·++i)·{691 ········for·(int·i·=·0;·i·<·7;·++i)·{
693 ············if·(!isEmpty(byteMatrix.get(n,·n2·+·i)))·{692 ············if·(!isEmpty(byteMatrix.get(n,·n2·+·i)))·{
694 ················throw·new·WriterException();693 ················throw·new·WriterException();
695 ············}694 ············}
696 ············byteMatrix.set(n,·n2·+·i,·0);695 ············byteMatrix.set(n,·n2·+·i,·0);
697 ········}696 ········}
698 ····}697 ····}
699 ····698 ····
700 ····static·int·findMSBSet(int·i)·{699 ····static·int·findMSBSet(final·int·i)·{
 700 ········return·32·-·Integer.numberOfLeadingZeros(i);
701 ········int·n; 
702 ········for·(n·=·0;·i·!=·0;·i·>>>=·1,·++n)·{} 
703 ········return·n; 
704 ····}701 ····}
705 ····702 ····
706 ····private·static·boolean·isEmpty(final·int·n)·{703 ····private·static·boolean·isEmpty(final·int·n)·{
707 ········return·n·==·-1;704 ········return·n·==·-1;
708 ····}705 ····}
709 ····706 ····
710 ····static·void·makeTypeInfoBits(final·ErrorCorrectionLevel·errorCorrectionLevel,·final·int·n,·final·BitArray·bitArray)·{707 ····static·void·makeTypeInfoBits(final·ErrorCorrectionLevel·errorCorrectionLevel,·final·int·n,·final·BitArray·bitArray)·{
1.39 KB
com/google/zxing/ChecksumException.class
1.31 KB
javap -verbose -constants -s -l -private {}
    
Offset 52, 22 lines modifiedOffset 52, 20 lines modified
52 ······stack=300,·locals=2,·args_size=052 ······stack=300,·locals=2,·args_size=0
53 ·········0:·new···········#2··················//·class·com/google/zxing/ChecksumException53 ·········0:·new···········#2··················//·class·com/google/zxing/ChecksumException
54 ·········3:·astore_054 ·········3:·astore_0
55 ·········4:·aload_055 ·········4:·aload_0
56 ·········5:·invokespecial·#10·················//·Method·"<init>":()V56 ·········5:·invokespecial·#10·················//·Method·"<init>":()V
57 ·········8:·aload_057 ·········8:·aload_0
58 ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/ChecksumException;58 ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/ChecksumException;
59 ········12:·getstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/ChecksumException; 
60 ········15:·astore_0 
61 ········16:·getstatic·····#16·················//·Field·NO_TRACE:[Ljava/lang/StackTraceElement;59 ········12:·getstatic·····#16·················//·Field·NO_TRACE:[Ljava/lang/StackTraceElement;
62 ········19:·astore_160 ········15:·astore_1
63 ········20:·aload_061 ········16:·aload_0
64 ········21:·aload_162 ········17:·aload_1
65 ········22:·invokevirtual·#20·················//·Method·setStackTrace:([Ljava/lang/StackTraceElement;)V63 ········18:·invokevirtual·#20·················//·Method·setStackTrace:([Ljava/lang/StackTraceElement;)V
66 ········25:·return64 ········21:·return
  
67 ··private·com.google.zxing.ChecksumException();65 ··private·com.google.zxing.ChecksumException();
68 ····descriptor:·()V66 ····descriptor:·()V
69 ····flags:·(0x0002)·ACC_PRIVATE67 ····flags:·(0x0002)·ACC_PRIVATE
70 ····Code:68 ····Code:
71 ······stack=300,·locals=1,·args_size=169 ······stack=300,·locals=1,·args_size=1
72 ·········0:·aload_070 ·········0:·aload_0
1.38 KB
com/google/zxing/FormatException.class
1.3 KB
javap -verbose -constants -s -l -private {}
    
Offset 52, 22 lines modifiedOffset 52, 20 lines modified
52 ······stack=300,·locals=2,·args_size=052 ······stack=300,·locals=2,·args_size=0
53 ·········0:·new···········#2··················//·class·com/google/zxing/FormatException53 ·········0:·new···········#2··················//·class·com/google/zxing/FormatException
54 ·········3:·astore_054 ·········3:·astore_0
55 ·········4:·aload_055 ·········4:·aload_0
56 ·········5:·invokespecial·#10·················//·Method·"<init>":()V56 ·········5:·invokespecial·#10·················//·Method·"<init>":()V
57 ·········8:·aload_057 ·········8:·aload_0
58 ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/FormatException;58 ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/FormatException;
59 ········12:·getstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/FormatException; 
60 ········15:·astore_0 
61 ········16:·getstatic·····#16·················//·Field·NO_TRACE:[Ljava/lang/StackTraceElement;59 ········12:·getstatic·····#16·················//·Field·NO_TRACE:[Ljava/lang/StackTraceElement;
62 ········19:·astore_160 ········15:·astore_1
63 ········20:·aload_061 ········16:·aload_0
64 ········21:·aload_162 ········17:·aload_1
65 ········22:·invokevirtual·#20·················//·Method·setStackTrace:([Ljava/lang/StackTraceElement;)V63 ········18:·invokevirtual·#20·················//·Method·setStackTrace:([Ljava/lang/StackTraceElement;)V
66 ········25:·return64 ········21:·return
  
67 ··private·com.google.zxing.FormatException();65 ··private·com.google.zxing.FormatException();
68 ····descriptor:·()V66 ····descriptor:·()V
69 ····flags:·(0x0002)·ACC_PRIVATE67 ····flags:·(0x0002)·ACC_PRIVATE
70 ····Code:68 ····Code:
71 ······stack=300,·locals=1,·args_size=169 ······stack=300,·locals=1,·args_size=1
72 ·········0:·aload_070 ·········0:·aload_0
2.79 KB
com/google/zxing/MultiFormatWriter.class
2.71 KB
procyon -ec {}
    
Offset 3, 18 lines modifiedOffset 3, 20 lines modified
  
3 import·com.google.zxing.aztec.AztecWriter;3 import·com.google.zxing.aztec.AztecWriter;
4 import·com.google.zxing.datamatrix.DataMatrixWriter;4 import·com.google.zxing.datamatrix.DataMatrixWriter;
5 import·com.google.zxing.oned.CodaBarWriter;5 import·com.google.zxing.oned.CodaBarWriter;
6 import·com.google.zxing.pdf417.PDF417Writer;6 import·com.google.zxing.pdf417.PDF417Writer;
7 import·com.google.zxing.oned.ITFWriter;7 import·com.google.zxing.oned.ITFWriter;
8 import·com.google.zxing.oned.Code128Writer;8 import·com.google.zxing.oned.Code128Writer;
 9 import·com.google.zxing.oned.Code93Writer;
9 import·com.google.zxing.oned.Code39Writer;10 import·com.google.zxing.oned.Code39Writer;
10 import·com.google.zxing.qrcode.QRCodeWriter;11 import·com.google.zxing.qrcode.QRCodeWriter;
11 import·com.google.zxing.oned.UPCAWriter;12 import·com.google.zxing.oned.UPCAWriter;
12 import·com.google.zxing.oned.EAN13Writer;13 import·com.google.zxing.oned.EAN13Writer;
 14 import·com.google.zxing.oned.UPCEWriter;
13 import·com.google.zxing.oned.EAN8Writer;15 import·com.google.zxing.oned.EAN8Writer;
14 import·java.util.Map;16 import·java.util.Map;
15 import·com.google.zxing.common.BitMatrix;17 import·com.google.zxing.common.BitMatrix;
  
16 public·final·class·MultiFormatWriter·implements·Writer18 public·final·class·MultiFormatWriter·implements·Writer
17 {19 {
18 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{20 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{
Offset 28, 50 lines modifiedOffset 30, 58 lines modified
28 ················throw·new·IllegalArgumentException("No·encoder·available·for·format·"·+·obj);30 ················throw·new·IllegalArgumentException("No·encoder·available·for·format·"·+·obj);
29 ············}31 ············}
30 ············case·1:·{32 ············case·1:·{
31 ················o·=·new·EAN8Writer();33 ················o·=·new·EAN8Writer();
32 ················break;34 ················break;
33 ············}35 ············}
34 ············case·2:·{36 ············case·2:·{
35 ················o·=·new·EAN13Writer();37 ················o·=·new·UPCEWriter();
36 ················break;38 ················break;
37 ············}39 ············}
38 ············case·3:·{40 ············case·3:·{
39 ················o·=·new·UPCAWriter();41 ················o·=·new·EAN13Writer();
40 ················break;42 ················break;
41 ············}43 ············}
42 ············case·4:·{44 ············case·4:·{
43 ················o·=·new·QRCodeWriter();45 ················o·=·new·UPCAWriter();
44 ················break;46 ················break;
45 ············}47 ············}
46 ············case·5:·{48 ············case·5:·{
47 ················o·=·new·Code39Writer();49 ················o·=·new·QRCodeWriter();
48 ················break;50 ················break;
49 ············}51 ············}
50 ············case·6:·{52 ············case·6:·{
51 ················o·=·new·Code128Writer();53 ················o·=·new·Code39Writer();
52 ················break;54 ················break;
53 ············}55 ············}
54 ············case·7:·{56 ············case·7:·{
55 ················o·=·new·ITFWriter();57 ················o·=·new·Code93Writer();
56 ················break;58 ················break;
57 ············}59 ············}
58 ············case·8:·{60 ············case·8:·{
59 ················o·=·new·PDF417Writer();61 ················o·=·new·Code128Writer();
60 ················break;62 ················break;
61 ············}63 ············}
62 ············case·9:·{64 ············case·9:·{
63 ················o·=·new·CodaBarWriter();65 ················o·=·new·ITFWriter();
64 ················break;66 ················break;
65 ············}67 ············}
66 ············case·10:·{68 ············case·10:·{
67 ················o·=·new·DataMatrixWriter();69 ················o·=·new·PDF417Writer();
68 ················break;70 ················break;
69 ············}71 ············}
70 ············case·11:·{72 ············case·11:·{
 73 ················o·=·new·CodaBarWriter();
 74 ················break;
 75 ············}
 76 ············case·12:·{
 77 ················o·=·new·DataMatrixWriter();
 78 ················break;
 79 ············}
 80 ············case·13:·{
71 ················o·=·new·AztecWriter();81 ················o·=·new·AztecWriter();
72 ················break;82 ················break;
73 ············}83 ············}
74 ········}84 ········}
75 ········return·((Writer)o).encode(s,·obj,·n,·n2,·map);85 ········return·((Writer)o).encode(s,·obj,·n,·n2,·map);
76 ····}86 ····}
77 }87 }
1.39 KB
com/google/zxing/NotFoundException.class
1.31 KB
javap -verbose -constants -s -l -private {}
    
Offset 43, 22 lines modifiedOffset 43, 20 lines modified
43 ······stack=300,·locals=2,·args_size=043 ······stack=300,·locals=2,·args_size=0
44 ·········0:·new···········#2··················//·class·com/google/zxing/NotFoundException44 ·········0:·new···········#2··················//·class·com/google/zxing/NotFoundException
45 ·········3:·astore_045 ·········3:·astore_0
46 ·········4:·aload_046 ·········4:·aload_0
47 ·········5:·invokespecial·#10·················//·Method·"<init>":()V47 ·········5:·invokespecial·#10·················//·Method·"<init>":()V
48 ·········8:·aload_048 ·········8:·aload_0
49 ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/NotFoundException;49 ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/NotFoundException;
50 ········12:·getstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/NotFoundException; 
51 ········15:·astore_0 
52 ········16:·getstatic·····#16·················//·Field·NO_TRACE:[Ljava/lang/StackTraceElement;50 ········12:·getstatic·····#16·················//·Field·NO_TRACE:[Ljava/lang/StackTraceElement;
53 ········19:·astore_151 ········15:·astore_1
54 ········20:·aload_052 ········16:·aload_0
55 ········21:·aload_153 ········17:·aload_1
56 ········22:·invokevirtual·#20·················//·Method·setStackTrace:([Ljava/lang/StackTraceElement;)V54 ········18:·invokevirtual·#20·················//·Method·setStackTrace:([Ljava/lang/StackTraceElement;)V
57 ········25:·return55 ········21:·return
  
58 ··private·com.google.zxing.NotFoundException();56 ··private·com.google.zxing.NotFoundException();
59 ····descriptor:·()V57 ····descriptor:·()V
60 ····flags:·(0x0002)·ACC_PRIVATE58 ····flags:·(0x0002)·ACC_PRIVATE
61 ····Code:59 ····Code:
62 ······stack=300,·locals=1,·args_size=160 ······stack=300,·locals=1,·args_size=1
63 ·········0:·aload_061 ·········0:·aload_0
1.44 KB
com/google/zxing/PlanarYUVLuminanceSource.class
1.35 KB
procyon -ec {}
    
Offset 51, 17 lines modifiedOffset 51, 16 lines modified
51 ············final·int·n·=·width·*·height;51 ············final·int·n·=·width·*·height;
52 ············yuvData·=·new·byte[n];52 ············yuvData·=·new·byte[n];
53 ············int·n2·=·this.top·*·this.dataWidth·+·this.left;53 ············int·n2·=·this.top·*·this.dataWidth·+·this.left;
54 ············if·(width·==·this.dataWidth)·{54 ············if·(width·==·this.dataWidth)·{
55 ················System.arraycopy(this.yuvData,·n2,·yuvData,·0,·n);55 ················System.arraycopy(this.yuvData,·n2,·yuvData,·0,·n);
56 ············}56 ············}
57 ············else·{57 ············else·{
58 ················final·byte[]·yuvData2·=·this.yuvData; 
59 ················for·(int·i·=·0;·i·<·height;·++i)·{58 ················for·(int·i·=·0;·i·<·height;·++i)·{
60 ····················System.arraycopy(yuvData2,·n2,·yuvData,·i·*·width,·width);59 ····················System.arraycopy(this.yuvData,·n2,·yuvData,·i·*·width,·width);
61 ····················n2·+=·this.dataWidth;60 ····················n2·+=·this.dataWidth;
62 ················}61 ················}
63 ············}62 ············}
64 ········}63 ········}
65 ········return·yuvData;64 ········return·yuvData;
66 ····}65 ····}
67 ····66 ····
Offset 94, 14 lines modifiedOffset 93, 14 lines modified
94 ········final·int·n2·=·this.getHeight()·/·2;93 ········final·int·n2·=·this.getHeight()·/·2;
95 ········final·int[]·array·=·new·int[n·*·n2];94 ········final·int[]·array·=·new·int[n·*·n2];
96 ········final·byte[]·yuvData·=·this.yuvData;95 ········final·byte[]·yuvData·=·this.yuvData;
97 ········int·n3·=·this.top·*·this.dataWidth·+·this.left;96 ········int·n3·=·this.top·*·this.dataWidth·+·this.left;
98 ········for·(int·i·=·0;·i·<·n2;·++i)·{97 ········for·(int·i·=·0;·i·<·n2;·++i)·{
99 ············final·int·n4·=·i·*·n;98 ············final·int·n4·=·i·*·n;
100 ············for·(int·j·=·0;·j·<·n;·++j)·{99 ············for·(int·j·=·0;·j·<·n;·++j)·{
101 ················array[n4·+·j]·=·(0xFF000000·|·65793·*·(yuvData[j·*·2·+·n3]·&·0xFF));100 ················array[n4·+·j]·=·(0xFF000000·|·65793·*·(yuvData[(j·<<·1)·+·n3]·&·0xFF));
102 ············}101 ············}
103 ············n3·+=·this.dataWidth·*·2;102 ············n3·+=·this.dataWidth·<<·1;
104 ········}103 ········}
105 ········return·array;104 ········return·array;
106 ····}105 ····}
107 }106 }
2.35 KB
com/google/zxing/RGBLuminanceSource.class
2.27 KB
procyon -ec {}
    
Offset 11, 29 lines modifiedOffset 11, 19 lines modified
11 ····11 ····
12 ····public·RGBLuminanceSource(final·int·dataWidth,·final·int·dataHeight,·final·int[]·array)·{12 ····public·RGBLuminanceSource(final·int·dataWidth,·final·int·dataHeight,·final·int[]·array)·{
13 ········super(dataWidth,·dataHeight);13 ········super(dataWidth,·dataHeight);
14 ········this.dataWidth·=·dataWidth;14 ········this.dataWidth·=·dataWidth;
15 ········this.dataHeight·=·dataHeight;15 ········this.dataHeight·=·dataHeight;
16 ········this.left·=·0;16 ········this.left·=·0;
17 ········this.top·=·0;17 ········this.top·=·0;
 18 ········final·int·n·=·dataWidth·*·dataHeight;
18 ········this.luminances·=·new·byte[dataWidth·*·dataHeight];19 ········this.luminances·=·new·byte[n];
19 ········for·(int·i·=·0;·i·<·dataHeight;·++i)·{20 ········for·(int·i·=·0;·i·<·n;·++i)·{
20 ············final·int·n·=·i·*·dataWidth; 
21 ············for·(int·j·=·0;·j·<·dataWidth;·++j)·{ 
22 ················final·int·n2·=·array[n·+·j];21 ············final·int·n2·=·array[i];
 22 ············this.luminances[i]·=·(byte)(((n2·>>·16·&·0xFF)·+·(n2·>>·7·&·0x1FE)·+·(n2·&·0xFF))·/·4);
23 ················final·int·n3·=·n2·>>·16·&·0xFF; 
24 ················final·int·n4·=·n2·>>·8·&·0xFF; 
25 ················final·int·n5·=·n2·&·0xFF; 
26 ················if·(n3·==·n4·&&·n4·==·n5)·{ 
27 ····················this.luminances[n·+·j]·=·(byte)n3; 
28 ················} 
29 ················else·{ 
30 ····················this.luminances[n·+·j]·=·(byte)((n4·*·2·+·n3·+·n5)·/·4); 
31 ················} 
32 ············} 
33 ········}23 ········}
34 ····}24 ····}
35 ····25 ····
36 ····private·RGBLuminanceSource(final·byte[]·luminances,·final·int·dataWidth,·final·int·dataHeight,·final·int·left,·final·int·top,·final·int·n,·final·int·n2)·{26 ····private·RGBLuminanceSource(final·byte[]·luminances,·final·int·dataWidth,·final·int·dataHeight,·final·int·left,·final·int·top,·final·int·n,·final·int·n2)·{
37 ········super(n,·n2);27 ········super(n,·n2);
38 ········if·(left·+·n·>·dataWidth·||·top·+·n2·>·dataHeight)·{28 ········if·(left·+·n·>·dataWidth·||·top·+·n2·>·dataHeight)·{
39 ············throw·new·IllegalArgumentException("Crop·rectangle·does·not·fit·within·image·data.");29 ············throw·new·IllegalArgumentException("Crop·rectangle·does·not·fit·within·image·data.");
Offset 60, 17 lines modifiedOffset 50, 16 lines modified
60 ············final·int·n·=·width·*·height;50 ············final·int·n·=·width·*·height;
61 ············luminances·=·new·byte[n];51 ············luminances·=·new·byte[n];
62 ············int·n2·=·this.top·*·this.dataWidth·+·this.left;52 ············int·n2·=·this.top·*·this.dataWidth·+·this.left;
63 ············if·(width·==·this.dataWidth)·{53 ············if·(width·==·this.dataWidth)·{
64 ················System.arraycopy(this.luminances,·n2,·luminances,·0,·n);54 ················System.arraycopy(this.luminances,·n2,·luminances,·0,·n);
65 ············}55 ············}
66 ············else·{56 ············else·{
67 ················final·byte[]·luminances2·=·this.luminances; 
68 ················for·(int·i·=·0;·i·<·height;·++i)·{57 ················for·(int·i·=·0;·i·<·height;·++i)·{
69 ····················System.arraycopy(luminances2,·n2,·luminances,·i·*·width,·width);58 ····················System.arraycopy(this.luminances,·n2,·luminances,·i·*·width,·width);
70 ····················n2·+=·this.dataWidth;59 ····················n2·+=·this.dataWidth;
71 ················}60 ················}
72 ············}61 ············}
73 ········}62 ········}
74 ········return·luminances;63 ········return·luminances;
75 ····}64 ····}
76 ····65 ····
12.3 KB
com/google/zxing/aztec/AztecReader.class
12.2 KB
procyon -ec {}
Max HTML report size reached
2.2 KB
com/google/zxing/aztec/AztecWriter.class
2.12 KB
procyon -ec {}
    
Offset 49, 49 lines modifiedOffset 49, 24 lines modified
49 ····}49 ····}
50 ····50 ····
51 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{51 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{
52 ········return·this.encode(s,·barcodeFormat,·n,·n2,·null);52 ········return·this.encode(s,·barcodeFormat,·n,·n2,·null);
53 ····}53 ····}
54 ····54 ····
55 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2,·final·Map·map)·{55 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2,·final·Map·map)·{
 56 ········Charset·charset·=·AztecWriter.DEFAULT_CHARSET;
 57 ········int·int1·=·33;
 58 ········int·int2·=·0;
56 ········Number·n3·=·null; 
57 ········String·charsetName; 
58 ········if·(map·==·null)·{ 
59 ············charsetName·=·null; 
60 ········} 
61 ········else·{ 
62 ············charsetName·=·map.get(EncodeHintType.CHARACTER_SET); 
63 ········} 
64 ········Number·n4; 
65 ········if·(map·==·null)·{ 
66 ············n4·=·null; 
67 ········} 
68 ········else·{ 
69 ············n4·=·(Number)map.get(EncodeHintType.ERROR_CORRECTION); 
70 ········} 
71 ········if·(map·!=·null)·{59 ········if·(map·!=·null)·{
72 ············n3·=·(Number)map.get(EncodeHintType.AZTEC_LAYERS);60 ············if·(map.containsKey(EncodeHintType.CHARACTER_SET))·{
 61 ················charset·=·Charset.forName(map.get(EncodeHintType.CHARACTER_SET).toString());
73 ········}62 ············}
 63 ············if·(map.containsKey(EncodeHintType.ERROR_CORRECTION))·{
 64 ················int1·=·Integer.parseInt(map.get(EncodeHintType.ERROR_CORRECTION).toString());
74 ········Charset·charset; 
75 ········if·(charsetName·==·null)·{ 
76 ············charset·=·AztecWriter.DEFAULT_CHARSET; 
77 ········}65 ············}
78 ········else·{ 
79 ············charset·=·Charset.forName(charsetName);66 ············if·(map.containsKey(EncodeHintType.AZTEC_LAYERS))·{
 67 ················int2·=·Integer.parseInt(map.get(EncodeHintType.AZTEC_LAYERS).toString());
80 ········}68 ············}
81 ········int·intValue; 
82 ········if·(n4·==·null)·{ 
83 ············intValue·=·33; 
84 ········} 
85 ········else·{ 
86 ············intValue·=·n4.intValue(); 
87 ········} 
88 ········int·intValue2; 
89 ········if·(n3·==·null)·{ 
90 ············intValue2·=·0; 
91 ········} 
92 ········else·{ 
93 ············intValue2·=·n3.intValue(); 
94 ········}69 ········}
95 ········return·encode(s,·barcodeFormat,·n,·n2,·charset,·intValue,·intValue2);70 ········return·encode(s,·barcodeFormat,·n,·n2,·charset,·int1,·int2);
96 ····}71 ····}
97 }72 }
6.12 KB
com/google/zxing/aztec/encoder/BinaryShiftToken.class
6.02 KB
javap -verbose -constants -s -l -private {}
    
Offset 36, 28 lines modifiedOffset 36, 28 lines modified
36 ··#28·=·Class··············#27············//·java/lang/Math36 ··#28·=·Class··············#27············//·java/lang/Math
37 ··#29·=·Utf8···············min37 ··#29·=·Utf8···············min
38 ··#30·=·Utf8···············(II)I38 ··#30·=·Utf8···············(II)I
39 ··#31·=·NameAndType········#29:#30········//·min:(II)I39 ··#31·=·NameAndType········#29:#30········//·min:(II)I
40 ··#32·=·Methodref··········#28.#31········//·java/lang/Math.min:(II)I40 ··#32·=·Methodref··········#28.#31········//·java/lang/Math.min:(II)I
41 ··#33·=·Utf8···············java/lang/StringBuilder41 ··#33·=·Utf8···············java/lang/StringBuilder
42 ··#34·=·Class··············#33············//·java/lang/StringBuilder42 ··#34·=·Class··············#33············//·java/lang/StringBuilder
43 ··#35·=·Utf8···············()V 
44 ··#36·=·NameAndType········#8:#35·········//·"<init>":()V 
45 ··#37·=·Methodref··········#34.#36········//·java/lang/StringBuilder."<init>":()V 
46 ··#38·=·Utf8···············<43 ··#35·=·Utf8···············<
47 ··#39·=·String·············#38············//·<44 ··#36·=·String·············#35············//·<
 45 ··#37·=·Utf8···············(Ljava/lang/String;)V
 46 ··#38·=·NameAndType········#8:#37·········//·"<init>":(Ljava/lang/String;)V
 47 ··#39·=·Methodref··········#34.#38········//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
48 ··#40·=·Utf8···············append48 ··#40·=·Utf8···············append
 49 ··#41·=·Utf8···············(I)Ljava/lang/StringBuilder;
 50 ··#42·=·NameAndType········#40:#41········//·append:(I)Ljava/lang/StringBuilder;
 51 ··#43·=·Methodref··········#34.#42········//·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
 52 ··#44·=·Utf8···············::
 53 ··#45·=·String·············#44············//·::
49 ··#41·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder;54 ··#46·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder;
50 ··#42·=·NameAndType········#40:#41········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder;55 ··#47·=·NameAndType········#40:#46········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
51 ··#43·=·Methodref··········#34.#42········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;56 ··#48·=·Methodref··········#34.#47········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
52 ··#44·=·Utf8···············(I)Ljava/lang/StringBuilder; 
53 ··#45·=·NameAndType········#40:#44········//·append:(I)Ljava/lang/StringBuilder; 
54 ··#46·=·Methodref··········#34.#45········//·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder; 
55 ··#47·=·Utf8···············:: 
56 ··#48·=·String·············#47············//·:: 
57 ··#49·=·Utf8···············(C)Ljava/lang/StringBuilder;57 ··#49·=·Utf8···············(C)Ljava/lang/StringBuilder;
58 ··#50·=·NameAndType········#40:#49········//·append:(C)Ljava/lang/StringBuilder;58 ··#50·=·NameAndType········#40:#49········//·append:(C)Ljava/lang/StringBuilder;
59 ··#51·=·Methodref··········#34.#50········//·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;59 ··#51·=·Methodref··········#34.#50········//·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;
60 ··#52·=·Utf8···············toString60 ··#52·=·Utf8···············toString
61 ··#53·=·Utf8···············()Ljava/lang/String;61 ··#53·=·Utf8···············()Ljava/lang/String;
62 ··#54·=·NameAndType········#52:#53········//·toString:()Ljava/lang/String;62 ··#54·=·NameAndType········#52:#53········//·toString:()Ljava/lang/String;
63 ··#55·=·Methodref··········#34.#54········//·java/lang/StringBuilder.toString:()Ljava/lang/String;63 ··#55·=·Methodref··········#34.#54········//·java/lang/StringBuilder.toString:()Ljava/lang/String;
Offset 195, 41 lines modifiedOffset 195, 38 lines modified
195 ····descriptor:·()Ljava/lang/String;195 ····descriptor:·()Ljava/lang/String;
196 ····flags:·(0x0001)·ACC_PUBLIC196 ····flags:·(0x0001)·ACC_PUBLIC
197 ····Code:197 ····Code:
198 ······stack=300,·locals=4,·args_size=1198 ······stack=300,·locals=4,·args_size=1
199 ·········0:·new···········#34·················//·class·java/lang/StringBuilder199 ·········0:·new···········#34·················//·class·java/lang/StringBuilder
200 ·········3:·astore_1200 ·········3:·astore_1
201 ·········4:·aload_1201 ·········4:·aload_1
202 ·········5:·invokespecial·#37·················//·Method·java/lang/StringBuilder."<init>":()V 
203 ·········8:·aload_1 
204 ·········9:·ldc···········#39·················//·String·<202 ·········5:·ldc···········#36·················//·String·<
205 ········11:·invokevirtual·#43·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;203 ·········7:·invokespecial·#39·················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
206 ········14:·astore_1 
207 ········15:·aload_0204 ········10:·aload_0
208 ········16:·getfield······#13·················//·Field·binaryShiftStart:S205 ········11:·getfield······#13·················//·Field·binaryShiftStart:S
209 ········19:·istore_2206 ········14:·istore_2
210 ········20:·aload_1207 ········15:·aload_1
211 ········21:·iload_2208 ········16:·iload_2
212 ········22:·invokevirtual·#46·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;209 ········17:·invokevirtual·#43·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
213 ········25:·ldc···········#48·················//·String·::210 ········20:·ldc···········#45·················//·String·::
214 ········27:·invokevirtual·#43·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;211 ········22:·invokevirtual·#48·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
215 ········30:·astore_1212 ········25:·astore_1
 213 ········26:·aload_0
 214 ········27:·getfield······#13·················//·Field·binaryShiftStart:S
 215 ········30:·istore_2
216 ········31:·aload_0216 ········31:·aload_0
217 ········32:·getfield······#13·················//·Field·binaryShiftStart:S 
218 ········35:·istore_2 
219 ········36:·aload_0 
220 ········37:·getfield······#15·················//·Field·binaryShiftByteCount:S217 ········32:·getfield······#15·················//·Field·binaryShiftByteCount:S
221 ········40:·istore_3218 ········35:·istore_3
222 ········41:·iload_2219 ········36:·iload_2
223 ········42:·iload_3220 ········37:·iload_3
224 ········43:·iadd221 ········38:·iadd
225 ········44:·iconst_m1222 ········39:·iconst_m1
226 ········45:·iadd223 ········40:·iadd
227 ········46:·istore_2224 ········41:·istore_2
228 ········47:·aload_1225 ········42:·aload_1
229 ········48:·iload_2226 ········43:·iload_2
230 ········49:·invokevirtual·#46·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;227 ········44:·invokevirtual·#43·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder;
231 ········52:·bipush········62228 ········47:·bipush········62
232 ········54:·invokevirtual·#51·················//·Method·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;229 ········49:·invokevirtual·#51·················//·Method·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder;
233 ········57:·invokevirtual·#55·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;230 ········52:·invokevirtual·#55·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;
234 ········60:·areturn231 ········55:·areturn
235 }232 }
745 B
com/google/zxing/aztec/encoder/SimpleToken.class
649 B
procyon -ec {}
    
Offset 16, 10 lines modifiedOffset 16, 10 lines modified
16 ····16 ····
17 ····void·appendTo(final·BitArray·bitArray,·final·byte[]·array)·{17 ····void·appendTo(final·BitArray·bitArray,·final·byte[]·array)·{
18 ········bitArray.appendBits((int)this.value,·(int)this.bitCount);18 ········bitArray.appendBits((int)this.value,·(int)this.bitCount);
19 ····}19 ····}
20 ····20 ····
21 ····public·String·toString()·{21 ····public·String·toString()·{
22 ········final·int·beginIndex·=·1;22 ········final·int·beginIndex·=·1;
23 ········return·'<'·+·Integer.toBinaryString(beginIndex·<<·this.bitCount·|·((this.value·&·(beginIndex·<<·this.bitCount)·-·1)·|·beginIndex·<<·this.bitCount)).substring(beginIndex)·+·'>';23 ········return·"<"·+·Integer.toBinaryString(beginIndex·<<·this.bitCount·|·((this.value·&·(beginIndex·<<·this.bitCount)·-·1)·|·beginIndex·<<·this.bitCount)).substring(beginIndex)·+·'>';
24 ····}24 ····}
25 }25 }
3.76 KB
com/google/zxing/client/result/AddressBookAUResultParser.class
3.64 KB
javap -verbose -constants -s -l -private {}
    
Offset 122, 15 lines modifiedOffset 122, 15 lines modified
122 ······stack=300,·locals=10,·args_size=4122 ······stack=300,·locals=10,·args_size=4
123 ·········0:·aconst_null123 ·········0:·aconst_null
124 ·········1:·astore········4124 ·········1:·astore········4
125 ·········3:·iconst_1125 ·········3:·iconst_1
126 ·········4:·istore········5126 ·········4:·istore········5
127 ·········6:·iload·········5127 ·········6:·iload·········5
128 ·········8:·iload_1128 ·········8:·iload_1
129 ·········9:·if_icmpgt·····63129 ·········9:·if_icmpgt·····98
130 ········12:·new···········#11·················//·class·java/lang/StringBuilder130 ········12:·new···········#11·················//·class·java/lang/StringBuilder
131 ········15:·astore········6131 ········15:·astore········6
132 ········17:·aload·········6132 ········17:·aload·········6
133 ········19:·invokespecial·#12·················//·Method·java/lang/StringBuilder."<init>":()V133 ········19:·invokespecial·#12·················//·Method·java/lang/StringBuilder."<init>":()V
134 ········22:·aload·········6134 ········22:·aload·········6
135 ········24:·aload_0135 ········24:·aload_0
136 ········25:·invokevirtual·#16·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;136 ········25:·invokevirtual·#16·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 145, 51 lines modifiedOffset 145, 51 lines modified
145 ········47:·aload·········6145 ········47:·aload·········6
146 ········49:·aload_2146 ········49:·aload_2
147 ········50:·iload·········7147 ········50:·iload·········7
148 ········52:·iload_3148 ········52:·iload_3
149 ········53:·invokestatic··#32·················//·Method·matchSinglePrefixedField:(Ljava/lang/String;Ljava/lang/String;CZ)Ljava/lang/String;149 ········53:·invokestatic··#32·················//·Method·matchSinglePrefixedField:(Ljava/lang/String;Ljava/lang/String;CZ)Ljava/lang/String;
150 ········56:·astore········8150 ········56:·astore········8
151 ········58:·aload·········8151 ········58:·aload·········8
152 ········60:·ifnonnull·····77152 ········60:·ifnull········98
153 ········63:·aload·········4153 ········63:·aload·········4
154 ········65:·ifnonnull·····112154 ········65:·ifnonnull·····79
155 ········68:·iconst_0 
156 ········69:·istore········9 
157 ········71:·aconst_null 
158 ········72:·astore········6 
159 ········74:·aload·········6 
160 ········76:·areturn 
161 ········77:·aload·········4 
162 ········79:·ifnonnull·····93 
163 ········82:·new···········#34·················//·class·java/util/ArrayList155 ········68:·new···········#34·················//·class·java/util/ArrayList
164 ········85:·astore········4156 ········71:·astore········4
165 ········87:·aload·········4157 ········73:·aload·········4
166 ········89:·iload_1158 ········75:·iload_1
167 ········90:·invokespecial·#37·················//·Method·java/util/ArrayList."<init>":(I)V159 ········76:·invokespecial·#37·················//·Method·java/util/ArrayList."<init>":(I)V
168 ········93:·aload·········4160 ········79:·aload·········4
169 ········95:·aload·········8161 ········81:·aload·········8
170 ········97:·invokeinterface·#43,··2···········//·InterfaceMethod·java/util/List.add:(Ljava/lang/Object;)Z162 ········83:·invokeinterface·#43,··2···········//·InterfaceMethod·java/util/List.add:(Ljava/lang/Object;)Z
171 ·······102:·pop163 ········88:·pop
172 ·······103:·iload·········5164 ········89:·iload·········5
173 ·······105:·iconst_1165 ········91:·iconst_1
174 ·······106:·iadd166 ········92:·iadd
175 ·······107:·istore········5167 ········93:·istore········5
176 ·······109:·goto··········6168 ········95:·goto··········6
 169 ········98:·aload·········4
 170 ·······100:·ifnonnull·····112
 171 ·······103:·iconst_0
 172 ·······104:·istore········9
 173 ·······106:·aconst_null
 174 ·······107:·astore········6
 175 ·······109:·aload·········6
 176 ·······111:·areturn
177 ·······112:·aload·········4177 ·······112:·aload·········4
178 ·······114:·invokeinterface·#47,··1···········//·InterfaceMethod·java/util/List.size:()I178 ·······114:·invokeinterface·#47,··1···········//·InterfaceMethod·java/util/List.size:()I
179 ·······119:·istore········9179 ·······119:·istore········9
180 ·······121:·iload·········9180 ·······121:·iload·········9
181 ·······123:·anewarray·····#49·················//·class·java/lang/String181 ·······123:·anewarray·····#49·················//·class·java/lang/String
182 ·······126:·astore········6182 ·······126:·astore········6
183 ·······128:·aload·········4183 ·······128:·aload·········4
184 ·······130:·aload·········6184 ·······130:·aload·········6
185 ·······132:·invokeinterface·#53,··2···········//·InterfaceMethod·java/util/List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;185 ·······132:·invokeinterface·#53,··2···········//·InterfaceMethod·java/util/List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
186 ·······137:·checkcast·····#55·················//·class·"[Ljava/lang/String;"186 ·······137:·checkcast·····#55·················//·class·"[Ljava/lang/String;"
187 ·······140:·astore········6187 ·······140:·astore········6
188 ·······142:·goto··········74188 ·······142:·goto··········109
  
189 ··public·com.google.zxing.client.result.AddressBookParsedResult·parse(com.google.zxing.Result);189 ··public·com.google.zxing.client.result.AddressBookParsedResult·parse(com.google.zxing.Result);
190 ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/AddressBookParsedResult;190 ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/AddressBookParsedResult;
191 ····flags:·(0x0001)·ACC_PUBLIC191 ····flags:·(0x0001)·ACC_PUBLIC
192 ····Code:192 ····Code:
193 ······stack=300,·locals=15,·args_size=2193 ······stack=300,·locals=15,·args_size=2
194 ·········0:·aload_1194 ·········0:·aload_1
7.01 KB
com/google/zxing/client/result/CalendarParsedResult.class
6.9 KB
javap -verbose -constants -s -l -private {}
    
Offset 535, 46 lines modifiedOffset 535, 46 lines modified
535 ········15:·aload_0535 ········15:·aload_0
536 ········16:·areturn536 ········16:·areturn
  
537 ··private·static·java.lang.String·format(boolean,·java.util.Date);537 ··private·static·java.lang.String·format(boolean,·java.util.Date);
538 ····descriptor:·(ZLjava/util/Date;)Ljava/lang/String;538 ····descriptor:·(ZLjava/util/Date;)Ljava/lang/String;
539 ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC539 ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC
540 ····Code:540 ····Code:
541 ······stack=300,·locals=5,·args_size=2541 ······stack=300,·locals=4,·args_size=2
542 ·········0:·iconst_2542 ·········0:·iconst_2
543 ·········1:·istore_2543 ·········1:·istore_2
544 ·········2:·aload_1544 ·········2:·aload_1
545 ·········3:·ifnonnull·····12545 ·········3:·ifnonnull·····12
546 ·········6:·iconst_0546 ·········6:·iconst_0
547 ·········7:·istore_2547 ·········7:·istore_2
548 ·········8:·aconst_null548 ·········8:·aconst_null
549 ·········9:·astore_3549 ·········9:·astore_3
550 ········10:·aload_3550 ········10:·aload_3
551 ········11:·areturn551 ········11:·areturn
552 ········12:·iload_0552 ········12:·iload_0
553 ········13:·ifeq··········32553 ········13:·ifeq··········30
554 ········16:·iload_2554 ········16:·iload_2
555 ········17:·invokestatic··#154················//·Method·java/text/DateFormat.getDateInstance:(I)Ljava/text/DateFormat;555 ········17:·invokestatic··#154················//·Method·java/text/DateFormat.getDateInstance:(I)Ljava/text/DateFormat;
556 ········20:·astore········4556 ········20:·astore_3
557 ········22:·aload·········4557 ········21:·aload_3
558 ········24:·aload_1558 ········22:·aload_1
559 ········25:·invokevirtual·#158················//·Method·java/text/DateFormat.format:(Ljava/util/Date;)Ljava/lang/String;559 ········23:·invokevirtual·#158················//·Method·java/text/DateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
560 ········28:·astore_3560 ········26:·astore_3
561 ········29:·goto··········10561 ········27:·goto··········10
562 ········32:·iload_2562 ········30:·iload_2
563 ········33:·iload_2563 ········31:·iload_2
564 ········34:·invokestatic··#162················//·Method·java/text/DateFormat.getDateTimeInstance:(II)Ljava/text/DateFormat;564 ········32:·invokestatic··#162················//·Method·java/text/DateFormat.getDateTimeInstance:(II)Ljava/text/DateFormat;
565 ········37:·astore········4565 ········35:·astore_3
566 ········39:·goto··········22566 ········36:·goto··········21
  
567 ··private·static·java.util.Date·parseDate(java.lang.String);567 ··private·static·java.util.Date·parseDate(java.lang.String);
568 ····descriptor:·(Ljava/lang/String;)Ljava/util/Date;568 ····descriptor:·(Ljava/lang/String;)Ljava/util/Date;
569 ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC569 ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC
570 ····Code:570 ····Code:
571 ······stack=300,·locals=13,·args_size=1571 ······stack=300,·locals=15,·args_size=1
572 ·········0:·bipush········16572 ·········0:·bipush········16
573 ·········2:·istore_1573 ·········2:·istore_1
574 ·········3:·bipush········15574 ·········3:·bipush········15
575 ·········5:·istore_2575 ·········5:·istore_2
576 ·········6:·getstatic·····#52·················//·Field·DATE_TIME:Ljava/util/regex/Pattern;576 ·········6:·getstatic·····#52·················//·Field·DATE_TIME:Ljava/util/regex/Pattern;
577 ·········9:·aload_0577 ·········9:·aload_0
578 ········10:·invokevirtual·#168················//·Method·java/util/regex/Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;578 ········10:·invokevirtual·#168················//·Method·java/util/regex/Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
Offset 609, 24 lines modifiedOffset 609, 24 lines modified
609 ········65:·aload·········6609 ········65:·aload·········6
610 ········67:·areturn610 ········67:·areturn
611 ········68:·aload_0611 ········68:·aload_0
612 ········69:·invokevirtual·#82·················//·Method·java/lang/String.length:()I612 ········69:·invokevirtual·#82·················//·Method·java/lang/String.length:()I
613 ········72:·istore········4613 ········72:·istore········4
614 ········74:·iload·········4614 ········74:·iload·········4
615 ········76:·iload_1615 ········76:·iload_1
616 ········77:·if_icmpne·····202616 ········77:·if_icmpne·····204
617 ········80:·aload_0617 ········80:·aload_0
618 ········81:·iload_2618 ········81:·iload_2
619 ········82:·invokevirtual·#188················//·Method·java/lang/String.charAt:(I)C619 ········82:·invokevirtual·#188················//·Method·java/lang/String.charAt:(I)C
620 ········85:·istore········4620 ········85:·istore········4
621 ········87:·bipush········90621 ········87:·bipush········90
622 ········89:·istore········5622 ········89:·istore········5
623 ········91:·iload·········4623 ········91:·iload·········4
624 ········93:·iload·········5624 ········93:·iload·········5
625 ········95:·if_icmpne·····202625 ········95:·if_icmpne·····204
626 ········98:·invokestatic··#192················//·Method·buildDateTimeFormat:()Ljava/text/DateFormat;626 ········98:·invokestatic··#192················//·Method·buildDateTimeFormat:()Ljava/text/DateFormat;
627 ·······101:·astore_3627 ·······101:·astore_3
628 ·······102:·aload_0628 ·······102:·aload_0
629 ·······103:·iconst_0629 ·······103:·iconst_0
630 ·······104:·iload_2630 ·······104:·iload_2
631 ·······105:·invokevirtual·#196················//·Method·java/lang/String.substring:(II)Ljava/lang/String;631 ·······105:·invokevirtual·#196················//·Method·java/lang/String.substring:(II)Ljava/lang/String;
632 ·······108:·astore········7632 ·······108:·astore········7
Offset 640, 52 lines modifiedOffset 640, 54 lines modified
640 ·······125:·invokespecial·#201················//·Method·java/util/GregorianCalendar."<init>":()V640 ·······125:·invokespecial·#201················//·Method·java/util/GregorianCalendar."<init>":()V
641 ·······128:·aload·········6641 ·······128:·aload·········6
642 ·······130:·invokevirtual·#117················//·Method·java/util/Date.getTime:()J642 ·······130:·invokevirtual·#117················//·Method·java/util/Date.getTime:()J
643 ·······133:·lstore········9643 ·······133:·lstore········9
644 ·······135:·aload·········8644 ·······135:·aload·········8
645 ·······137:·iload_2645 ·······137:·iload_2
646 ·······138:·invokevirtual·#207················//·Method·java/util/Calendar.get:(I)I646 ·······138:·invokevirtual·#207················//·Method·java/util/Calendar.get:(I)I
 647 ·······141:·istore_2
 648 ·······142:·iload_2
647 ·······141:·i2l649 ·······143:·i2l
648 ·······142:·lstore········11650 ·······144:·lstore········11
649 ·······144:·lload·········9651 ·······146:·lload·········9
650 ·······146:·lload·········11652 ·······148:·lload·········11
651 ·······148:·ladd653 ·······150:·ladd
652 ·······149:·lstore········9654 ·······151:·lstore········13
653 ·······151:·new···········#113················//·class·java/util/Date655 ·······153:·new···········#113················//·class·java/util/Date
654 ·······154:·astore_3656 ·······156:·astore_3
655 ·······155:·aload_3657 ·······157:·aload_3
656 ·······156:·lload·········9658 ·······158:·lload·········13
657 ·······158:·invokespecial·#120················//·Method·java/util/Date."<init>":(J)V659 ·······160:·invokespecial·#120················//·Method·java/util/Date."<init>":(J)V
658 ·······161:·aload·········8660 ·······163:·aload·········8
659 ·······163:·aload_3661 ·······165:·aload_3
660 ·······164:·invokevirtual·#211················//·Method·java/util/Calendar.setTime:(Ljava/util/Date;)V662 ·······166:·invokevirtual·#211················//·Method·java/util/Calendar.setTime:(Ljava/util/Date;)V
661 ·······167:·aload·········8663 ·······169:·aload·········8
662 ·······169:·iload_1664 ·······171:·iload_1
663 ·······170:·invokevirtual·#207················//·Method·java/util/Calendar.get:(I)I665 ·······172:·invokevirtual·#207················//·Method·java/util/Calendar.get:(I)I
664 ·······173:·istore········4666 ·······175:·istore········4
665 ·······175:·iload·········4667 ·······177:·iload·········4
666 ·······177:·i2l668 ·······179:·i2l
667 ·······178:·lstore········11669 ·······180:·lstore········9
668 ·······180:·lload·········9 
669 ·······182:·lload·········11670 ·······182:·lload·········13
 671 ·······184:·lload·········9
670 ·······184:·ladd672 ·······186:·ladd
671 ·······185:·lstore········9673 ·······187:·lstore········13
672 ·······187:·new···········#113················//·class·java/util/Date674 ·······189:·new···········#113················//·class·java/util/Date
673 ·······190:·astore········6675 ·······192:·astore········6
674 ·······192:·aload·········6676 ·······194:·aload·········6
675 ·······194:·lload·········9677 ·······196:·lload·········13
676 ·······196:·invokespecial·#120················//·Method·java/util/Date."<init>":(J)V678 ·······198:·invokespecial·#120················//·Method·java/util/Date."<init>":(J)V
677 ·······199:·goto··········65679 ·······201:·goto··········65
678 ·······202:·invokestatic··#192················//·Method·buildDateTimeFormat:()Ljava/text/DateFormat;680 ·······204:·invokestatic··#192················//·Method·buildDateTimeFormat:()Ljava/text/DateFormat;
679 ·······205:·astore_3681 ·······207:·astore_3
680 ·······206:·aload_3682 ·······208:·aload_3
681 ·······207:·aload_0683 ·······209:·aload_0
682 ·······208:·invokevirtual·#184················//·Method·java/text/DateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;684 ·······210:·invokevirtual·#184················//·Method·java/text/DateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;
683 ·······211:·astore········6685 ·······213:·astore········6
684 ·······213:·goto··········65686 ·······215:·goto··········65
  
685 ··private·static·long·parseDurationMS(java.lang.CharSequence);687 ··private·static·long·parseDurationMS(java.lang.CharSequence);
686 ····descriptor:·(Ljava/lang/CharSequence;)J688 ····descriptor:·(Ljava/lang/CharSequence;)J
687 ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC689 ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC
688 ····Code:690 ····Code:
689 ······stack=300,·locals=12,·args_size=1691 ······stack=300,·locals=12,·args_size=1
690 ·········0:·iconst_m1692 ·········0:·iconst_m1
Max diff block lines reached; -1/6982 bytes (-0.01%) of diff not shown.
4.98 KB
com/google/zxing/client/result/EmailAddressResultParser.class
4.86 KB
procyon -ec {}
    
Offset 10, 54 lines modifiedOffset 10, 72 lines modified
10 ····private·static·final·Pattern·COMMA;10 ····private·static·final·Pattern·COMMA;
11 ····11 ····
12 ····static·{12 ····static·{
13 ········COMMA·=·Pattern.compile(",");13 ········COMMA·=·Pattern.compile(",");
14 ····}14 ····}
15 ····15 ····
16 ····public·EmailAddressParsedResult·parse(final·Result·result)·{16 ····public·EmailAddressParsedResult·parse(final·Result·result)·{
 17 ········Object·o·=·null;
17 ········final·String·massagedText·=·getMassagedText(result);18 ········final·String·massagedText·=·getMassagedText(result);
18 ········EmailAddressParsedResult·emailAddressParsedResult;19 ········Label_0299:·{
19 ········if·(massagedText.startsWith("mailto:")·||·massagedText.startsWith("MAILTO:"))·{20 ············if·(!massagedText.startsWith("mailto:")·&&·!massagedText.startsWith("MAILTO:"))·{
 21 ················break·Label_0299;
 22 ············}
20 ············String·s·=·massagedText.substring(7);23 ············String·s·=·massagedText.substring(7);
21 ············final·int·index·=·s.indexOf(63);24 ············final·int·index·=·s.indexOf(63);
22 ············if·(index·>=·0)·{25 ············if·(index·>=·0)·{
23 ················s·=·s.substring(0,·index);26 ················s·=·s.substring(0,·index);
24 ············}27 ············}
 28 ············while·(true)·{
 29 ················try·{
25 ············final·String·urlDecode·=·urlDecode(s);30 ····················final·String·urlDecode·=·urlDecode(s);
26 ············String[]·array·=·null;31 ····················String[]·array·=·null;
27 ············if·(!urlDecode.isEmpty())·{32 ····················if·(!urlDecode.isEmpty())·{
28 ················array·=·EmailAddressResultParser.COMMA.split(urlDecode); 
29 ············} 
30 ············final·Map·nameValuePairs·=·parseNameValuePairs(massagedText); 
31 ············String[]·split·=·null; 
32 ············String[]·split2·=·null; 
33 ············String·s2·=·null; 
34 ············String·s3·=·null; 
35 ············if·(nameValuePairs·!=·null)·{ 
36 ················if·(array·==·null)·{ 
37 ····················final·String·input·=·(String)nameValuePairs.get("to"); 
38 ····················if·(input·!=·null)·{ 
39 ························array·=·EmailAddressResultParser.COMMA.split(input);33 ························o·=·EmailAddressResultParser.COMMA;
 34 ························array·=·((Pattern)o).split(urlDecode);
40 ····················}35 ····················}
 36 ····················final·Map·nameValuePairs·=·parseNameValuePairs(massagedText);
 37 ····················String[]·split·=·null;
 38 ····················String[]·split2·=·null;
 39 ····················String·s2·=·null;
 40 ····················String·s3·=·null;
 41 ····················if·(nameValuePairs·!=·null)·{
 42 ························if·(array·==·null)·{
 43 ····························o·=·"to";
 44 ····························final·String·input·=·(String)nameValuePairs.get(o);
 45 ····························if·(input·!=·null)·{
 46 ································o·=·EmailAddressResultParser.COMMA;
 47 ································array·=·((Pattern)o).split(input);
 48 ····························}
 49 ························}
 50 ························o·=·"cc";
 51 ························final·String·input2·=·(String)nameValuePairs.get(o);
 52 ························if·(input2·!=·null)·{
 53 ····························o·=·EmailAddressResultParser.COMMA;
 54 ····························split·=·((Pattern)o).split(input2);
 55 ························}
 56 ························o·=·"bcc";
 57 ························final·String·input3·=·(String)nameValuePairs.get(o);
 58 ························if·(input3·!=·null)·{
 59 ····························o·=·EmailAddressResultParser.COMMA;
 60 ····························split2·=·((Pattern)o).split(input3);
 61 ························}
 62 ························s2·=·nameValuePairs.get("subject");
 63 ························o·=·"body";
 64 ························s3·=·nameValuePairs.get(o);
 65 ····················}
 66 ····················o·=·new·EmailAddressParsedResult(array,·split,·split2,·s2,·s3);
 67 ····················Label_0297:·{
 68 ························return·(EmailAddressParsedResult)o;
 69 ····················}
 70 ····················//·iftrue(Label_0297:,·!EmailDoCoMoResultParser.isBasicallyValidEmailAddress(massagedText))
 71 ····················o·=·new·EmailAddressParsedResult(massagedText);
 72 ····················return·(EmailAddressParsedResult)o;
41 ················}73 ················}
 74 ················catch·(IllegalArgumentException·ex)·{
 75 ····················return·(EmailAddressParsedResult)o;
42 ················final·String·input2·=·(String)nameValuePairs.get("cc"); 
43 ················if·(input2·!=·null)·{ 
44 ····················split·=·EmailAddressResultParser.COMMA.split(input2); 
45 ················} 
46 ················final·String·input3·=·(String)nameValuePairs.get("bcc"); 
47 ················if·(input3·!=·null)·{ 
48 ····················split2·=·EmailAddressResultParser.COMMA.split(input3); 
49 ················}76 ················}
 77 ················return·(EmailAddressParsedResult)o;
50 ················s2·=·nameValuePairs.get("subject"); 
51 ················s3·=·nameValuePairs.get("body"); 
52 ············}78 ············}
53 ············emailAddressParsedResult·=·new·EmailAddressParsedResult(array,·split,·split2,·s2,·s3); 
54 ········} 
55 ········else·if·(!EmailDoCoMoResultParser.isBasicallyValidEmailAddress(massagedText))·{ 
56 ············emailAddressParsedResult·=·null; 
57 ········} 
58 ········else·{ 
59 ············emailAddressParsedResult·=·new·EmailAddressParsedResult(massagedText); 
60 ········}79 ········}
61 ········return·emailAddressParsedResult; 
62 ····}80 ····}
63 }81 }
1.15 KB
com/google/zxing/client/result/ExpandedProductParsedResult.class
1.02 KB
procyon -ec {}
    
Offset 136, 10 lines modifiedOffset 136, 10 lines modified
136 ····}136 ····}
137 ····137 ····
138 ····public·String·getWeightType()·{138 ····public·String·getWeightType()·{
139 ········return·this.weightType;139 ········return·this.weightType;
140 ····}140 ····}
141 ····141 ····
142 ····public·int·hashCode()·{142 ····public·int·hashCode()·{
143 ········return·0x0·^·hashNotNull(this.productID)·^·hashNotNull(this.sscc)·^·hashNotNull(this.lotNumber)·^·hashNotNull(this.productionDate)·^·hashNotNull(this.bestBeforeDate)·^·hashNotNull(this.expirationDate)·^·hashNotNull(this.weight)·^·hashNotNull(this.weightType)·^·hashNotNull(this.weightIncrement)·^·hashNotNull(this.price)·^·hashNotNull(this.priceIncrement)·^·hashNotNull(this.priceCurrency)·^·hashNotNull(this.uncommonAIs);143 ········return·hashNotNull(this.productID)·^·0x0·^·hashNotNull(this.sscc)·^·hashNotNull(this.lotNumber)·^·hashNotNull(this.productionDate)·^·hashNotNull(this.bestBeforeDate)·^·hashNotNull(this.expirationDate)·^·hashNotNull(this.weight)·^·hashNotNull(this.weightType)·^·hashNotNull(this.weightIncrement)·^·hashNotNull(this.price)·^·hashNotNull(this.priceIncrement)·^·hashNotNull(this.priceCurrency)·^·hashNotNull(this.uncommonAIs);
144 ····}144 ····}
145 }145 }
48.9 KB
com/google/zxing/client/result/ExpandedProductResultParser.class
48.8 KB
javap -verbose -constants -s -l -private {}
Max HTML report size reached
914 B
com/google/zxing/client/result/GeoResultParser.class
810 B
javap -verbose -constants -s -l -private {}
    
Offset 211, 16 lines modifiedOffset 211, 16 lines modified
211 ·······209:·dload·········14211 ·······209:·dload·········14
212 ·······211:·dload·········10212 ·······211:·dload·········10
213 ·······213:·dcmpg213 ·······213:·dcmpg
214 ·······214:·istore········6214 ·······214:·istore········6
215 ·······216:·iload·········6215 ·······216:·iload·········6
216 ·······218:·ifge··········168216 ·······218:·ifge··········168
217 ·······221:·goto··········32217 ·······221:·goto··········32
218 ·······224:·pop218 ·······224:·astore········4
219 ·······225:·goto··········32219 ·······226:·goto··········32
220 ······Exception·table:220 ······Exception·table:
221 ·········from····to··target·type221 ·········from····to··target·type
222 ············47····52···224···Class·java/lang/NumberFormatException222 ············47····52···224···Class·java/lang/NumberFormatException
223 ············54····59···224···Class·java/lang/NumberFormatException223 ············54····59···224···Class·java/lang/NumberFormatException
224 ···········100···105···224···Class·java/lang/NumberFormatException224 ···········100···105···224···Class·java/lang/NumberFormatException
225 ···········107···112···224···Class·java/lang/NumberFormatException225 ···········107···112···224···Class·java/lang/NumberFormatException
226 ···········153···158···224···Class·java/lang/NumberFormatException226 ···········153···158···224···Class·java/lang/NumberFormatException
2.6 KB
com/google/zxing/client/result/ISBNResultParser.class
2.5 KB
javap -verbose -constants -s -l -private {}
    
Offset 91, 35 lines modifiedOffset 91, 35 lines modified
91 ········31:·istore········691 ········31:·istore········6
92 ········33:·bipush········1392 ········33:·bipush········13
93 ········35:·istore········793 ········35:·istore········7
94 ········37:·iload·········694 ········37:·iload·········6
95 ········39:·iload·········795 ········39:·iload·········7
96 ········41:·if_icmpne·····1896 ········41:·if_icmpne·····18
97 ········44:·ldc···········#33·················//·String·97897 ········44:·ldc···········#33·················//·String·978
98 ········46:·astore········498 ········46:·astore_3
99 ········48:·aload·········599 ········47:·aload·········5
100 ········50:·aload·········4100 ········49:·aload_3
101 ········52:·invokevirtual·#37·················//·Method·java/lang/String.startsWith:(Ljava/lang/String;)Z101 ········50:·invokevirtual·#37·················//·Method·java/lang/String.startsWith:(Ljava/lang/String;)Z
102 ········55:·istore········7102 ········53:·istore········6
103 ········57:·iload·········7103 ········55:·iload·········6
104 ········59:·ifne··········80104 ········57:·ifne··········76
105 ········62:·ldc···········#39·················//·String·979105 ········60:·ldc···········#39·················//·String·979
106 ········64:·astore········4106 ········62:·astore_3
107 ········66:·aload·········5107 ········63:·aload·········5
108 ········68:·aload·········4108 ········65:·aload_3
109 ········70:·invokevirtual·#37·················//·Method·java/lang/String.startsWith:(Ljava/lang/String;)Z109 ········66:·invokevirtual·#37·················//·Method·java/lang/String.startsWith:(Ljava/lang/String;)Z
110 ········73:·istore········7110 ········69:·istore········6
111 ········75:·iload·········7111 ········71:·iload·········6
112 ········77:·ifeq··········18112 ········73:·ifeq··········18
113 ········80:·new···········#41·················//·class·com/google/zxing/client/result/ISBNParsedResult113 ········76:·new···········#41·················//·class·com/google/zxing/client/result/ISBNParsedResult
114 ········83:·astore_2114 ········79:·astore_2
115 ········84:·aload_2115 ········80:·aload_2
116 ········85:·aload·········5116 ········81:·aload·········5
117 ········87:·invokespecial·#44·················//·Method·com/google/zxing/client/result/ISBNParsedResult."<init>":(Ljava/lang/String;)V117 ········83:·invokespecial·#44·················//·Method·com/google/zxing/client/result/ISBNParsedResult."<init>":(Ljava/lang/String;)V
118 ········90:·goto··········18118 ········86:·goto··········18
  
119 ··public·com.google.zxing.client.result.ParsedResult·parse(com.google.zxing.Result);119 ··public·com.google.zxing.client.result.ParsedResult·parse(com.google.zxing.Result);
120 ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ParsedResult;120 ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ParsedResult;
121 ····flags:·(0x1041)·ACC_PUBLIC,·ACC_BRIDGE,·ACC_SYNTHETIC121 ····flags:·(0x1041)·ACC_PUBLIC,·ACC_BRIDGE,·ACC_SYNTHETIC
122 ····Code:122 ····Code:
123 ······stack=300,·locals=2,·args_size=2123 ······stack=300,·locals=2,·args_size=2
124 ·········0:·aload_0124 ·········0:·aload_0
9.73 KB
com/google/zxing/client/result/TelResultParser.class
9.62 KB
javap -verbose -constants -s -l -private {}
    
Offset 31, 42 lines modifiedOffset 31, 44 lines modified
31 ··#23·=·Utf8···············(Ljava/lang/String;)Z31 ··#23·=·Utf8···············(Ljava/lang/String;)Z
32 ··#24·=·NameAndType········#22:#23········//·startsWith:(Ljava/lang/String;)Z32 ··#24·=·NameAndType········#22:#23········//·startsWith:(Ljava/lang/String;)Z
33 ··#25·=·Methodref··········#21.#24········//·java/lang/String.startsWith:(Ljava/lang/String;)Z33 ··#25·=·Methodref··········#21.#24········//·java/lang/String.startsWith:(Ljava/lang/String;)Z
34 ··#26·=·Utf8···············TEL:34 ··#26·=·Utf8···············TEL:
35 ··#27·=·String·············#26············//·TEL:35 ··#27·=·String·············#26············//·TEL:
36 ··#28·=·Utf8···············java/lang/StringBuilder36 ··#28·=·Utf8···············java/lang/StringBuilder
37 ··#29·=·Class··············#28············//·java/lang/StringBuilder37 ··#29·=·Class··············#28············//·java/lang/StringBuilder
 38 ··#30·=·Utf8···············(Ljava/lang/String;)V
 39 ··#31·=·NameAndType········#5:#30·········//·"<init>":(Ljava/lang/String;)V
38 ··#30·=·Methodref··········#29.#7·········//·java/lang/StringBuilder."<init>":()V40 ··#32·=·Methodref··········#29.#31········//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
 41 ··#33·=·Utf8···············substring
 42 ··#34·=·Utf8···············(I)Ljava/lang/String;
 43 ··#35·=·NameAndType········#33:#34········//·substring:(I)Ljava/lang/String;
 44 ··#36·=·Methodref··········#21.#35········//·java/lang/String.substring:(I)Ljava/lang/String;
39 ··#31·=·Utf8···············append45 ··#37·=·Utf8···············append
40 ··#32·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder;46 ··#38·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder;
41 ··#33·=·NameAndType········#31:#32········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder;47 ··#39·=·NameAndType········#37:#38········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
42 ··#34·=·Methodref··········#29.#33········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;48 ··#40·=·Methodref··········#29.#39········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
43 ··#35·=·Utf8···············substring 
44 ··#36·=·Utf8···············(I)Ljava/lang/String; 
45 ··#37·=·NameAndType········#35:#36········//·substring:(I)Ljava/lang/String; 
46 ··#38·=·Methodref··········#21.#37········//·java/lang/String.substring:(I)Ljava/lang/String; 
47 ··#39·=·Utf8···············toString49 ··#41·=·Utf8···············toString
48 ··#40·=·Utf8···············()Ljava/lang/String;50 ··#42·=·Utf8···············()Ljava/lang/String;
49 ··#41·=·NameAndType········#39:#40········//·toString:()Ljava/lang/String;51 ··#43·=·NameAndType········#41:#42········//·toString:()Ljava/lang/String;
50 ··#42·=·Methodref··········#29.#41········//·java/lang/StringBuilder.toString:()Ljava/lang/String;52 ··#44·=·Methodref··········#29.#43········//·java/lang/StringBuilder.toString:()Ljava/lang/String;
51 ··#43·=·Float··············8.8E-44f53 ··#45·=·Float··············8.8E-44f
52 ··#44·=·Utf8···············indexOf54 ··#46·=·Utf8···············indexOf
53 ··#45·=·Utf8···············(II)I55 ··#47·=·Utf8···············(II)I
54 ··#46·=·NameAndType········#44:#45········//·indexOf:(II)I56 ··#48·=·NameAndType········#46:#47········//·indexOf:(II)I
55 ··#47·=·Methodref··········#21.#46········//·java/lang/String.indexOf:(II)I57 ··#49·=·Methodref··········#21.#48········//·java/lang/String.indexOf:(II)I
56 ··#48·=·Utf8···············com/google/zxing/client/result/TelParsedResult58 ··#50·=·Utf8···············com/google/zxing/client/result/TelParsedResult
57 ··#49·=·Class··············#48············//·com/google/zxing/client/result/TelParsedResult59 ··#51·=·Class··············#50············//·com/google/zxing/client/result/TelParsedResult
58 ··#50·=·Utf8···············(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V60 ··#52·=·Utf8···············(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
59 ··#51·=·NameAndType········#5:#50·········//·"<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V61 ··#53·=·NameAndType········#5:#52·········//·"<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
60 ··#52·=·Methodref··········#49.#51········//·com/google/zxing/client/result/TelParsedResult."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V62 ··#54·=·Methodref··········#51.#53········//·com/google/zxing/client/result/TelParsedResult."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
61 ··#53·=·Utf8···············(II)Ljava/lang/String;63 ··#55·=·Utf8···············(II)Ljava/lang/String;
62 ··#54·=·NameAndType········#35:#53········//·substring:(II)Ljava/lang/String;64 ··#56·=·NameAndType········#33:#55········//·substring:(II)Ljava/lang/String;
63 ··#55·=·Methodref··········#21.#54········//·java/lang/String.substring:(II)Ljava/lang/String;65 ··#57·=·Methodref··········#21.#56········//·java/lang/String.substring:(II)Ljava/lang/String;
64 ··#56·=·Utf8···············Code66 ··#58·=·Utf8···············Code
65 ··#57·=·Utf8···············(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ParsedResult;67 ··#59·=·Utf8···············(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ParsedResult;
66 {68 {
67 ··public·com.google.zxing.client.result.TelResultParser();69 ··public·com.google.zxing.client.result.TelResultParser();
68 ····descriptor:·()V70 ····descriptor:·()V
69 ····flags:·(0x0001)·ACC_PUBLIC71 ····flags:·(0x0001)·ACC_PUBLIC
70 ····Code:72 ····Code:
71 ······stack=300,·locals=1,·args_size=173 ······stack=300,·locals=1,·args_size=1
72 ·········0:·aload_074 ·········0:·aload_0
Offset 116, 60 lines modifiedOffset 118, 57 lines modified
116 ········48:·ldc···········#27·················//·String·TEL:118 ········48:·ldc···········#27·················//·String·TEL:
117 ········50:·astore········5119 ········50:·astore········5
118 ········52:·aload·········4120 ········52:·aload·········4
119 ········54:·aload·········5121 ········54:·aload·········5
120 ········56:·invokevirtual·#25·················//·Method·java/lang/String.startsWith:(Ljava/lang/String;)Z122 ········56:·invokevirtual·#25·················//·Method·java/lang/String.startsWith:(Ljava/lang/String;)Z
121 ········59:·istore········6123 ········59:·istore········6
122 ········61:·iload·········6124 ········61:·iload·········6
123 ········63:·ifeq··········157125 ········63:·ifeq··········150
124 ········66:·new···········#29·················//·class·java/lang/StringBuilder126 ········66:·new···········#29·················//·class·java/lang/StringBuilder
125 ········69:·astore········5127 ········69:·astore········5
126 ········71:·aload·········5128 ········71:·aload·········5
127 ········73:·invokespecial·#30·················//·Method·java/lang/StringBuilder."<init>":()V 
128 ········76:·aload·········5 
129 ········78:·ldc···········#19·················//·String·tel:129 ········73:·ldc···········#19·················//·String·tel:
 130 ········75:·invokespecial·#32·················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
 131 ········78:·aload·········4
 132 ········80:·iload_3
 133 ········81:·invokevirtual·#36·················//·Method·java/lang/String.substring:(I)Ljava/lang/String;
 134 ········84:·astore········7
 135 ········86:·aload·········5
 136 ········88:·aload·········7
130 ········80:·invokevirtual·#34·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;137 ········90:·invokevirtual·#40·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
131 ········83:·astore········5138 ········93:·astore········5
132 ········85:·aload·········4 
133 ········87:·iload_3 
134 ········88:·invokevirtual·#38·················//·Method·java/lang/String.substring:(I)Ljava/lang/String; 
135 ········91:·astore········7 
136 ········93:·aload·········5139 ········95:·aload·········5
137 ········95:·aload·········7 
138 ········97:·invokevirtual·#34·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; 
139 ·······100:·astore········5 
140 ·······102:·aload·········5 
141 ·······104:·invokevirtual·#42·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;140 ········97:·invokevirtual·#44·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;
142 ·······107:·astore········8141 ·······100:·astore········8
143 ·······109:·bipush········63142 ·······102:·bipush········63
144 ·······111:·istore········6143 ·······104:·istore········6
145 ·······113:·aload·········4144 ·······106:·aload·········4
146 ·······115:·iload·········6145 ·······108:·iload·········6
147 ·······117:·iload_3146 ·······110:·iload_3
148 ·······118:·invokevirtual·#47·················//·Method·java/lang/String.indexOf:(II)I147 ·······111:·invokevirtual·#49·················//·Method·java/lang/String.indexOf:(II)I
149 ·······121:·istore········9148 ·······114:·istore········9
150 ·······123:·iload·········9149 ·······116:·iload·········9
151 ·······125:·ifge··········164150 ·······118:·ifge··········157
152 ·······128:·aload·········4151 ·······121:·aload·········4
153 ·······130:·iload_3152 ·······123:·iload_3
154 ·······131:·invokevirtual·#38·················//·Method·java/lang/String.substring:(I)Ljava/lang/String;153 ·······124:·invokevirtual·#36·················//·Method·java/lang/String.substring:(I)Ljava/lang/String;
155 ·······134:·astore········10154 ·······127:·astore········10
156 ·······136:·new···········#49·················//·class·com/google/zxing/client/result/TelParsedResult155 ·······129:·new···········#51·················//·class·com/google/zxing/client/result/TelParsedResult
157 ·······139:·astore········5156 ·······132:·astore········5
158 ·······141:·aload·········5157 ·······134:·aload·········5
159 ·······143:·aload·········10158 ·······136:·aload·········10
160 ·······145:·aload·········8159 ·······138:·aload·········8
161 ·······147:·aconst_null160 ·······140:·aconst_null
162 ·······148:·invokespecial·#52·················//·Method·com/google/zxing/client/result/TelParsedResult."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V161 ·······141:·invokespecial·#54·················//·Method·com/google/zxing/client/result/TelParsedResult."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
163 ·······151:·aload·········5162 ·······144:·aload·········5
164 ·······153:·astore_2163 ·······146:·astore_2
165 ·······154:·goto··········46164 ·······147:·goto··········46
 165 ·······150:·aload·········4
 166 ·······152:·astore········8
 167 ·······154:·goto··········102
166 ·······157:·aload·········4168 ·······157:·aload·········4
167 ·······159:·astore········8 
168 ·······161:·goto··········109 
169 ·······164:·aload·········4 
170 ·······166:·iload_3169 ·······159:·iload_3
171 ·······167:·iload·········9170 ·······160:·iload·········9
172 ·······169:·invokevirtual·#55·················//·Method·java/lang/String.substring:(II)Ljava/lang/String;171 ·······162:·invokevirtual·#57·················//·Method·java/lang/String.substring:(II)Ljava/lang/String;
173 ·······172:·astore········10172 ·······165:·astore········10
174 ·······174:·goto··········136173 ·······167:·goto··········129
175 }174 }
4.99 KB
com/google/zxing/client/result/URIParsedResult.class
4.89 KB
javap -verbose -constants -s -l -private {}
    
Offset 70, 19 lines modifiedOffset 70, 19 lines modified
70 ···#62·=·Methodref··········#40.#61·······//·java/lang/String.indexOf:(I)I70 ···#62·=·Methodref··········#40.#61·······//·java/lang/String.indexOf:(I)I
71 ···#63·=·Utf8···············isColonFollowedByPortNumber71 ···#63·=·Utf8···············isColonFollowedByPortNumber
72 ···#64·=·Utf8···············(Ljava/lang/String;I)Z72 ···#64·=·Utf8···············(Ljava/lang/String;I)Z
73 ···#65·=·NameAndType········#63:#64·······//·isColonFollowedByPortNumber:(Ljava/lang/String;I)Z73 ···#65·=·NameAndType········#63:#64·······//·isColonFollowedByPortNumber:(Ljava/lang/String;I)Z
74 ···#66·=·Methodref··········#2.#65········//·com/google/zxing/client/result/URIParsedResult.isColonFollowedByPortNumber:(Ljava/lang/String;I)Z74 ···#66·=·Methodref··········#2.#65········//·com/google/zxing/client/result/URIParsedResult.isColonFollowedByPortNumber:(Ljava/lang/String;I)Z
75 ···#67·=·Utf8···············java/lang/StringBuilder75 ···#67·=·Utf8···············java/lang/StringBuilder
76 ···#68·=·Class··············#67···········//·java/lang/StringBuilder76 ···#68·=·Class··············#67···········//·java/lang/StringBuilder
77 ···#69·=·Utf8···············()V 
78 ···#70·=·NameAndType········#26:#69·······//·"<init>":()V 
79 ···#71·=·Methodref··········#68.#70·······//·java/lang/StringBuilder."<init>":()V 
80 ···#72·=·Utf8···············http://77 ···#69·=·Utf8···············http://
81 ···#73·=·String·············#72···········//·http://78 ···#70·=·String·············#69···········//·http://
 79 ···#71·=·Utf8···············(Ljava/lang/String;)V
 80 ···#72·=·NameAndType········#26:#71·······//·"<init>":(Ljava/lang/String;)V
 81 ···#73·=·Methodref··········#68.#72·······//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
82 ···#74·=·Utf8···············append82 ···#74·=·Utf8···············append
83 ···#75·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder;83 ···#75·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder;
84 ···#76·=·NameAndType········#74:#75·······//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder;84 ···#76·=·NameAndType········#74:#75·······//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
85 ···#77·=·Methodref··········#68.#76·······//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;85 ···#77·=·Methodref··········#68.#76·······//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
86 ···#78·=·Utf8···············toString86 ···#78·=·Utf8···············toString
87 ···#79·=·NameAndType········#78:#56·······//·toString:()Ljava/lang/String;87 ···#79·=·NameAndType········#78:#56·······//·toString:()Ljava/lang/String;
88 ···#80·=·Methodref··········#68.#79·······//·java/lang/StringBuilder.toString:()Ljava/lang/String;88 ···#80·=·Methodref··········#68.#79·······//·java/lang/StringBuilder.toString:()Ljava/lang/String;
Offset 102, 19 lines modifiedOffset 102, 20 lines modified
102 ···#94·=·Class··············#93···········//·java/util/regex/Matcher102 ···#94·=·Class··············#93···········//·java/util/regex/Matcher
103 ···#95·=·Utf8···············find103 ···#95·=·Utf8···············find
104 ···#96·=·Utf8···············()Z104 ···#96·=·Utf8···············()Z
105 ···#97·=·NameAndType········#95:#96·······//·find:()Z105 ···#97·=·NameAndType········#95:#96·······//·find:()Z
106 ···#98·=·Methodref··········#94.#97·······//·java/util/regex/Matcher.find:()Z106 ···#98·=·Methodref··········#94.#97·······//·java/util/regex/Matcher.find:()Z
107 ···#99·=·Utf8···············Code107 ···#99·=·Utf8···············Code
108 ··#100·=·Utf8···············<clinit>108 ··#100·=·Utf8···············<clinit>
 109 ··#101·=·Utf8···············()V
109 ··#101·=·Utf8···············(Ljava/lang/String;Ljava/lang/String;)V110 ··#102·=·Utf8···············(Ljava/lang/String;Ljava/lang/String;)V
110 ··#102·=·Utf8···············getDisplayResult111 ··#103·=·Utf8···············getDisplayResult
111 ··#103·=·Utf8···············getTitle112 ··#104·=·Utf8···············getTitle
112 ··#104·=·Utf8···············getURI113 ··#105·=·Utf8···············getURI
113 ··#105·=·Utf8···············isPossiblyMaliciousURI114 ··#106·=·Utf8···············isPossiblyMaliciousURI
114 {115 {
115 ··private·static·final·java.util.regex.Pattern·USER_IN_HOST;116 ··private·static·final·java.util.regex.Pattern·USER_IN_HOST;
116 ····descriptor:·Ljava/util/regex/Pattern;117 ····descriptor:·Ljava/util/regex/Pattern;
117 ····flags:·(0x001a)·ACC_PRIVATE,·ACC_STATIC,·ACC_FINAL118 ····flags:·(0x001a)·ACC_PRIVATE,·ACC_STATIC,·ACC_FINAL
  
118 ··private·final·java.lang.String·title;119 ··private·final·java.lang.String·title;
119 ····descriptor:·Ljava/lang/String;120 ····descriptor:·Ljava/lang/String;
Offset 203, 32 lines modifiedOffset 204, 31 lines modified
203 ········14:·iload_2204 ········14:·iload_2
204 ········15:·iflt··········28205 ········15:·iflt··········28
205 ········18:·aload_0206 ········18:·aload_0
206 ········19:·iload_2207 ········19:·iload_2
207 ········20:·invokestatic··#66·················//·Method·isColonFollowedByPortNumber:(Ljava/lang/String;I)Z208 ········20:·invokestatic··#66·················//·Method·isColonFollowedByPortNumber:(Ljava/lang/String;I)Z
208 ········23:·istore_1209 ········23:·istore_1
209 ········24:·iload_1210 ········24:·iload_1
210 ········25:·ifeq··········56211 ········25:·ifeq··········53
211 ········28:·new···········#68·················//·class·java/lang/StringBuilder212 ········28:·new···········#68·················//·class·java/lang/StringBuilder
212 ········31:·astore_3213 ········31:·astore_3
213 ········32:·aload_3 
214 ········33:·invokespecial·#71·················//·Method·java/lang/StringBuilder."<init>":()V 
215 ········36:·ldc···········#73·················//·String·http://214 ········32:·ldc···········#70·················//·String·http://
216 ········38:·astore········4215 ········34:·astore········4
 216 ········36:·aload_3
 217 ········37:·aload·········4
 218 ········39:·invokespecial·#73·················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V
217 ········40:·aload_3219 ········42:·aload_3
218 ········41:·aload·········4220 ········43:·aload_0
219 ········43:·invokevirtual·#77·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;221 ········44:·invokevirtual·#77·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
220 ········46:·aload_0 
221 ········47:·invokevirtual·#77·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; 
222 ········50:·astore_3222 ········47:·astore_3
223 ········51:·aload_3223 ········48:·aload_3
224 ········52:·invokevirtual·#80·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;224 ········49:·invokevirtual·#80·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String;
225 ········55:·astore_0225 ········52:·astore_0
226 ········56:·aload_0226 ········53:·aload_0
227 ········57:·areturn227 ········54:·areturn
  
228 ··public·java.lang.String·getDisplayResult();228 ··public·java.lang.String·getDisplayResult();
229 ····descriptor:·()Ljava/lang/String;229 ····descriptor:·()Ljava/lang/String;
230 ····flags:·(0x0001)·ACC_PUBLIC230 ····flags:·(0x0001)·ACC_PUBLIC
231 ····Code:231 ····Code:
232 ······stack=300,·locals=2,·args_size=1232 ······stack=300,·locals=2,·args_size=1
233 ·········0:·new···········#68·················//·class·java/lang/StringBuilder233 ·········0:·new···········#68·················//·class·java/lang/StringBuilder
1.9 KB
com/google/zxing/client/result/URIResultParser.class
1.8 KB
procyon -ec {}
    
Offset 8, 32 lines modifiedOffset 8, 33 lines modified
8 public·final·class·URIResultParser·extends·ResultParser8 public·final·class·URIResultParser·extends·ResultParser
9 {9 {
10 ····private·static·final·Pattern·URL_WITHOUT_PROTOCOL_PATTERN;10 ····private·static·final·Pattern·URL_WITHOUT_PROTOCOL_PATTERN;
11 ····private·static·final·Pattern·URL_WITH_PROTOCOL_PATTERN;11 ····private·static·final·Pattern·URL_WITH_PROTOCOL_PATTERN;
12 ····12 ····
13 ····static·{13 ····static·{
14 ········URL_WITH_PROTOCOL_PATTERN·=·Pattern.compile("[a-zA-Z][a-zA-Z0-9+-.]+:");14 ········URL_WITH_PROTOCOL_PATTERN·=·Pattern.compile("[a-zA-Z][a-zA-Z0-9+-.]+:");
15 ········URL_WITHOUT_PROTOCOL_PATTERN·=·Pattern.compile("([a-zA-Z0-9\\-]+\\.)+[a-zA-Z]{2,}(:\\d{1,5})?(/|\\?|$)");15 ········URL_WITHOUT_PROTOCOL_PATTERN·=·Pattern.compile("([a-zA-Z0-9\\-]+\\.){1,6}[a-zA-Z]{2,}(:\\d{1,5})?(/|\\?|$)");
16 ····}16 ····}
17 ····17 ····
18 ····static·boolean·isBasicallyValidURI(final·String·s)·{18 ····static·boolean·isBasicallyValidURI(final·String·s)·{
19 ········boolean·b·=·true;19 ········final·boolean·b·=·true;
 20 ········boolean·b2·=·false;
20 ········if·(s.contains("·"))·{21 ········if·(!s.contains("·"))·{
21 ············b·=·false; 
22 ········} 
23 ········else·{ 
24 ············final·Matcher·matcher·=·URIResultParser.URL_WITH_PROTOCOL_PATTERN.matcher(s);22 ············final·Matcher·matcher·=·URIResultParser.URL_WITH_PROTOCOL_PATTERN.matcher(s);
25 ············if·(!matcher.find()·||·matcher.start()·!=·0)·{23 ············if·(matcher.find()·&&·matcher.start()·==·0)·{
 24 ················b2·=·b;
 25 ············}
 26 ············else·{
26 ················final·Matcher·matcher2·=·URIResultParser.URL_WITHOUT_PROTOCOL_PATTERN.matcher(s);27 ················final·Matcher·matcher2·=·URIResultParser.URL_WITHOUT_PROTOCOL_PATTERN.matcher(s);
27 ················if·(!matcher2.find()·||·matcher2.start()·!=·0)·{28 ················if·(matcher2.find()·&&·matcher2.start()·==·0)·{
28 ····················b·=·false;29 ····················b2·=·b;
29 ················}30 ················}
30 ············}31 ············}
31 ········}32 ········}
32 ········return·b;33 ········return·b2;
33 ····}34 ····}
34 ····35 ····
35 ····public·URIParsedResult·parse(final·Result·result)·{36 ····public·URIParsedResult·parse(final·Result·result)·{
36 ········final·String·massagedText·=·getMassagedText(result);37 ········final·String·massagedText·=·getMassagedText(result);
37 ········URIParsedResult·uriParsedResult;38 ········URIParsedResult·uriParsedResult;
38 ········if·(massagedText.startsWith("URL:")·||·massagedText.startsWith("URI:"))·{39 ········if·(massagedText.startsWith("URL:")·||·massagedText.startsWith("URI:"))·{
39 ············uriParsedResult·=·new·URIParsedResult(massagedText.substring(4).trim(),·(String)null);40 ············uriParsedResult·=·new·URIParsedResult(massagedText.substring(4).trim(),·(String)null);
3.08 KB
com/google/zxing/client/result/VCardResultParser.class
2.98 KB
procyon -ec {}
    
Offset 78, 35 lines modifiedOffset 78, 36 lines modified
78 ············}78 ············}
79 ········}79 ········}
80 ········maybeAppendFragment(byteArrayOutputStream,·s,·sb);80 ········maybeAppendFragment(byteArrayOutputStream,·s,·sb);
81 ········return·sb.toString();81 ········return·sb.toString();
82 ····}82 ····}
83 ····83 ····
84 ····private·static·void·formatNames(final·Iterable·iterable)·{84 ····private·static·void·formatNames(final·Iterable·iterable)·{
 85 ········final·int·n·=·4;
85 ········if·(iterable·!=·null)·{86 ········if·(iterable·!=·null)·{
86 ············for·(final·List<String>·list·:·iterable)·{87 ············for·(final·List<String>·list·:·iterable)·{
87 ················final·String·s·=·(String)list.get(0);88 ················final·String·s·=·(String)list.get(0);
88 ················final·String[]·array·=·new·String[5];89 ················final·String[]·array·=·new·String[5];
89 ················int·beginIndex·=·0;90 ················int·beginIndex·=·0;
90 ················int·i;91 ················int·i;
91 ················int·index;92 ················int·index;
92 ················for·(i·=·0;·i·<·array.length·-·1;·++i,·beginIndex·=·index·+·1)·{93 ················for·(i·=·0;·i·<·n;·++i,·beginIndex·=·index·+·1)·{
93 ····················index·=·s.indexOf(59,·beginIndex);94 ····················index·=·s.indexOf(59,·beginIndex);
94 ····················if·(index·<·0)·{95 ····················if·(index·<·0)·{
95 ························break;96 ························break;
96 ····················}97 ····················}
97 ····················array[i]·=·s.substring(beginIndex,·index);98 ····················array[i]·=·s.substring(beginIndex,·index);
98 ················}99 ················}
99 ················array[i]·=·s.substring(beginIndex);100 ················array[i]·=·s.substring(beginIndex);
100 ················final·StringBuilder·sb·=·new·StringBuilder(100);101 ················final·StringBuilder·sb·=·new·StringBuilder(100);
101 ················maybeAppendComponent(array,·3,·sb);102 ················maybeAppendComponent(array,·3,·sb);
102 ················maybeAppendComponent(array,·1,·sb);103 ················maybeAppendComponent(array,·1,·sb);
103 ················maybeAppendComponent(array,·2,·sb);104 ················maybeAppendComponent(array,·2,·sb);
104 ················maybeAppendComponent(array,·0,·sb);105 ················maybeAppendComponent(array,·0,·sb);
105 ················maybeAppendComponent(array,·4,·sb);106 ················maybeAppendComponent(array,·n,·sb);
106 ················list.set(0,·sb.toString().trim());107 ················list.set(0,·sb.toString().trim());
107 ············}108 ············}
108 ········}109 ········}
109 ····}110 ····}
110 ····111 ····
111 ····private·static·boolean·isLikeVCardDate(final·CharSequence·input)·{112 ····private·static·boolean·isLikeVCardDate(final·CharSequence·input)·{
112 ········return·input·==·null·||·VCardResultParser.VCARD_LIKE_DATE.matcher(input).matches();113 ········return·input·==·null·||·VCardResultParser.VCARD_LIKE_DATE.matcher(input).matches();
Offset 176, 30 lines modifiedOffset 177, 30 lines modified
176 ················}177 ················}
177 ················else·{178 ················else·{
178 ····················final·char·char2;179 ····················final·char·char2;
179 ····················final·int·n2;180 ····················final·int·n2;
180 ····················final·int·n3;181 ····················final·int·n3;
181 ····················final·char·char3;182 ····················final·char·char3;
182 ····················final·int·n4;183 ····················final·int·n4;
183 ····················if·(!b3·||·((index·<·1·||·(char2·=·input.charAt(index·-·1))·!=·(n2·=·61))·&&·(index·<·(n3·=·2)·||·(char3·=·input.charAt(index·-·2))·!=·(n4·=·61))))·{184 ····················if·(!b3·||·((index·<=·0·||·(char2·=·input.charAt(index·-·1))·!=·(n2·=·61))·&&·(index·<·(n3·=·2)·||·(char3·=·input.charAt(index·-·2))·!=·(n4·=·61))))·{
184 ························break;185 ························break;
185 ····················}186 ····················}
186 ····················end·=·index·+·1;187 ····················end·=·index·+·1;
187 ················}188 ················}
188 ············}189 ············}
189 ············if·(index·<·0)·{190 ············if·(index·<·0)·{
190 ················i·=·length;191 ················i·=·length;
191 ············}192 ············}
192 ············else·if·(index·>·beginIndex)·{193 ············else·if·(index·>·beginIndex)·{
193 ················if·(list·==·null)·{194 ················if·(list·==·null)·{
194 ····················list·=·new·ArrayList<ArrayList<Object>>(1);195 ····················list·=·new·ArrayList<ArrayList<Object>>(1);
195 ················}196 ················}
196 ················final·char·char4;197 ················final·char·char4;
197 ················final·int·n5;198 ················final·int·n5;
198 ················if·(index·>=·1·&&·(char4·=·input.charAt(index·-·1))·==·(n5·=·13))·{199 ················if·(index·>·0·&&·(char4·=·input.charAt(index·-·1))·==·(n5·=·13))·{
199 ····················--index;200 ····················--index;
200 ················}201 ················}
201 ················String·s3·=·input.substring(beginIndex,·index);202 ················String·s3·=·input.substring(beginIndex,·index);
202 ················if·(b)·{203 ················if·(b)·{
203 ····················s3·=·s3.trim();204 ····················s3·=·s3.trim();
204 ················}205 ················}
205 ················String·input3;206 ················String·input3;
10.6 KB
com/google/zxing/client/result/VEventResultParser.class
10.5 KB
javap -verbose -constants -s -l -private {}
    
Offset 244, 210 lines modifiedOffset 244, 210 lines modified
244 ········39:·aload_0244 ········39:·aload_0
245 ········40:·areturn245 ········40:·areturn
  
246 ··public·com.google.zxing.client.result.CalendarParsedResult·parse(com.google.zxing.Result);246 ··public·com.google.zxing.client.result.CalendarParsedResult·parse(com.google.zxing.Result);
247 ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/CalendarParsedResult;247 ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/CalendarParsedResult;
248 ····flags:·(0x0001)·ACC_PUBLIC248 ····flags:·(0x0001)·ACC_PUBLIC
249 ····Code:249 ····Code:
250 ······stack=300,·locals=23,·args_size=2250 ······stack=300,·locals=22,·args_size=2
251 ·········0:·aload_1251 ·········0:·aload_1
252 ·········1:·invokestatic··#50·················//·Method·getMassagedText:(Lcom/google/zxing/Result;)Ljava/lang/String;252 ·········1:·invokestatic··#50·················//·Method·getMassagedText:(Lcom/google/zxing/Result;)Ljava/lang/String;
253 ·········4:·astore_2253 ·········4:·astore_2
254 ·········5:·ldc···········#52·················//·String·BEGIN:VEVENT254 ·········5:·ldc···········#52·················//·String·BEGIN:VEVENT
255 ·········7:·astore_3255 ·········7:·astore_3
256 ·········8:·aload_2256 ·········8:·aload_2
257 ·········9:·aload_3257 ·········9:·aload_3
258 ········10:·invokevirtual·#56·················//·Method·java/lang/String.indexOf:(Ljava/lang/String;)I258 ········10:·invokevirtual·#56·················//·Method·java/lang/String.indexOf:(Ljava/lang/String;)I
259 ········13:·istore········4259 ········13:·istore········4
260 ········15:·iload·········4260 ········15:·iload·········4
261 ········17:·ifge··········27261 ········17:·ifge··········27
262 ········20:·iconst_0262 ········20:·iconst_0
263 ········21:·istore········5263 ········21:·istore········4
264 ········23:·aconst_null264 ········23:·aconst_null
265 ········24:·astore_3265 ········24:·astore_3
266 ········25:·aload_3266 ········25:·aload_3
267 ········26:·areturn267 ········26:·areturn
268 ········27:·iconst_1268 ········27:·iconst_1
269 ········28:·istore········6269 ········28:·istore········5
270 ········30:·ldc···········#58·················//·String·SUMMARY270 ········30:·ldc···········#58·················//·String·SUMMARY
271 ········32:·aload_2271 ········32:·aload_2
272 ········33:·iload·········6272 ········33:·iload·········5
273 ········35:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;273 ········35:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
274 ········38:·astore········7274 ········38:·astore········6
275 ········40:·ldc···········#64·················//·String·DTSTART275 ········40:·ldc···········#64·················//·String·DTSTART
276 ········42:·astore_3276 ········42:·astore_3
277 ········43:·iconst_1277 ········43:·iconst_1
278 ········44:·istore········8278 ········44:·istore········7
279 ········46:·iload·········8279 ········46:·iload·········7
280 ········48:·istore········6280 ········48:·istore········5
281 ········50:·aload_3281 ········50:·aload_3
282 ········51:·aload_2282 ········51:·aload_2
283 ········52:·iload·········8283 ········52:·iload·········7
284 ········54:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;284 ········54:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
285 ········57:·astore········9285 ········57:·astore········8
286 ········59:·aload·········9286 ········59:·aload·········8
287 ········61:·ifnonnull·····72287 ········61:·ifnonnull·····72
288 ········64:·iconst_0288 ········64:·iconst_0
289 ········65:·istore········5289 ········65:·istore········4
290 ········67:·aconst_null290 ········67:·aconst_null
291 ········68:·astore_3291 ········68:·astore_3
292 ········69:·goto··········25292 ········69:·goto··········25
293 ········72:·iconst_1293 ········72:·iconst_1
294 ········73:·istore········6294 ········73:·istore········5
295 ········75:·ldc···········#66·················//·String·DTEND295 ········75:·ldc···········#66·················//·String·DTEND
296 ········77:·aload_2296 ········77:·aload_2
297 ········78:·iload·········6297 ········78:·iload·········5
298 ········80:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;298 ········80:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
299 ········83:·astore········10299 ········83:·astore········9
300 ········85:·iconst_1300 ········85:·iconst_1
301 ········86:·istore········6301 ········86:·istore········5
302 ········88:·ldc···········#68·················//·String·DURATION302 ········88:·ldc···········#68·················//·String·DURATION
303 ········90:·aload_2303 ········90:·aload_2
304 ········91:·iload·········6304 ········91:·iload·········5
305 ········93:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;305 ········93:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
306 ········96:·astore········11306 ········96:·astore········10
307 ········98:·iconst_1307 ········98:·iconst_1
308 ········99:·istore········6308 ········99:·istore········5
309 ·······101:·ldc···········#70·················//·String·LOCATION309 ·······101:·ldc···········#70·················//·String·LOCATION
310 ·······103:·aload_2310 ·······103:·aload_2
311 ·······104:·iload·········6311 ·······104:·iload·········5
312 ·······106:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;312 ·······106:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
313 ·······109:·astore········12313 ·······109:·astore········11
314 ·······111:·iconst_1314 ·······111:·iconst_1
315 ·······112:·istore········6315 ·······112:·istore········5
316 ·······114:·ldc···········#72·················//·String·ORGANIZER316 ·······114:·ldc···········#72·················//·String·ORGANIZER
317 ·······116:·aload_2317 ·······116:·aload_2
318 ·······117:·iload·········6318 ·······117:·iload·········5
319 ·······119:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;319 ·······119:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
320 ·······122:·invokestatic··#76·················//·Method·stripMailto:(Ljava/lang/String;)Ljava/lang/String;320 ·······122:·invokestatic··#76·················//·Method·stripMailto:(Ljava/lang/String;)Ljava/lang/String;
321 ·······125:·astore········13321 ·······125:·astore········12
322 ·······127:·ldc···········#78·················//·String·ATTENDEE322 ·······127:·ldc···········#78·················//·String·ATTENDEE
323 ·······129:·astore_3323 ·······129:·astore_3
324 ·······130:·iconst_1324 ·······130:·iconst_1
325 ·······131:·istore········8325 ·······131:·istore········7
326 ·······133:·iload·········8326 ·······133:·iload·········7
327 ·······135:·istore········6327 ·······135:·istore········5
328 ·······137:·aload_3328 ·······137:·aload_3
329 ·······138:·aload_2329 ·······138:·aload_2
330 ·······139:·iload·········8330 ·······139:·iload·········7
331 ·······141:·invokestatic··#81·················//·Method·matchVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)[Ljava/lang/String;331 ·······141:·invokestatic··#81·················//·Method·matchVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)[Ljava/lang/String;
332 ·······144:·astore········14332 ·······144:·astore········13
333 ·······146:·aload·········14333 ·······146:·aload·········13
334 ·······148:·ifnull········190334 ·······148:·ifnull········190
335 ·······151:·iconst_0335 ·······151:·iconst_0
336 ·······152:·istore········15336 ·······152:·istore········14
337 ·······154:·aload·········14337 ·······154:·aload·········13
338 ·······156:·arraylength338 ·······156:·arraylength
339 ·······157:·istore········5339 ·······157:·istore········4
340 ·······159:·iload·········15340 ·······159:·iload·········14
341 ·······161:·iload·········5341 ·······161:·iload·········4
342 ·······163:·if_icmpge·····190342 ·······163:·if_icmpge·····190
343 ·······166:·aload·········14343 ·······166:·aload·········13
344 ·······168:·iload·········15344 ·······168:·iload·········14
345 ·······170:·aaload345 ·······170:·aaload
346 ·······171:·invokestatic··#76·················//·Method·stripMailto:(Ljava/lang/String;)Ljava/lang/String;346 ·······171:·invokestatic··#76·················//·Method·stripMailto:(Ljava/lang/String;)Ljava/lang/String;
347 ·······174:·astore_3347 ·······174:·astore_3
348 ·······175:·aload·········14348 ·······175:·aload·········13
349 ·······177:·iload·········15349 ·······177:·iload·········14
350 ·······179:·aload_3350 ·······179:·aload_3
351 ·······180:·aastore351 ·······180:·aastore
352 ·······181:·iload·········15352 ·······181:·iload·········14
353 ·······183:·iconst_1353 ·······183:·iconst_1
354 ·······184:·iadd354 ·······184:·iadd
355 ·······185:·istore········15355 ·······185:·istore········14
356 ·······187:·goto··········154356 ·······187:·goto··········154
357 ·······190:·iconst_1357 ·······190:·iconst_1
358 ·······191:·istore········6358 ·······191:·istore········5
359 ·······193:·ldc···········#83·················//·String·DESCRIPTION359 ·······193:·ldc···········#83·················//·String·DESCRIPTION
360 ·······195:·aload_2360 ·······195:·aload_2
361 ·······196:·iload·········6361 ·······196:·iload·········5
362 ·······198:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;362 ·······198:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
363 ·······201:·astore········16363 ·······201:·astore········15
364 ·······203:·ldc···········#85·················//·String·GEO364 ·······203:·ldc···········#85·················//·String·GEO
365 ·······205:·astore_3365 ·······205:·astore_3
366 ·······206:·iconst_1366 ·······206:·iconst_1
367 ·······207:·istore········8367 ·······207:·istore········7
368 ·······209:·iload·········8368 ·······209:·iload·········7
369 ·······211:·istore········6369 ·······211:·istore········5
Max diff block lines reached; 4074/10652 bytes (38.25%) of diff not shown.
517 B
com/google/zxing/client/result/VINResultParser.class
413 B
procyon -ec {}
    
Offset 172, 15 lines modifiedOffset 172, 15 lines modified
172 ············n·=·c·-·48;172 ············n·=·c·-·48;
173 ········}173 ········}
174 ········return·n;174 ········return·n;
175 ····}175 ····}
176 ····176 ····
177 ····private·static·int·vinPositionWeight(final·int·n)·{177 ····private·static·int·vinPositionWeight(final·int·n)·{
178 ········int·n2·=·10;178 ········int·n2·=·10;
179 ········if·(n·>=·1·&&·n·<=·7)·{179 ········if·(n·>·0·&&·n·<=·7)·{
180 ············n2·=·9·-·n;180 ············n2·=·9·-·n;
181 ········}181 ········}
182 ········else·if·(n·!=·8)·{182 ········else·if·(n·!=·8)·{
183 ············if·(n·==·9)·{183 ············if·(n·==·9)·{
184 ················n2·=·0;184 ················n2·=·0;
185 ············}185 ············}
186 ············else·{186 ············else·{
2.21 KB
com/google/zxing/common/GlobalHistogramBinarizer.class
2.1 KB
procyon -ec {}
    
Offset 87, 15 lines modifiedOffset 87, 15 lines modified
87 ········final·int·width·=·luminanceSource.getWidth();87 ········final·int·width·=·luminanceSource.getWidth();
88 ········final·int·height·=·luminanceSource.getHeight();88 ········final·int·height·=·luminanceSource.getHeight();
89 ········final·BitMatrix·bitMatrix·=·new·BitMatrix(width,·height);89 ········final·BitMatrix·bitMatrix·=·new·BitMatrix(width,·height);
90 ········this.initArrays(width);90 ········this.initArrays(width);
91 ········final·int[]·buckets·=·this.buckets;91 ········final·int[]·buckets·=·this.buckets;
92 ········for·(int·i·=·1;·i·<·5;·++i)·{92 ········for·(int·i·=·1;·i·<·5;·++i)·{
93 ············final·byte[]·row·=·luminanceSource.getRow(height·*·i·/·5,·this.luminances);93 ············final·byte[]·row·=·luminanceSource.getRow(height·*·i·/·5,·this.luminances);
94 ············for·(int·n·=·width·*·4·/·5,·j·=·width·/·5;·j·<·n;·++j)·{94 ············for·(int·n·=·(width·<<·2)·/·5,·j·=·width·/·5;·j·<·n;·++j)·{
95 ················final·int·n2·=·(row[j]·&·0xFF)·>>·3;95 ················final·int·n2·=·(row[j]·&·0xFF)·>>·3;
96 ················++buckets[n2];96 ················++buckets[n2];
97 ············}97 ············}
98 ········}98 ········}
99 ········final·int·estimateBlackPoint·=·estimateBlackPoint(buckets);99 ········final·int·estimateBlackPoint·=·estimateBlackPoint(buckets);
100 ········final·byte[]·matrix·=·luminanceSource.getMatrix();100 ········final·byte[]·matrix·=·luminanceSource.getMatrix();
101 ········for·(int·k·=·0;·k·<·height;·++k)·{101 ········for·(int·k·=·0;·k·<·height;·++k)·{
Offset 122, 20 lines modifiedOffset 122, 29 lines modified
122 ········final·byte[]·row·=·luminanceSource.getRow(n,·this.luminances);122 ········final·byte[]·row·=·luminanceSource.getRow(n,·this.luminances);
123 ········final·int[]·buckets·=·this.buckets;123 ········final·int[]·buckets·=·this.buckets;
124 ········for·(int·i·=·0;·i·<·width;·++i)·{124 ········for·(int·i·=·0;·i·<·width;·++i)·{
125 ············final·int·n2·=·(row[i]·&·0xFF)·>>·3;125 ············final·int·n2·=·(row[i]·&·0xFF)·>>·3;
126 ············++buckets[n2];126 ············++buckets[n2];
127 ········}127 ········}
128 ········final·int·estimateBlackPoint·=·estimateBlackPoint(buckets);128 ········final·int·estimateBlackPoint·=·estimateBlackPoint(buckets);
 129 ········if·(width·<·3)·{
129 ········int·n3·=·row[0]·&·0xFF; 
130 ········int·n4·=·row[1]·&·0xFF; 
131 ········for·(int·j·=·1;·j·<·width·-·1;·++j)·{130 ············for·(int·j·=·0;·j·<·width;·++j)·{
 131 ················if·((row[j]·&·0xFF)·<·estimateBlackPoint)·{
132 ············final·int·n5·=·row[j·+·1]·&·0xFF; 
133 ············if·((n4·*·4·-·n3·-·n5)·/·2·<·estimateBlackPoint)·{ 
134 ················bitArray.set(j);132 ····················bitArray.set(j);
 133 ················}
 134 ············}
 135 ········}
 136 ········else·{
 137 ············int·n3·=·row[0]·&·0xFF;
 138 ············int·n4·=·row[1]·&·0xFF;
 139 ············for·(int·k·=·1;·k·<·width·-·1;·++k)·{
 140 ················final·int·n5·=·row[k·+·1]·&·0xFF;
 141 ················if·(((n4·<<·2)·-·n3·-·n5)·/·2·<·estimateBlackPoint)·{
 142 ····················bitArray.set(k);
 143 ················}
 144 ················n3·=·n4;
 145 ················n4·=·n5;
135 ············}146 ············}
136 ············n3·=·n4; 
137 ············n4·=·n5; 
138 ········}147 ········}
139 ········return·bitArray;148 ········return·bitArray;
140 ····}149 ····}
141 }150 }
2.13 KB
com/google/zxing/datamatrix/DataMatrixReader.class
2.03 KB
procyon -ec {}
    
Offset 27, 36 lines modifiedOffset 27, 37 lines modified
27 ····}27 ····}
28 ····28 ····
29 ····public·DataMatrixReader()·{29 ····public·DataMatrixReader()·{
30 ········this.decoder·=·new·Decoder();30 ········this.decoder·=·new·Decoder();
31 ····}31 ····}
32 ····32 ····
33 ····private·static·BitMatrix·extractPureBits(final·BitMatrix·bitMatrix)·{33 ····private·static·BitMatrix·extractPureBits(final·BitMatrix·bitMatrix)·{
 34 ········final·int·n·=·1;
34 ········final·int[]·topLeftOnBit·=·bitMatrix.getTopLeftOnBit();35 ········final·int[]·topLeftOnBit·=·bitMatrix.getTopLeftOnBit();
35 ········final·int[]·bottomRightOnBit·=·bitMatrix.getBottomRightOnBit();36 ········final·int[]·bottomRightOnBit·=·bitMatrix.getBottomRightOnBit();
36 ········if·(topLeftOnBit·==·null·||·bottomRightOnBit·==·null)·{37 ········if·(topLeftOnBit·==·null·||·bottomRightOnBit·==·null)·{
37 ············throw·NotFoundException.getNotFoundInstance();38 ············throw·NotFoundException.getNotFoundInstance();
38 ········}39 ········}
39 ········final·int·moduleSize·=·moduleSize(topLeftOnBit,·bitMatrix);40 ········final·int·moduleSize·=·moduleSize(topLeftOnBit,·bitMatrix);
40 ········final·int·n·=·topLeftOnBit[1];41 ········final·int·n2·=·topLeftOnBit[n];
41 ········final·int·n2·=·bottomRightOnBit[1];42 ········final·int·n3·=·bottomRightOnBit[n];
42 ········final·int·n3·=·topLeftOnBit[0];43 ········final·int·n4·=·topLeftOnBit[0];
43 ········final·int·n4·=·(bottomRightOnBit[0]·-·n3·+·1)·/·moduleSize;44 ········final·int·n5·=·(bottomRightOnBit[0]·-·n4·+·1)·/·moduleSize;
44 ········final·int·n5·=·(n2·-·n·+·1)·/·moduleSize;45 ········final·int·n6·=·(n3·-·n2·+·1)·/·moduleSize;
45 ········if·(n4·<=·0·||·n5·<=·0)·{46 ········if·(n5·<=·0·||·n6·<=·0)·{
46 ············throw·NotFoundException.getNotFoundInstance();47 ············throw·NotFoundException.getNotFoundInstance();
47 ········}48 ········}
48 ········final·int·n6·=·moduleSize·/·2;49 ········final·int·n7·=·moduleSize·/·2;
49 ········final·int·n7·=·n·+·n6; 
50 ········final·int·n8·=·n3·+·n6;50 ········final·int·n8·=·n2·+·n7;
 51 ········final·int·n9·=·n4·+·n7;
51 ········final·BitMatrix·bitMatrix2·=·new·BitMatrix(n4,·n5);52 ········final·BitMatrix·bitMatrix2·=·new·BitMatrix(n5,·n6);
52 ········for·(int·i·=·0;·i·<·n5;·++i)·{53 ········for·(int·i·=·0;·i·<·n6;·++i)·{
53 ············final·int·n9·=·n7·+·i·*·moduleSize;54 ············final·int·n10·=·n8·+·i·*·moduleSize;
54 ············for·(int·j·=·0;·j·<·n4;·++j)·{55 ············for·(int·j·=·0;·j·<·n5;·++j)·{
55 ················if·(bitMatrix.get(j·*·moduleSize·+·n8,·n9))·{56 ················if·(bitMatrix.get(j·*·moduleSize·+·n9,·n10))·{
56 ····················bitMatrix2.set(j,·i);57 ····················bitMatrix2.set(j,·i);
57 ················}58 ················}
58 ············}59 ············}
59 ········}60 ········}
60 ········return·bitMatrix2;61 ········return·bitMatrix2;
61 ····}62 ····}
62 ····63 ····
29.5 KB
com/google/zxing/datamatrix/DataMatrixWriter.class
29.4 KB
javap -verbose -constants -s -l -private {}
Max HTML report size reached
30.7 KB
com/google/zxing/datamatrix/encoder/ASCIIEncoder.class
30.6 KB
javap -verbose -constants -s -l -private {}
Max HTML report size reached
2.1 KB
com/google/zxing/datamatrix/encoder/Base256Encoder.class
1.99 KB
procyon -ec {}
    
Offset 12, 43 lines modifiedOffset 12, 42 lines modified
12 ········else·{12 ········else·{
13 ············c2·=·(char)(n2·-·256);13 ············c2·=·(char)(n2·-·256);
14 ········}14 ········}
15 ········return·c2;15 ········return·c2;
16 ····}16 ····}
17 ····17 ····
18 ····public·void·encode(final·EncoderContext·encoderContext)·{18 ····public·void·encode(final·EncoderContext·encoderContext)·{
19 ········final·int·n·=·249; 
20 ········final·int·offset·=·1;19 ········final·int·offset·=·1;
21 ········final·StringBuilder·sb·=·new·StringBuilder();20 ········final·StringBuilder·sb·=·new·StringBuilder();
22 ········sb.append('\0');21 ········sb.append('\0');
23 ········while·(encoderContext.hasMoreCharacters())·{22 ········while·(encoderContext.hasMoreCharacters())·{
24 ············sb.append(encoderContext.getCurrentChar());23 ············sb.append(encoderContext.getCurrentChar());
25 ············++encoderContext.pos;24 ············++encoderContext.pos;
26 ············final·int·lookAheadTest·=·HighLevelEncoder.lookAheadTest((CharSequence)encoderContext.getMessage(),·encoderContext.pos,·this.getEncodingMode());25 ············final·int·lookAheadTest·=·HighLevelEncoder.lookAheadTest((CharSequence)encoderContext.getMessage(),·encoderContext.pos,·this.getEncodingMode());
27 ············if·(lookAheadTest·!=·this.getEncodingMode())·{26 ············if·(lookAheadTest·!=·this.getEncodingMode())·{
28 ················encoderContext.signalEncoderChange(lookAheadTest);27 ················encoderContext.signalEncoderChange(lookAheadTest);
29 ················break;28 ················break;
30 ············}29 ············}
31 ········}30 ········}
32 ········final·int·i·=·sb.length()·-·1;31 ········final·int·i·=·sb.length()·-·1;
33 ········final·int·n2·=·encoderContext.getCodewordCount()·+·i·+·1;32 ········final·int·n·=·encoderContext.getCodewordCount()·+·i·+·1;
34 ········encoderContext.updateSymbolInfo(n2);33 ········encoderContext.updateSymbolInfo(n);
35 ········int·n3;34 ········int·n2;
36 ········if·(encoderContext.getSymbolInfo().getDataCapacity()·-·n2·>·0)·{35 ········if·(encoderContext.getSymbolInfo().getDataCapacity()·-·n·>·0)·{
37 ············n3·=·offset;36 ············n2·=·offset;
38 ········}37 ········}
39 ········else·{38 ········else·{
40 ············n3·=·0;39 ············n2·=·0;
41 ········}40 ········}
42 ········if·(encoderContext.hasMoreCharacters()·||·n3·!=·0)·{41 ········if·(encoderContext.hasMoreCharacters()·||·n2·!=·0)·{
43 ············if·(i·<=·n)·{42 ············if·(i·<=·249)·{
44 ················sb.setCharAt(0,·(char)i);43 ················sb.setCharAt(0,·(char)i);
45 ············}44 ············}
46 ············else·{45 ············else·{
47 ················if·(i·<=·n·||·i·>·1555)·{46 ················if·(i·>·1555)·{
48 ····················throw·new·IllegalStateException("Message·length·not·in·valid·ranges:·"·+·i);47 ····················throw·new·IllegalStateException("Message·length·not·in·valid·ranges:·"·+·i);
49 ················}48 ················}
50 ················sb.setCharAt(0,·(char)(i·/·250·+·249));49 ················sb.setCharAt(0,·(char)(i·/·250·+·249));
51 ················sb.insert(offset,·(char)(i·%·250));50 ················sb.insert(offset,·(char)(i·%·250));
52 ············}51 ············}
53 ········}52 ········}
54 ········for·(int·j·=·0;·j·<·sb.length();·++j)·{53 ········for·(int·j·=·0;·j·<·sb.length();·++j)·{
3.33 KB
com/google/zxing/datamatrix/encoder/C40Encoder.class
3.23 KB
procyon -ec {}
    
Offset 19, 29 lines modifiedOffset 19, 32 lines modified
19 ····19 ····
20 ····static·void·writeNextTriplet(final·EncoderContext·encoderContext,·final·StringBuilder·sb)·{20 ····static·void·writeNextTriplet(final·EncoderContext·encoderContext,·final·StringBuilder·sb)·{
21 ········encoderContext.writeCodewords(encodeToCodewords((CharSequence)sb,·0));21 ········encoderContext.writeCodewords(encodeToCodewords((CharSequence)sb,·0));
22 ········sb.delete(0,·3);22 ········sb.delete(0,·3);
23 ····}23 ····}
24 ····24 ····
25 ····public·void·encode(final·EncoderContext·encoderContext)·{25 ····public·void·encode(final·EncoderContext·encoderContext)·{
 26 ········final·int·n·=·3;
 27 ········final·int·n2·=·1;
 28 ········final·int·n3·=·2;
26 ········final·StringBuilder·sb·=·new·StringBuilder();29 ········final·StringBuilder·sb·=·new·StringBuilder();
27 ········while·(encoderContext.hasMoreCharacters())·{30 ········while·(encoderContext.hasMoreCharacters())·{
28 ············final·char·currentChar·=·encoderContext.getCurrentChar();31 ············final·char·currentChar·=·encoderContext.getCurrentChar();
29 ············++encoderContext.pos;32 ············++encoderContext.pos;
30 ············int·n·=·this.encodeChar(currentChar,·sb);33 ············int·n4·=·this.encodeChar(currentChar,·sb);
31 ············final·int·n2·=·encoderContext.getCodewordCount()·+·sb.length()·/·3·*·2;34 ············final·int·n5·=·encoderContext.getCodewordCount()·+·(sb.length()·/·3·<<·1);
32 ············encoderContext.updateSymbolInfo(n2);35 ············encoderContext.updateSymbolInfo(n5);
33 ············final·int·n3·=·encoderContext.getSymbolInfo().getDataCapacity()·-·n2;36 ············final·int·n6·=·encoderContext.getSymbolInfo().getDataCapacity()·-·n5;
34 ············if·(!encoderContext.hasMoreCharacters())·{37 ············if·(!encoderContext.hasMoreCharacters())·{
35 ················final·StringBuilder·sb2·=·new·StringBuilder();38 ················final·StringBuilder·sb2·=·new·StringBuilder();
36 ················if·(sb.length()·%·3·==·2·&&·(n3·<·2·||·n3·>·2))·{39 ················if·(sb.length()·%·3·==·n3·&&·(n6·<·n3·||·n6·>·n3))·{
37 ····················n·=·this.backtrackOneCharacter(encoderContext,·sb,·sb2,·n);40 ····················n4·=·this.backtrackOneCharacter(encoderContext,·sb,·sb2,·n4);
38 ················}41 ················}
39 ················while·(sb.length()·%·3·==·1·&&·((n·<=·3·&&·n3·!=·1)·||·n·>·3))·{42 ················while·(sb.length()·%·3·==·n2·&&·((n4·<=·n·&&·n6·!=·n2)·||·n4·>·n))·{
40 ····················n·=·this.backtrackOneCharacter(encoderContext,·sb,·sb2,·n);43 ····················n4·=·this.backtrackOneCharacter(encoderContext,·sb,·sb2,·n4);
41 ················}44 ················}
42 ················break;45 ················break;
43 ············}46 ············}
44 ············if·(sb.length()·%·3·!=·0)·{47 ············if·(sb.length()·%·3·!=·0)·{
45 ················continue;48 ················continue;
46 ············}49 ············}
47 ············final·int·lookAheadTest·=·HighLevelEncoder.lookAheadTest((CharSequence)encoderContext.getMessage(),·encoderContext.pos,·this.getEncodingMode());50 ············final·int·lookAheadTest·=·HighLevelEncoder.lookAheadTest((CharSequence)encoderContext.getMessage(),·encoderContext.pos,·this.getEncodingMode());
Offset 91, 28 lines modifiedOffset 94, 28 lines modified
91 ············c3·=·c2;94 ············c3·=·c2;
92 ········}95 ········}
93 ········else·{96 ········else·{
94 ············if·(c·<·'\u0080')·{97 ············if·(c·<·'\u0080')·{
95 ················throw·new·IllegalArgumentException("Illegal·character:·"·+·c);98 ················throw·new·IllegalArgumentException("Illegal·character:·"·+·c);
96 ············}99 ············}
97 ············sb.append("\u0001\u001e");100 ············sb.append("\u0001\u001e");
98 ············c3·=·2·+·this.encodeChar((char)(c·-·128),·sb);101 ············c3·=·this.encodeChar((char)(c·-·128),·sb)·+·2;
99 ········}102 ········}
100 ········return·c3;103 ········return·c3;
101 ····}104 ····}
102 ····105 ····
103 ····public·int·getEncodingMode()·{106 ····public·int·getEncodingMode()·{
104 ········return·1;107 ········return·1;
105 ····}108 ····}
106 ····109 ····
107 ····void·handleEOD(final·EncoderContext·encoderContext,·final·StringBuilder·sb)·{110 ····void·handleEOD(final·EncoderContext·encoderContext,·final·StringBuilder·sb)·{
108 ········final·int·n·=·1;111 ········final·int·n·=·1;
109 ········final·char·c·=·'\u00fe';112 ········final·char·c·=·'\u00fe';
110 ········final·int·n2·=·3;113 ········final·int·n2·=·3;
111 ········final·int·n3·=·sb.length()·/·3·*·2;114 ········final·int·n3·=·sb.length()·/·3·<<·1;
112 ········final·int·n4·=·sb.length()·%·3;115 ········final·int·n4·=·sb.length()·%·3;
113 ········final·int·n5·=·encoderContext.getCodewordCount()·+·n3;116 ········final·int·n5·=·encoderContext.getCodewordCount()·+·n3;
114 ········encoderContext.updateSymbolInfo(n5);117 ········encoderContext.updateSymbolInfo(n5);
115 ········final·int·n6·=·encoderContext.getSymbolInfo().getDataCapacity()·-·n5;118 ········final·int·n6·=·encoderContext.getSymbolInfo().getDataCapacity()·-·n5;
116 ········if·(n4·==·2)·{119 ········if·(n4·==·2)·{
117 ············sb.append('\0');120 ············sb.append('\0');
118 ············while·(sb.length()·>=·n2)·{121 ············while·(sb.length()·>=·n2)·{
14.2 KB
com/google/zxing/datamatrix/encoder/EdifactEncoder.class
14.1 KB
javap -verbose -constants -s -l -private {}
Max HTML report size reached
3.23 KB
com/google/zxing/maxicode/MaxiCodeReader.class
3.14 KB
javap -verbose -constants -s -l -private {}
    
Offset 328, 44 lines modifiedOffset 328, 44 lines modified
328 ········29:·astore········5328 ········29:·astore········5
329 ········31:·aload_0329 ········31:·aload_0
330 ········32:·getfield······#29·················//·Field·decoder:Lcom/google/zxing/maxicode/decoder/Decoder;330 ········32:·getfield······#29·················//·Field·decoder:Lcom/google/zxing/maxicode/decoder/Decoder;
331 ········35:·aload·········5331 ········35:·aload·········5
332 ········37:·aload_2332 ········37:·aload_2
333 ········38:·invokevirtual·#85·················//·Method·com/google/zxing/maxicode/decoder/Decoder.decode:(Lcom/google/zxing/common/BitMatrix;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult;333 ········38:·invokevirtual·#85·················//·Method·com/google/zxing/maxicode/decoder/Decoder.decode:(Lcom/google/zxing/common/BitMatrix;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult;
334 ········41:·astore········6334 ········41:·astore········6
335 ········43:·getstatic·····#20·················//·Field·NO_POINTS:[Lcom/google/zxing/ResultPoint;335 ········43:·new···········#87·················//·class·com/google/zxing/Result
336 ········46:·astore········7336 ········46:·astore········7
337 ········48:·new···········#87·················//·class·com/google/zxing/Result 
338 ········51:·astore········8 
339 ········53:·aload·········6337 ········48:·aload·········6
340 ········55:·invokevirtual·#93·················//·Method·com/google/zxing/common/DecoderResult.getText:()Ljava/lang/String;338 ········50:·invokevirtual·#93·················//·Method·com/google/zxing/common/DecoderResult.getText:()Ljava/lang/String;
341 ········58:·astore_3339 ········53:·astore_3
342 ········59:·aload·········6340 ········54:·aload·········6
343 ········61:·invokevirtual·#97·················//·Method·com/google/zxing/common/DecoderResult.getRawBytes:()[B341 ········56:·invokevirtual·#97·················//·Method·com/google/zxing/common/DecoderResult.getRawBytes:()[B
 342 ········59:·astore········8
 343 ········61:·getstatic·····#20·················//·Field·NO_POINTS:[Lcom/google/zxing/ResultPoint;
344 ········64:·astore········9344 ········64:·astore········9
345 ········66:·getstatic·····#103················//·Field·com/google/zxing/BarcodeFormat.MAXICODE:Lcom/google/zxing/BarcodeFormat;345 ········66:·getstatic·····#103················//·Field·com/google/zxing/BarcodeFormat.MAXICODE:Lcom/google/zxing/BarcodeFormat;
346 ········69:·astore········10346 ········69:·astore········10
347 ········71:·aload·········8347 ········71:·aload·········7
348 ········73:·aload_3348 ········73:·aload_3
349 ········74:·aload·········9349 ········74:·aload·········8
350 ········76:·aload·········7350 ········76:·aload·········9
351 ········78:·aload·········10351 ········78:·aload·········10
352 ········80:·invokespecial·#106················//·Method·com/google/zxing/Result."<init>":(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;)V352 ········80:·invokespecial·#106················//·Method·com/google/zxing/Result."<init>":(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;)V
353 ········83:·aload·········6353 ········83:·aload·········6
354 ········85:·invokevirtual·#109················//·Method·com/google/zxing/common/DecoderResult.getECLevel:()Ljava/lang/String;354 ········85:·invokevirtual·#109················//·Method·com/google/zxing/common/DecoderResult.getECLevel:()Ljava/lang/String;
355 ········88:·astore········11355 ········88:·astore········11
356 ········90:·aload·········11356 ········90:·aload·········11
357 ········92:·ifnull········107357 ········92:·ifnull········107
358 ········95:·getstatic·····#115················//·Field·com/google/zxing/ResultMetadataType.ERROR_CORRECTION_LEVEL:Lcom/google/zxing/ResultMetadataType;358 ········95:·getstatic·····#115················//·Field·com/google/zxing/ResultMetadataType.ERROR_CORRECTION_LEVEL:Lcom/google/zxing/ResultMetadataType;
359 ········98:·astore_3359 ········98:·astore_3
360 ········99:·aload·········8360 ········99:·aload·········7
361 ·······101:·aload_3361 ·······101:·aload_3
362 ·······102:·aload·········11362 ·······102:·aload·········11
363 ·······104:·invokevirtual·#119················//·Method·com/google/zxing/Result.putMetadata:(Lcom/google/zxing/ResultMetadataType;Ljava/lang/Object;)V363 ·······104:·invokevirtual·#119················//·Method·com/google/zxing/Result.putMetadata:(Lcom/google/zxing/ResultMetadataType;Ljava/lang/Object;)V
364 ·······107:·aload·········8364 ·······107:·aload·········7
365 ·······109:·areturn365 ·······109:·areturn
366 ·······110:·invokestatic··#43·················//·Method·com/google/zxing/NotFoundException.getNotFoundInstance:()Lcom/google/zxing/NotFoundException;366 ·······110:·invokestatic··#43·················//·Method·com/google/zxing/NotFoundException.getNotFoundInstance:()Lcom/google/zxing/NotFoundException;
367 ·······113:·athrow367 ·······113:·athrow
  
368 ··public·void·reset();368 ··public·void·reset();
369 ····descriptor:·()V369 ····descriptor:·()V
370 ····flags:·(0x0001)·ACC_PUBLIC370 ····flags:·(0x0001)·ACC_PUBLIC
7.33 KB
com/google/zxing/multi/GenericMultipleBarcodeReader.class
7.22 KB
procyon -ec {}
    
Offset 20, 103 lines modifiedOffset 20, 83 lines modified
20 ····20 ····
21 ····public·GenericMultipleBarcodeReader(final·Reader·delegate)·{21 ····public·GenericMultipleBarcodeReader(final·Reader·delegate)·{
22 ········this.delegate·=·delegate;22 ········this.delegate·=·delegate;
23 ····}23 ····}
24 ····24 ····
25 ····private·void·doDecodeMultiple(final·BinaryBitmap·binaryBitmap,·final·Map·map,·final·List·list,·final·int·n,·final·int·n2,·final·int·n3)·{25 ····private·void·doDecodeMultiple(final·BinaryBitmap·binaryBitmap,·final·Map·map,·final·List·list,·final·int·n,·final·int·n2,·final·int·n3)·{
26 ········if·(n3·<=·4)·{26 ········if·(n3·<=·4)·{
 27 ············try·{
27 ············int·width; 
28 ············int·height; 
29 ············float·n4·=·0.0f; 
30 ············float·n5·=·0.0f; 
31 ············float·n6·=·0.0f; 
32 ············float·n7·=·0.0f; 
33 ············while·(true)·{ 
34 ················while·(true)·{ 
35 ····················ResultPoint·resultPoint·=·null; 
36 ····················Label_0225:·{ 
37 ························try·{ 
38 ····························final·Result·decode·=·this.delegate.decode(binaryBitmap,·map);28 ················final·Result·decode·=·this.delegate.decode(binaryBitmap,·map);
39 ····························boolean·b·=·false;29 ················boolean·b·=·false;
40 ····························final·Iterator<Result>·iterator·=·list.iterator();30 ················final·Iterator<Result>·iterator·=·list.iterator();
41 ····························while·(iterator.hasNext())·{31 ················while·(iterator.hasNext())·{
42 ································if·(((Result)iterator.next()).getText().equals(decode.getText()))·{32 ····················if·(((Result)iterator.next()).getText().equals(decode.getText()))·{
43 ····································b·=·true;33 ························b·=·true;
44 ····································break;34 ························break;
 35 ····················}
 36 ················}
 37 ················if·(!b)·{
 38 ····················list.add(translateResultPoints(decode,·n,·n2));
 39 ················}
 40 ················final·ResultPoint[]·resultPoints·=·decode.getResultPoints();
 41 ················if·(resultPoints·!=·null·&&·resultPoints.length·!=·0)·{
 42 ····················final·int·width·=·binaryBitmap.getWidth();
 43 ····················final·int·height·=·binaryBitmap.getHeight();
 44 ····················float·n4·=·(float)width;
 45 ····················float·n5·=·(float)height;
 46 ····················float·n6·=·0.0f;
 47 ····················float·n7·=·0.0f;
 48 ····················for·(int·length·=·resultPoints.length,·i·=·0;·i·<·length;·++i)·{
 49 ························final·ResultPoint·resultPoint·=·resultPoints[i];
 50 ························if·(resultPoint·!=·null)·{
 51 ····························final·float·x·=·resultPoint.getX();
 52 ····························final·float·y·=·resultPoint.getY();
 53 ····························if·(x·<·n4)·{
45 ································}54 ································n4·=·x;
46 ····························}55 ····························}
47 ····························if·(!b)·{56 ····························if·(y·<·n5)·{
48 ································list.add(translateResultPoints(decode,·n,·n2));57 ································n5·=·y;
49 ····························}58 ····························}
 59 ····························if·(x·>·n6)·{
50 ····························final·ResultPoint[]·resultPoints·=·decode.getResultPoints(); 
51 ····························if·(resultPoints·!=·null·&&·resultPoints.length·!=·0)·{ 
52 ································width·=·binaryBitmap.getWidth(); 
53 ································height·=·binaryBitmap.getHeight(); 
54 ································n4·=·(float)width; 
55 ································n5·=·(float)height; 
56 ································n6·=·0.0f;60 ································n6·=·x;
 61 ····························}
 62 ····························if·(y·>·n7)·{
57 ································n7·=·0.0f;63 ································n7·=·y;
58 ································for·(int·length·=·resultPoints.length,·i·=·0;·i·<·length;·++i)·{ 
59 ····································resultPoint·=·resultPoints[i]; 
60 ····································if·(resultPoint·!=·null)·{ 
61 ········································break·Label_0225; 
62 ····································} 
63 ································} 
64 ································break; 
65 ····························}64 ····························}
66 ····························return; 
67 ························} 
68 ························catch·(ReaderException·ex)·{ 
69 ····························return; 
70 ························}65 ························}
71 ····················}66 ····················}
72 ····················final·float·x·=·resultPoint.getX(); 
73 ····················final·float·y·=·resultPoint.getY(); 
74 ····················if·(x·<·n4)·{67 ····················if·(n4·>·100.0f)·{
75 ························n4·=·x;68 ························this.doDecodeMultiple(binaryBitmap.crop(0,·0,·(int)n4,·height),·map,·list,·n,·n2,·n3·+·1);
76 ····················}69 ····················}
77 ····················if·(y·<·n5)·{70 ····················if·(n5·>·100.0f)·{
78 ························n5·=·y;71 ························this.doDecodeMultiple(binaryBitmap.crop(0,·0,·width,·(int)n5),·map,·list,·n,·n2,·n3·+·1);
79 ····················}72 ····················}
80 ····················if·(x·>·n6)·{73 ····················if·(n6·<·width·-·100)·{
81 ························n6·=·x;74 ························this.doDecodeMultiple(binaryBitmap.crop((int)n6,·0,·width·-·(int)n6,·height),·map,·list,·n·+·(int)n6,·n2,·n3·+·1);
82 ····················}75 ····················}
83 ····················if·(y·>·n7)·{76 ····················if·(n7·<·height·-·100)·{
 77 ························this.doDecodeMultiple(binaryBitmap.crop(0,·(int)n7,·width,·height·-·(int)n7),·map,·list,·n,·n2·+·(int)n7,·n3·+·1);
84 ························n7·=·y; 
85 ························continue; 
86 ····················}78 ····················}
87 ····················continue; 
88 ················}79 ················}
89 ············}80 ············}
 81 ············catch·(ReaderException·ex)·{}
90 ············if·(n4·>·100.0f)·{ 
91 ················this.doDecodeMultiple(binaryBitmap.crop(0,·0,·(int)n4,·height),·map,·list,·n,·n2,·n3·+·1); 
92 ············} 
93 ············if·(n5·>·100.0f)·{ 
94 ················this.doDecodeMultiple(binaryBitmap.crop(0,·0,·width,·(int)n5),·map,·list,·n,·n2,·n3·+·1); 
95 ············} 
96 ············if·(n6·<·width·-·100)·{ 
97 ················this.doDecodeMultiple(binaryBitmap.crop((int)n6,·0,·width·-·(int)n6,·height),·map,·list,·n·+·(int)n6,·n2,·n3·+·1); 
98 ············} 
99 ············if·(n7·<·height·-·100)·{ 
100 ················this.doDecodeMultiple(binaryBitmap.crop(0,·(int)n7,·width,·height·-·(int)n7),·map,·list,·n,·n2·+·(int)n7,·n3·+·1); 
101 ············} 
102 ········}82 ········}
103 ····}83 ····}
104 ····84 ····
105 ····private·static·Result·translateResultPoints(Result·result,·final·int·n,·final·int·n2)·{85 ····private·static·Result·translateResultPoints(Result·result,·final·int·n,·final·int·n2)·{
106 ········final·ResultPoint[]·resultPoints·=·result.getResultPoints();86 ········final·ResultPoint[]·resultPoints·=·result.getResultPoints();
107 ········if·(resultPoints·!=·null)·{87 ········if·(resultPoints·!=·null)·{
108 ············final·ResultPoint[]·array·=·new·ResultPoint[resultPoints.length];88 ············final·ResultPoint[]·array·=·new·ResultPoint[resultPoints.length];
109 ············for·(int·i·=·0;·i·<·resultPoints.length;·++i)·{89 ············for·(int·i·=·0;·i·<·resultPoints.length;·++i)·{
110 ················final·ResultPoint·resultPoint·=·resultPoints[i];90 ················final·ResultPoint·resultPoint·=·resultPoints[i];
111 ················if·(resultPoint·!=·null)·{91 ················if·(resultPoint·!=·null)·{
112 ····················array[i]·=·new·ResultPoint(resultPoint.getX()·+·n,·resultPoint.getY()·+·n2);92 ····················array[i]·=·new·ResultPoint(resultPoint.getX()·+·n,·resultPoint.getY()·+·n2);
113 ················}93 ················}
114 ············}94 ············}
115 ············final·Result·result2·=·new·Result(result.getText(),·result.getRawBytes(),·array,·result.getBarcodeFormat());95 ············final·Result·result2·=·new·Result(result.getText(),·result.getRawBytes(),·result.getNumBits(),·array,·result.getBarcodeFormat(),·result.getTimestamp());
116 ············result2.putAllMetadata(result.getResultMetadata());96 ············result2.putAllMetadata(result.getResultMetadata());
117 ············result·=·result2;97 ············result·=·result2;
118 ········}98 ········}
119 ········return·result;99 ········return·result;
120 ····}100 ····}
121 ····101 ····
Max diff block lines reached; 0/7364 bytes (0.00%) of diff not shown.
1.35 KB
com/google/zxing/multi/qrcode/detector/MultiDetector.class
1.23 KB
procyon -ec {}
    
Offset 48, 23 lines modifiedOffset 48, 23 lines modified
48 ················}48 ················}
49 ················final·FinderPatternInfo·finderPatternInfo·=·multi[n];49 ················final·FinderPatternInfo·finderPatternInfo·=·multi[n];
50 ················while·(true)·{50 ················while·(true)·{
51 ····················try·{51 ····················try·{
52 ························list.add(this.processFinderPatternInfo(finderPatternInfo));52 ························list.add(this.processFinderPatternInfo(finderPatternInfo));
53 ························++n;53 ························++n;
54 ························continue·Label_0122_Outer;54 ························continue·Label_0122_Outer;
55 ························n·=·(list.isEmpty()·?·1·:·0); 
56 ························//·iftrue(Label_0153:,·n·==·0) 
57 ························return·MultiDetector.EMPTY_DETECTOR_RESULTS; 
58 ························Label_0153:·{55 ························Label_0153:·{
59 ····························n·=·list.size();56 ····························n·=·list.size();
60 ························}57 ························}
61 ························return·(DetectorResult[])list.toArray(new·DetectorResult[n]);58 ························return·(DetectorResult[])list.toArray(new·DetectorResult[n]);
62 ························empty_DETECTOR_RESULTS·=·MultiDetector.EMPTY_DETECTOR_RESULTS;59 ························empty_DETECTOR_RESULTS·=·MultiDetector.EMPTY_DETECTOR_RESULTS;
63 ························return·empty_DETECTOR_RESULTS;60 ························return·empty_DETECTOR_RESULTS;
 61 ························n·=·(list.isEmpty()·?·1·:·0);
 62 ························//·iftrue(Label_0153:,·n·==·0)
 63 ························return·MultiDetector.EMPTY_DETECTOR_RESULTS;
64 ····················}64 ····················}
65 ····················catch·(ReaderException·ex)·{65 ····················catch·(ReaderException·ex)·{
66 ························continue;66 ························continue;
67 ····················}67 ····················}
68 ····················break;68 ····················break;
69 ················}69 ················}
70 ············}70 ············}
28.6 KB
com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder.class
28.5 KB
javap -verbose -constants -s -l -private {}
Max HTML report size reached
27.9 KB
com/google/zxing/oned/OneDReader.class
27.8 KB
procyon -ec {}
Max HTML report size reached
966 B
com/google/zxing/oned/OneDimensionalCodeWriter.class
862 B
procyon -ec {}
    
Offset 53, 19 lines modifiedOffset 53, 16 lines modified
53 ········if·(s.isEmpty())·{53 ········if·(s.isEmpty())·{
54 ············throw·new·IllegalArgumentException("Found·empty·contents");54 ············throw·new·IllegalArgumentException("Found·empty·contents");
55 ········}55 ········}
56 ········if·(i·<·0·||·j·<·0)·{56 ········if·(i·<·0·||·j·<·0)·{
57 ············throw·new·IllegalArgumentException("Negative·size·is·not·allowed.·Input:·"·+·i·+·'x'·+·j);57 ············throw·new·IllegalArgumentException("Negative·size·is·not·allowed.·Input:·"·+·i·+·'x'·+·j);
58 ········}58 ········}
59 ········int·n·=·this.getDefaultMargin();59 ········int·n·=·this.getDefaultMargin();
 60 ········if·(map·!=·null·&&·map.containsKey(EncodeHintType.MARGIN))·{
 61 ············n·=·Integer.parseInt(map.get(EncodeHintType.MARGIN).toString());
60 ········if·(map·!=·null)·{ 
61 ············final·Integer·n2·=·Integer.valueOf(map.get((Object)EncodeHintType.MARGIN)); 
62 ············if·(n2·!=·null)·{ 
63 ················n·=·n2; 
64 ············} 
65 ········}62 ········}
66 ········return·renderResult(this.encode(s),·i,·j,·n);63 ········return·renderResult(this.encode(s),·i,·j,·n);
67 ····}64 ····}
68 ····65 ····
69 ····public·abstract·boolean[]·encode(final·String·p0);66 ····public·abstract·boolean[]·encode(final·String·p0);
70 ····67 ····
71 ····public·int·getDefaultMargin()·{68 ····public·int·getDefaultMargin()·{
767 B
com/google/zxing/oned/UPCAWriter.class
691 B
procyon -ec {}
    
Offset 31, 15 lines modifiedOffset 31, 15 lines modified
31 ················n2·+=·n4·*·n3;31 ················n2·+=·n4·*·n3;
32 ············}32 ············}
33 ············string·+=·(1000·-·n2)·%·10;33 ············string·+=·(1000·-·n2)·%·10;
34 ········}34 ········}
35 ········else·if·(length·!=·12)·{35 ········else·if·(length·!=·12)·{
36 ············throw·new·IllegalArgumentException("Requested·contents·should·be·11·or·12·digits·long,·but·got·"·+·string.length());36 ············throw·new·IllegalArgumentException("Requested·contents·should·be·11·or·12·digits·long,·but·got·"·+·string.length());
37 ········}37 ········}
38 ········return·'0'·+·string;38 ········return·"0"·+·string;
39 ····}39 ····}
40 ····40 ····
41 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{41 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{
42 ········return·this.encode(s,·barcodeFormat,·n,·n2,·null);42 ········return·this.encode(s,·barcodeFormat,·n,·n2,·null);
43 ····}43 ····}
44 ····44 ····
45 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{45 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{
1.6 KB
com/google/zxing/oned/rss/expanded/decoders/AI01decoder.class
1.48 KB
procyon -ec {}
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
  
1 package·com.google.zxing.oned.rss.expanded.decoders;1 package·com.google.zxing.oned.rss.expanded.decoders;
  
2 import·com.google.zxing.common.BitArray;2 import·com.google.zxing.common.BitArray;
  
3 abstract·class·AI01decoder·extends·AbstractExpandedDecoder3 abstract·class·AI01decoder·extends·AbstractExpandedDecoder
4 {4 {
5 ····protected·static·final·int·GTIN_SIZE·=·40;5 ····static·final·int·GTIN_SIZE·=·40;
6 ····6 ····
7 ····AI01decoder(final·BitArray·bitArray)·{7 ····AI01decoder(final·BitArray·bitArray)·{
8 ········super(bitArray);8 ········super(bitArray);
9 ····}9 ····}
10 ····10 ····
11 ····private·static·void·appendCheckDigit(final·StringBuilder·sb,·final·int·n)·{11 ····private·static·void·appendCheckDigit(final·StringBuilder·sb,·final·int·n)·{
12 ········int·n2·=·0;12 ········int·n2·=·0;
Offset 23, 22 lines modifiedOffset 23, 22 lines modified
23 ········int·j·=·10·-·n2·%·10;23 ········int·j·=·10·-·n2·%·10;
24 ········if·(j·==·10)·{24 ········if·(j·==·10)·{
25 ············j·=·0;25 ············j·=·0;
26 ········}26 ········}
27 ········sb.append(j);27 ········sb.append(j);
28 ····}28 ····}
29 ····29 ····
30 ····protected·final·void·encodeCompressedGtin(final·StringBuilder·sb,·final·int·n)·{30 ····final·void·encodeCompressedGtin(final·StringBuilder·sb,·final·int·n)·{
31 ········sb.append("(01)");31 ········sb.append("(01)");
32 ········final·int·length·=·sb.length();32 ········final·int·length·=·sb.length();
33 ········sb.append('9');33 ········sb.append('9');
34 ········this.encodeCompressedGtinWithoutAI(sb,·n,·length);34 ········this.encodeCompressedGtinWithoutAI(sb,·n,·length);
35 ····}35 ····}
36 ····36 ····
37 ····protected·final·void·encodeCompressedGtinWithoutAI(final·StringBuilder·sb,·final·int·n,·final·int·n2)·{37 ····final·void·encodeCompressedGtinWithoutAI(final·StringBuilder·sb,·final·int·n,·final·int·n2)·{
38 ········final·char·c·=·'0';38 ········final·char·c·=·'0';
39 ········for·(int·i·=·0;·i·<·4;·++i)·{39 ········for·(int·i·=·0;·i·<·4;·++i)·{
40 ············final·int·numericValueFromBitArray·=·this.getGeneralDecoder().extractNumericValueFromBitArray(i·*·10·+·n,·10);40 ············final·int·numericValueFromBitArray·=·this.getGeneralDecoder().extractNumericValueFromBitArray(i·*·10·+·n,·10);
41 ············if·(numericValueFromBitArray·/·100·==·0)·{41 ············if·(numericValueFromBitArray·/·100·==·0)·{
42 ················sb.append(c);42 ················sb.append(c);
43 ············}43 ············}
44 ············if·(numericValueFromBitArray·/·10·==·0)·{44 ············if·(numericValueFromBitArray·/·10·==·0)·{
4.1 KB
com/google/zxing/pdf417/PDF417Writer.class
4.02 KB
procyon -ec {}
    
Offset 15, 16 lines modifiedOffset 15, 15 lines modified
15 public·final·class·PDF417Writer·implements·Writer15 public·final·class·PDF417Writer·implements·Writer
16 {16 {
17 ····static·final·int·DEFAULT_ERROR_CORRECTION_LEVEL·=·2;17 ····static·final·int·DEFAULT_ERROR_CORRECTION_LEVEL·=·2;
18 ····static·final·int·WHITE_SPACE·=·30;18 ····static·final·int·WHITE_SPACE·=·30;
19 ····19 ····
20 ····private·static·BitMatrix·bitMatrixFromEncoder(final·PDF417·pdf417,·final·String·s,·final·int·n,·final·int·n2,·final·int·n3,·final·int·n4)·{20 ····private·static·BitMatrix·bitMatrixFromEncoder(final·PDF417·pdf417,·final·String·s,·final·int·n,·final·int·n2,·final·int·n3,·final·int·n4)·{
21 ········pdf417.generateBarcodeLogic(s,·n);21 ········pdf417.generateBarcodeLogic(s,·n);
22 ········final·int·n5·=·4; 
23 ········byte[][]·array·=·pdf417.getBarcodeMatrix().getScaledMatrix(1,·n5);22 ········byte[][]·array·=·pdf417.getBarcodeMatrix().getScaledMatrix(1,·4);
24 ········boolean·b·=·false;23 ········boolean·b·=·false;
25 ········boolean·b2;24 ········boolean·b2;
26 ········if·(n3·>·n2)·{25 ········if·(n3·>·n2)·{
27 ············b2·=·true;26 ············b2·=·true;
28 ········}27 ········}
29 ········else·{28 ········else·{
30 ············b2·=·false;29 ············b2·=·false;
Offset 36, 26 lines modifiedOffset 35, 26 lines modified
36 ········else·{35 ········else·{
37 ············b3·=·false;36 ············b3·=·false;
38 ········}37 ········}
39 ········if·(b2·^·b3)·{38 ········if·(b2·^·b3)·{
40 ············array·=·rotateArray(array);39 ············array·=·rotateArray(array);
41 ············b·=·true;40 ············b·=·true;
42 ········}41 ········}
43 ········final·int·n6·=·n2·/·array[0].length;42 ········final·int·n5·=·n2·/·array[0].length;
44 ········final·int·n7·=·n3·/·array.length;43 ········final·int·n6·=·n3·/·array.length;
45 ········int·n8;44 ········int·n7;
46 ········if·(n6·<·n7)·{45 ········if·(n5·<·n6)·{
47 ············n8·=·n6;46 ············n7·=·n5;
48 ········}47 ········}
49 ········else·{48 ········else·{
50 ············n8·=·n7;49 ············n7·=·n6;
51 ········}50 ········}
52 ········BitMatrix·bitMatrix;51 ········BitMatrix·bitMatrix;
53 ········if·(n8·>·1)·{52 ········if·(n7·>·1)·{
54 ············byte[][]·array2·=·pdf417.getBarcodeMatrix().getScaledMatrix(n8,·n8·*·n5);53 ············byte[][]·array2·=·pdf417.getBarcodeMatrix().getScaledMatrix(n7,·n7·<<·2);
55 ············if·(b)·{54 ············if·(b)·{
56 ················array2·=·rotateArray(array2);55 ················array2·=·rotateArray(array2);
57 ············}56 ············}
58 ············bitMatrix·=·bitMatrixFrombitArray(array2,·n4);57 ············bitMatrix·=·bitMatrixFrombitArray(array2,·n4);
59 ········}58 ········}
60 ········else·{59 ········else·{
61 ············bitMatrix·=·bitMatrixFrombitArray(array,·n4);60 ············bitMatrix·=·bitMatrixFrombitArray(array,·n4);
Offset 92, 33 lines modifiedOffset 91, 33 lines modified
92 ····}91 ····}
93 ····92 ····
94 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{93 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{
95 ········if·(obj·!=·BarcodeFormat.PDF_417)·{94 ········if·(obj·!=·BarcodeFormat.PDF_417)·{
96 ············throw·new·IllegalArgumentException("Can·only·encode·PDF_417,·but·got·"·+·obj);95 ············throw·new·IllegalArgumentException("Can·only·encode·PDF_417,·but·got·"·+·obj);
97 ········}96 ········}
98 ········final·PDF417·pdf417·=·new·PDF417();97 ········final·PDF417·pdf417·=·new·PDF417();
99 ········int·intValue·=·30;98 ········int·int1·=·30;
100 ········int·intValue2·=·2;99 ········int·int2·=·2;
101 ········if·(map·!=·null)·{100 ········if·(map·!=·null)·{
102 ············if·(map.containsKey(EncodeHintType.PDF417_COMPACT))·{101 ············if·(map.containsKey(EncodeHintType.PDF417_COMPACT))·{
103 ················pdf417.setCompact((boolean)Boolean.valueOf(map.get((Object)EncodeHintType.PDF417_COMPACT)));102 ················pdf417.setCompact((boolean)Boolean.valueOf(map.get(EncodeHintType.PDF417_COMPACT).toString()));
104 ············}103 ············}
105 ············if·(map.containsKey(EncodeHintType.PDF417_COMPACTION))·{104 ············if·(map.containsKey(EncodeHintType.PDF417_COMPACTION))·{
106 ················pdf417.setCompaction((Compaction)map.get(EncodeHintType.PDF417_COMPACTION));105 ················pdf417.setCompaction(Compaction.valueOf(map.get(EncodeHintType.PDF417_COMPACTION).toString()));
107 ············}106 ············}
108 ············if·(map.containsKey(EncodeHintType.PDF417_DIMENSIONS))·{107 ············if·(map.containsKey(EncodeHintType.PDF417_DIMENSIONS))·{
109 ················final·Dimensions·dimensions·=·(Dimensions)map.get(EncodeHintType.PDF417_DIMENSIONS);108 ················final·Dimensions·dimensions·=·(Dimensions)map.get(EncodeHintType.PDF417_DIMENSIONS);
110 ················pdf417.setDimensions(dimensions.getMaxCols(),·dimensions.getMinCols(),·dimensions.getMaxRows(),·dimensions.getMinRows());109 ················pdf417.setDimensions(dimensions.getMaxCols(),·dimensions.getMinCols(),·dimensions.getMaxRows(),·dimensions.getMinRows());
111 ············}110 ············}
112 ············if·(map.containsKey(EncodeHintType.MARGIN))·{111 ············if·(map.containsKey(EncodeHintType.MARGIN))·{
113 ················intValue·=·((Number)map.get(EncodeHintType.MARGIN)).intValue();112 ················int1·=·Integer.parseInt(map.get(EncodeHintType.MARGIN).toString());
114 ············}113 ············}
115 ············if·(map.containsKey(EncodeHintType.ERROR_CORRECTION))·{114 ············if·(map.containsKey(EncodeHintType.ERROR_CORRECTION))·{
116 ················intValue2·=·((Number)map.get(EncodeHintType.ERROR_CORRECTION)).intValue();115 ················int2·=·Integer.parseInt(map.get(EncodeHintType.ERROR_CORRECTION).toString());
117 ············}116 ············}
118 ············if·(map.containsKey(EncodeHintType.CHARACTER_SET))·{117 ············if·(map.containsKey(EncodeHintType.CHARACTER_SET))·{
119 ················pdf417.setEncoding(Charset.forName((String)map.get(EncodeHintType.CHARACTER_SET)));118 ················pdf417.setEncoding(Charset.forName(map.get(EncodeHintType.CHARACTER_SET).toString()));
120 ············}119 ············}
121 ········}120 ········}
122 ········return·bitMatrixFromEncoder(pdf417,·s,·intValue2,·n,·n2,·intValue);121 ········return·bitMatrixFromEncoder(pdf417,·s,·int2,·n,·n2,·int1);
123 ····}122 ····}
124 }123 }
11.8 KB
com/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn.class
11.7 KB
procyon -ec {}
    
Offset 1, 22 lines modifiedOffset 1, 67 lines modified
  
1 package·com.google.zxing.pdf417.decoder;1 package·com.google.zxing.pdf417.decoder;
  
2 import·com.google.zxing.FormatException; 
3 import·com.google.zxing.ResultPoint;2 import·com.google.zxing.ResultPoint;
  
4 final·class·DetectionResultRowIndicatorColumn·extends·DetectionResultColumn3 final·class·DetectionResultRowIndicatorColumn·extends·DetectionResultColumn
5 {4 {
6 ····private·final·boolean·isLeft;5 ····private·final·boolean·isLeft;
7 ····6 ····
8 ····DetectionResultRowIndicatorColumn(final·BoundingBox·boundingBox,·final·boolean·isLeft)·{7 ····DetectionResultRowIndicatorColumn(final·BoundingBox·boundingBox,·final·boolean·isLeft)·{
9 ········super(boundingBox);8 ········super(boundingBox);
10 ········this.isLeft·=·isLeft;9 ········this.isLeft·=·isLeft;
11 ····}10 ····}
12 ····11 ····
 12 ····private·void·adjustIncompleteIndicatorColumnRowNumbers(final·BarcodeMetadata·barcodeMetadata)·{
 13 ········final·BoundingBox·boundingBox·=·this.getBoundingBox();
 14 ········ResultPoint·resultPoint;
 15 ········if·(this.isLeft)·{
 16 ············resultPoint·=·boundingBox.getTopLeft();
 17 ········}
 18 ········else·{
 19 ············resultPoint·=·boundingBox.getTopRight();
 20 ········}
 21 ········ResultPoint·resultPoint2;
 22 ········if·(this.isLeft)·{
 23 ············resultPoint2·=·boundingBox.getBottomLeft();
 24 ········}
 25 ········else·{
 26 ············resultPoint2·=·boundingBox.getBottomRight();
 27 ········}
 28 ········final·int·imageRowToCodewordIndex·=·this.imageRowToCodewordIndex((int)resultPoint.getY());
 29 ········final·int·imageRowToCodewordIndex2·=·this.imageRowToCodewordIndex((int)resultPoint2.getY());
 30 ········final·Codeword[]·codewords·=·this.getCodewords();
 31 ········int·n·=·-1;
 32 ········int·max·=·1;
 33 ········int·b·=·0;
 34 ········for·(int·i·=·imageRowToCodewordIndex;·i·<·imageRowToCodewordIndex2;·++i)·{
 35 ············if·(codewords[i]·!=·null)·{
 36 ················final·Codeword·codeword·=·codewords[i];
 37 ················codeword.setRowNumberAsRowIndicatorColumn();
 38 ················final·int·n2·=·codeword.getRowNumber()·-·n;
 39 ················if·(n2·==·0)·{
 40 ····················++b;
 41 ················}
 42 ················else·if·(n2·==·1)·{
 43 ····················max·=·Math.max(max,·b);
 44 ····················b·=·1;
 45 ····················n·=·codeword.getRowNumber();
 46 ················}
 47 ················else·if·(codeword.getRowNumber()·>=·barcodeMetadata.getRowCount())·{
 48 ····················codewords[i]·=·null;
 49 ················}
 50 ················else·{
 51 ····················n·=·codeword.getRowNumber();
 52 ····················b·=·1;
 53 ················}
 54 ············}
 55 ········}
 56 ····}
 57 ····
13 ····private·void·removeIncorrectCodewords(final·Codeword[]·array,·final·BarcodeMetadata·barcodeMetadata)·{58 ····private·void·removeIncorrectCodewords(final·Codeword[]·array,·final·BarcodeMetadata·barcodeMetadata)·{
14 ········for·(int·i·=·0;·i·<·array.length;·++i)·{59 ········for·(int·i·=·0;·i·<·array.length;·++i)·{
15 ············final·Codeword·codeword·=·array[i];60 ············final·Codeword·codeword·=·array[i];
16 ············if·(array[i]·!=·null)·{61 ············if·(array[i]·!=·null)·{
17 ················final·int·n·=·codeword.getValue()·%·30;62 ················final·int·n·=·codeword.getValue()·%·30;
18 ················int·rowNumber·=·codeword.getRowNumber();63 ················int·rowNumber·=·codeword.getRowNumber();
19 ················if·(rowNumber·>·barcodeMetadata.getRowCount())·{64 ················if·(rowNumber·>·barcodeMetadata.getRowCount())·{
Offset 50, 15 lines modifiedOffset 95, 25 lines modified
50 ························}95 ························}
51 ····················}96 ····················}
52 ················}97 ················}
53 ············}98 ············}
54 ········}99 ········}
55 ····}100 ····}
56 ····101 ····
 102 ····private·void·setRowNumbers()·{
 103 ········final·Codeword[]·codewords·=·this.getCodewords();
 104 ········for·(int·length·=·codewords.length,·i·=·0;·i·<·length;·++i)·{
 105 ············final·Codeword·codeword·=·codewords[i];
 106 ············if·(codeword·!=·null)·{
 107 ················codeword.setRowNumberAsRowIndicatorColumn();
 108 ············}
 109 ········}
 110 ····}
 111 ····
57 ····int·adjustCompleteIndicatorColumnRowNumbers(final·BarcodeMetadata·barcodeMetadata)·{112 ····void·adjustCompleteIndicatorColumnRowNumbers(final·BarcodeMetadata·barcodeMetadata)·{
58 ········final·Codeword[]·codewords·=·this.getCodewords();113 ········final·Codeword[]·codewords·=·this.getCodewords();
59 ········this.setRowNumbers();114 ········this.setRowNumbers();
60 ········this.removeIncorrectCodewords(codewords,·barcodeMetadata);115 ········this.removeIncorrectCodewords(codewords,·barcodeMetadata);
61 ········final·BoundingBox·boundingBox·=·this.getBoundingBox();116 ········final·BoundingBox·boundingBox·=·this.getBoundingBox();
62 ········ResultPoint·resultPoint;117 ········ResultPoint·resultPoint;
63 ········if·(this.isLeft)·{118 ········if·(this.isLeft)·{
64 ············resultPoint·=·boundingBox.getTopLeft();119 ············resultPoint·=·boundingBox.getTopLeft();
Offset 71, 119 lines modifiedOffset 126, 68 lines modified
71 ············resultPoint2·=·boundingBox.getBottomLeft();126 ············resultPoint2·=·boundingBox.getBottomLeft();
72 ········}127 ········}
73 ········else·{128 ········else·{
74 ············resultPoint2·=·boundingBox.getBottomRight();129 ············resultPoint2·=·boundingBox.getBottomRight();
75 ········}130 ········}
76 ········final·int·imageRowToCodewordIndex·=·this.imageRowToCodewordIndex((int)resultPoint.getY());131 ········final·int·imageRowToCodewordIndex·=·this.imageRowToCodewordIndex((int)resultPoint.getY());
77 ········final·int·imageRowToCodewordIndex2·=·this.imageRowToCodewordIndex((int)resultPoint2.getY());132 ········final·int·imageRowToCodewordIndex2·=·this.imageRowToCodewordIndex((int)resultPoint2.getY());
78 ········final·float·n·=·(imageRowToCodewordIndex2·-·imageRowToCodewordIndex)·/·(float)barcodeMetadata.getRowCount(); 
79 ········int·n2·=·-1;133 ········int·n·=·-1;
80 ········int·max·=·1;134 ········int·max·=·1;
81 ········int·b·=·0;135 ········int·b·=·0;
82 ········for·(int·i·=·imageRowToCodewordIndex;·i·<·imageRowToCodewordIndex2;·++i)·{136 ········for·(int·i·=·imageRowToCodewordIndex;·i·<·imageRowToCodewordIndex2;·++i)·{
83 ············if·(codewords[i]·!=·null)·{137 ············if·(codewords[i]·!=·null)·{
84 ················final·Codeword·codeword·=·codewords[i];138 ················final·Codeword·codeword·=·codewords[i];
85 ················final·int·n3·=·codeword.getRowNumber()·-·n2;139 ················final·int·n2·=·codeword.getRowNumber()·-·n;
86 ················if·(n3·==·0)·{140 ················if·(n2·==·0)·{
87 ····················++b;141 ····················++b;
88 ················}142 ················}
89 ················else·if·(n3·==·1)·{143 ················else·if·(n2·==·1)·{
90 ····················max·=·Math.max(max,·b);144 ····················max·=·Math.max(max,·b);
91 ····················b·=·1;145 ····················b·=·1;
92 ····················n2·=·codeword.getRowNumber();146 ····················n·=·codeword.getRowNumber();
93 ················}147 ················}
94 ················else·{148 ················else·{
95 ····················final·int·rowNumber;149 ····················final·int·rowNumber;
96 ····················final·int·n4; 
97 ····················if·(n3·<·0·||·(rowNumber·=·codeword.getRowNumber())·>=·barcodeMetadata.getRowCount()·||·(n4·=·n3)·>·i)·{150 ····················if·(n2·<·0·||·(rowNumber·=·codeword.getRowNumber())·>=·barcodeMetadata.getRowCount()·||·n2·>·i)·{
98 ························codewords[i]·=·null;151 ························codewords[i]·=·null;
99 ····················}152 ····················}
100 ····················else·{153 ····················else·{
101 ························int·n5;154 ························int·n3;
102 ························if·(max·>·2)·{155 ························if·(max·>·2)·{
Max diff block lines reached; 6367/11946 bytes (53.30%) of diff not shown.
856 B
com/google/zxing/qrcode/QRCodeReader.class
772 B
procyon -ec {}
    
Offset 43, 14 lines modifiedOffset 43, 18 lines modified
43 ········final·int·n3·=·topLeftOnBit[0];43 ········final·int·n3·=·topLeftOnBit[0];
44 ········int·n4·=·bottomRightOnBit[0];44 ········int·n4·=·bottomRightOnBit[0];
45 ········if·(n3·>=·n4·||·n·>=·n2)·{45 ········if·(n3·>=·n4·||·n·>=·n2)·{
46 ············throw·NotFoundException.getNotFoundInstance();46 ············throw·NotFoundException.getNotFoundInstance();
47 ········}47 ········}
48 ········if·(n2·-·n·!=·n4·-·n3)·{48 ········if·(n2·-·n·!=·n4·-·n3)·{
49 ············n4·=·n3·+·(n2·-·n);49 ············n4·=·n3·+·(n2·-·n);
 50 ············final·int·width;
 51 ············if·(n4·>=·(width·=·bitMatrix.getWidth()))·{
 52 ················throw·NotFoundException.getNotFoundInstance();
 53 ············}
50 ········}54 ········}
51 ········final·int·round·=·Math.round((float)(n4·-·n3·+·1)·/·moduleSize);55 ········final·int·round·=·Math.round((float)(n4·-·n3·+·1)·/·moduleSize);
52 ········final·int·round2·=·Math.round((float)(n2·-·n·+·1)·/·moduleSize);56 ········final·int·round2·=·Math.round((float)(n2·-·n·+·1)·/·moduleSize);
53 ········if·(round·<=·0·||·round2·<=·0)·{57 ········if·(round·<=·0·||·round2·<=·0)·{
54 ············throw·NotFoundException.getNotFoundInstance();58 ············throw·NotFoundException.getNotFoundInstance();
55 ········}59 ········}
56 ········if·(round2·!=·round)·{60 ········if·(round2·!=·round)·{
2.39 KB
com/google/zxing/qrcode/QRCodeWriter.class
2.3 KB
procyon -ec {}
    
Offset 18, 16 lines modifiedOffset 18, 16 lines modified
18 ····private·static·BitMatrix·renderResult(final·QRCode·qrCode,·final·int·a,·final·int·a2,·final·int·n)·{18 ····private·static·BitMatrix·renderResult(final·QRCode·qrCode,·final·int·a,·final·int·a2,·final·int·n)·{
19 ········final·ByteMatrix·matrix·=·qrCode.getMatrix();19 ········final·ByteMatrix·matrix·=·qrCode.getMatrix();
20 ········if·(matrix·==·null)·{20 ········if·(matrix·==·null)·{
21 ············throw·new·IllegalStateException();21 ············throw·new·IllegalStateException();
22 ········}22 ········}
23 ········final·int·width·=·matrix.getWidth();23 ········final·int·width·=·matrix.getWidth();
24 ········final·int·height·=·matrix.getHeight();24 ········final·int·height·=·matrix.getHeight();
25 ········final·int·b·=·width·+·n·*·2;25 ········final·int·b·=·width·+·(n·<<·1);
26 ········final·int·b2·=·height·+·n·*·2;26 ········final·int·b2·=·height·+·(n·<<·1);
27 ········final·int·max·=·Math.max(a,·b);27 ········final·int·max·=·Math.max(a,·b);
28 ········final·int·max2·=·Math.max(a2,·b2);28 ········final·int·max2·=·Math.max(a2,·b2);
29 ········final·int·min·=·Math.min(max·/·b,·max2·/·b2);29 ········final·int·min·=·Math.min(max·/·b,·max2·/·b2);
30 ········final·int·n2·=·(max·-·width·*·min)·/·2;30 ········final·int·n2·=·(max·-·width·*·min)·/·2;
31 ········final·int·n3·=·(max2·-·height·*·min)·/·2;31 ········final·int·n3·=·(max2·-·height·*·min)·/·2;
32 ········final·BitMatrix·bitMatrix·=·new·BitMatrix(max,·max2);32 ········final·BitMatrix·bitMatrix·=·new·BitMatrix(max,·max2);
33 ········for·(int·i·=·0,·n4·=·n3;·i·<·height;·++i,·n4·+=·min)·{33 ········for·(int·i·=·0,·n4·=·n3;·i·<·height;·++i,·n4·+=·min)·{
Offset 50, 22 lines modifiedOffset 50, 20 lines modified
50 ········}50 ········}
51 ········if·(obj·!=·BarcodeFormat.QR_CODE)·{51 ········if·(obj·!=·BarcodeFormat.QR_CODE)·{
52 ············throw·new·IllegalArgumentException("Can·only·encode·QR_CODE,·but·got·"·+·obj);52 ············throw·new·IllegalArgumentException("Can·only·encode·QR_CODE,·but·got·"·+·obj);
53 ········}53 ········}
54 ········if·(i·<·0·||·j·<·0)·{54 ········if·(i·<·0·||·j·<·0)·{
55 ············throw·new·IllegalArgumentException("Requested·dimensions·are·too·small:·"·+·i·+·'x'·+·j);55 ············throw·new·IllegalArgumentException("Requested·dimensions·are·too·small:·"·+·i·+·'x'·+·j);
56 ········}56 ········}
57 ········ErrorCorrectionLevel·l·=·ErrorCorrectionLevel.L;57 ········ErrorCorrectionLevel·errorCorrectionLevel·=·ErrorCorrectionLevel.L;
58 ········int·intValue·=·4;58 ········int·int1·=·4;
59 ········if·(map·!=·null)·{59 ········if·(map·!=·null)·{
 60 ············if·(map.containsKey(EncodeHintType.ERROR_CORRECTION))·{
60 ············final·ErrorCorrectionLevel·errorCorrectionLevel·=·(ErrorCorrectionLevel)map.get(EncodeHintType.ERROR_CORRECTION);61 ················errorCorrectionLevel·=·ErrorCorrectionLevel.valueOf(map.get(EncodeHintType.ERROR_CORRECTION).toString());
61 ············if·(errorCorrectionLevel·!=·null)·{ 
62 ················l·=·errorCorrectionLevel; 
63 ············}62 ············}
 63 ············if·(map.containsKey(EncodeHintType.MARGIN))·{
 64 ················int1·=·Integer.parseInt(map.get(EncodeHintType.MARGIN).toString());
64 ············final·Integer·n·=·(Integer)map.get(EncodeHintType.MARGIN); 
65 ············if·(n·!=·null)·{ 
66 ················intValue·=·n; 
67 ············}65 ············}
68 ········}66 ········}
69 ········return·renderResult(Encoder.encode(s,·l,·map),·i,·j,·intValue);67 ········return·renderResult(Encoder.encode(s,·errorCorrectionLevel,·map),·i,·j,·int1);
70 ····}68 ····}
71 }69 }
1.08 KB
com/google/zxing/client/result/BizcardResultParser.class
992 B
procyon -ec {}
    
Offset 2, 22 lines modifiedOffset 2, 24 lines modified
2 package·com.google.zxing.client.result;2 package·com.google.zxing.client.result;
  
3 import·com.google.zxing.Result;3 import·com.google.zxing.Result;
4 import·java.util.ArrayList;4 import·java.util.ArrayList;
  
5 public·final·class·BizcardResultParser·extends·AbstractDoCoMoResultParser5 public·final·class·BizcardResultParser·extends·AbstractDoCoMoResultParser
6 {6 {
7 ····private·static·String·buildName(String·string,·String·str)·{7 ····private·static·String·buildName(final·String·str,·String·string)·{
8 ········if·(string·!=·null)·{8 ········if·(str·!=·null)·{
9 ············if·(str·!=·null)·{9 ············if·(string·==·null)·{
 10 ················string·=·str;
 11 ············}
 12 ············else·{
10 ················string·=·string·+·'·'·+·str;13 ················string·=·str·+·'·'·+·string;
11 ············}14 ············}
12 ············str·=·string; 
13 ········}15 ········}
14 ········return·str;16 ········return·string;
15 ····}17 ····}
16 ····18 ····
17 ····private·static·String[]·buildPhoneNumbers(final·String·s,·final·String·s2,·final·String·s3)·{19 ····private·static·String[]·buildPhoneNumbers(final·String·s,·final·String·s2,·final·String·s3)·{
18 ········final·ArrayList<String>·list·=·new·ArrayList<String>(3);20 ········final·ArrayList<String>·list·=·new·ArrayList<String>(3);
19 ········if·(s·!=·null)·{21 ········if·(s·!=·null)·{
20 ············list.add(s);22 ············list.add(s);
21 ········}23 ········}
641 B
com/google/zxing/datamatrix/encoder/TextEncoder.class
535 B
procyon -ec {}
    
Offset 48, 15 lines modifiedOffset 48, 15 lines modified
48 ········else·if·(c·>=·'{'·&&·c·<=·'\u007f')·{48 ········else·if·(c·>=·'{'·&&·c·<=·'\u007f')·{
49 ············sb.append(c3);49 ············sb.append(c3);
50 ············sb.append((char)(c·-·123·+·27));50 ············sb.append((char)(c·-·123·+·27));
51 ············c2·=·c3;51 ············c2·=·c3;
52 ········}52 ········}
53 ········else·if·(c·>=·'\u0080')·{53 ········else·if·(c·>=·'\u0080')·{
54 ············sb.append("\u0001\u001e");54 ············sb.append("\u0001\u001e");
55 ············c2·=·2·+·this.encodeChar((char)(c·-·128),·sb);55 ············c2·=·this.encodeChar((char)(c·-·128),·sb)·+·2;
56 ········}56 ········}
57 ········else·{57 ········else·{
58 ············HighLevelEncoder.illegalCharacter(c);58 ············HighLevelEncoder.illegalCharacter(c);
59 ············c2·=·-1;59 ············c2·=·-1;
60 ········}60 ········}
61 ········return·c2;61 ········return·c2;
62 ····}62 ····}
5.24 KB
com/google/zxing/datamatrix/encoder/X12Encoder.class
5.14 KB
javap -verbose -constants -s -l -private {}
    
Offset 120, 24 lines modifiedOffset 120, 24 lines modified
120 ·········1:·invokespecial·#8··················//·Method·com/google/zxing/datamatrix/encoder/C40Encoder."<init>":()V120 ·········1:·invokespecial·#8··················//·Method·com/google/zxing/datamatrix/encoder/C40Encoder."<init>":()V
121 ·········4:·return121 ·········4:·return
  
122 ··public·void·encode(com.google.zxing.datamatrix.encoder.EncoderContext);122 ··public·void·encode(com.google.zxing.datamatrix.encoder.EncoderContext);
123 ····descriptor:·(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V123 ····descriptor:·(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V
124 ····flags:·(0x0001)·ACC_PUBLIC124 ····flags:·(0x0001)·ACC_PUBLIC
125 ····Code:125 ····Code:
126 ······stack=300,·locals=10,·args_size=2126 ······stack=300,·locals=9,·args_size=2
127 ·········0:·new···········#10·················//·class·java/lang/StringBuilder127 ·········0:·new···········#10·················//·class·java/lang/StringBuilder
128 ·········3:·astore_2128 ·········3:·astore_2
129 ·········4:·aload_2129 ·········4:·aload_2
130 ·········5:·invokespecial·#11·················//·Method·java/lang/StringBuilder."<init>":()V130 ·········5:·invokespecial·#11·················//·Method·java/lang/StringBuilder."<init>":()V
131 ·········8:·aload_1131 ·········8:·aload_1
132 ·········9:·invokevirtual·#17·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.hasMoreCharacters:()Z132 ·········9:·invokevirtual·#17·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.hasMoreCharacters:()Z
133 ········12:·istore_3133 ········12:·istore_3
134 ········13:·iload_3134 ········13:·iload_3
135 ········14:·ifeq··········109135 ········14:·ifeq··········105
136 ········17:·aload_1136 ········17:·aload_1
137 ········18:·invokevirtual·#21·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.getCurrentChar:()C137 ········18:·invokevirtual·#21·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.getCurrentChar:()C
138 ········21:·istore········4138 ········21:·istore········4
139 ········23:·aload_1139 ········23:·aload_1
140 ········24:·getfield······#25·················//·Field·com/google/zxing/datamatrix/encoder/EncoderContext.pos:I140 ········24:·getfield······#25·················//·Field·com/google/zxing/datamatrix/encoder/EncoderContext.pos:I
141 ········27:·iconst_1141 ········27:·iconst_1
142 ········28:·iadd142 ········28:·iadd
Offset 148, 52 lines modifiedOffset 148, 50 lines modified
148 ········35:·aload_0148 ········35:·aload_0
149 ········36:·iload·········4149 ········36:·iload·········4
150 ········38:·aload_2150 ········38:·aload_2
151 ········39:·invokevirtual·#29·················//·Method·encodeChar:(CLjava/lang/StringBuilder;)I151 ········39:·invokevirtual·#29·················//·Method·encodeChar:(CLjava/lang/StringBuilder;)I
152 ········42:·pop152 ········42:·pop
153 ········43:·aload_2153 ········43:·aload_2
154 ········44:·invokevirtual·#33·················//·Method·java/lang/StringBuilder.length:()I154 ········44:·invokevirtual·#33·················//·Method·java/lang/StringBuilder.length:()I
155 ········47:·istore········5 
156 ········49:·iload·········5 
157 ········51:·iconst_3155 ········47:·iconst_3
158 ········52:·irem156 ········48:·irem
159 ········53:·istore_3157 ········49:·istore_3
160 ········54:·iload_3158 ········50:·iload_3
161 ········55:·ifne··········8159 ········51:·ifne··········8
162 ········58:·aload_1160 ········54:·aload_1
163 ········59:·aload_2161 ········55:·aload_2
164 ········60:·invokestatic··#37·················//·Method·writeNextTriplet:(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V162 ········56:·invokestatic··#37·················//·Method·writeNextTriplet:(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V
165 ········63:·aload_1163 ········59:·aload_1
166 ········64:·invokevirtual·#41·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.getMessage:()Ljava/lang/String;164 ········60:·invokevirtual·#41·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.getMessage:()Ljava/lang/String;
167 ········67:·astore········6165 ········63:·astore········5
168 ········69:·aload_1166 ········65:·aload_1
169 ········70:·getfield······#25·················//·Field·com/google/zxing/datamatrix/encoder/EncoderContext.pos:I167 ········66:·getfield······#25·················//·Field·com/google/zxing/datamatrix/encoder/EncoderContext.pos:I
170 ········73:·istore········7168 ········69:·istore········6
171 ········75:·aload_0169 ········71:·aload_0
172 ········76:·invokevirtual·#44·················//·Method·getEncodingMode:()I170 ········72:·invokevirtual·#44·················//·Method·getEncodingMode:()I
173 ········79:·istore········8171 ········75:·istore········7
174 ········81:·aload·········6172 ········77:·aload·········5
 173 ········79:·iload·········6
175 ········83:·iload·········7174 ········81:·iload·········7
176 ········85:·iload·········8 
177 ········87:·invokestatic··#50·················//·Method·com/google/zxing/datamatrix/encoder/HighLevelEncoder.lookAheadTest:(Ljava/lang/CharSequence;II)I175 ········83:·invokestatic··#50·················//·Method·com/google/zxing/datamatrix/encoder/HighLevelEncoder.lookAheadTest:(Ljava/lang/CharSequence;II)I
178 ········90:·istore········9176 ········86:·istore········8
179 ········92:·aload_0177 ········88:·aload_0
180 ········93:·invokevirtual·#44·················//·Method·getEncodingMode:()I178 ········89:·invokevirtual·#44·················//·Method·getEncodingMode:()I
181 ········96:·istore_3179 ········92:·istore_3
182 ········97:·iload·········9180 ········93:·iload·········8
183 ········99:·iload_3181 ········95:·iload_3
184 ·······100:·if_icmpeq·····8182 ········96:·if_icmpeq·····8
185 ·······103:·aload_1183 ········99:·aload_1
186 ·······104:·iload·········9184 ·······100:·iload·········8
187 ·······106:·invokevirtual·#54·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.signalEncoderChange:(I)V185 ·······102:·invokevirtual·#54·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.signalEncoderChange:(I)V
188 ·······109:·aload_0186 ·······105:·aload_0
189 ·······110:·aload_1187 ·······106:·aload_1
190 ·······111:·aload_2188 ·······107:·aload_2
191 ·······112:·invokevirtual·#57·················//·Method·handleEOD:(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V189 ·······108:·invokevirtual·#57·················//·Method·handleEOD:(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V
192 ·······115:·return190 ·······111:·return
  
193 ··int·encodeChar(char,·java.lang.StringBuilder);191 ··int·encodeChar(char,·java.lang.StringBuilder);
194 ····descriptor:·(CLjava/lang/StringBuilder;)I192 ····descriptor:·(CLjava/lang/StringBuilder;)I
195 ····flags:·(0x0000)193 ····flags:·(0x0000)
196 ····Code:194 ····Code:
197 ······stack=300,·locals=5,·args_size=3195 ······stack=300,·locals=5,·args_size=3
198 ·········0:·iconst_1196 ·········0:·iconst_1
5.25 KB
com/google/zxing/multi/qrcode/QRCodeMultiReader.class
5.14 KB
procyon -ec {}
    
Offset 90, 24 lines modifiedOffset 90, 24 lines modified
90 ····}90 ····}
91 ····91 ····
92 ····public·Result[]·decodeMultiple(final·BinaryBitmap·binaryBitmap)·{92 ····public·Result[]·decodeMultiple(final·BinaryBitmap·binaryBitmap)·{
93 ········return·this.decodeMultiple(binaryBitmap,·null);93 ········return·this.decodeMultiple(binaryBitmap,·null);
94 ····}94 ····}
95 ····95 ····
96 ····public·Result[]·decodeMultiple(final·BinaryBitmap·binaryBitmap,·final·Map·map)·{96 ····public·Result[]·decodeMultiple(final·BinaryBitmap·binaryBitmap,·final·Map·map)·{
97 ········List<Result>·processStructuredAppend·=·new·ArrayList<Result>();97 ········final·ArrayList<Result>·list·=·new·ArrayList<Result>();
98 ········final·DetectorResult[]·detectMulti·=·new·MultiDetector(binaryBitmap.getBlackMatrix()).detectMulti(map);98 ········final·DetectorResult[]·detectMulti·=·new·MultiDetector(binaryBitmap.getBlackMatrix()).detectMulti(map);
99 ········final·int·length·=·detectMulti.length;99 ········final·int·length·=·detectMulti.length;
100 ········int·n·=·0;100 ········int·size·=·0;
101 ········while·(true)·{101 ········while·(true)·{
102 ············Label_0314:·{102 ············Label_0314:·{
103 ················if·(n·>=·length)·{103 ················if·(size·>=·length)·{
104 ····················break·Label_0314;104 ····················break·Label_0314;
105 ················}105 ················}
106 ················final·DetectorResult·detectorResult·=·detectMulti[n];106 ················final·DetectorResult·detectorResult·=·detectMulti[size];
107 ················try·{107 ················try·{
108 ····················final·Decoder·decoder·=·this.getDecoder();108 ····················final·Decoder·decoder·=·this.getDecoder();
109 ····················try·{109 ····················try·{
110 ························final·DecoderResult·decode·=·decoder.decode(detectorResult.getBits(),·map);110 ························final·DecoderResult·decode·=·decoder.decode(detectorResult.getBits(),·map);
111 ························try·{111 ························try·{
112 ····························final·ResultPoint[]·points·=·detectorResult.getPoints();112 ····························final·ResultPoint[]·points·=·detectorResult.getPoints();
113 ····························try·{113 ····························try·{
Offset 142, 27 lines modifiedOffset 142, 28 lines modified
142 ····························································try·{142 ····························································try·{
143 ································································result.putMetadata(structured_APPEND_SEQUENCE,·(Object)Integer.valueOf(structuredAppendSequenceNumber));143 ································································result.putMetadata(structured_APPEND_SEQUENCE,·(Object)Integer.valueOf(structuredAppendSequenceNumber));
144 ································································final·ResultMetadataType·structured_APPEND_PARITY·=·ResultMetadataType.STRUCTURED_APPEND_PARITY;144 ································································final·ResultMetadataType·structured_APPEND_PARITY·=·ResultMetadataType.STRUCTURED_APPEND_PARITY;
145 ································································try·{145 ································································try·{
146 ····································································final·int·structuredAppendParity·=·decode.getStructuredAppendParity();146 ····································································final·int·structuredAppendParity·=·decode.getStructuredAppendParity();
147 ····································································try·{147 ····································································try·{
148 ········································································result.putMetadata(structured_APPEND_PARITY,·(Object)Integer.valueOf(structuredAppendParity));148 ········································································result.putMetadata(structured_APPEND_PARITY,·(Object)Integer.valueOf(structuredAppendParity));
149 ········································································final·List<Result>·list·=·processStructuredAppend;149 ········································································final·ArrayList<Result>·list2·=·list;
150 ········································································try·{150 ········································································try·{
151 ············································································list.add(result);151 ············································································list2.add(result);
152 ············································································++n;152 ············································································++size;
153 ············································································continue;153 ············································································continue;
 154 ············································································//·iftrue(Label_0335:,·!list.isEmpty())
 155 ············································································return·QRCodeMultiReader.EMPTY_RESULT_ARRAY;
 156 ············································································final·List·processStructuredAppend;
154 ············································································Label_0335:·{157 ············································································Label_0335:·{
155 ················································································processStructuredAppend·=·(List<Result>)processStructuredAppend(processStructuredAppend);158 ················································································processStructuredAppend·=·processStructuredAppend(list);
156 ············································································}159 ············································································}
 160 ············································································size·=·processStructuredAppend.size();
157 ············································································return·(Result[])processStructuredAppend.toArray(new·Result[processStructuredAppend.size()]);161 ············································································empty_RESULT_ARRAY·=·processStructuredAppend.toArray(new·Result[size]);
158 ············································································empty_RESULT_ARRAY·=·QRCodeMultiReader.EMPTY_RESULT_ARRAY; 
159 ············································································return·empty_RESULT_ARRAY; 
160 ········································································}162 ········································································}
161 ········································································//·iftrue(Label_0335:,·!processStructuredAppend.isEmpty()) 
162 ········································································catch·(ReaderException·ex)·{}163 ········································································catch·(ReaderException·ex)·{}
163 ····································································}164 ····································································}
164 ····································································catch·(ReaderException·ex2)·{}165 ····································································catch·(ReaderException·ex2)·{}
165 ································································}166 ································································}
166 ································································catch·(ReaderException·ex3)·{}167 ································································catch·(ReaderException·ex3)·{}
167 ····························································}168 ····························································}
168 ····························································catch·(ReaderException·ex4)·{}169 ····························································catch·(ReaderException·ex4)·{}
5.29 KB
com/google/zxing/oned/CodaBarReader.class
5.21 KB
procyon -ec {}
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ········return·b;76 ········return·b;
77 ····}77 ····}
78 ····78 ····
79 ····private·void·counterAppend(final·int·n)·{79 ····private·void·counterAppend(final·int·n)·{
80 ········this.counters[this.counterLength]·=·n;80 ········this.counters[this.counterLength]·=·n;
81 ········++this.counterLength;81 ········++this.counterLength;
82 ········if·(this.counterLength·>=·this.counters.length)·{82 ········if·(this.counterLength·>=·this.counters.length)·{
83 ············final·int[]·counters·=·new·int[this.counterLength·*·2];83 ············final·int[]·counters·=·new·int[this.counterLength·<<·1];
84 ············System.arraycopy(this.counters,·0,·counters,·0,·this.counterLength);84 ············System.arraycopy(this.counters,·0,·counters,·0,·this.counterLength);
85 ············this.counters·=·counters;85 ············this.counters·=·counters;
86 ········}86 ········}
87 ····}87 ····}
88 ····88 ····
89 ····private·int·findStartPattern()·{89 ····private·int·findStartPattern()·{
90 ········for·(int·i·=·1;·i·<·this.counterLength;·i·+=·2)·{90 ········for·(int·i·=·1;·i·<·this.counterLength;·i·+=·2)·{
Offset 178, 14 lines modifiedOffset 178, 67 lines modified
178 ················}178 ················}
179 ············}179 ············}
180 ············i·=·-1;180 ············i·=·-1;
181 ········}181 ········}
182 ········return·i;182 ········return·i;
183 ····}183 ····}
184 ····184 ····
 185 ····private·void·validatePattern(final·int·n)·{
 186 ········final·int[]·array2;
 187 ········final·int[]·array·=·array2·=·new·int[4];
 188 ········array2[1]·=·(array2[0]·=·0);
 189 ········array2[3]·=·(array2[2]·=·0);
 190 ········final·int[]·array4;
 191 ········final·int[]·array3·=·array4·=·new·int[4];
 192 ········array4[1]·=·(array4[0]·=·0);
 193 ········array4[3]·=·(array4[2]·=·0);
 194 ········final·int·n2·=·this.decodeRowResult.length()·-·1;
 195 ········int·n3·=·n;
 196 ········int·n4·=·0;
 197 ········while·(true)·{
 198 ············int·n5·=·CodaBarReader.CHARACTER_ENCODINGS[this.decodeRowResult.charAt(n4)];
 199 ············for·(int·i·=·6;·i·>=·0;·--i)·{
 200 ················final·int·n6·=·(i·&·0x1)·+·((n5·&·0x1)·<<·1);
 201 ················array[n6]·+=·this.counters[n3·+·i];
 202 ················++array3[n6];
 203 ················n5·>>=·1;
 204 ············}
 205 ············if·(n4·>=·n2)·{
 206 ················break;
 207 ············}
 208 ············n3·+=·8;
 209 ············++n4;
 210 ········}
 211 ········final·float[]·array5·=·new·float[4];
 212 ········final·float[]·array6·=·new·float[4];
 213 ········for·(int·j·=·0;·j·<·2;·++j)·{
 214 ············array6[j]·=·0.0f;
 215 ············array5[j]·=·(array6[j·+·2]·=·(array[j]·/·(float)array3[j]·+·array[j·+·2]·/·(float)array3[j·+·2])·/·2.0f);
 216 ············array5[j·+·2]·=·(array[j·+·2]·*·2.0f·+·1.5f)·/·array3[j·+·2];
 217 ········}
 218 ········int·n7·=·n;
 219 ········int·n8·=·0;
 220 ········while·(true)·{
 221 ············int·n9·=·CodaBarReader.CHARACTER_ENCODINGS[this.decodeRowResult.charAt(n8)];
 222 ············for·(int·k·=·6;·k·>=·0;·--k)·{
 223 ················final·int·n10·=·(k·&·0x1)·+·((n9·&·0x1)·<<·1);
 224 ················final·int·n11·=·this.counters[n7·+·k];
 225 ················if·(n11·<·array6[n10]·||·n11·>·array5[n10])·{
 226 ····················throw·NotFoundException.getNotFoundInstance();
 227 ················}
 228 ················n9·>>=·1;
 229 ············}
 230 ············if·(n8·>=·n2)·{
 231 ················return;
 232 ············}
 233 ············n7·+=·8;
 234 ············++n8;
 235 ········}
 236 ····}
 237 ····
185 ····public·Result·decodeRow(final·int·n,·final·BitArray·counters,·final·Map·map)·{238 ····public·Result·decodeRow(final·int·n,·final·BitArray·counters,·final·Map·map)·{
186 ········Arrays.fill(this.counters,·0);239 ········Arrays.fill(this.counters,·0);
187 ········this.setCounters(counters);240 ········this.setCounters(counters);
188 ········int·startPattern;241 ········int·startPattern;
189 ········final·int·n2·=·startPattern·=·this.findStartPattern();242 ········final·int·n2·=·startPattern·=·this.findStartPattern();
190 ········this.decodeRowResult.setLength(0);243 ········this.decodeRowResult.setLength(0);
191 ········int·narrowWidePattern;244 ········int·narrowWidePattern;
Offset 228, 61 lines modifiedOffset 281, 8 lines modified
228 ········}281 ········}
229 ········final·float·n6·=·(float)n5;282 ········final·float·n6·=·(float)n5;
230 ········for·(int·l·=·n2;·l·<·startPattern·-·1;·++l)·{283 ········for·(int·l·=·n2;·l·<·startPattern·-·1;·++l)·{
231 ············n5·+=·this.counters[l];284 ············n5·+=·this.counters[l];
232 ········}285 ········}
233 ········return·new·Result(this.decodeRowResult.toString(),·(byte[])null,·new·ResultPoint[]·{·new·ResultPoint(n6,·(float)n),·new·ResultPoint((float)n5,·(float)n)·},·BarcodeFormat.CODABAR);286 ········return·new·Result(this.decodeRowResult.toString(),·(byte[])null,·new·ResultPoint[]·{·new·ResultPoint(n6,·(float)n),·new·ResultPoint((float)n5,·(float)n)·},·BarcodeFormat.CODABAR);
234 ····}287 ····}
235 ···· 
236 ····void·validatePattern(final·int·n)·{ 
237 ········final·int[]·array2; 
238 ········final·int[]·array·=·array2·=·new·int[4]; 
239 ········array2[1]·=·(array2[0]·=·0); 
240 ········array2[3]·=·(array2[2]·=·0); 
241 ········final·int[]·array4; 
242 ········final·int[]·array3·=·array4·=·new·int[4]; 
243 ········array4[1]·=·(array4[0]·=·0); 
244 ········array4[3]·=·(array4[2]·=·0); 
245 ········final·int·n2·=·this.decodeRowResult.length()·-·1; 
246 ········int·n3·=·n; 
247 ········int·n4·=·0; 
248 ········while·(true)·{ 
249 ············int·n5·=·CodaBarReader.CHARACTER_ENCODINGS[this.decodeRowResult.charAt(n4)]; 
250 ············for·(int·i·=·6;·i·>=·0;·--i)·{ 
251 ················final·int·n6·=·(i·&·0x1)·+·(n5·&·0x1)·*·2; 
252 ················array[n6]·+=·this.counters[n3·+·i]; 
253 ················++array3[n6]; 
254 ················n5·>>=·1; 
255 ············} 
256 ············if·(n4·>=·n2)·{ 
257 ················break; 
258 ············} 
259 ············n3·+=·8; 
260 ············++n4; 
261 ········} 
262 ········final·float[]·array5·=·new·float[4]; 
263 ········final·float[]·array6·=·new·float[4]; 
264 ········for·(int·j·=·0;·j·<·2;·++j)·{ 
265 ············array6[j]·=·0.0f; 
266 ············array5[j]·=·(array6[j·+·2]·=·(array[j]·/·(float)array3[j]·+·array[j·+·2]·/·(float)array3[j·+·2])·/·2.0f); 
267 ············array5[j·+·2]·=·(array[j·+·2]·*·2.0f·+·1.5f)·/·array3[j·+·2]; 
268 ········} 
269 ········int·n7·=·n; 
270 ········int·n8·=·0; 
Max diff block lines reached; 0/5305 bytes (0.00%) of diff not shown.
886 B
com/google/zxing/oned/CodaBarWriter.class
804 B
procyon -ec {}
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ············else·{72 ············else·{
73 ················if·(!CodaBarReader.arrayContains(CodaBarWriter.CHARS_WHICH_ARE_TEN_LENGTH_EACH_AFTER_DECODED,·str.charAt(i)))·{73 ················if·(!CodaBarReader.arrayContains(CodaBarWriter.CHARS_WHICH_ARE_TEN_LENGTH_EACH_AFTER_DECODED,·str.charAt(i)))·{
74 ····················throw·new·IllegalArgumentException("Cannot·encode·:·'"·+·str.charAt(i)·+·'\'');74 ····················throw·new·IllegalArgumentException("Cannot·encode·:·'"·+·str.charAt(i)·+·'\'');
75 ················}75 ················}
76 ················n·+=·10;76 ················n·+=·10;
77 ············}77 ············}
78 ········}78 ········}
79 ········final·boolean[]·array·=·new·boolean[n·+·(str.length()·-·1)];79 ········final·boolean[]·array·=·new·boolean[str.length()·-·1·+·n];
80 ········int·n2·=·0;80 ········int·n2·=·0;
81 ········for·(int·j·=·0;·j·<·str.length();·++j)·{81 ········for·(int·j·=·0;·j·<·str.length();·++j)·{
82 ············char·upperCase3·=·Character.toUpperCase(str.charAt(j));82 ············char·upperCase3·=·Character.toUpperCase(str.charAt(j));
83 ············final·int·n3;83 ············final·int·n3;
84 ············if·(j·==·0·||·j·==·(n3·=·str.length()·-·1))·{84 ············if·(j·==·0·||·j·==·(n3·=·str.length()·-·1))·{
85 ················switch·(upperCase3)·{85 ················switch·(upperCase3)·{
86 ····················case·84:·{86 ····················case·84:·{
3.43 KB
com/google/zxing/oned/Code128Reader.class
3.35 KB
procyon -ec {}
    
Offset 844, 36 lines modifiedOffset 844, 35 lines modified
844 ····private·static·int[]·findStartPattern(final·BitArray·bitArray)·{844 ····private·static·int[]·findStartPattern(final·BitArray·bitArray)·{
845 ········final·int·size·=·bitArray.getSize();845 ········final·int·size·=·bitArray.getSize();
846 ········final·int·nextSet·=·bitArray.getNextSet(0);846 ········final·int·nextSet·=·bitArray.getNextSet(0);
847 ········int·n·=·0;847 ········int·n·=·0;
848 ········final·int[]·array·=·new·int[6];848 ········final·int[]·array·=·new·int[6];
849 ········int·n2·=·nextSet;849 ········int·n2·=·nextSet;
850 ········boolean·b·=·false;850 ········boolean·b·=·false;
851 ········final·int·length·=·array.length; 
852 ········for·(int·i·=·nextSet;·i·<·size;·++i)·{851 ········for·(int·i·=·nextSet;·i·<·size;·++i)·{
853 ············if·(bitArray.get(i)·^·b)·{852 ············if·(bitArray.get(i)·^·b)·{
854 ················++array[n];853 ················++array[n];
855 ············}854 ············}
856 ············else·{855 ············else·{
857 ················if·(n·==·length·-·1)·{856 ················if·(n·==·5)·{
858 ····················float·n3·=·0.25f;857 ····················float·n3·=·0.25f;
859 ····················int·n4·=·-1;858 ····················int·n4·=·-1;
860 ····················for·(int·j·=·103;·j·<=·105;·++j)·{859 ····················for·(int·j·=·103;·j·<=·105;·++j)·{
861 ························final·float·patternMatchVariance·=·patternMatchVariance(array,·Code128Reader.CODE_PATTERNS[j],·0.7f);860 ························final·float·patternMatchVariance·=·patternMatchVariance(array,·Code128Reader.CODE_PATTERNS[j],·0.7f);
862 ························if·(patternMatchVariance·<·n3)·{861 ························if·(patternMatchVariance·<·n3)·{
863 ····························n3·=·patternMatchVariance;862 ····························n3·=·patternMatchVariance;
864 ····························n4·=·j;863 ····························n4·=·j;
865 ························}864 ························}
866 ····················}865 ····················}
867 ····················if·(n4·>=·0·&&·bitArray.isRange(Math.max(0,·n2·-·(i·-·n2)·/·2),·n2,·false))·{866 ····················if·(n4·>=·0·&&·bitArray.isRange(Math.max(0,·n2·-·(i·-·n2)·/·2),·n2,·false))·{
868 ························return·new·int[]·{·n2,·i,·n4·};867 ························return·new·int[]·{·n2,·i,·n4·};
869 ····················}868 ····················}
870 ····················n2·+=·array[0]·+·array[1];869 ····················n2·+=·array[0]·+·array[1];
871 ····················System.arraycopy(array,·2,·array,·0,·length·-·2);870 ····················System.arraycopy(array,·2,·array,·0,·4);
872 ····················array[length·-·1]·=·(array[length·-·2]·=·0);871 ····················array[5]·=·(array[4]·=·0);
873 ····················--n;872 ····················--n;
874 ················}873 ················}
875 ················else·{874 ················else·{
876 ····················++n;875 ····················++n;
877 ················}876 ················}
878 ················array[n]·=·1;877 ················array[n]·=·1;
879 ················b·=·!b;878 ················b·=·!b;
Offset 929, 15 lines modifiedOffset 928, 15 lines modified
929 ················b2·=·true;928 ················b2·=·true;
930 ············}929 ············}
931 ············if·(decodeCode·!=·106)·{930 ············if·(decodeCode·!=·106)·{
932 ················++n9;931 ················++n9;
933 ················n8·+=·n9·*·decodeCode;932 ················n8·+=·n9·*·decodeCode;
934 ············}933 ············}
935 ············n5·=·n6;934 ············n5·=·n6;
936 ············for·(int·length·=·array.length,·j·=·0;·j·<·length;·++j)·{935 ············for·(int·j·=·0;·j·<·6;·++j)·{
937 ················n6·+=·array[j];936 ················n6·+=·array[j];
938 ············}937 ············}
939 ············switch·(decodeCode)·{938 ············switch·(decodeCode)·{
940 ················default:·{939 ················default:·{
941 ····················Label_0488:·{940 ····················Label_0488:·{
942 ························switch·(n3)·{941 ························switch·(n3)·{
943 ····························case·101:·{942 ····························case·101:·{
Offset 1147, 24 lines modifiedOffset 1146, 24 lines modified
1147 ········final·int·nextUnset·=·bitArray.getNextUnset(n6);1146 ········final·int·nextUnset·=·bitArray.getNextUnset(n6);
1148 ········if·(!bitArray.isRange(nextUnset,·Math.min(bitArray.getSize(),·(nextUnset·-·n5)·/·2·+·nextUnset),·false))·{1147 ········if·(!bitArray.isRange(nextUnset,·Math.min(bitArray.getSize(),·(nextUnset·-·n5)·/·2·+·nextUnset),·false))·{
1149 ············throw·NotFoundException.getNotFoundInstance();1148 ············throw·NotFoundException.getNotFoundInstance();
1150 ········}1149 ········}
1151 ········if·((n8·-·n9·*·n7)·%·103·!=·n7)·{1150 ········if·((n8·-·n9·*·n7)·%·103·!=·n7)·{
1152 ············throw·ChecksumException.getChecksumInstance();1151 ············throw·ChecksumException.getChecksumInstance();
1153 ········}1152 ········}
1154 ········final·int·length2·=·sb.length();1153 ········final·int·length·=·sb.length();
1155 ········if·(length2·==·0)·{1154 ········if·(length·==·0)·{
1156 ············throw·NotFoundException.getNotFoundInstance();1155 ············throw·NotFoundException.getNotFoundInstance();
1157 ········}1156 ········}
1158 ········if·(length2·>·0·&&·b2)·{1157 ········if·(length·>·0·&&·b2)·{
1159 ············if·(n3·==·99)·{1158 ············if·(n3·==·99)·{
1160 ················sb.delete(length2·-·2,·length2);1159 ················sb.delete(length·-·2,·length);
1161 ············}1160 ············}
1162 ············else·{1161 ············else·{
1163 ················sb.delete(length2·-·1,·length2);1162 ················sb.delete(length·-·1,·length);
1164 ············}1163 ············}
1165 ········}1164 ········}
1166 ········final·float·n14·=·(startPattern[1]·+·startPattern[0])·/·2.0f;1165 ········final·float·n14·=·(startPattern[1]·+·startPattern[0])·/·2.0f;
1167 ········final·float·n15·=·n5·+·n13·/·2.0f;1166 ········final·float·n15·=·n5·+·n13·/·2.0f;
1168 ········final·int·size·=·list.size();1167 ········final·int·size·=·list.size();
1169 ········final·byte[]·array2·=·new·byte[size];1168 ········final·byte[]·array2·=·new·byte[size];
1170 ········for·(int·k·=·0;·k·<·size;·++k)·{1169 ········for·(int·k·=·0;·k·<·size;·++k)·{
7.86 KB
com/google/zxing/oned/Code128Writer.class
7.78 KB
procyon -ec {}
    
Offset 19, 45 lines modifiedOffset 19, 112 lines modified
19 ····private·static·final·int·CODE_START_C·=·105;19 ····private·static·final·int·CODE_START_C·=·105;
20 ····private·static·final·int·CODE_STOP·=·106;20 ····private·static·final·int·CODE_STOP·=·106;
21 ····private·static·final·char·ESCAPE_FNC_1·=·'\u00f1';21 ····private·static·final·char·ESCAPE_FNC_1·=·'\u00f1';
22 ····private·static·final·char·ESCAPE_FNC_2·=·'\u00f2';22 ····private·static·final·char·ESCAPE_FNC_2·=·'\u00f2';
23 ····private·static·final·char·ESCAPE_FNC_3·=·'\u00f3';23 ····private·static·final·char·ESCAPE_FNC_3·=·'\u00f3';
24 ····private·static·final·char·ESCAPE_FNC_4·=·'\u00f4';24 ····private·static·final·char·ESCAPE_FNC_4·=·'\u00f4';
25 ····25 ····
26 ····private·static·boolean·isDigits(final·CharSequence·charSequence,·final·int·n,·final·int·n2)·{26 ····private·static·int·chooseCode(final·CharSequence·charSequence,·final·int·n,·int·n2)·{
27 ········boolean·b·=·false; 
28 ········int·n3·=·n·+·n2; 
29 ········final·int·length·=·charSequence.length(); 
30 ········for·(int·n4·=·n;·n4·<·n3·&&·n4·<·length;·++n4)·{ 
31 ············final·char·char1·=·charSequence.charAt(n4); 
32 ············if·(char1·<·'0'·||·char1·>·'9')·{ 
33 ················if·(char1·!=·'\u00f1')·{27 ········final·int·n3·=·99;
 28 ········final·int·n4·=·100;
 29 ········Code128Writer$CType·code128Writer$CType·=·findCType(charSequence,·n);
 30 ········if·(code128Writer$CType·==·Code128Writer$CType.UNCODABLE·||·code128Writer$CType·==·Code128Writer$CType.ONE_DIGIT)·{
 31 ············n2·=·n4;
 32 ········}
 33 ········else·if·(n2·!=·n3)·{
 34 ············if·(n2·==·n4)·{
 35 ················if·(code128Writer$CType·!=·Code128Writer$CType.FNC_1)·{
 36 ····················final·Code128Writer$CType·cType·=·findCType(charSequence,·n·+·2);
 37 ····················if·(cType·!=·Code128Writer$CType.UNCODABLE·&&·cType·!=·Code128Writer$CType.ONE_DIGIT)·{
 38 ························if·(cType·==·Code128Writer$CType.FNC_1)·{
 39 ····························if·(findCType(charSequence,·n·+·3)·==·Code128Writer$CType.TWO_DIGITS)·{
 40 ································n2·=·n3;
 41 ····························}
 42 ····························else·{
 43 ································n2·=·n4;
 44 ····························}
 45 ························}
 46 ························else·{
 47 ····························int·n5·=·n·+·4;
 48 ····························Code128Writer$CType·cType2;
 49 ····························while·(true)·{
 50 ································cType2·=·findCType(charSequence,·n5);
 51 ································if·(cType2·!=·Code128Writer$CType.TWO_DIGITS)·{
 52 ····································break;
 53 ································}
 54 ································n5·+=·2;
 55 ····························}
 56 ····························if·(cType2·==·Code128Writer$CType.ONE_DIGIT)·{
 57 ································n2·=·n4;
 58 ····························}
 59 ····························else·{
 60 ································n2·=·n3;
 61 ····························}
 62 ························}
 63 ····················}
 64 ················}
 65 ············}
 66 ············else·{
 67 ················if·(code128Writer$CType·==·Code128Writer$CType.FNC_1)·{
 68 ····················code128Writer$CType·=·findCType(charSequence,·n·+·1);
 69 ················}
 70 ················if·(code128Writer$CType·==·Code128Writer$CType.TWO_DIGITS)·{
34 ····················return·b;71 ····················n2·=·n3;
 72 ················}
 73 ················else·{
 74 ····················n2·=·n4;
35 ················}75 ················}
36 ················++n3; 
37 ············}76 ············}
38 ········}77 ········}
 78 ········return·n2;
 79 ····}
 80 ····
 81 ····private·static·Code128Writer$CType·findCType(final·CharSequence·charSequence,·final·int·n)·{
 82 ········final·char·c·=·'9';
 83 ········final·char·c2·=·'0';
 84 ········final·int·length·=·charSequence.length();
 85 ········Code128Writer$CType·code128Writer$CType;
39 ········if·(n3·<=·length)·{86 ········if·(n·>=·length)·{
40 ············b·=·true; 
41 ············return·b;87 ············code128Writer$CType·=·Code128Writer$CType.UNCODABLE;
 88 ········}
 89 ········else·{
 90 ············final·char·char1·=·charSequence.charAt(n);
 91 ············if·(char1·==·'\u00f1')·{
 92 ················code128Writer$CType·=·Code128Writer$CType.FNC_1;
 93 ············}
 94 ············else·if·(char1·<·c2·||·char1·>·c)·{
 95 ················code128Writer$CType·=·Code128Writer$CType.UNCODABLE;
 96 ············}
 97 ············else·if·(n·+·1·>=·length)·{
 98 ················code128Writer$CType·=·Code128Writer$CType.ONE_DIGIT;
 99 ············}
 100 ············else·{
 101 ················final·char·char2·=·charSequence.charAt(n·+·1);
 102 ················if·(char2·<·c2·||·char2·>·c)·{
 103 ····················code128Writer$CType·=·Code128Writer$CType.ONE_DIGIT;
 104 ················}
 105 ················else·{
 106 ····················code128Writer$CType·=·Code128Writer$CType.TWO_DIGITS;
 107 ················}
 108 ············}
42 ········}109 ········}
43 ········return·b;110 ········return·code128Writer$CType;
44 ····}111 ····}
45 ····112 ····
46 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{113 ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{
47 ········if·(obj·!=·BarcodeFormat.CODE_128)·{114 ········if·(obj·!=·BarcodeFormat.CODE_128)·{
48 ············throw·new·IllegalArgumentException("Can·only·encode·CODE_128,·but·got·"·+·obj);115 ············throw·new·IllegalArgumentException("Can·only·encode·CODE_128,·but·got·"·+·obj);
49 ········}116 ········}
50 ········return·super.encode(s,·obj,·n,·n2,·map);117 ········return·super.encode(s,·obj,·n,·n2,·map);
51 ····}118 ····}
52 ····119 ····
53 ····public·boolean[]·encode(final·String·s)·{120 ····public·boolean[]·encode(final·String·s)·{
54 ········final·int·length·=·s.length();121 ········final·int·length·=·s.length();
55 ········final·int·n;122 ········final·int·n;
56 ········if·(length·<·1·||·length·>·(n·=·80))·{123 ········if·(length·<=·0·||·length·>·(n·=·80))·{
57 ············throw·new·IllegalArgumentException("Contents·length·should·be·between·1·and·80·characters,·but·got·"·+·length);124 ············throw·new·IllegalArgumentException("Contents·length·should·be·between·1·and·80·characters,·but·got·"·+·length);
58 ········}125 ········}
59 ········for·(int·i·=·0;·i·<·length;·++i)·{126 ········for·(int·i·=·0;·i·<·length;·++i)·{
60 ············final·char·char1·=·s.charAt(i);127 ············final·char·char1·=·s.charAt(i);
61 ············final·int·n2;128 ············final·int·n2;
62 ············if·(char1·<·'·'·||·char1·>·(n2·=·126))·{129 ············if·(char1·<·'·'·||·char1·>·(n2·=·126))·{
63 ················switch·(char1)·{130 ················switch·(char1)·{
Offset 75, 30 lines modifiedOffset 142, 17 lines modified
75 ········}142 ········}
76 ········final·ArrayList<int[]>·list·=·new·ArrayList<int[]>();143 ········final·ArrayList<int[]>·list·=·new·ArrayList<int[]>();
77 ········int·n3·=·0;144 ········int·n3·=·0;
78 ········int·n4·=·1;145 ········int·n4·=·1;
79 ········int·n5·=·0;146 ········int·n5·=·0;
80 ········int·j·=·0;147 ········int·j·=·0;
Max diff block lines reached; 2361/7939 bytes (29.74%) of diff not shown.
4.05 KB
com/google/zxing/oned/Code39Reader.class
3.97 KB
procyon -ec {}
    
Offset 9, 25 lines modifiedOffset 9, 24 lines modified
9 import·java.util.Map;9 import·java.util.Map;
10 import·com.google.zxing.NotFoundException;10 import·com.google.zxing.NotFoundException;
11 import·com.google.zxing.common.BitArray;11 import·com.google.zxing.common.BitArray;
12 import·com.google.zxing.FormatException;12 import·com.google.zxing.FormatException;
  
13 public·final·class·Code39Reader·extends·OneDReader13 public·final·class·Code39Reader·extends·OneDReader
14 {14 {
15 ····private·static·final·char[]·ALPHABET; 
16 ····static·final·String·ALPHABET_STRING·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%";15 ····static·final·String·ALPHABET_STRING·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%";
17 ····private·static·final·int·ASTERISK_ENCODING;16 ····static·final·int·ASTERISK_ENCODING·=·0;
18 ····static·final·int[]·CHARACTER_ENCODINGS;17 ····static·final·int[]·CHARACTER_ENCODINGS;
 18 ····private·static·final·String·CHECK_DIGIT_STRING·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%";
19 ····private·final·int[]·counters;19 ····private·final·int[]·counters;
20 ····private·final·StringBuilder·decodeRowResult;20 ····private·final·StringBuilder·decodeRowResult;
21 ····private·final·boolean·extendedMode;21 ····private·final·boolean·extendedMode;
22 ····private·final·boolean·usingCheckDigit;22 ····private·final·boolean·usingCheckDigit;
23 ····23 ····
24 ····static·{24 ····static·{
25 ········ALPHABET·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".toCharArray(); 
26 ········final·int[]·array;25 ········final·int[]·array;
27 ········final·int[]·character_ENCODINGS·=·array·=·new·int[44];26 ········final·int[]·character_ENCODINGS·=·array·=·new·int[44];
28 ········array[0]·=·52;27 ········array[0]·=·52;
29 ········array[1]·=·289;28 ········array[1]·=·289;
30 ········array[2]·=·97;29 ········array[2]·=·97;
31 ········array[3]·=·352;30 ········array[3]·=·352;
32 ········array[4]·=·49;31 ········array[4]·=·49;
Offset 67, 15 lines modifiedOffset 66, 14 lines modified
67 ········array[38]·=·196;66 ········array[38]·=·196;
68 ········array[39]·=·148;67 ········array[39]·=·148;
69 ········array[40]·=·168;68 ········array[40]·=·168;
70 ········array[41]·=·162;69 ········array[41]·=·162;
71 ········array[42]·=·138;70 ········array[42]·=·138;
72 ········array[43]·=·42;71 ········array[43]·=·42;
73 ········CHARACTER_ENCODINGS·=·character_ENCODINGS;72 ········CHARACTER_ENCODINGS·=·character_ENCODINGS;
74 ········ASTERISK_ENCODING·=·Code39Reader.CHARACTER_ENCODINGS[39]; 
75 ····}73 ····}
76 ····74 ····
77 ····public·Code39Reader()·{75 ····public·Code39Reader()·{
78 ········this(false);76 ········this(false);
79 ····}77 ····}
80 ····78 ····
81 ····public·Code39Reader(final·boolean·b)·{79 ····public·Code39Reader(final·boolean·b)·{
Offset 187, 15 lines modifiedOffset 185, 15 lines modified
187 ········}185 ········}
188 ········throw·NotFoundException.getNotFoundInstance();186 ········throw·NotFoundException.getNotFoundInstance();
189 ····}187 ····}
190 ····188 ····
191 ····private·static·char·patternToChar(final·int·n)·{189 ····private·static·char·patternToChar(final·int·n)·{
192 ········for·(int·i·=·0;·i·<·Code39Reader.CHARACTER_ENCODINGS.length;·++i)·{190 ········for·(int·i·=·0;·i·<·Code39Reader.CHARACTER_ENCODINGS.length;·++i)·{
193 ············if·(Code39Reader.CHARACTER_ENCODINGS[i]·==·n)·{191 ············if·(Code39Reader.CHARACTER_ENCODINGS[i]·==·n)·{
194 ················return·Code39Reader.ALPHABET[i];192 ················return·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".charAt(i);
195 ············}193 ············}
196 ········}194 ········}
197 ········throw·NotFoundException.getNotFoundInstance();195 ········throw·NotFoundException.getNotFoundInstance();
198 ····}196 ····}
199 ····197 ····
200 ····private·static·int·toNarrowWidePattern(final·int[]·array)·{198 ····private·static·int·toNarrowWidePattern(final·int[]·array)·{
201 ········final·int·n·=·3;199 ········final·int·n·=·3;
Offset 224, 15 lines modifiedOffset 222, 15 lines modified
224 ················}222 ················}
225 ············}223 ············}
226 ············if·(i·==·n)·{224 ············if·(i·==·n)·{
227 ················for·(int·n9·=·0;·n9·<·length·&&·i·>·0;·++n9)·{225 ················for·(int·n9·=·0;·n9·<·length·&&·i·>·0;·++n9)·{
228 ····················final·int·n10·=·array[n9];226 ····················final·int·n10·=·array[n9];
229 ····················if·(n10·>·n3)·{227 ····················if·(n10·>·n3)·{
230 ························--i;228 ························--i;
231 ························if·(n10·*·2·>=·n6)·{229 ························if·(n10·<<·1·>=·n6)·{
232 ····························n7·=·n2;230 ····························n7·=·n2;
233 ····························break;231 ····························break;
234 ························}232 ························}
235 ····················}233 ····················}
236 ················}234 ················}
237 ················return·n7;235 ················return·n7;
238 ············}236 ············}
Offset 267, 25 lines modifiedOffset 265, 25 lines modified
267 ········decodeRowResult.setLength(decodeRowResult.length()·-·1);265 ········decodeRowResult.setLength(decodeRowResult.length()·-·1);
268 ········int·n4·=·0;266 ········int·n4·=·0;
269 ········for·(int·length2·=·counters.length,·j·=·0;·j·<·length2;·++j)·{267 ········for·(int·length2·=·counters.length,·j·=·0;·j·<·length2;·++j)·{
270 ············n4·+=·counters[j];268 ············n4·+=·counters[j];
271 ········}269 ········}
272 ········final·int·n5·=·n2·-·n3·-·n4;270 ········final·int·n5·=·n2·-·n3·-·n4;
273 ········final·int·n6;271 ········final·int·n6;
274 ········if·(n2·!=·size·&&·(n6·=·n5·*·2)·<·n4)·{272 ········if·(n2·!=·size·&&·(n6·=·n5·<<·1)·<·n4)·{
275 ············throw·NotFoundException.getNotFoundInstance();273 ············throw·NotFoundException.getNotFoundInstance();
276 ········}274 ········}
277 ········final·boolean·usingCheckDigit;275 ········final·boolean·usingCheckDigit;
278 ········if·(usingCheckDigit·=·this.usingCheckDigit)·{276 ········if·(usingCheckDigit·=·this.usingCheckDigit)·{
279 ············final·int·length3·=·decodeRowResult.length()·-·1;277 ············final·int·length3·=·decodeRowResult.length()·-·1;
280 ············int·n7·=·0;278 ············int·n7·=·0;
281 ············for·(int·k·=·0;·k·<·length3;·++k)·{279 ············for·(int·k·=·0;·k·<·length3;·++k)·{
282 ················n7·+=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".indexOf(this.decodeRowResult.charAt(k));280 ················n7·+=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%".indexOf(this.decodeRowResult.charAt(k));
283 ············}281 ············}
284 ············if·(decodeRowResult.charAt(length3)·!=·Code39Reader.ALPHABET[n7·%·43])·{282 ············if·(decodeRowResult.charAt(length3)·!=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%".charAt(n7·%·43))·{
285 ················throw·ChecksumException.getChecksumInstance();283 ················throw·ChecksumException.getChecksumInstance();
286 ············}284 ············}
287 ············decodeRowResult.setLength(length3);285 ············decodeRowResult.setLength(length3);
288 ········}286 ········}
289 ········if·(decodeRowResult.length()·==·0)·{287 ········if·(decodeRowResult.length()·==·0)·{
290 ············throw·NotFoundException.getNotFoundInstance();288 ············throw·NotFoundException.getNotFoundInstance();
291 ········}289 ········}
2.24 KB
com/google/zxing/oned/Code39Writer.class
2.16 KB
procyon -ec {}
    
Offset 25, 41 lines modifiedOffset 25, 41 lines modified
25 ········if·(obj·!=·BarcodeFormat.CODE_39)·{25 ········if·(obj·!=·BarcodeFormat.CODE_39)·{
26 ············throw·new·IllegalArgumentException("Can·only·encode·CODE_39,·but·got·"·+·obj);26 ············throw·new·IllegalArgumentException("Can·only·encode·CODE_39,·but·got·"·+·obj);
27 ········}27 ········}
28 ········return·super.encode(s,·obj,·n,·n2,·map);28 ········return·super.encode(s,·obj,·n,·n2,·map);
29 ····}29 ····}
30 ····30 ····
31 ····public·boolean[]·encode(final·String·str)·{31 ····public·boolean[]·encode(final·String·str)·{
32 ········final·int·n·=·39;32 ········final·int·n·=·9;
33 ········final·int·n2·=·1;33 ········final·int·n2·=·1;
34 ········final·int·length·=·str.length();34 ········final·int·length·=·str.length();
35 ········if·(length·>·80)·{35 ········if·(length·>·80)·{
36 ············throw·new·IllegalArgumentException("Requested·contents·should·be·less·than·80·digits·long,·but·got·"·+·length);36 ············throw·new·IllegalArgumentException("Requested·contents·should·be·less·than·80·digits·long,·but·got·"·+·length);
37 ········}37 ········}
38 ········final·int[]·array·=·new·int[9];38 ········final·int[]·array·=·new·int[n];
39 ········int·n3·=·length·+·25;39 ········int·n3·=·length·+·25;
40 ········for·(int·i·=·0;·i·<·length;·++i)·{40 ········for·(int·i·=·0;·i·<·length;·++i)·{
41 ············final·int·index·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".indexOf(str.charAt(i));41 ············final·int·index·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".indexOf(str.charAt(i));
42 ············if·(index·<·0)·{42 ············if·(index·<·0)·{
43 ················throw·new·IllegalArgumentException("Bad·contents:·"·+·str);43 ················throw·new·IllegalArgumentException("Bad·contents:·"·+·str);
44 ············}44 ············}
45 ············toIntArray(Code39Reader.CHARACTER_ENCODINGS[index],·array);45 ············toIntArray(Code39Reader.CHARACTER_ENCODINGS[index],·array);
46 ············for·(int·length2·=·array.length,·j·=·0;·j·<·length2;·++j)·{46 ············for·(int·j·=·0;·j·<·n;·++j)·{
47 ················n3·+=·array[j];47 ················n3·+=·array[j];
48 ············}48 ············}
49 ········}49 ········}
50 ········final·boolean[]·array2·=·new·boolean[n3];50 ········final·boolean[]·array2·=·new·boolean[n3];
51 ········toIntArray(Code39Reader.CHARACTER_ENCODINGS[n],·array);51 ········toIntArray(Code39Reader.ASTERISK_ENCODING,·array);
52 ········final·int·appendPattern·=·appendPattern(array2,·0,·array,·(boolean)(n2·!=·0));52 ········final·int·appendPattern·=·appendPattern(array2,·0,·array,·(boolean)(n2·!=·0));
53 ········final·int[]·array3·=·new·int[n2];53 ········final·int[]·array3·=·new·int[n2];
54 ········array3[0]·=·n2;54 ········array3[0]·=·n2;
55 ········int·n4·=·appendPattern·+·appendPattern(array2,·appendPattern,·array3,·false);55 ········int·n4·=·appendPattern·+·appendPattern(array2,·appendPattern,·array3,·false);
56 ········for·(int·k·=·0;·k·<·length;·++k)·{56 ········for·(int·k·=·0;·k·<·length;·++k)·{
57 ············toIntArray(Code39Reader.CHARACTER_ENCODINGS["0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".indexOf((int)str.charAt(k))],·array);57 ············toIntArray(Code39Reader.CHARACTER_ENCODINGS["0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".indexOf((int)str.charAt(k))],·array);
58 ············final·int·n5·=·n4·+·appendPattern(array2,·n4,·array,·(boolean)(n2·!=·0));58 ············final·int·n5·=·n4·+·appendPattern(array2,·n4,·array,·(boolean)(n2·!=·0));
59 ············n4·=·n5·+·appendPattern(array2,·n5,·array3,·false);59 ············n4·=·n5·+·appendPattern(array2,·n5,·array3,·false);
60 ········}60 ········}
61 ········toIntArray(Code39Reader.CHARACTER_ENCODINGS[n],·array);61 ········toIntArray(Code39Reader.ASTERISK_ENCODING,·array);
62 ········appendPattern(array2,·n4,·array,·(boolean)(n2·!=·0));62 ········appendPattern(array2,·n4,·array,·(boolean)(n2·!=·0));
63 ········return·array2;63 ········return·array2;
64 ····}64 ····}
65 }65 }
2.39 KB
com/google/zxing/oned/Code93Reader.class
2.31 KB
procyon -ec {}
    
Offset 10, 17 lines modifiedOffset 10, 17 lines modified
10 import·com.google.zxing.common.BitArray;10 import·com.google.zxing.common.BitArray;
11 import·com.google.zxing.FormatException;11 import·com.google.zxing.FormatException;
12 import·com.google.zxing.ChecksumException;12 import·com.google.zxing.ChecksumException;
  
13 public·final·class·Code93Reader·extends·OneDReader13 public·final·class·Code93Reader·extends·OneDReader
14 {14 {
15 ····private·static·final·char[]·ALPHABET;15 ····private·static·final·char[]·ALPHABET;
16 ····private·static·final·String·ALPHABET_STRING·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%abcd*";16 ····static·final·String·ALPHABET_STRING·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%abcd*";
17 ····private·static·final·int·ASTERISK_ENCODING;17 ····private·static·final·int·ASTERISK_ENCODING;
18 ····private·static·final·int[]·CHARACTER_ENCODINGS;18 ····static·final·int[]·CHARACTER_ENCODINGS;
19 ····private·final·int[]·counters;19 ····private·final·int[]·counters;
20 ····private·final·StringBuilder·decodeRowResult;20 ····private·final·StringBuilder·decodeRowResult;
21 ····21 ····
22 ····static·{22 ····static·{
23 ········ALPHABET·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%abcd*".toCharArray();23 ········ALPHABET·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%abcd*".toCharArray();
24 ········final·int[]·array;24 ········final·int[]·array;
25 ········final·int[]·character_ENCODINGS·=·array·=·new·int[48];25 ········final·int[]·character_ENCODINGS·=·array·=·new·int[48];
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ········array[42]·=·430;69 ········array[42]·=·430;
70 ········array[43]·=·294;70 ········array[43]·=·294;
71 ········array[44]·=·474;71 ········array[44]·=·474;
72 ········array[45]·=·470;72 ········array[45]·=·470;
73 ········array[46]·=·306;73 ········array[46]·=·306;
74 ········array[47]·=·350;74 ········array[47]·=·350;
75 ········CHARACTER_ENCODINGS·=·character_ENCODINGS;75 ········CHARACTER_ENCODINGS·=·character_ENCODINGS;
76 ········ASTERISK_ENCODING·=·Code93Reader.CHARACTER_ENCODINGS[47];76 ········ASTERISK_ENCODING·=·character_ENCODINGS[47];
77 ····}77 ····}
78 ····78 ····
79 ····public·Code93Reader()·{79 ····public·Code93Reader()·{
80 ········this.decodeRowResult·=·new·StringBuilder(20);80 ········this.decodeRowResult·=·new·StringBuilder(20);
81 ········this.counters·=·new·int[6];81 ········this.counters·=·new·int[6];
82 ····}82 ····}
83 ····83 ····
Offset 225, 23 lines modifiedOffset 225, 22 lines modified
225 ················return·Code93Reader.ALPHABET[i];225 ················return·Code93Reader.ALPHABET[i];
226 ············}226 ············}
227 ········}227 ········}
228 ········throw·NotFoundException.getNotFoundInstance();228 ········throw·NotFoundException.getNotFoundInstance();
229 ····}229 ····}
230 ····230 ····
231 ····private·static·int·toPattern(final·int[]·array)·{231 ····private·static·int·toPattern(final·int[]·array)·{
232 ········final·int·length·=·array.length; 
233 ········int·n·=·0;232 ········int·n·=·0;
234 ········for·(int·length2·=·array.length,·i·=·0;·i·<·length2;·++i)·{233 ········for·(int·length·=·array.length,·i·=·0;·i·<·length;·++i)·{
235 ············n·+=·array[i];234 ············n·+=·array[i];
236 ········}235 ········}
237 ········int·n2·=·0;236 ········int·n2·=·0;
238 ········for·(int·j·=·0;·j·<·length;·++j)·{237 ········for·(int·length2·=·array.length,·j·=·0;·j·<·length2;·++j)·{
239 ············final·int·round·=·Math.round(array[j]·*·9.0f·/·(float)n);238 ············final·int·round·=·Math.round(array[j]·*·9.0f·/·(float)n);
240 ············if·(round·<·1·||·round·>·4)·{239 ············if·(round·<=·0·||·round·>·4)·{
241 ················n2·=·-1;240 ················n2·=·-1;
242 ················break;241 ················break;
243 ············}242 ············}
244 ············if·((j·&·0x1)·==·0x0)·{243 ············if·((j·&·0x1)·==·0x0)·{
245 ················for·(int·k·=·0;·k·<·round;·++k)·{244 ················for·(int·k·=·0;·k·<·round;·++k)·{
246 ····················n2·=·(n2·<<·1·|·0x1);245 ····················n2·=·(n2·<<·1·|·0x1);
247 ················}246 ················}
4.47 KB
com/google/zxing/oned/ITFReader.class
4.4 KB
procyon -ec {}
    
Offset 128, 34 lines modifiedOffset 128, 57 lines modified
128 ········}128 ········}
129 ········if·(n2·>=·0)·{129 ········if·(n2·>=·0)·{
130 ············return·n2;130 ············return·n2;
131 ········}131 ········}
132 ········throw·NotFoundException.getNotFoundInstance();132 ········throw·NotFoundException.getNotFoundInstance();
133 ····}133 ····}
134 ····134 ····
 135 ····private·int[]·decodeEnd(final·BitArray·bitArray)·{
 136 ········bitArray.reverse();
 137 ········try·{
 138 ············final·int[]·guardPattern·=·findGuardPattern(bitArray,·skipWhiteSpace(bitArray),·ITFReader.END_PATTERN_REVERSED);
 139 ············this.validateQuietZone(bitArray,·guardPattern[0]);
 140 ············final·int·n·=·guardPattern[0];
 141 ············guardPattern[0]·=·bitArray.getSize()·-·guardPattern[1];
 142 ············guardPattern[1]·=·bitArray.getSize()·-·n;
 143 ············return·guardPattern;
 144 ········}
 145 ········finally·{
 146 ············bitArray.reverse();
 147 ········}
 148 ····}
 149 ····
135 ····private·static·void·decodeMiddle(final·BitArray·bitArray,·int·i,·final·int·n,·final·StringBuilder·sb)·{150 ····private·static·void·decodeMiddle(final·BitArray·bitArray,·int·i,·final·int·n,·final·StringBuilder·sb)·{
 151 ········final·int·n2·=·10;
136 ········final·int·n2·=·5;152 ········final·int·n3·=·5;
137 ········final·int[]·array·=·new·int[10]; 
138 ········final·int[]·array2·=·new·int[n2];153 ········final·int[]·array·=·new·int[n2];
 154 ········final·int[]·array2·=·new·int[n3];
139 ········final·int[]·array3·=·new·int[n2];155 ········final·int[]·array3·=·new·int[n3];
140 ········while·(i·<·n)·{156 ········while·(i·<·n)·{
141 ············recordPattern(bitArray,·i,·array);157 ············recordPattern(bitArray,·i,·array);
142 ············for·(int·j·=·0;·j·<·n2;·++j)·{158 ············for·(int·j·=·0;·j·<·n3;·++j)·{
143 ················final·int·n3·=·j·*·2;159 ················final·int·n4·=·j·*·2;
144 ················array2[j]·=·array[n3];160 ················array2[j]·=·array[n4];
145 ················array3[j]·=·array[n3·+·1];161 ················array3[j]·=·array[n4·+·1];
146 ············}162 ············}
147 ············sb.append((char)(decodeDigit(array2)·+·48));163 ············sb.append((char)(decodeDigit(array2)·+·48));
148 ············sb.append((char)(decodeDigit(array3)·+·48));164 ············sb.append((char)(decodeDigit(array3)·+·48));
149 ············for·(int·length·=·array.length,·k·=·0;·k·<·length;·++k)·{165 ············for·(int·k·=·0;·k·<·n2;·++k)·{
150 ················i·+=·array[k];166 ················i·+=·array[k];
151 ············}167 ············}
152 ········}168 ········}
153 ····}169 ····}
154 ····170 ····
 171 ····private·int[]·decodeStart(final·BitArray·bitArray)·{
 172 ········final·int[]·guardPattern·=·findGuardPattern(bitArray,·skipWhiteSpace(bitArray),·ITFReader.START_PATTERN);
 173 ········this.narrowLineWidth·=·(guardPattern[1]·-·guardPattern[0])·/·4;
 174 ········this.validateQuietZone(bitArray,·guardPattern[0]);
 175 ········return·guardPattern;
 176 ····}
 177 ····
155 ····private·static·int[]·findGuardPattern(final·BitArray·bitArray,·final·int·n,·final·int[]·array)·{178 ····private·static·int[]·findGuardPattern(final·BitArray·bitArray,·final·int·n,·final·int[]·array)·{
156 ········final·int·n2·=·2;179 ········final·int·n2·=·2;
157 ········final·int·n3·=·1;180 ········final·int·n3·=·1;
158 ········final·int·length·=·array.length;181 ········final·int·length·=·array.length;
159 ········final·int[]·array2·=·new·int[length];182 ········final·int[]·array2·=·new·int[length];
160 ········final·int·size·=·bitArray.getSize();183 ········final·int·size·=·bitArray.getSize();
161 ········int·n4·=·0;184 ········int·n4·=·0;
Offset 209, 29 lines modifiedOffset 232, 14 lines modified
209 ········}232 ········}
210 ········for·(int·n3·=·n·-·1;·n2·>·0·&&·n3·>=·0·&&·!bitArray.get(n3);·--n2,·--n3)·{}233 ········for·(int·n3·=·n·-·1;·n2·>·0·&&·n3·>=·0·&&·!bitArray.get(n3);·--n2,·--n3)·{}
211 ········if·(n2·!=·0)·{234 ········if·(n2·!=·0)·{
212 ············throw·NotFoundException.getNotFoundInstance();235 ············throw·NotFoundException.getNotFoundInstance();
213 ········}236 ········}
214 ····}237 ····}
215 ····238 ····
216 ····int[]·decodeEnd(final·BitArray·bitArray)·{ 
217 ········bitArray.reverse(); 
218 ········try·{ 
219 ············final·int[]·guardPattern·=·findGuardPattern(bitArray,·skipWhiteSpace(bitArray),·ITFReader.END_PATTERN_REVERSED); 
220 ············this.validateQuietZone(bitArray,·guardPattern[0]); 
221 ············final·int·n·=·guardPattern[0]; 
222 ············guardPattern[0]·=·bitArray.getSize()·-·guardPattern[1]; 
223 ············guardPattern[1]·=·bitArray.getSize()·-·n; 
224 ············return·guardPattern; 
225 ········} 
226 ········finally·{ 
227 ············bitArray.reverse(); 
228 ········} 
229 ····} 
230 ···· 
231 ····public·Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·Map·map)·{239 ····public·Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·Map·map)·{
232 ········final·int[]·decodeStart·=·this.decodeStart(bitArray);240 ········final·int[]·decodeStart·=·this.decodeStart(bitArray);
233 ········final·int[]·decodeEnd·=·this.decodeEnd(bitArray);241 ········final·int[]·decodeEnd·=·this.decodeEnd(bitArray);
234 ········final·StringBuilder·sb·=·new·StringBuilder(20);242 ········final·StringBuilder·sb·=·new·StringBuilder(20);
235 ········decodeMiddle(bitArray,·decodeStart[1],·decodeEnd[0],·sb);243 ········decodeMiddle(bitArray,·decodeStart[1],·decodeEnd[0],·sb);
236 ········final·String·string·=·sb.toString();244 ········final·String·string·=·sb.toString();
237 ········int[]·default_ALLOWED_LENGTHS·=·null;245 ········int[]·default_ALLOWED_LENGTHS·=·null;
Offset 258, 15 lines modifiedOffset 266, 8 lines modified
258 ············n2·=·1;266 ············n2·=·1;
259 ········}267 ········}
260 ········if·(n2·==·0)·{268 ········if·(n2·==·0)·{
261 ············throw·FormatException.getFormatInstance();269 ············throw·FormatException.getFormatInstance();
262 ········}270 ········}
263 ········return·new·Result(string,·(byte[])null,·new·ResultPoint[]·{·new·ResultPoint((float)decodeStart[1],·(float)n),·new·ResultPoint((float)decodeEnd[0],·(float)n)·},·BarcodeFormat.ITF);271 ········return·new·Result(string,·(byte[])null,·new·ResultPoint[]·{·new·ResultPoint((float)decodeStart[1],·(float)n),·new·ResultPoint((float)decodeEnd[0],·(float)n)·},·BarcodeFormat.ITF);
264 ····}272 ····}
265 ···· 
266 ····int[]·decodeStart(final·BitArray·bitArray)·{ 
267 ········final·int[]·guardPattern·=·findGuardPattern(bitArray,·skipWhiteSpace(bitArray),·ITFReader.START_PATTERN); 
268 ········this.narrowLineWidth·=·(guardPattern[1]·-·guardPattern[0])·/·4; 
269 ········this.validateQuietZone(bitArray,·guardPattern[0]); 
270 ········return·guardPattern; 
271 ····} 
272 }273 }
862 B
com/google/zxing/oned/ITFWriter.class
788 B
procyon -ec {}
    
Offset 31, 15 lines modifiedOffset 31, 15 lines modified
31 ····}31 ····}
32 ····32 ····
33 ····public·boolean[]·encode(final·String·s)·{33 ····public·boolean[]·encode(final·String·s)·{
34 ········final·int·n·=·10;34 ········final·int·n·=·10;
35 ········final·boolean·b·=·true;35 ········final·boolean·b·=·true;
36 ········final·int·length·=·s.length();36 ········final·int·length·=·s.length();
37 ········if·(length·%·2·!=·0)·{37 ········if·(length·%·2·!=·0)·{
38 ············throw·new·IllegalArgumentException("The·lenght·of·the·input·should·be·even");38 ············throw·new·IllegalArgumentException("The·length·of·the·input·should·be·even");
39 ········}39 ········}
40 ········if·(length·>·80)·{40 ········if·(length·>·80)·{
41 ············throw·new·IllegalArgumentException("Requested·contents·should·be·less·than·80·digits·long,·but·got·"·+·length);41 ············throw·new·IllegalArgumentException("Requested·contents·should·be·less·than·80·digits·long,·but·got·"·+·length);
42 ········}42 ········}
43 ········final·boolean[]·array·=·new·boolean[length·*·9·+·9];43 ········final·boolean[]·array·=·new·boolean[length·*·9·+·9];
44 ········int·appendPattern·=·appendPattern(array,·0,·ITFWriter.START_PATTERN,·b);44 ········int·appendPattern·=·appendPattern(array,·0,·ITFWriter.START_PATTERN,·b);
45 ········for·(int·i·=·0;·i·<·length;·i·+=·2)·{45 ········for·(int·i·=·0;·i·<·length;·i·+=·2)·{
5.82 KB
com/google/zxing/oned/MultiFormatUPCEANReader.class
5.72 KB
procyon -ec {}
    
Offset 84, 31 lines modifiedOffset 84, 31 lines modified
84 ········//····55:·aload···········1284 ········//····55:·aload···········12
85 ········//····57:·invokevirtual···com/google/zxing/Result.getBarcodeFormat:()Lcom/google/zxing/BarcodeFormat;85 ········//····57:·invokevirtual···com/google/zxing/Result.getBarcodeFormat:()Lcom/google/zxing/BarcodeFormat;
86 ········//····60:·astore··········1086 ········//····60:·astore··········10
87 ········//····62:·getstatic·······com/google/zxing/BarcodeFormat.EAN_13:Lcom/google/zxing/BarcodeFormat;87 ········//····62:·getstatic·······com/google/zxing/BarcodeFormat.EAN_13:Lcom/google/zxing/BarcodeFormat;
88 ········//····65:·astore··········788 ········//····65:·astore··········7
89 ········//····67:·aload···········1089 ········//····67:·aload···········10
90 ········//····69:·aload···········790 ········//····69:·aload···········7
91 ········//····71:·if_acmpne·······22791 ········//····71:·if_acmpne·······217
92 ········//····74:·aload···········1292 ········//····74:·aload···········12
93 ········//····76:·invokevirtual···com/google/zxing/Result.getText:()Ljava/lang/String;93 ········//····76:·invokevirtual···com/google/zxing/Result.getText:()Ljava/lang/String;
94 ········//····79:·astore··········1094 ········//····79:·astore··········10
95 ········//····81:·aload···········1095 ········//····81:·aload···········10
96 ········//····83:·iconst_0·······96 ········//····83:·iconst_0·······
97 ········//····84:·invokevirtual···java/lang/String.charAt:(I)C97 ········//····84:·invokevirtual···java/lang/String.charAt:(I)C
98 ········//····87:·istore··········998 ········//····87:·istore··········9
99 ········//····89:·bipush··········4899 ········//····89:·bipush··········48
100 ········//····91:·istore··········13100 ········//····91:·istore··········13
101 ········//····93:·iload···········9101 ········//····93:·iload···········9
102 ········//····95:·iload···········13102 ········//····95:·iload···········13
103 ········//····97:·if_icmpne·······227103 ········//····97:·if_icmpne·······217
104 ········//···100:·iload···········4104 ········//···100:·iload···········4
105 ········//···102:·istore··········14105 ········//···102:·istore··········14
106 ········//···104:·aload_3········106 ········//···104:·aload_3········
107 ········//···105:·ifnonnull·······233107 ········//···105:·ifnonnull·······223
108 ········//···108:·aconst_null····108 ········//···108:·aconst_null····
109 ········//···109:·astore··········15109 ········//···109:·astore··········15
110 ········//···111:·aload···········15110 ········//···111:·aload···········15
111 ········//···113:·ifnull··········137111 ········//···113:·ifnull··········137
112 ········//···116:·getstatic·······com/google/zxing/BarcodeFormat.UPC_A:Lcom/google/zxing/BarcodeFormat;112 ········//···116:·getstatic·······com/google/zxing/BarcodeFormat.UPC_A:Lcom/google/zxing/BarcodeFormat;
113 ········//···119:·astore··········10113 ········//···119:·astore··········10
114 ········//···121:·aload···········15114 ········//···121:·aload···········15
Offset 116, 17 lines modifiedOffset 116, 17 lines modified
116 ········//···125:·invokeinterface·java/util/Collection.contains:(Ljava/lang/Object;)Z116 ········//···125:·invokeinterface·java/util/Collection.contains:(Ljava/lang/Object;)Z
117 ········//···130:·istore··········9117 ········//···130:·istore··········9
118 ········//···132:·iload···········9118 ········//···132:·iload···········9
119 ········//···134:·ifeq············141119 ········//···134:·ifeq············141
120 ········//···137:·iload···········4120 ········//···137:·iload···········4
121 ········//···139:·istore··········5121 ········//···139:·istore··········5
122 ········//···141:·iload···········14122 ········//···141:·iload···········14
123 ········//···143:·ifeq············258123 ········//···143:·ifeq············248
124 ········//···146:·iload···········5124 ········//···146:·iload···········5
125 ········//···148:·ifeq············258125 ········//···148:·ifeq············248
126 ········//···151:·new·············Lcom/google/zxing/Result;126 ········//···151:·new·············Lcom/google/zxing/Result;
127 ········//···154:·astore··········16127 ········//···154:·astore··········16
128 ········//···156:·aload···········12128 ········//···156:·aload···········12
129 ········//···158:·invokevirtual···com/google/zxing/Result.getText:()Ljava/lang/String;129 ········//···158:·invokevirtual···com/google/zxing/Result.getText:()Ljava/lang/String;
130 ········//···161:·iload···········4130 ········//···161:·iload···········4
131 ········//···163:·invokevirtual···java/lang/String.substring:(I)Ljava/lang/String;131 ········//···163:·invokevirtual···java/lang/String.substring:(I)Ljava/lang/String;
132 ········//···166:·astore··········10132 ········//···166:·astore··········10
Offset 148, 43 lines modifiedOffset 148, 43 lines modified
148 ········//···202:·invokevirtual···com/google/zxing/Result.getResultMetadata:()Ljava/util/Map;148 ········//···202:·invokevirtual···com/google/zxing/Result.getResultMetadata:()Ljava/util/Map;
149 ········//···205:·astore··········10149 ········//···205:·astore··········10
150 ········//···207:·aload···········16150 ········//···207:·aload···········16
151 ········//···209:·aload···········10151 ········//···209:·aload···········10
152 ········//···211:·invokevirtual···com/google/zxing/Result.putAllMetadata:(Ljava/util/Map;)V152 ········//···211:·invokevirtual···com/google/zxing/Result.putAllMetadata:(Ljava/util/Map;)V
153 ········//···214:·aload···········16153 ········//···214:·aload···········16
154 ········//···216:·areturn········154 ········//···216:·areturn········
155 ········//···217:·pop············ 
156 ········//···218:·iload···········9 
157 ········//···220:·iconst_1······· 
158 ········//···221:·iadd··········· 
159 ········//···222:·istore··········9 
160 ········//···224:·goto············29 
161 ········//···227:·iconst_0·······155 ········//···217:·iconst_0·······
162 ········//···228:·istore··········14156 ········//···218:·istore··········14
163 ········//···230:·goto············104157 ········//···220:·goto············104
164 ········//···233:·getstatic·······com/google/zxing/DecodeHintType.POSSIBLE_FORMATS:Lcom/google/zxing/DecodeHintType;158 ········//···223:·getstatic·······com/google/zxing/DecodeHintType.POSSIBLE_FORMATS:Lcom/google/zxing/DecodeHintType;
165 ········//···236:·astore··········10159 ········//···226:·astore··········10
166 ········//···238:·aload_3········160 ········//···228:·aload_3········
167 ········//···239:·aload···········10161 ········//···229:·aload···········10
168 ········//···241:·invokeinterface·java/util/Map.get:(Ljava/lang/Object;)Ljava/lang/Object;162 ········//···231:·invokeinterface·java/util/Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
169 ········//···246:·checkcast·······Ljava/util/Collection;163 ········//···236:·checkcast·······Ljava/util/Collection;
170 ········//···249:·astore··········10164 ········//···239:·astore··········10
171 ········//···251:·aload···········10165 ········//···241:·aload···········10
172 ········//···253:·astore··········15166 ········//···243:·astore··········15
173 ········//···255:·goto············111167 ········//···245:·goto············111
174 ········//···258:·aload···········12168 ········//···248:·aload···········12
175 ········//···260:·astore··········16169 ········//···250:·astore··········16
176 ········//···262:·goto············214170 ········//···252:·goto············214
 171 ········//···255:·pop············
 172 ········//···256:·iload···········9
 173 ········//···258:·iconst_1·······
 174 ········//···259:·iadd···········
 175 ········//···260:·istore··········9
 176 ········//···262:·goto············29
177 ········//···265:·invokestatic····com/google/zxing/NotFoundException.getNotFoundInstance:()Lcom/google/zxing/NotFoundException;177 ········//···265:·invokestatic····com/google/zxing/NotFoundException.getNotFoundInstance:()Lcom/google/zxing/NotFoundException;
178 ········//···268:·athrow·········178 ········//···268:·athrow·········
179 ········//····Exceptions:179 ········//····Exceptions:
180 ········//··Try···········Handler180 ········//··Try···········Handler
181 ········//··Start··End····Start··End····Type······························181 ········//··Start··End····Start··End····Type······························
182 ········//··-----··-----··-----··-----··----------------------------------182 ········//··-----··-----··-----··-----··----------------------------------
183 ········//··49·····53·····217····227····Lcom/google/zxing/ReaderException;183 ········//··49·····53·····255····265····Lcom/google/zxing/ReaderException;
184 ········//·184 ········//·
185 ········//·The·error·that·occurred·was:185 ········//·The·error·that·occurred·was:
186 ········//·186 ········//·
187 ········//·java.lang.NullPointerException187 ········//·java.lang.NullPointerException
188 ········//·····at·com.strobel.assembler.ir.StackMappingVisitor.push(StackMappingVisitor.java:290)188 ········//·····at·com.strobel.assembler.ir.StackMappingVisitor.push(StackMappingVisitor.java:290)
189 ········//·····at·com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.execute(StackMappingVisitor.java:833)189 ········//·····at·com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.execute(StackMappingVisitor.java:833)
190 ········//·····at·com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.visit(StackMappingVisitor.java:398)190 ········//·····at·com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.visit(StackMappingVisitor.java:398)
9.14 KB
com/google/zxing/oned/UPCEANReader.class
9.06 KB
procyon -ec {}
    
Offset 13, 108 lines modifiedOffset 13, 115 lines modified
13 import·java.util.Arrays;13 import·java.util.Arrays;
14 import·com.google.zxing.NotFoundException;14 import·com.google.zxing.NotFoundException;
15 import·com.google.zxing.common.BitArray;15 import·com.google.zxing.common.BitArray;
16 import·com.google.zxing.FormatException;16 import·com.google.zxing.FormatException;
  
17 public·abstract·class·UPCEANReader·extends·OneDReader17 public·abstract·class·UPCEANReader·extends·OneDReader
18 {18 {
 19 ····static·final·int[]·END_PATTERN;
19 ····static·final·int[][]·L_AND_G_PATTERNS;20 ····static·final·int[][]·L_AND_G_PATTERNS;
20 ····static·final·int[][]·L_PATTERNS;21 ····static·final·int[][]·L_PATTERNS;
21 ····private·static·final·float·MAX_AVG_VARIANCE·=·0.48f;22 ····private·static·final·float·MAX_AVG_VARIANCE·=·0.48f;
22 ····private·static·final·float·MAX_INDIVIDUAL_VARIANCE·=·0.7f;23 ····private·static·final·float·MAX_INDIVIDUAL_VARIANCE·=·0.7f;
23 ····static·final·int[]·MIDDLE_PATTERN;24 ····static·final·int[]·MIDDLE_PATTERN;
24 ····static·final·int[]·START_END_PATTERN;25 ····static·final·int[]·START_END_PATTERN;
25 ····private·final·StringBuilder·decodeRowStringBuffer;26 ····private·final·StringBuilder·decodeRowStringBuffer;
26 ····private·final·EANManufacturerOrgSupport·eanManSupport;27 ····private·final·EANManufacturerOrgSupport·eanManSupport;
27 ····private·final·UPCEANExtensionSupport·extensionReader;28 ····private·final·UPCEANExtensionSupport·extensionReader;
28 ····29 ····
29 ····static·{30 ····static·{
30 ········final·int·n·=·10;31 ········final·int·n·=·6;
31 ········final·int·n2·=·5;32 ········final·int·n2·=·5;
32 ········final·int·n3·=·3;33 ········final·int·n3·=·3;
33 ········final·int·n4·=·4;34 ········final·int·n4·=·4;
34 ········final·int[]·array;35 ········final·int[]·array;
35 ········final·int[]·start_END_PATTERN·=·array·=·new·int[n3];36 ········final·int[]·start_END_PATTERN·=·array·=·new·int[n3];
36 ········array[0]·=·1;37 ········array[0]·=·1;
37 ········array[2]·=·(array[1]·=·1);38 ········array[2]·=·(array[1]·=·1);
38 ········START_END_PATTERN·=·start_END_PATTERN;39 ········START_END_PATTERN·=·start_END_PATTERN;
39 ········final·int[]·array2;40 ········final·int[]·array2;
40 ········final·int[]·middle_PATTERN·=·array2·=·new·int[n2];41 ········final·int[]·middle_PATTERN·=·array2·=·new·int[n2];
41 ········array2[0]·=·1;42 ········array2[0]·=·1;
42 ········array2[2]·=·(array2[1]·=·1);43 ········array2[2]·=·(array2[1]·=·1);
43 ········array2[4]·=·(array2[3]·=·1);44 ········array2[4]·=·(array2[3]·=·1);
44 ········MIDDLE_PATTERN·=·middle_PATTERN;45 ········MIDDLE_PATTERN·=·middle_PATTERN;
 46 ········final·int[]·array3;
 47 ········final·int[]·end_PATTERN·=·array3·=·new·int[n];
 48 ········array3[array3[0]·=·1]·=·1;
 49 ········array3[3]·=·(array3[2]·=·1);
 50 ········array3[5]·=·(array3[4]·=·1);
 51 ········END_PATTERN·=·end_PATTERN;
45 ········final·int[][]·l_PATTERNS·=·new·int[n][];52 ········final·int[][]·l_PATTERNS·=·new·int[10][];
46 ········final·int[]·array4;53 ········final·int[]·array5;
47 ········final·int[]·array3·=·array4·=·new·int[n4];54 ········final·int[]·array4·=·array5·=·new·int[n4];
48 ········array4[0]·=·3;55 ········array5[0]·=·3;
49 ········array4[1]·=·2;56 ········array5[1]·=·2;
50 ········array4[3]·=·(array4[2]·=·1);57 ········array5[3]·=·(array5[2]·=·1);
51 ········l_PATTERNS[0]·=·array3;58 ········l_PATTERNS[0]·=·array4;
52 ········final·int[]·array6;59 ········final·int[]·array7;
53 ········final·int[]·array5·=·array6·=·new·int[n4];60 ········final·int[]·array6·=·array7·=·new·int[n4];
54 ········array6[0]·=·2;61 ········array7[0]·=·2;
55 ········array6[array6[1]·=·2]·=·2;62 ········array7[array7[1]·=·2]·=·2;
56 ········l_PATTERNS[array6[3]·=·1]·=·array5;63 ········l_PATTERNS[array7[3]·=·1]·=·array6;
57 ········final·int[]·array8;64 ········final·int[]·array9;
58 ········final·int[]·array7·=·array8·=·new·int[n4];65 ········final·int[]·array8·=·array9·=·new·int[n4];
59 ········array8[0]·=·2;66 ········array9[0]·=·2;
60 ········array8[1]·=·1;67 ········array9[1]·=·1;
61 ········array8[2]·=·2;68 ········array9[2]·=·2;
62 ········l_PATTERNS[array8[3]·=·2]·=·array7;69 ········l_PATTERNS[array9[3]·=·2]·=·array8;
63 ········final·int[]·array10;70 ········final·int[]·array11;
64 ········final·int[]·array9·=·array10·=·new·int[n4];71 ········final·int[]·array10·=·array11·=·new·int[n4];
65 ········array10[array10[0]·=·1]·=·4;72 ········array11[array11[0]·=·1]·=·4;
66 ········array10[3]·=·(array10[2]·=·1);73 ········array11[3]·=·(array11[2]·=·1);
67 ········l_PATTERNS[n3]·=·array9;74 ········l_PATTERNS[n3]·=·array10;
68 ········final·int[]·array12;75 ········final·int[]·array13;
69 ········final·int[]·array11·=·array12·=·new·int[n4];76 ········final·int[]·array12·=·array13·=·new·int[n4];
70 ········array12[array12[0]·=·1]·=·1;77 ········array13[array13[0]·=·1]·=·1;
71 ········array12[array12[2]·=·3]·=·2;78 ········array13[array13[2]·=·3]·=·2;
72 ········l_PATTERNS[n4]·=·array11;79 ········l_PATTERNS[n4]·=·array12;
73 ········final·int[]·array14;80 ········final·int[]·array15;
74 ········final·int[]·array13·=·array14·=·new·int[n4];81 ········final·int[]·array14·=·array15·=·new·int[n4];
75 ········array14[array14[0]·=·1]·=·2;82 ········array15[array15[0]·=·1]·=·2;
76 ········array14[array14[2]·=·3]·=·1;83 ········array15[array15[2]·=·3]·=·1;
77 ········l_PATTERNS[n2]·=·array13;84 ········l_PATTERNS[n2]·=·array14;
78 ········final·int[]·array16;85 ········final·int[]·array17;
79 ········final·int[]·array15·=·array16·=·new·int[n4];86 ········final·int[]·array16·=·array17·=·new·int[n4];
80 ········array16[0]·=·1;87 ········array17[0]·=·1;
81 ········array16[2]·=·(array16[1]·=·1);88 ········array17[2]·=·(array17[1]·=·1);
82 ········array16[3]·=·4;89 ········array17[3]·=·4;
83 ········l_PATTERNS[6]·=·array15;90 ········l_PATTERNS[n]·=·array16;
84 ········final·int[]·array18;91 ········final·int[]·array19;
85 ········final·int[]·array17·=·array18·=·new·int[n4];92 ········final·int[]·array18·=·array19·=·new·int[n4];
86 ········array18[array18[0]·=·1]·=·3;93 ········array19[array19[0]·=·1]·=·3;
87 ········array18[2]·=·1;94 ········array19[2]·=·1;
88 ········array18[3]·=·2;95 ········array19[3]·=·2;
89 ········l_PATTERNS[7]·=·array17;96 ········l_PATTERNS[7]·=·array18;
90 ········final·int[]·array20;97 ········final·int[]·array21;
91 ········final·int[]·array19·=·array20·=·new·int[n4];98 ········final·int[]·array20·=·array21·=·new·int[n4];
92 ········array20[0]·=·1;99 ········array21[0]·=·1;
93 ········array20[array20[1]·=·2]·=·1;100 ········array21[array21[1]·=·2]·=·1;
94 ········array20[3]·=·3;101 ········array21[3]·=·3;
95 ········l_PATTERNS[8]·=·array19;102 ········l_PATTERNS[8]·=·array20;
96 ········final·int·n5·=·9;103 ········final·int·n5·=·9;
97 ········final·int[]·array22;104 ········final·int[]·array23;
98 ········final·int[]·array21·=·array22·=·new·int[n4];105 ········final·int[]·array22·=·array23·=·new·int[n4];
99 ········array22[0]·=·3;106 ········array23[0]·=·3;
100 ········array22[2]·=·(array22[1]·=·1);107 ········array23[2]·=·(array23[1]·=·1);
101 ········array22[3]·=·2;108 ········array23[3]·=·2;
102 ········l_PATTERNS[n5]·=·array21;109 ········l_PATTERNS[n5]·=·array22;
103 ········L_PATTERNS·=·l_PATTERNS;110 ········L_PATTERNS·=·l_PATTERNS;
104 ········L_AND_G_PATTERNS·=·new·int[20][];111 ········L_AND_G_PATTERNS·=·new·int[20][];
105 ········System.arraycopy(UPCEANReader.L_PATTERNS,·0,·UPCEANReader.L_AND_G_PATTERNS,·0,·n);112 ········System.arraycopy(UPCEANReader.L_PATTERNS,·0,·UPCEANReader.L_AND_G_PATTERNS,·0,·10);
106 ········for·(int·i·=·10;·i·<·20;·++i)·{113 ········for·(int·i·=·10;·i·<·20;·++i)·{
107 ············final·int[]·array23·=·UPCEANReader.L_PATTERNS[i·-·10];114 ············final·int[]·array24·=·UPCEANReader.L_PATTERNS[i·-·10];
108 ············final·int[]·array24·=·new·int[array23.length];115 ············final·int[]·array25·=·new·int[array24.length];
109 ············for·(int·j·=·0;·j·<·array23.length;·++j)·{116 ············for·(int·j·=·0;·j·<·array24.length;·++j)·{
110 ················array24[j]·=·array23[array23.length·-·j·-·1];117 ················array25[j]·=·array24[array24.length·-·j·-·1];
111 ············}118 ············}
112 ············UPCEANReader.L_AND_G_PATTERNS[i]·=·array24;119 ············UPCEANReader.L_AND_G_PATTERNS[i]·=·array25;
113 ········}120 ········}
114 ····}121 ····}
115 ····122 ····
116 ····protected·UPCEANReader()·{123 ····protected·UPCEANReader()·{
117 ········this.decodeRowStringBuffer·=·new·StringBuilder(20);124 ········this.decodeRowStringBuffer·=·new·StringBuilder(20);
118 ········this.extensionReader·=·new·UPCEANExtensionSupport();125 ········this.extensionReader·=·new·UPCEANExtensionSupport();
119 ········this.eanManSupport·=·new·EANManufacturerOrgSupport();126 ········this.eanManSupport·=·new·EANManufacturerOrgSupport();
Offset 168, 51 lines modifiedOffset 175, 51 lines modified
168 ····static·int[]·findGuardPattern(final·BitArray·bitArray,·final·int·n,·final·boolean·b,·final·int[]·array)·{175 ····static·int[]·findGuardPattern(final·BitArray·bitArray,·final·int·n,·final·boolean·b,·final·int[]·array)·{
169 ········return·findGuardPattern(bitArray,·n,·b,·array,·new·int[array.length]);176 ········return·findGuardPattern(bitArray,·n,·b,·array,·new·int[array.length]);
170 ····}177 ····}
171 ····178 ····
172 ····private·static·int[]·findGuardPattern(final·BitArray·bitArray,·int·n,·final·boolean·b,·final·int[]·array,·final·int[]·array2)·{179 ····private·static·int[]·findGuardPattern(final·BitArray·bitArray,·int·n,·final·boolean·b,·final·int[]·array,·final·int[]·array2)·{
173 ········final·int·n2·=·2;180 ········final·int·n2·=·2;
174 ········final·int·n3·=·1;181 ········final·int·n3·=·1;
175 ········final·int·length·=·array.length; 
176 ········final·int·size·=·bitArray.getSize();182 ········final·int·size·=·bitArray.getSize();
177 ········int·n4·=·b·?·1·:·0; 
178 ········if·(b)·{183 ········if·(b)·{
Max diff block lines reached; 1814/9249 bytes (19.61%) of diff not shown.
1.29 KB
com/google/zxing/oned/rss/AbstractRSSReader.class
1.2 KB
procyon -ec {}
    
Offset 1, 11 lines modifiedOffset 1, 12 lines modified
  
1 package·com.google.zxing.oned.rss;1 package·com.google.zxing.oned.rss;
  
2 import·com.google.zxing.NotFoundException;2 import·com.google.zxing.NotFoundException;
 3 import·com.google.zxing.common.detector.MathUtils;
3 import·com.google.zxing.oned.OneDReader;4 import·com.google.zxing.oned.OneDReader;
  
4 public·abstract·class·AbstractRSSReader·extends·OneDReader5 public·abstract·class·AbstractRSSReader·extends·OneDReader
5 {6 {
6 ····private·static·final·float·MAX_AVG_VARIANCE·=·0.2f;7 ····private·static·final·float·MAX_AVG_VARIANCE·=·0.2f;
7 ····private·static·final·float·MAX_FINDER_PATTERN_RATIO·=·0.89285713f;8 ····private·static·final·float·MAX_FINDER_PATTERN_RATIO·=·0.89285713f;
8 ····private·static·final·float·MAX_INDIVIDUAL_VARIANCE·=·0.45f;9 ····private·static·final·float·MAX_INDIVIDUAL_VARIANCE·=·0.45f;
Offset 24, 19 lines modifiedOffset 25, 15 lines modified
24 ········this.oddRoundingErrors·=·new·float[n];25 ········this.oddRoundingErrors·=·new·float[n];
25 ········this.evenRoundingErrors·=·new·float[n];26 ········this.evenRoundingErrors·=·new·float[n];
26 ········this.oddCounts·=·new·int[this.dataCharacterCounters.length·/·2];27 ········this.oddCounts·=·new·int[this.dataCharacterCounters.length·/·2];
27 ········this.evenCounts·=·new·int[this.dataCharacterCounters.length·/·2];28 ········this.evenCounts·=·new·int[this.dataCharacterCounters.length·/·2];
28 ····}29 ····}
29 ····30 ····
30 ····protected·static·int·count(final·int[]·array)·{31 ····protected·static·int·count(final·int[]·array)·{
 32 ········return·MathUtils.sum(array);
31 ········int·n·=·0; 
32 ········for·(int·length·=·array.length,·i·=·0;·i·<·length;·++i)·{ 
33 ············n·+=·array[i]; 
34 ········} 
35 ········return·n; 
36 ····}33 ····}
37 ····34 ····
38 ····protected·static·void·decrement(final·int[]·array,·final·float[]·array2)·{35 ····protected·static·void·decrement(final·int[]·array,·final·float[]·array2)·{
39 ········int·n·=·0;36 ········int·n·=·0;
40 ········float·n2·=·array2[0];37 ········float·n2·=·array2[0];
41 ········for·(int·i·=·1;·i·<·array.length;·++i)·{38 ········for·(int·i·=·1;·i·<·array.length;·++i)·{
42 ············if·(array2[i]·<·n2)·{39 ············if·(array2[i]·<·n2)·{
949 B
com/google/zxing/oned/rss/expanded/decoders/AI01weightDecoder.class
815 B
procyon -ec {}
    
Offset 9, 15 lines modifiedOffset 9, 15 lines modified
9 ········super(bitArray);9 ········super(bitArray);
10 ····}10 ····}
11 ····11 ····
12 ····protected·abstract·void·addWeightCode(final·StringBuilder·p0,·final·int·p1);12 ····protected·abstract·void·addWeightCode(final·StringBuilder·p0,·final·int·p1);
13 ····13 ····
14 ····protected·abstract·int·checkWeight(final·int·p0);14 ····protected·abstract·int·checkWeight(final·int·p0);
15 ····15 ····
16 ····protected·final·void·encodeCompressedWeight(final·StringBuilder·sb,·final·int·n,·final·int·n2)·{16 ····final·void·encodeCompressedWeight(final·StringBuilder·sb,·final·int·n,·final·int·n2)·{
17 ········final·int·numericValueFromBitArray·=·this.getGeneralDecoder().extractNumericValueFromBitArray(n,·n2);17 ········final·int·numericValueFromBitArray·=·this.getGeneralDecoder().extractNumericValueFromBitArray(n,·n2);
18 ········this.addWeightCode(sb,·numericValueFromBitArray);18 ········this.addWeightCode(sb,·numericValueFromBitArray);
19 ········final·int·checkWeight·=·this.checkWeight(numericValueFromBitArray);19 ········final·int·checkWeight·=·this.checkWeight(numericValueFromBitArray);
20 ········int·n3·=·100000;20 ········int·n3·=·100000;
21 ········for·(int·i·=·0;·i·<·5;·++i)·{21 ········for·(int·i·=·0;·i·<·5;·++i)·{
22 ············if·(checkWeight·/·n3·==·0)·{22 ············if·(checkWeight·/·n3·==·0)·{
23 ················sb.append('0');23 ················sb.append('0');
2.43 KB
com/google/zxing/oned/EAN13Reader.class
2.35 KB
procyon -ec {}
    
Offset 37, 38 lines modifiedOffset 37, 40 lines modified
37 ················return;37 ················return;
38 ············}38 ············}
39 ········}39 ········}
40 ········throw·NotFoundException.getNotFoundInstance();40 ········throw·NotFoundException.getNotFoundInstance();
41 ····}41 ····}
42 ····42 ····
43 ····protected·int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{43 ····protected·int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{
 44 ········final·int·n·=·6;
 45 ········final·int·n2·=·1;
44 ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters;46 ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters;
45 ········decodeMiddleCounters[1]·=·(decodeMiddleCounters[0]·=·0);47 ········decodeMiddleCounters[n2]·=·(decodeMiddleCounters[0]·=·0);
46 ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[2]·=·0);48 ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[2]·=·0);
47 ········final·int·size·=·bitArray.getSize();49 ········final·int·size·=·bitArray.getSize();
48 ········int·n·=·array[1];50 ········int·n3·=·array[n2];
49 ········int·n2·=·0;51 ········int·n4·=·0;
50 ········for·(int·n3·=·0;·n3·<·6·&&·n·<·size;·++n3)·{52 ········for·(int·n5·=·0;·n5·<·n·&&·n3·<·size;·++n5)·{
51 ············final·int·decodeDigit·=·decodeDigit(bitArray,·decodeMiddleCounters,·n,·EAN13Reader.L_AND_G_PATTERNS);53 ············final·int·decodeDigit·=·decodeDigit(bitArray,·decodeMiddleCounters,·n3,·EAN13Reader.L_AND_G_PATTERNS);
52 ············sb.append((char)(decodeDigit·%·10·+·48));54 ············sb.append((char)(decodeDigit·%·10·+·48));
53 ············for·(int·length·=·decodeMiddleCounters.length,·i·=·0;·i·<·length;·++i)·{55 ············for·(int·length·=·decodeMiddleCounters.length,·i·=·0;·i·<·length;·++i)·{
54 ················n·+=·decodeMiddleCounters[i];56 ················n3·+=·decodeMiddleCounters[i];
55 ············}57 ············}
56 ············if·(decodeDigit·>=·10)·{58 ············if·(decodeDigit·>=·10)·{
57 ················n2·|=·1·<<·5·-·n3;59 ················n4·|=·n2·<<·5·-·n5;
58 ············}60 ············}
59 ········}61 ········}
60 ········determineFirstDigit(sb,·n2);62 ········determineFirstDigit(sb,·n4);
61 ········int·n4·=·findGuardPattern(bitArray,·n,·true,·EAN13Reader.MIDDLE_PATTERN)[1];63 ········int·n6·=·findGuardPattern(bitArray,·n3,·(boolean)(n2·!=·0),·EAN13Reader.MIDDLE_PATTERN)[n2];
62 ········for·(int·n5·=·0;·n5·<·6·&&·n4·<·size;·++n5)·{64 ········for·(int·n7·=·0;·n7·<·n·&&·n6·<·size;·++n7)·{
63 ············sb.append((char)(decodeDigit(bitArray,·decodeMiddleCounters,·n4,·EAN13Reader.L_PATTERNS)·+·48));65 ············sb.append((char)(decodeDigit(bitArray,·decodeMiddleCounters,·n6,·EAN13Reader.L_PATTERNS)·+·48));
64 ············for·(int·length2·=·decodeMiddleCounters.length,·j·=·0;·j·<·length2;·++j)·{66 ············for·(int·length2·=·decodeMiddleCounters.length,·j·=·0;·j·<·length2;·++j)·{
65 ················n4·+=·decodeMiddleCounters[j];67 ················n6·+=·decodeMiddleCounters[j];
66 ············}68 ············}
67 ········}69 ········}
68 ········return·n4;70 ········return·n6;
69 ····}71 ····}
70 ····72 ····
71 ····BarcodeFormat·getBarcodeFormat()·{73 ····BarcodeFormat·getBarcodeFormat()·{
72 ········return·BarcodeFormat.EAN_13;74 ········return·BarcodeFormat.EAN_13;
73 ····}75 ····}
74 }76 }
932 B
com/google/zxing/oned/EAN13Writer.class
854 B
procyon -ec {}
    
Offset 28, 15 lines modifiedOffset 28, 15 lines modified
28 ············}28 ············}
29 ········}29 ········}
30 ········catch·(FormatException·ex)·{30 ········catch·(FormatException·ex)·{
31 ············throw·new·IllegalArgumentException("Illegal·contents");31 ············throw·new·IllegalArgumentException("Illegal·contents");
32 ········}32 ········}
33 ········final·int·n·=·EAN13Reader.FIRST_DIGIT_ENCODINGS[Integer.parseInt(s.substring(0,·endIndex))];33 ········final·int·n·=·EAN13Reader.FIRST_DIGIT_ENCODINGS[Integer.parseInt(s.substring(0,·endIndex))];
34 ········final·boolean[]·array·=·new·boolean[95];34 ········final·boolean[]·array·=·new·boolean[95];
35 ········int·n2·=·0·+·appendPattern(array,·0,·UPCEANReader.START_END_PATTERN,·(boolean)(endIndex·!=·0));35 ········int·n2·=·appendPattern(array,·0,·UPCEANReader.START_END_PATTERN,·(boolean)(endIndex·!=·0))·+·0;
36 ········for·(int·i·=·1;·i·<=·6;·++i)·{36 ········for·(int·i·=·1;·i·<=·6;·++i)·{
37 ············int·int1·=·Integer.parseInt(s.substring(i,·i·+·1));37 ············int·int1·=·Integer.parseInt(s.substring(i,·i·+·1));
38 ············if·((n·>>·6·-·i·&·0x1)·==·endIndex)·{38 ············if·((n·>>·6·-·i·&·0x1)·==·endIndex)·{
39 ················int1·+=·10;39 ················int1·+=·10;
40 ············}40 ············}
41 ············n2·+=·appendPattern(array,·n2,·UPCEANReader.L_AND_G_PATTERNS[int1],·false);41 ············n2·+=·appendPattern(array,·n2,·UPCEANReader.L_AND_G_PATTERNS[int1],·false);
42 ········}42 ········}
1.45 KB
com/google/zxing/oned/EAN8Reader.class
1.38 KB
javap -verbose -constants -s -l -private {}
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ········10:·putfield······#13·················//·Field·decodeMiddleCounters:[I80 ········10:·putfield······#13·················//·Field·decodeMiddleCounters:[I
81 ········13:·return81 ········13:·return
  
82 ··protected·int·decodeMiddle(com.google.zxing.common.BitArray,·int[],·java.lang.StringBuilder);82 ··protected·int·decodeMiddle(com.google.zxing.common.BitArray,·int[],·java.lang.StringBuilder);
83 ····descriptor:·(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I83 ····descriptor:·(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I
84 ····flags:·(0x0004)·ACC_PROTECTED84 ····flags:·(0x0004)·ACC_PROTECTED
85 ····Code:85 ····Code:
86 ······stack=300,·locals=16,·args_size=486 ······stack=300,·locals=15,·args_size=4
87 ·········0:·iconst_487 ·········0:·iconst_4
88 ·········1:·istore········488 ·········1:·istore········4
89 ·········3:·iconst_189 ·········3:·iconst_1
90 ·········4:·istore········590 ·········4:·istore········5
91 ·········6:·aload_091 ·········6:·aload_0
92 ·········7:·getfield······#13·················//·Field·decodeMiddleCounters:[I92 ·········7:·getfield······#13·················//·Field·decodeMiddleCounters:[I
93 ········10:·astore········693 ········10:·astore········6
Offset 173, 16 lines modifiedOffset 173, 16 lines modified
173 ·······148:·getstatic·····#39·················//·Field·MIDDLE_PATTERN:[I173 ·······148:·getstatic·····#39·················//·Field·MIDDLE_PATTERN:[I
174 ·······151:·astore········11174 ·······151:·astore········11
175 ·······153:·aload_1175 ·······153:·aload_1
176 ·······154:·iload·········9176 ·······154:·iload·········9
177 ·······156:·iload·········5177 ·······156:·iload·········5
178 ·······158:·aload·········11178 ·······158:·aload·········11
179 ·······160:·invokestatic··#43·················//·Method·findGuardPattern:(Lcom/google/zxing/common/BitArray;IZ[I)[I179 ·······160:·invokestatic··#43·················//·Method·findGuardPattern:(Lcom/google/zxing/common/BitArray;IZ[I)[I
180 ·······163:·astore········15180 ·······163:·astore········11
181 ·······165:·aload·········15181 ·······165:·aload·········11
182 ·······167:·iload·········5182 ·······167:·iload·········5
183 ·······169:·iaload183 ·······169:·iaload
184 ·······170:·istore········9184 ·······170:·istore········9
185 ·······172:·iconst_0185 ·······172:·iconst_0
186 ·······173:·istore········10186 ·······173:·istore········10
187 ·······175:·iload·········10187 ·······175:·iload·········10
188 ·······177:·iload·········4188 ·······177:·iload·········4
998 B
com/google/zxing/oned/EAN8Writer.class
922 B
procyon -ec {}
    
Offset 18, 15 lines modifiedOffset 18, 15 lines modified
18 ····18 ····
19 ····public·boolean[]·encode(final·String·s)·{19 ····public·boolean[]·encode(final·String·s)·{
20 ········final·boolean·b·=·true;20 ········final·boolean·b·=·true;
21 ········if·(s.length()·!=·8)·{21 ········if·(s.length()·!=·8)·{
22 ············throw·new·IllegalArgumentException("Requested·contents·should·be·8·digits·long,·but·got·"·+·s.length());22 ············throw·new·IllegalArgumentException("Requested·contents·should·be·8·digits·long,·but·got·"·+·s.length());
23 ········}23 ········}
24 ········final·boolean[]·array·=·new·boolean[67];24 ········final·boolean[]·array·=·new·boolean[67];
25 ········int·n·=·0·+·appendPattern(array,·0,·UPCEANReader.START_END_PATTERN,·b);25 ········int·n·=·appendPattern(array,·0,·UPCEANReader.START_END_PATTERN,·b)·+·0;
26 ········for·(int·i·=·0;·i·<=·3;·++i)·{26 ········for·(int·i·=·0;·i·<=·3;·++i)·{
27 ············n·+=·appendPattern(array,·n,·UPCEANReader.L_PATTERNS[Integer.parseInt(s.substring(i,·i·+·1))],·false);27 ············n·+=·appendPattern(array,·n,·UPCEANReader.L_PATTERNS[Integer.parseInt(s.substring(i,·i·+·1))],·false);
28 ········}28 ········}
29 ········int·n2·=·n·+·appendPattern(array,·n,·UPCEANReader.MIDDLE_PATTERN,·false);29 ········int·n2·=·n·+·appendPattern(array,·n,·UPCEANReader.MIDDLE_PATTERN,·false);
30 ········for·(int·j·=·4;·j·<=·7;·++j)·{30 ········for·(int·j·=·4;·j·<=·7;·++j)·{
31 ············n2·+=·appendPattern(array,·n2,·UPCEANReader.L_PATTERNS[Integer.parseInt(s.substring(j,·j·+·1))],·b);31 ············n2·+=·appendPattern(array,·n2,·UPCEANReader.L_PATTERNS[Integer.parseInt(s.substring(j,·j·+·1))],·b);
32 ········}32 ········}
3.09 KB
com/google/zxing/oned/UPCEReader.class
3.01 KB
procyon -ec {}
    
Offset 3, 53 lines modifiedOffset 3, 67 lines modified
  
3 import·com.google.zxing.BarcodeFormat;3 import·com.google.zxing.BarcodeFormat;
4 import·com.google.zxing.common.BitArray;4 import·com.google.zxing.common.BitArray;
5 import·com.google.zxing.NotFoundException;5 import·com.google.zxing.NotFoundException;
  
6 public·final·class·UPCEReader·extends·UPCEANReader6 public·final·class·UPCEReader·extends·UPCEANReader
7 {7 {
 8 ····static·final·int[]·CHECK_DIGIT_ENCODINGS;
8 ····private·static·final·int[]·MIDDLE_END_PATTERN;9 ····private·static·final·int[]·MIDDLE_END_PATTERN;
9 ····private·static·final·int[][]·NUMSYS_AND_CHECK_DIGIT_PATTERNS;10 ····private·static·final·int[][]·NUMSYS_AND_CHECK_DIGIT_PATTERNS;
10 ····private·final·int[]·decodeMiddleCounters;11 ····private·final·int[]·decodeMiddleCounters;
11 ····12 ····
12 ····static·{13 ····static·{
13 ········final·int·n·=·10;14 ········final·int·n·=·10;
14 ········final·int[]·array;15 ········final·int[]·array;
 16 ········final·int[]·check_DIGIT_ENCODINGS·=·array·=·new·int[n];
 17 ········array[0]·=·56;
 18 ········array[1]·=·52;
 19 ········array[2]·=·50;
 20 ········array[3]·=·49;
 21 ········array[4]·=·44;
 22 ········array[5]·=·38;
 23 ········array[6]·=·35;
 24 ········array[7]·=·42;
 25 ········array[8]·=·41;
 26 ········array[9]·=·37;
 27 ········CHECK_DIGIT_ENCODINGS·=·check_DIGIT_ENCODINGS;
 28 ········final·int[]·array2;
15 ········final·int[]·middle_END_PATTERN·=·array·=·new·int[6];29 ········final·int[]·middle_END_PATTERN·=·array2·=·new·int[6];
16 ········array[array[0]·=·1]·=·1;30 ········array2[array2[0]·=·1]·=·1;
17 ········array[3]·=·(array[2]·=·1);31 ········array2[3]·=·(array2[2]·=·1);
18 ········array[5]·=·(array[4]·=·1);32 ········array2[5]·=·(array2[4]·=·1);
19 ········MIDDLE_END_PATTERN·=·middle_END_PATTERN;33 ········MIDDLE_END_PATTERN·=·middle_END_PATTERN;
20 ········final·int[][]·numsys_AND_CHECK_DIGIT_PATTERNS·=·new·int[2][];34 ········final·int[][]·numsys_AND_CHECK_DIGIT_PATTERNS·=·new·int[2][];
21 ········final·int[]·array3;35 ········final·int[]·array4;
22 ········final·int[]·array2·=·array3·=·new·int[n];36 ········final·int[]·array3·=·array4·=·new·int[n];
23 ········array3[0]·=·56;37 ········array4[0]·=·56;
24 ········array3[1]·=·52;38 ········array4[1]·=·52;
25 ········array3[2]·=·50;39 ········array4[2]·=·50;
26 ········array3[3]·=·49;40 ········array4[3]·=·49;
27 ········array3[4]·=·44;41 ········array4[4]·=·44;
28 ········array3[5]·=·38;42 ········array4[5]·=·38;
29 ········array3[6]·=·35;43 ········array4[6]·=·35;
30 ········array3[7]·=·42;44 ········array4[7]·=·42;
31 ········array3[8]·=·41;45 ········array4[8]·=·41;
32 ········array3[9]·=·37;46 ········array4[9]·=·37;
33 ········numsys_AND_CHECK_DIGIT_PATTERNS[0]·=·array2;47 ········numsys_AND_CHECK_DIGIT_PATTERNS[0]·=·array3;
34 ········final·int[]·array5;48 ········final·int[]·array6;
35 ········final·int[]·array4·=·array5·=·new·int[n];49 ········final·int[]·array5·=·array6·=·new·int[n];
36 ········array5[0]·=·7;50 ········array6[0]·=·7;
37 ········array5[1]·=·11;51 ········array6[1]·=·11;
38 ········array5[2]·=·13;52 ········array6[2]·=·13;
39 ········array5[3]·=·14;53 ········array6[3]·=·14;
40 ········array5[4]·=·19;54 ········array6[4]·=·19;
41 ········array5[5]·=·25;55 ········array6[5]·=·25;
42 ········array5[6]·=·28;56 ········array6[6]·=·28;
43 ········array5[7]·=·21;57 ········array6[7]·=·21;
44 ········array5[8]·=·22;58 ········array6[8]·=·22;
45 ········array5[9]·=·26;59 ········array6[9]·=·26;
46 ········numsys_AND_CHECK_DIGIT_PATTERNS[1]·=·array4;60 ········numsys_AND_CHECK_DIGIT_PATTERNS[1]·=·array5;
47 ········NUMSYS_AND_CHECK_DIGIT_PATTERNS·=·numsys_AND_CHECK_DIGIT_PATTERNS;61 ········NUMSYS_AND_CHECK_DIGIT_PATTERNS·=·numsys_AND_CHECK_DIGIT_PATTERNS;
48 ····}62 ····}
49 ····63 ····
50 ····public·UPCEReader()·{64 ····public·UPCEReader()·{
51 ········this.decodeMiddleCounters·=·new·int[4];65 ········this.decodeMiddleCounters·=·new·int[4];
52 ····}66 ····}
53 ····67 ····
10.3 KB
com/google/zxing/oned/rss/RSS14Reader.class
10.3 KB
procyon -ec {}
    
Offset 5, 14 lines modifiedOffset 5, 15 lines modified
5 import·com.google.zxing.DecodeHintType;5 import·com.google.zxing.DecodeHintType;
6 import·java.util.Map;6 import·java.util.Map;
7 import·com.google.zxing.common.BitArray;7 import·com.google.zxing.common.BitArray;
8 import·com.google.zxing.BarcodeFormat;8 import·com.google.zxing.BarcodeFormat;
9 import·com.google.zxing.ResultPoint;9 import·com.google.zxing.ResultPoint;
10 import·com.google.zxing.Result;10 import·com.google.zxing.Result;
11 import·com.google.zxing.NotFoundException;11 import·com.google.zxing.NotFoundException;
 12 import·com.google.zxing.common.detector.MathUtils;
12 import·java.util.Iterator;13 import·java.util.Iterator;
13 import·java.util.Collection;14 import·java.util.Collection;
14 import·java.util.ArrayList;15 import·java.util.ArrayList;
15 import·java.util.List;16 import·java.util.List;
  
16 public·final·class·RSS14Reader·extends·AbstractRSSReader17 public·final·class·RSS14Reader·extends·AbstractRSSReader
17 {18 {
Offset 153, 136 lines modifiedOffset 154, 136 lines modified
153 ············if·(!b)·{154 ············if·(!b)·{
154 ················collection.add(pair);155 ················collection.add(pair);
155 ············}156 ············}
156 ········}157 ········}
157 ····}158 ····}
158 ····159 ····
159 ····private·void·adjustOddEvenCounts(final·boolean·b,·final·int·n)·{160 ····private·void·adjustOddEvenCounts(final·boolean·b,·final·int·n)·{
 161 ········final·int·n2·=·12;
160 ········final·int·count·=·count(this.getOddCounts()); 
161 ········final·int·count2·=·count(this.getEvenCounts()); 
162 ········final·int·n2·=·count·+·count2·-·n; 
163 ········final·int·n3·=·count·&·0x1;162 ········final·int·n3·=·4;
164 ········int·n4; 
165 ········if·(b)·{ 
166 ············n4·=·1; 
167 ········} 
168 ········else·{ 
169 ············n4·=·0; 
170 ········} 
171 ········boolean·b2; 
172 ········if·(n3·==·n4)·{ 
173 ············b2·=·true; 
174 ········} 
175 ········else·{ 
176 ············b2·=·false; 
177 ········} 
178 ········boolean·b3; 
179 ········if·((count2·&·0x1)·==·0x1)·{ 
180 ············b3·=·true; 
181 ········} 
182 ········else·{ 
183 ············b3·=·false; 
184 ········} 
185 ········int·n5·=·0;163 ········int·n4·=·0;
 164 ········final·int·n5·=·1;
 165 ········final·int·sum·=·MathUtils.sum(this.getOddCounts());
 166 ········final·int·sum2·=·MathUtils.sum(this.getEvenCounts());
 167 ········int·n6·=·0;
 168 ········boolean·b2·=·false;
 169 ········boolean·b3·=·false;
186 ········boolean·b4·=·false;170 ········boolean·b4·=·false;
187 ········boolean·b5·=·false; 
188 ········boolean·b6·=·false; 
189 ········if·(b)·{171 ········if·(b)·{
190 ············if·(count·>·12)·{172 ············if·(sum·>·n2)·{
191 ················b4·=·true;173 ················b2·=·true;
192 ············}174 ············}
193 ············else·if·(count·<·4)·{175 ············else·if·(sum·<·n3)·{
194 ················n5·=·1;176 ················n6·=·1;
195 ············}177 ············}
196 ············if·(count2·>·12)·{178 ············if·(sum2·>·n2)·{
197 ················b6·=·true;179 ················b4·=·true;
198 ············}180 ············}
199 ············else·if·(count2·<·4)·{181 ············else·if·(sum2·<·n3)·{
200 ················b5·=·true;182 ················b3·=·true;
201 ············}183 ············}
202 ········}184 ········}
203 ········else·{185 ········else·{
204 ············if·(count·>·11)·{186 ············if·(sum·>·11)·{
205 ················b4·=·true;187 ················b2·=·true;
206 ············}188 ············}
207 ············else·if·(count·<·5)·{189 ············else·if·(sum·<·5)·{
208 ················n5·=·1;190 ················n6·=·1;
209 ············}191 ············}
210 ············if·(count2·>·10)·{192 ············if·(sum2·>·10)·{
211 ················b6·=·true;193 ················b4·=·true;
212 ············}194 ············}
213 ············else·if·(count2·<·4)·{195 ············else·if·(sum2·<·n3)·{
214 ················b5·=·true;196 ················b3·=·true;
215 ············}197 ············}
216 ········}198 ········}
 199 ········final·int·n7·=·sum·+·sum2·-·n;
 200 ········final·int·n8·=·sum·&·0x1;
 201 ········int·n9;
 202 ········if·(b)·{
 203 ············n9·=·n5;
 204 ········}
 205 ········else·{
 206 ············n9·=·0;
 207 ········}
 208 ········int·n10;
217 ········if·(n2·==·1)·{209 ········if·(n8·==·n9)·{
 210 ············n10·=·n5;
 211 ········}
 212 ········else·{
 213 ············n10·=·0;
 214 ········}
 215 ········if·((sum2·&·0x1)·==·n5)·{
 216 ············n4·=·n5;
 217 ········}
 218 ········if·(n7·==·n5)·{
218 ············if·(b2)·{219 ············if·(n10·!=·0)·{
219 ················if·(b3)·{220 ················if·(n4·!=·0)·{
220 ····················throw·NotFoundException.getNotFoundInstance();221 ····················throw·NotFoundException.getNotFoundInstance();
221 ················}222 ················}
222 ················b4·=·true;223 ················b2·=·true;
223 ············}224 ············}
224 ············else·{225 ············else·{
225 ················if·(!b3)·{226 ················if·(n4·==·0)·{
226 ····················throw·NotFoundException.getNotFoundInstance();227 ····················throw·NotFoundException.getNotFoundInstance();
227 ················}228 ················}
228 ················b6·=·true;229 ················b4·=·true;
229 ············}230 ············}
230 ········}231 ········}
231 ········else·if·(n2·==·-1)·{232 ········else·if·(n7·==·-1)·{
232 ············if·(b2)·{233 ············if·(n10·!=·0)·{
233 ················if·(b3)·{234 ················if·(n4·!=·0)·{
234 ····················throw·NotFoundException.getNotFoundInstance();235 ····················throw·NotFoundException.getNotFoundInstance();
235 ················}236 ················}
236 ················n5·=·1;237 ················n6·=·1;
237 ············}238 ············}
Max diff block lines reached; 6338/10469 bytes (60.54%) of diff not shown.
13.6 KB
com/google/zxing/oned/rss/expanded/RSSExpandedReader.class
13.5 KB
procyon -ec {}
Max HTML report size reached
1.24 KB
com/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder.class
1.11 KB
procyon -ec {}
    
Offset 24, 16 lines modifiedOffset 24, 16 lines modified
24 ········if·(numericValueFromBitArray·!=·38400)·{24 ········if·(numericValueFromBitArray·!=·38400)·{
25 ············sb.append('(');25 ············sb.append('(');
26 ············sb.append(this.dateCode);26 ············sb.append(this.dateCode);
27 ············sb.append(')');27 ············sb.append(')');
28 ············final·int·i·=·numericValueFromBitArray·%·32;28 ············final·int·i·=·numericValueFromBitArray·%·32;
29 ············final·int·n2·=·numericValueFromBitArray·/·32;29 ············final·int·n2·=·numericValueFromBitArray·/·32;
30 ············final·int·j·=·n2·%·12·+·1;30 ············final·int·j·=·n2·%·12·+·1;
31 ············final·int·k;31 ············final·int·k·=·n2·/·12;
32 ············if·((k·=·n2·/·12)·/·10·==·0)·{32 ············if·(k·/·10·==·0)·{
33 ················sb.append(c);33 ················sb.append(c);
34 ············}34 ············}
35 ············sb.append(k);35 ············sb.append(k);
36 ············if·(j·/·10·==·0)·{36 ············if·(j·/·10·==·0)·{
37 ················sb.append(c);37 ················sb.append(c);
38 ············}38 ············}
39 ············sb.append(j);39 ············sb.append(j);
Offset 41, 18 lines modifiedOffset 41, 17 lines modified
41 ················sb.append(c);41 ················sb.append(c);
42 ············}42 ············}
43 ············sb.append(i);43 ············sb.append(i);
44 ········}44 ········}
45 ····}45 ····}
46 ····46 ····
47 ····protected·void·addWeightCode(final·StringBuilder·sb,·final·int·n)·{47 ····protected·void·addWeightCode(final·StringBuilder·sb,·final·int·n)·{
48 ········final·int·i·=·n·/·100000; 
49 ········sb.append('(');48 ········sb.append('(');
50 ········sb.append(this.firstAIdigits);49 ········sb.append(this.firstAIdigits);
51 ········sb.append(i);50 ········sb.append(n·/·100000);
52 ········sb.append(')');51 ········sb.append(')');
53 ····}52 ····}
54 ····53 ····
55 ····protected·int·checkWeight(final·int·n)·{54 ····protected·int·checkWeight(final·int·n)·{
56 ········return·n·%·100000;55 ········return·n·%·100000;
57 ····}56 ····}
58 ····57 ····
11.4 KB
smali/com/google/zxing/RGBLuminanceSource.smali
    
Offset 13, 205 lines modifiedOffset 13, 164 lines modified
13 .field·private·final·luminances:[B13 .field·private·final·luminances:[B
  
14 .field·private·final·top:I14 .field·private·final·top:I
  
  
15 #·direct·methods15 #·direct·methods
16 .method·public·constructor·<init>(II[I)V16 .method·public·constructor·<init>(II[I)V
17 ····.locals·1017 ····.locals·8
18 ····.param·p1,·"width"····#·I18 ····.param·p1,·"width"····#·I
19 ····.param·p2,·"height"····#·I19 ····.param·p2,·"height"····#·I
20 ····.param·p3,·"pixels"····#·[I20 ····.param·p3,·"pixels"····#·[I
  
21 ····.prologue21 ····.prologue
22 ····const/4·v7,·0x022 ····const/4·v6,·0x0
  
23 ····.line·3523 ····.line·35
24 ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/LuminanceSource;-><init>(II)V24 ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/LuminanceSource;-><init>(II)V
  
25 ····.line·3725 ····.line·37
26 ····iput·p1,·p0,·Lcom/google/zxing/RGBLuminanceSource;->dataWidth:I26 ····iput·p1,·p0,·Lcom/google/zxing/RGBLuminanceSource;->dataWidth:I
  
27 ····.line·3827 ····.line·38
28 ····iput·p2,·p0,·Lcom/google/zxing/RGBLuminanceSource;->dataHeight:I28 ····iput·p2,·p0,·Lcom/google/zxing/RGBLuminanceSource;->dataHeight:I
  
29 ····.line·3929 ····.line·39
30 ····iput·v7,·p0,·Lcom/google/zxing/RGBLuminanceSource;->left:I30 ····iput·v6,·p0,·Lcom/google/zxing/RGBLuminanceSource;->left:I
  
31 ····.line·4031 ····.line·40
32 ····iput·v7,·p0,·Lcom/google/zxing/RGBLuminanceSource;->top:I32 ····iput·v6,·p0,·Lcom/google/zxing/RGBLuminanceSource;->top:I
  
33 ····.line·44 
34 ····mul-int·v7,·p1,·p2 
  
35 ····new-array·v7,·v7,·[B 
  
36 ····iput-object·v7,·p0,·Lcom/google/zxing/RGBLuminanceSource;->luminances:[B 
  
37 ····.line·45 
38 ····const/4·v6,·0x0 
  
39 ····.local·v6,·"y":I 
40 ····:goto_0 
41 ····if-ge·v6,·p2,·:cond_2 
  
42 ····.line·4633 ····.line·46
43 ····mul-int·v2,·v6,·p134 ····mul-int·v5,·p1,·p2
  
44 ····.line·4735 ····.line·47
45 ····.local·v2,·"offset":I36 ····.local·v5,·"size":I
46 ····const/4·v5,·0x037 ····new-array·v6,·v5,·[B
  
 38 ····iput-object·v6,·p0,·Lcom/google/zxing/RGBLuminanceSource;->luminances:[B
47 ····.local·v5,·"x":I 
48 ····:goto_1 
49 ····if-ge·v5,·p1,·:cond_1 
  
50 ····.line·4839 ····.line·48
51 ····add-int·v7,·v2,·v540 ····const/4·v2,·0x0
  
52 ····aget·v3,·p3,·v741 ····.local·v2,·"offset":I
 42 ····:goto_0
 43 ····if-ge·v2,·v5,·:cond_0
  
53 ····.line·4944 ····.line·49
 45 ····aget·v3,·p3,·v2
54 ····.local·v3,·"pixel":I 
55 ····shr-int/lit8·v7,·v3,·0x10 
  
56 ····and-int/lit16·v4,·v7,·0xff 
  
57 ····.line·5046 ····.line·50
58 ····.local·v4,·"r":I47 ····.local·v3,·"pixel":I
59 ····shr-int/lit8·v7,·v3,·0x848 ····shr-int/lit8·v6,·v3,·0x10
  
60 ····and-int/lit16·v1,·v7,·0xff49 ····and-int/lit16·v4,·v6,·0xff
  
61 ····.line·5150 ····.line·51
62 ····.local·v1,·"g":I51 ····.local·v4,·"r":I
63 ····and-int/lit16·v0,·v3,·0xff52 ····shr-int/lit8·v6,·v3,·0x7
  
 53 ····and-int/lit16·v1,·v6,·0x1fe
64 ····.line·52 
65 ····.local·v0,·"b":I 
66 ····if-ne·v4,·v1,·:cond_0 
  
67 ····if-ne·v1,·v0,·:cond_054 ····.line·52
 55 ····.local·v1,·"g2":I
 56 ····and-int/lit16·v0,·v3,·0xff
  
68 ····.line·5457 ····.line·54
 58 ····.local·v0,·"b":I
69 ····iget-object·v7,·p0,·Lcom/google/zxing/RGBLuminanceSource;->luminances:[B59 ····iget-object·v6,·p0,·Lcom/google/zxing/RGBLuminanceSource;->luminances:[B
  
70 ····add-int·v8,·v2,·v5 
  
71 ····int-to-byte·v9,·v4 
  
72 ····aput-byte·v9,·v7,·v8 
  
73 ····.line·47 
74 ····:goto_2 
75 ····add-int/lit8·v5,·v5,·0x1 
  
76 ····goto·:goto_1 
  
77 ····.line·57 
78 ····:cond_0 
79 ····iget-object·v7,·p0,·Lcom/google/zxing/RGBLuminanceSource;->luminances:[B 
  
80 ····add-int·v8,·v2,·v5 
  
81 ····mul-int/lit8·v9,·v1,·0x260 ····add-int·v7,·v4,·v1
  
82 ····add-int/2addr·v9,·v461 ····add-int/2addr·v7,·v0
  
83 ····add-int/2addr·v9,·v062 ····div-int/lit8·v7,·v7,·0x4
  
84 ····div-int/lit8·v9,·v9,·0x463 ····int-to-byte·v7,·v7
  
85 ····int-to-byte·v9,·v964 ····aput-byte·v7,·v6,·v2
  
86 ····aput-byte·v9,·v7,·v865 ····.line·48
 66 ····add-int/lit8·v2,·v2,·0x1
  
87 ····goto·:goto_267 ····goto·:goto_0
  
88 ····.line·4568 ····.line·56
Max diff block lines reached; 8400/11582 bytes (72.53%) of diff not shown.
488 B
smali/com/google/zxing/ReaderException.smali
    
Offset 66, 16 lines modifiedOffset 66, 20 lines modified
  
66 ····.line·3966 ····.line·39
67 ····return-void67 ····return-void
68 .end·method68 .end·method
  
  
69 #·virtual·methods69 #·virtual·methods
70 .method·public·final·fillInStackTrace()Ljava/lang/Throwable;70 .method·public·final·declared-synchronized·fillInStackTrace()Ljava/lang/Throwable;
71 ····.locals·171 ····.locals·1
  
72 ····.prologue72 ····.prologue
73 ····.line·4673 ····.line·44
 74 ····monitor-enter·p0
  
74 ····const/4·v0,·0x075 ····const/4·v0,·0x0
  
 76 ····monitor-exit·p0
  
75 ····return-object·v077 ····return-object·v0
76 .end·method78 .end·method
861 B
smali/com/google/zxing/ChecksumException.smali
    
Offset 13, 18 lines modifiedOffset 13, 16 lines modified
  
13 ····.prologue13 ····.prologue
14 ····.line·2714 ····.line·27
15 ····new-instance·v0,·Lcom/google/zxing/ChecksumException;15 ····new-instance·v0,·Lcom/google/zxing/ChecksumException;
  
16 ····invoke-direct·{v0},·Lcom/google/zxing/ChecksumException;-><init>()V16 ····invoke-direct·{v0},·Lcom/google/zxing/ChecksumException;-><init>()V
  
17 ····sput-object·v0,·Lcom/google/zxing/ChecksumException;->INSTANCE:Lcom/google/zxing/ChecksumException; 
  
18 ····.line·2917 ····.line·29
19 ····sget-object·v0,·Lcom/google/zxing/ChecksumException;->INSTANCE:Lcom/google/zxing/ChecksumException;18 ····sput-object·v0,·Lcom/google/zxing/ChecksumException;->INSTANCE:Lcom/google/zxing/ChecksumException;
  
20 ····sget-object·v1,·Lcom/google/zxing/ChecksumException;->NO_TRACE:[Ljava/lang/StackTraceElement;19 ····sget-object·v1,·Lcom/google/zxing/ChecksumException;->NO_TRACE:[Ljava/lang/StackTraceElement;
  
21 ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/ChecksumException;->setStackTrace([Ljava/lang/StackTraceElement;)V20 ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/ChecksumException;->setStackTrace([Ljava/lang/StackTraceElement;)V
  
22 ····.line·3021 ····.line·30
23 ····return-void22 ····return-void
9.44 KB
smali/com/google/zxing/Result.smali
    
Offset 2, 14 lines modifiedOffset 2, 16 lines modified
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Object;
3 .source·"Result.java"3 .source·"Result.java"
  
  
4 #·instance·fields4 #·instance·fields
5 .field·private·final·format:Lcom/google/zxing/BarcodeFormat;5 .field·private·final·format:Lcom/google/zxing/BarcodeFormat;
  
 6 .field·private·final·numBits:I
  
6 .field·private·final·rawBytes:[B7 .field·private·final·rawBytes:[B
  
7 .field·private·resultMetadata:Ljava/util/Map;8 .field·private·resultMetadata:Ljava/util/Map;
8 ····.annotation·system·Ldalvik/annotation/Signature;9 ····.annotation·system·Ldalvik/annotation/Signature;
9 ········value·=·{10 ········value·=·{
10 ············"Ljava/util/Map",11 ············"Ljava/util/Map",
11 ············"<",12 ············"<",
Offset 24, 23 lines modifiedOffset 26, 63 lines modified
  
24 .field·private·final·text:Ljava/lang/String;26 .field·private·final·text:Ljava/lang/String;
  
25 .field·private·final·timestamp:J27 .field·private·final·timestamp:J
  
  
26 #·direct·methods28 #·direct·methods
 29 .method·public·constructor·<init>(Ljava/lang/String;[BI[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;J)V
 30 ····.locals·2
 31 ····.param·p1,·"text"····#·Ljava/lang/String;
 32 ····.param·p2,·"rawBytes"····#·[B
 33 ····.param·p3,·"numBits"····#·I
 34 ····.param·p4,·"resultPoints"····#·[Lcom/google/zxing/ResultPoint;
 35 ····.param·p5,·"format"····#·Lcom/google/zxing/BarcodeFormat;
 36 ····.param·p6,·"timestamp"····#·J
  
 37 ····.prologue
 38 ····.line·58
 39 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
 40 ····.line·59
 41 ····iput-object·p1,·p0,·Lcom/google/zxing/Result;->text:Ljava/lang/String;
  
 42 ····.line·60
 43 ····iput-object·p2,·p0,·Lcom/google/zxing/Result;->rawBytes:[B
  
 44 ····.line·61
 45 ····iput·p3,·p0,·Lcom/google/zxing/Result;->numBits:I
  
 46 ····.line·62
 47 ····iput-object·p4,·p0,·Lcom/google/zxing/Result;->resultPoints:[Lcom/google/zxing/ResultPoint;
  
 48 ····.line·63
 49 ····iput-object·p5,·p0,·Lcom/google/zxing/Result;->format:Lcom/google/zxing/BarcodeFormat;
  
 50 ····.line·64
 51 ····const/4·v0,·0x0
  
 52 ····iput-object·v0,·p0,·Lcom/google/zxing/Result;->resultMetadata:Ljava/util/Map;
  
 53 ····.line·65
 54 ····iput-wide·p6,·p0,·Lcom/google/zxing/Result;->timestamp:J
  
 55 ····.line·66
 56 ····return-void
 57 .end·method
  
27 .method·public·constructor·<init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;)V58 .method·public·constructor·<init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;)V
28 ····.locals·859 ····.locals·8
29 ····.param·p1,·"text"····#·Ljava/lang/String;60 ····.param·p1,·"text"····#·Ljava/lang/String;
30 ····.param·p2,·"rawBytes"····#·[B61 ····.param·p2,·"rawBytes"····#·[B
31 ····.param·p3,·"resultPoints"····#·[Lcom/google/zxing/ResultPoint;62 ····.param·p3,·"resultPoints"····#·[Lcom/google/zxing/ResultPoint;
32 ····.param·p4,·"format"····#·Lcom/google/zxing/BarcodeFormat;63 ····.param·p4,·"format"····#·Lcom/google/zxing/BarcodeFormat;
  
33 ····.prologue64 ····.prologue
34 ····.line·4065 ····.line·41
35 ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J66 ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J
  
36 ····move-result-wide·v667 ····move-result-wide·v6
  
37 ····move-object·v1,·p068 ····move-object·v1,·p0
  
38 ····move-object·v2,·p169 ····move-object·v2,·p1
Offset 49, 129 lines modifiedOffset 91, 144 lines modified
  
49 ····move-object·v4,·p391 ····move-object·v4,·p3
  
50 ····move-object·v5,·p492 ····move-object·v5,·p4
  
51 ····invoke-direct/range·{v1·..·v7},·Lcom/google/zxing/Result;-><init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;J)V93 ····invoke-direct/range·{v1·..·v7},·Lcom/google/zxing/Result;-><init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;J)V
  
52 ····.line·4194 ····.line·42
53 ····return-void95 ····return-void
54 .end·method96 .end·method
  
55 .method·public·constructor·<init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;J)V97 .method·public·constructor·<init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;J)V
56 ····.locals·198 ····.locals·9
57 ····.param·p1,·"text"····#·Ljava/lang/String;99 ····.param·p1,·"text"····#·Ljava/lang/String;
58 ····.param·p2,·"rawBytes"····#·[B100 ····.param·p2,·"rawBytes"····#·[B
59 ····.param·p3,·"resultPoints"····#·[Lcom/google/zxing/ResultPoint;101 ····.param·p3,·"resultPoints"····#·[Lcom/google/zxing/ResultPoint;
60 ····.param·p4,·"format"····#·Lcom/google/zxing/BarcodeFormat;102 ····.param·p4,·"format"····#·Lcom/google/zxing/BarcodeFormat;
61 ····.param·p5,·"timestamp"····#·J103 ····.param·p5,·"timestamp"····#·J
  
62 ····.prologue104 ····.prologue
63 ····.line·47105 ····.line·49
64 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V106 ····if-nez·p2,·:cond_0
  
 107 ····const/4·v3,·0x0
65 ····.line·48 
66 ····iput-object·p1,·p0,·Lcom/google/zxing/Result;->text:Ljava/lang/String; 
  
67 ····.line·49 
68 ····iput-object·p2,·p0,·Lcom/google/zxing/Result;->rawBytes:[B108 ····:goto_0
 109 ····move-object·v0,·p0
  
 110 ····move-object·v1,·p1
69 ····.line·50 
70 ····iput-object·p3,·p0,·Lcom/google/zxing/Result;->resultPoints:[Lcom/google/zxing/ResultPoint; 
  
 111 ····move-object·v2,·p2
71 ····.line·51 
72 ····iput-object·p4,·p0,·Lcom/google/zxing/Result;->format:Lcom/google/zxing/BarcodeFormat; 
  
 112 ····move-object·v4,·p3
73 ····.line·52 
74 ····const/4·v0,·0x0 
  
75 ····iput-object·v0,·p0,·Lcom/google/zxing/Result;->resultMetadata:Ljava/util/Map;113 ····move-object·v5,·p4
  
 114 ····move-wide·v6,·p5
Max diff block lines reached; 5733/9598 bytes (59.73%) of diff not shown.
1.14 KB
smali/com/google/zxing/BinaryBitmap.smali
    
Offset 246, 36 lines modifiedOffset 246, 33 lines modified
  
246 ····invoke-direct·{v1,·v2},·Lcom/google/zxing/BinaryBitmap;-><init>(Lcom/google/zxing/Binarizer;)V246 ····invoke-direct·{v1,·v2},·Lcom/google/zxing/BinaryBitmap;-><init>(Lcom/google/zxing/Binarizer;)V
  
247 ····return-object·v1247 ····return-object·v1
248 .end·method248 .end·method
  
249 .method·public·toString()Ljava/lang/String;249 .method·public·toString()Ljava/lang/String;
250 ····.locals·2250 ····.locals·1
  
251 ····.prologue251 ····.prologue
252 ····.line·144252 ····.line·144
253 ····:try_start_0253 ····:try_start_0
254 ····invoke-virtual·{p0},·Lcom/google/zxing/BinaryBitmap;->getBlackMatrix()Lcom/google/zxing/common/BitMatrix;254 ····invoke-virtual·{p0},·Lcom/google/zxing/BinaryBitmap;->getBlackMatrix()Lcom/google/zxing/common/BitMatrix;
  
255 ····move-result-object·v1255 ····move-result-object·v0
  
256 ····invoke-virtual·{v1},·Lcom/google/zxing/common/BitMatrix;->toString()Ljava/lang/String;256 ····invoke-virtual·{v0},·Lcom/google/zxing/common/BitMatrix;->toString()Ljava/lang/String;
257 ····:try_end_0257 ····:try_end_0
258 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0258 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0
  
259 ····move-result-object·v1259 ····move-result-object·v0
  
260 ····.line·146260 ····.line·146
261 ····:goto_0261 ····:goto_0
262 ····return-object·v1262 ····return-object·v0
  
263 ····.line·145 
264 ····:catch_0263 ····:catch_0
265 ····move-exception·v0264 ····move-exception·v0
  
266 ····.line·146 
267 ····.local·v0,·"e":Lcom/google/zxing/NotFoundException; 
268 ····const-string·v1,·""265 ····const-string·v0,·""
  
269 ····goto·:goto_0266 ····goto·:goto_0
270 .end·method267 .end·method
861 B
smali/com/google/zxing/NotFoundException.smali
    
Offset 13, 18 lines modifiedOffset 13, 16 lines modified
  
13 ····.prologue13 ····.prologue
14 ····.line·2714 ····.line·27
15 ····new-instance·v0,·Lcom/google/zxing/NotFoundException;15 ····new-instance·v0,·Lcom/google/zxing/NotFoundException;
  
16 ····invoke-direct·{v0},·Lcom/google/zxing/NotFoundException;-><init>()V16 ····invoke-direct·{v0},·Lcom/google/zxing/NotFoundException;-><init>()V
  
17 ····sput-object·v0,·Lcom/google/zxing/NotFoundException;->INSTANCE:Lcom/google/zxing/NotFoundException; 
  
18 ····.line·2917 ····.line·29
19 ····sget-object·v0,·Lcom/google/zxing/NotFoundException;->INSTANCE:Lcom/google/zxing/NotFoundException;18 ····sput-object·v0,·Lcom/google/zxing/NotFoundException;->INSTANCE:Lcom/google/zxing/NotFoundException;
  
20 ····sget-object·v1,·Lcom/google/zxing/NotFoundException;->NO_TRACE:[Ljava/lang/StackTraceElement;19 ····sget-object·v1,·Lcom/google/zxing/NotFoundException;->NO_TRACE:[Ljava/lang/StackTraceElement;
  
21 ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/NotFoundException;->setStackTrace([Ljava/lang/StackTraceElement;)V20 ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/NotFoundException;->setStackTrace([Ljava/lang/StackTraceElement;)V
  
22 ····.line·3021 ····.line·30
23 ····return-void22 ····return-void
7.33 KB
smali/com/google/zxing/MultiFormatWriter.smali
    
Offset 7, 18 lines modifiedOffset 7, 17 lines modified
  
  
7 #·direct·methods7 #·direct·methods
8 .method·public·constructor·<init>()V8 .method·public·constructor·<init>()V
9 ····.locals·09 ····.locals·0
  
10 ····.prologue10 ····.prologue
11 ····.line·4011 ····.line·42
12 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V12 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
13 ····.line·92 
14 ····return-void13 ····return-void
15 .end·method14 .end·method
  
  
16 #·virtual·methods15 #·virtual·methods
17 .method·public·encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;II)Lcom/google/zxing/common/BitMatrix;16 .method·public·encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;II)Lcom/google/zxing/common/BitMatrix;
18 ····.locals·617 ····.locals·6
Offset 29, 15 lines modifiedOffset 28, 15 lines modified
29 ····.annotation·system·Ldalvik/annotation/Throws;28 ····.annotation·system·Ldalvik/annotation/Throws;
30 ········value·=·{29 ········value·=·{
31 ············Lcom/google/zxing/WriterException;30 ············Lcom/google/zxing/WriterException;
32 ········}31 ········}
33 ····.end·annotation32 ····.end·annotation
  
34 ····.prologue33 ····.prologue
35 ····.line·4734 ····.line·49
36 ····const/4·v5,·0x035 ····const/4·v5,·0x0
  
37 ····move-object·v0,·p036 ····move-object·v0,·p0
  
38 ····move-object·v1,·p137 ····move-object·v1,·p1
  
39 ····move-object·v2,·p238 ····move-object·v2,·p2
Offset 76, 52 lines modifiedOffset 75, 48 lines modified
76 ····.annotation·system·Ldalvik/annotation/Throws;75 ····.annotation·system·Ldalvik/annotation/Throws;
77 ········value·=·{76 ········value·=·{
78 ············Lcom/google/zxing/WriterException;77 ············Lcom/google/zxing/WriterException;
79 ········}78 ········}
80 ····.end·annotation79 ····.end·annotation
  
81 ····.prologue80 ····.prologue
82 ····.line·5781 ····.line·59
83 ····.local·p5,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/EncodeHintType;*>;"82 ····.local·p5,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/EncodeHintType;*>;"
84 ····sget-object·v1,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I83 ····sget-object·v1,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I
  
85 ····invoke-virtual·{p2},·Lcom/google/zxing/BarcodeFormat;->ordinal()I84 ····invoke-virtual·{p2},·Lcom/google/zxing/BarcodeFormat;->ordinal()I
  
86 ····move-result·v285 ····move-result·v2
  
87 ····aget·v1,·v1,·v286 ····aget·v1,·v1,·v2
  
88 ····packed-switch·v1,·:pswitch_data_087 ····packed-switch·v1,·:pswitch_data_0
  
89 ····.line·9288 ····.line·100
90 ····new-instance·v1,·Ljava/lang/IllegalArgumentException;89 ····new-instance·v1,·Ljava/lang/IllegalArgumentException;
  
91 ····new-instance·v2,·Ljava/lang/StringBuilder;90 ····new-instance·v2,·Ljava/lang/StringBuilder;
  
92 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V 
  
93 ····const-string·v3,·"No·encoder·available·for·format·"91 ····const-string·v3,·"No·encoder·available·for·format·"
  
94 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;92 ····invoke-direct·{v2,·v3},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
95 ····move-result-object·v2 
  
96 ····invoke-virtual·{v2,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;93 ····invoke-virtual·{v2,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
97 ····move-result-object·v294 ····move-result-object·v2
  
98 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;95 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
99 ····move-result-object·v296 ····move-result-object·v2
  
100 ····invoke-direct·{v1,·v2},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V97 ····invoke-direct·{v1,·v2},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
101 ····throw·v198 ····throw·v1
  
102 ····.line·5999 ····.line·61
103 ····:pswitch_0100 ····:pswitch_0
104 ····new-instance·v0,·Lcom/google/zxing/oned/EAN8Writer;101 ····new-instance·v0,·Lcom/google/zxing/oned/EAN8Writer;
  
105 ····invoke-direct·{v0},·Lcom/google/zxing/oned/EAN8Writer;-><init>()V102 ····invoke-direct·{v0},·Lcom/google/zxing/oned/EAN8Writer;-><init>()V
  
106 ····.local·v0,·"writer":Lcom/google/zxing/Writer;103 ····.local·v0,·"writer":Lcom/google/zxing/Writer;
107 ····:goto_0104 ····:goto_0
Offset 131, 132 lines modifiedOffset 126, 154 lines modified
  
131 ····move·v3,·p3126 ····move·v3,·p3
  
132 ····move·v4,·p4127 ····move·v4,·p4
  
133 ····move-object·v5,·p5128 ····move-object·v5,·p5
  
134 ····.line·94129 ····.line·102
135 ····invoke-interface/range·{v0·..·v5},·Lcom/google/zxing/Writer;->encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;IILjava/util/Map;)Lcom/google/zxing/common/BitMatrix;130 ····invoke-interface/range·{v0·..·v5},·Lcom/google/zxing/Writer;->encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;IILjava/util/Map;)Lcom/google/zxing/common/BitMatrix;
  
136 ····move-result-object·v1131 ····move-result-object·v1
  
137 ····return-object·v1132 ····return-object·v1
  
138 ····.line·62133 ····.line·64
139 ····.end·local·v0····#·"writer":Lcom/google/zxing/Writer;134 ····.end·local·v0····#·"writer":Lcom/google/zxing/Writer;
140 ····:pswitch_1135 ····:pswitch_1
 136 ····new-instance·v0,·Lcom/google/zxing/oned/UPCEWriter;
  
 137 ····invoke-direct·{v0},·Lcom/google/zxing/oned/UPCEWriter;-><init>()V
  
 138 ····.line·65
 139 ····.restart·local·v0····#·"writer":Lcom/google/zxing/Writer;
 140 ····goto·:goto_0
  
 141 ····.line·67
 142 ····.end·local·v0····#·"writer":Lcom/google/zxing/Writer;
 143 ····:pswitch_2
141 ····new-instance·v0,·Lcom/google/zxing/oned/EAN13Writer;144 ····new-instance·v0,·Lcom/google/zxing/oned/EAN13Writer;
  
142 ····invoke-direct·{v0},·Lcom/google/zxing/oned/EAN13Writer;-><init>()V145 ····invoke-direct·{v0},·Lcom/google/zxing/oned/EAN13Writer;-><init>()V
  
143 ····.line·63146 ····.line·68
144 ····.restart·local·v0····#·"writer":Lcom/google/zxing/Writer;147 ····.restart·local·v0····#·"writer":Lcom/google/zxing/Writer;
145 ····goto·:goto_0148 ····goto·:goto_0
  
146 ····.line·65149 ····.line·70
147 ····.end·local·v0····#·"writer":Lcom/google/zxing/Writer;150 ····.end·local·v0····#·"writer":Lcom/google/zxing/Writer;
148 ····:pswitch_2151 ····:pswitch_3
Max diff block lines reached; 3844/7411 bytes (51.87%) of diff not shown.
5.09 KB
smali/com/google/zxing/EncodeHintType.smali
    
Offset 39, 14 lines modifiedOffset 39, 16 lines modified
  
39 .field·public·static·final·enum·PDF417_COMPACT:Lcom/google/zxing/EncodeHintType;39 .field·public·static·final·enum·PDF417_COMPACT:Lcom/google/zxing/EncodeHintType;
  
40 .field·public·static·final·enum·PDF417_COMPACTION:Lcom/google/zxing/EncodeHintType;40 .field·public·static·final·enum·PDF417_COMPACTION:Lcom/google/zxing/EncodeHintType;
  
41 .field·public·static·final·enum·PDF417_DIMENSIONS:Lcom/google/zxing/EncodeHintType;41 .field·public·static·final·enum·PDF417_DIMENSIONS:Lcom/google/zxing/EncodeHintType;
  
 42 .field·public·static·final·enum·QR_VERSION:Lcom/google/zxing/EncodeHintType;
  
  
42 #·direct·methods43 #·direct·methods
43 .method·static·constructor·<clinit>()V44 .method·static·constructor·<clinit>()V
44 ····.locals·845 ····.locals·8
  
45 ····.prologue46 ····.prologue
46 ····const/4·v7,·0x447 ····const/4·v7,·0x4
Offset 55, 116 lines modifiedOffset 57, 127 lines modified
  
55 ····const/4·v5,·0x257 ····const/4·v5,·0x2
  
56 ····const/4·v4,·0x158 ····const/4·v4,·0x1
  
57 ····const/4·v3,·0x059 ····const/4·v3,·0x0
  
58 ····.line·3460 ····.line·35
59 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;61 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;
  
60 ····const-string·v1,·"ERROR_CORRECTION"62 ····const-string·v1,·"ERROR_CORRECTION"
  
61 ····invoke-direct·{v0,·v1,·v3},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V63 ····invoke-direct·{v0,·v1,·v3},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V
  
62 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->ERROR_CORRECTION:Lcom/google/zxing/EncodeHintType;64 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->ERROR_CORRECTION:Lcom/google/zxing/EncodeHintType;
  
63 ····.line·3965 ····.line·40
64 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;66 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;
  
65 ····const-string·v1,·"CHARACTER_SET"67 ····const-string·v1,·"CHARACTER_SET"
  
66 ····invoke-direct·{v0,·v1,·v4},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V68 ····invoke-direct·{v0,·v1,·v4},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V
  
67 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->CHARACTER_SET:Lcom/google/zxing/EncodeHintType;69 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->CHARACTER_SET:Lcom/google/zxing/EncodeHintType;
  
68 ····.line·4470 ····.line·45
69 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;71 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;
  
70 ····const-string·v1,·"DATA_MATRIX_SHAPE"72 ····const-string·v1,·"DATA_MATRIX_SHAPE"
  
71 ····invoke-direct·{v0,·v1,·v5},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V73 ····invoke-direct·{v0,·v1,·v5},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V
  
72 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->DATA_MATRIX_SHAPE:Lcom/google/zxing/EncodeHintType;74 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->DATA_MATRIX_SHAPE:Lcom/google/zxing/EncodeHintType;
  
73 ····.line·5275 ····.line·53
74 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;76 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;
  
75 ····const-string·v1,·"MIN_SIZE"77 ····const-string·v1,·"MIN_SIZE"
  
76 ····invoke-direct·{v0,·v1,·v6},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V78 ····invoke-direct·{v0,·v1,·v6},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V
  
77 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MIN_SIZE:Lcom/google/zxing/EncodeHintType;79 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MIN_SIZE:Lcom/google/zxing/EncodeHintType;
  
78 ····.line·6080 ····.line·61
79 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;81 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;
  
80 ····const-string·v1,·"MAX_SIZE"82 ····const-string·v1,·"MAX_SIZE"
  
81 ····invoke-direct·{v0,·v1,·v7},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V83 ····invoke-direct·{v0,·v1,·v7},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V
  
82 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MAX_SIZE:Lcom/google/zxing/EncodeHintType;84 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MAX_SIZE:Lcom/google/zxing/EncodeHintType;
  
83 ····.line·6885 ····.line·69
84 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;86 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;
  
85 ····const-string·v1,·"MARGIN"87 ····const-string·v1,·"MARGIN"
  
86 ····const/4·v2,·0x588 ····const/4·v2,·0x5
  
87 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V89 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V
  
88 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MARGIN:Lcom/google/zxing/EncodeHintType;90 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MARGIN:Lcom/google/zxing/EncodeHintType;
  
89 ····.line·7391 ····.line·75
90 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;92 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;
  
91 ····const-string·v1,·"PDF417_COMPACT"93 ····const-string·v1,·"PDF417_COMPACT"
  
92 ····const/4·v2,·0x694 ····const/4·v2,·0x6
  
93 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V95 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V
  
94 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_COMPACT:Lcom/google/zxing/EncodeHintType;96 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_COMPACT:Lcom/google/zxing/EncodeHintType;
  
95 ····.line·7997 ····.line·82
96 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;98 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;
  
97 ····const-string·v1,·"PDF417_COMPACTION"99 ····const-string·v1,·"PDF417_COMPACTION"
  
98 ····const/4·v2,·0x7100 ····const/4·v2,·0x7
  
99 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V101 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V
  
100 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_COMPACTION:Lcom/google/zxing/EncodeHintType;102 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_COMPACTION:Lcom/google/zxing/EncodeHintType;
  
101 ····.line·85103 ····.line·88
102 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;104 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;
  
103 ····const-string·v1,·"PDF417_DIMENSIONS"105 ····const-string·v1,·"PDF417_DIMENSIONS"
  
104 ····const/16·v2,·0x8106 ····const/16·v2,·0x8
  
105 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V107 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V
  
106 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_DIMENSIONS:Lcom/google/zxing/EncodeHintType;108 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_DIMENSIONS:Lcom/google/zxing/EncodeHintType;
  
107 ····.line·93109 ····.line·97
108 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;110 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;
  
109 ····const-string·v1,·"AZTEC_LAYERS"111 ····const-string·v1,·"AZTEC_LAYERS"
  
110 ····const/16·v2,·0x9112 ····const/16·v2,·0x9
  
111 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V113 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V
  
112 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->AZTEC_LAYERS:Lcom/google/zxing/EncodeHintType;114 ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->AZTEC_LAYERS:Lcom/google/zxing/EncodeHintType;
  
 115 ····.line·103
 116 ····new-instance·v0,·Lcom/google/zxing/EncodeHintType;
  
Max diff block lines reached; 791/5130 bytes (15.42%) of diff not shown.
837 B
smali/com/google/zxing/FormatException.smali
    
Offset 13, 18 lines modifiedOffset 13, 16 lines modified
  
13 ····.prologue13 ····.prologue
14 ····.line·2814 ····.line·28
15 ····new-instance·v0,·Lcom/google/zxing/FormatException;15 ····new-instance·v0,·Lcom/google/zxing/FormatException;
  
16 ····invoke-direct·{v0},·Lcom/google/zxing/FormatException;-><init>()V16 ····invoke-direct·{v0},·Lcom/google/zxing/FormatException;-><init>()V
  
17 ····sput-object·v0,·Lcom/google/zxing/FormatException;->INSTANCE:Lcom/google/zxing/FormatException; 
  
18 ····.line·3017 ····.line·30
19 ····sget-object·v0,·Lcom/google/zxing/FormatException;->INSTANCE:Lcom/google/zxing/FormatException;18 ····sput-object·v0,·Lcom/google/zxing/FormatException;->INSTANCE:Lcom/google/zxing/FormatException;
  
20 ····sget-object·v1,·Lcom/google/zxing/FormatException;->NO_TRACE:[Ljava/lang/StackTraceElement;19 ····sget-object·v1,·Lcom/google/zxing/FormatException;->NO_TRACE:[Ljava/lang/StackTraceElement;
  
21 ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/FormatException;->setStackTrace([Ljava/lang/StackTraceElement;)V20 ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/FormatException;->setStackTrace([Ljava/lang/StackTraceElement;)V
  
22 ····.line·3121 ····.line·31
23 ····return-void22 ····return-void
8.89 KB
smali/com/google/zxing/MultiFormatWriter$1.smali
    
Offset 19, 15 lines modifiedOffset 19, 15 lines modified
  
  
19 #·direct·methods19 #·direct·methods
20 .method·static·constructor·<clinit>()V20 .method·static·constructor·<clinit>()V
21 ····.locals·321 ····.locals·3
  
22 ····.prologue22 ····.prologue
23 ····.line·5723 ····.line·59
24 ····invoke-static·{},·Lcom/google/zxing/BarcodeFormat;->values()[Lcom/google/zxing/BarcodeFormat;24 ····invoke-static·{},·Lcom/google/zxing/BarcodeFormat;->values()[Lcom/google/zxing/BarcodeFormat;
  
25 ····move-result-object·v025 ····move-result-object·v0
  
26 ····array-length·v0,·v026 ····array-length·v0,·v0
  
27 ····new-array·v0,·v0,·[I27 ····new-array·v0,·v0,·[I
Offset 43, 227 lines modifiedOffset 43, 269 lines modified
  
43 ····move-result·v143 ····move-result·v1
  
44 ····const/4·v2,·0x144 ····const/4·v2,·0x1
  
45 ····aput·v2,·v0,·v145 ····aput·v2,·v0,·v1
46 ····:try_end_046 ····:try_end_0
47 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_0·..·:try_end_0}·:catch_a47 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_0·..·:try_end_0}·:catch_c
  
48 ····:goto_048 ····:goto_0
49 ····:try_start_149 ····:try_start_1
50 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I50 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I
  
51 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->EAN_13:Lcom/google/zxing/BarcodeFormat;51 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->UPC_E:Lcom/google/zxing/BarcodeFormat;
  
52 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I52 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I
  
53 ····move-result·v153 ····move-result·v1
  
54 ····const/4·v2,·0x254 ····const/4·v2,·0x2
  
55 ····aput·v2,·v0,·v155 ····aput·v2,·v0,·v1
56 ····:try_end_156 ····:try_end_1
57 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_1·..·:try_end_1}·:catch_957 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_1·..·:try_end_1}·:catch_b
  
58 ····:goto_158 ····:goto_1
59 ····:try_start_259 ····:try_start_2
60 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I60 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I
  
61 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->UPC_A:Lcom/google/zxing/BarcodeFormat;61 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->EAN_13:Lcom/google/zxing/BarcodeFormat;
  
62 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I62 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I
  
63 ····move-result·v163 ····move-result·v1
  
64 ····const/4·v2,·0x364 ····const/4·v2,·0x3
  
65 ····aput·v2,·v0,·v165 ····aput·v2,·v0,·v1
66 ····:try_end_266 ····:try_end_2
67 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_2·..·:try_end_2}·:catch_867 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_2·..·:try_end_2}·:catch_a
  
68 ····:goto_268 ····:goto_2
69 ····:try_start_369 ····:try_start_3
70 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I70 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I
  
71 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->QR_CODE:Lcom/google/zxing/BarcodeFormat;71 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->UPC_A:Lcom/google/zxing/BarcodeFormat;
  
72 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I72 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I
  
73 ····move-result·v173 ····move-result·v1
  
74 ····const/4·v2,·0x474 ····const/4·v2,·0x4
  
75 ····aput·v2,·v0,·v175 ····aput·v2,·v0,·v1
76 ····:try_end_376 ····:try_end_3
77 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_3·..·:try_end_3}·:catch_777 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_3·..·:try_end_3}·:catch_9
  
78 ····:goto_378 ····:goto_3
79 ····:try_start_479 ····:try_start_4
80 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I80 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I
  
81 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->CODE_39:Lcom/google/zxing/BarcodeFormat;81 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->QR_CODE:Lcom/google/zxing/BarcodeFormat;
  
82 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I82 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I
  
83 ····move-result·v183 ····move-result·v1
  
84 ····const/4·v2,·0x584 ····const/4·v2,·0x5
  
85 ····aput·v2,·v0,·v185 ····aput·v2,·v0,·v1
86 ····:try_end_486 ····:try_end_4
87 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_4·..·:try_end_4}·:catch_687 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_4·..·:try_end_4}·:catch_8
  
88 ····:goto_488 ····:goto_4
89 ····:try_start_589 ····:try_start_5
90 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I90 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I
  
91 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->CODE_128:Lcom/google/zxing/BarcodeFormat;91 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->CODE_39:Lcom/google/zxing/BarcodeFormat;
  
92 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I92 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I
  
93 ····move-result·v193 ····move-result·v1
  
94 ····const/4·v2,·0x694 ····const/4·v2,·0x6
  
95 ····aput·v2,·v0,·v195 ····aput·v2,·v0,·v1
96 ····:try_end_596 ····:try_end_5
97 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_5·..·:try_end_5}·:catch_597 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_5·..·:try_end_5}·:catch_7
  
98 ····:goto_598 ····:goto_5
99 ····:try_start_699 ····:try_start_6
100 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I100 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I
  
101 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->ITF:Lcom/google/zxing/BarcodeFormat;101 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->CODE_93:Lcom/google/zxing/BarcodeFormat;
  
102 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I102 ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I
  
103 ····move-result·v1103 ····move-result·v1
  
104 ····const/4·v2,·0x7104 ····const/4·v2,·0x7
  
105 ····aput·v2,·v0,·v1105 ····aput·v2,·v0,·v1
106 ····:try_end_6106 ····:try_end_6
107 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_6·..·:try_end_6}·:catch_4107 ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_6·..·:try_end_6}·:catch_6
  
108 ····:goto_6108 ····:goto_6
109 ····:try_start_7109 ····:try_start_7
110 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I110 ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I
  
111 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->PDF_417:Lcom/google/zxing/BarcodeFormat;111 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->CODE_128:Lcom/google/zxing/BarcodeFormat;
  
Max diff block lines reached; 4139/9012 bytes (45.93%) of diff not shown.
6.33 KB
smali/com/google/zxing/ResultPoint.smali
    
Offset 32, 22 lines modifiedOffset 32, 22 lines modified
32 .method·private·static·crossProductZ(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F32 .method·private·static·crossProductZ(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F
33 ····.locals·533 ····.locals·5
34 ····.param·p0,·"pointA"····#·Lcom/google/zxing/ResultPoint;34 ····.param·p0,·"pointA"····#·Lcom/google/zxing/ResultPoint;
35 ····.param·p1,·"pointB"····#·Lcom/google/zxing/ResultPoint;35 ····.param·p1,·"pointB"····#·Lcom/google/zxing/ResultPoint;
36 ····.param·p2,·"pointC"····#·Lcom/google/zxing/ResultPoint;36 ····.param·p2,·"pointC"····#·Lcom/google/zxing/ResultPoint;
  
37 ····.prologue37 ····.prologue
38 ····.line·13238 ····.line·126
39 ····iget·v0,·p1,·Lcom/google/zxing/ResultPoint;->x:F39 ····iget·v0,·p1,·Lcom/google/zxing/ResultPoint;->x:F
  
40 ····.line·13340 ····.line·127
41 ····.local·v0,·"bX":F41 ····.local·v0,·"bX":F
42 ····iget·v1,·p1,·Lcom/google/zxing/ResultPoint;->y:F42 ····iget·v1,·p1,·Lcom/google/zxing/ResultPoint;->y:F
  
43 ····.line·13443 ····.line·128
44 ····.local·v1,·"bY":F44 ····.local·v1,·"bY":F
45 ····iget·v2,·p2,·Lcom/google/zxing/ResultPoint;->x:F45 ····iget·v2,·p2,·Lcom/google/zxing/ResultPoint;->x:F
  
46 ····sub-float/2addr·v2,·v046 ····sub-float/2addr·v2,·v0
  
47 ····iget·v3,·p0,·Lcom/google/zxing/ResultPoint;->y:F47 ····iget·v3,·p0,·Lcom/google/zxing/ResultPoint;->y:F
  
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
  
72 .method·public·static·distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F72 .method·public·static·distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F
73 ····.locals·473 ····.locals·4
74 ····.param·p0,·"pattern1"····#·Lcom/google/zxing/ResultPoint;74 ····.param·p0,·"pattern1"····#·Lcom/google/zxing/ResultPoint;
75 ····.param·p1,·"pattern2"····#·Lcom/google/zxing/ResultPoint;75 ····.param·p1,·"pattern2"····#·Lcom/google/zxing/ResultPoint;
  
76 ····.prologue76 ····.prologue
77 ····.line·12377 ····.line·117
78 ····iget·v0,·p0,·Lcom/google/zxing/ResultPoint;->x:F78 ····iget·v0,·p0,·Lcom/google/zxing/ResultPoint;->x:F
  
79 ····iget·v1,·p0,·Lcom/google/zxing/ResultPoint;->y:F79 ····iget·v1,·p0,·Lcom/google/zxing/ResultPoint;->y:F
  
80 ····iget·v2,·p1,·Lcom/google/zxing/ResultPoint;->x:F80 ····iget·v2,·p1,·Lcom/google/zxing/ResultPoint;->x:F
  
81 ····iget·v3,·p1,·Lcom/google/zxing/ResultPoint;->y:F81 ····iget·v3,·p1,·Lcom/google/zxing/ResultPoint;->y:F
Offset 99, 140 lines modifiedOffset 99, 140 lines modified
99 ····.prologue99 ····.prologue
100 ····const/4·v11,·0x2100 ····const/4·v11,·0x2
  
101 ····const/4·v10,·0x1101 ····const/4·v10,·0x1
  
102 ····const/4·v9,·0x0102 ····const/4·v9,·0x0
  
103 ····.line·79103 ····.line·73
104 ····aget-object·v7,·p0,·v9104 ····aget-object·v7,·p0,·v9
  
105 ····aget-object·v8,·p0,·v10105 ····aget-object·v8,·p0,·v10
  
106 ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F106 ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F
  
107 ····move-result·v5107 ····move-result·v5
  
108 ····.line·80108 ····.line·74
109 ····.local·v5,·"zeroOneDistance":F109 ····.local·v5,·"zeroOneDistance":F
110 ····aget-object·v7,·p0,·v10110 ····aget-object·v7,·p0,·v10
  
111 ····aget-object·v8,·p0,·v11111 ····aget-object·v8,·p0,·v11
  
112 ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F112 ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F
  
113 ····move-result·v0113 ····move-result·v0
  
114 ····.line·81114 ····.line·75
115 ····.local·v0,·"oneTwoDistance":F115 ····.local·v0,·"oneTwoDistance":F
116 ····aget-object·v7,·p0,·v9116 ····aget-object·v7,·p0,·v9
  
117 ····aget-object·v8,·p0,·v11117 ····aget-object·v8,·p0,·v11
  
118 ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F118 ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F
  
119 ····move-result·v6119 ····move-result·v6
  
120 ····.line·87120 ····.line·81
121 ····.local·v6,·"zeroTwoDistance":F121 ····.local·v6,·"zeroTwoDistance":F
122 ····cmpl-float·v7,·v0,·v5122 ····cmpl-float·v7,·v0,·v5
  
123 ····if-ltz·v7,·:cond_1123 ····if-ltz·v7,·:cond_1
  
124 ····cmpl-float·v7,·v0,·v6124 ····cmpl-float·v7,·v0,·v6
  
125 ····if-ltz·v7,·:cond_1125 ····if-ltz·v7,·:cond_1
  
126 ····.line·88126 ····.line·82
127 ····aget-object·v2,·p0,·v9127 ····aget-object·v2,·p0,·v9
  
128 ····.line·89128 ····.line·83
129 ····.local·v2,·"pointB":Lcom/google/zxing/ResultPoint;129 ····.local·v2,·"pointB":Lcom/google/zxing/ResultPoint;
130 ····aget-object·v1,·p0,·v10130 ····aget-object·v1,·p0,·v10
  
131 ····.line·90131 ····.line·84
132 ····.local·v1,·"pointA":Lcom/google/zxing/ResultPoint;132 ····.local·v1,·"pointA":Lcom/google/zxing/ResultPoint;
133 ····aget-object·v3,·p0,·v11133 ····aget-object·v3,·p0,·v11
  
134 ····.line·105134 ····.line·99
135 ····.local·v3,·"pointC":Lcom/google/zxing/ResultPoint;135 ····.local·v3,·"pointC":Lcom/google/zxing/ResultPoint;
136 ····:goto_0136 ····:goto_0
137 ····invoke-static·{v1,·v2,·v3},·Lcom/google/zxing/ResultPoint;->crossProductZ(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F137 ····invoke-static·{v1,·v2,·v3},·Lcom/google/zxing/ResultPoint;->crossProductZ(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F
  
138 ····move-result·v7138 ····move-result·v7
  
139 ····const/4·v8,·0x0139 ····const/4·v8,·0x0
  
140 ····cmpg-float·v7,·v7,·v8140 ····cmpg-float·v7,·v7,·v8
  
141 ····if-gez·v7,·:cond_0141 ····if-gez·v7,·:cond_0
  
142 ····.line·106142 ····.line·100
143 ····move-object·v4,·v1143 ····move-object·v4,·v1
  
144 ····.line·107144 ····.line·101
145 ····.local·v4,·"temp":Lcom/google/zxing/ResultPoint;145 ····.local·v4,·"temp":Lcom/google/zxing/ResultPoint;
146 ····move-object·v1,·v3146 ····move-object·v1,·v3
  
147 ····.line·108147 ····.line·102
148 ····move-object·v3,·v4148 ····move-object·v3,·v4
  
149 ····.line·111149 ····.line·105
150 ····.end·local·v4····#·"temp":Lcom/google/zxing/ResultPoint;150 ····.end·local·v4····#·"temp":Lcom/google/zxing/ResultPoint;
151 ····:cond_0151 ····:cond_0
152 ····aput-object·v1,·p0,·v9152 ····aput-object·v1,·p0,·v9
  
153 ····.line·112153 ····.line·106
154 ····aput-object·v2,·p0,·v10154 ····aput-object·v2,·p0,·v10
  
Max diff block lines reached; 2890/6402 bytes (45.14%) of diff not shown.
9.4 KB
smali/com/google/zxing/PlanarYUVLuminanceSource.smali
    
Offset 83, 18 lines modifiedOffset 83, 18 lines modified
  
83 .method·private·reverseHorizontal(II)V83 .method·private·reverseHorizontal(II)V
84 ····.locals·984 ····.locals·9
85 ····.param·p1,·"width"····#·I85 ····.param·p1,·"width"····#·I
86 ····.param·p2,·"height"····#·I86 ····.param·p2,·"height"····#·I
  
87 ····.prologue87 ····.prologue
88 ····.line·15888 ····.line·157
89 ····iget-object·v6,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->yuvData:[B89 ····iget-object·v6,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->yuvData:[B
  
90 ····.line·15990 ····.line·158
91 ····.local·v6,·"yuvData":[B91 ····.local·v6,·"yuvData":[B
92 ····const/4·v5,·0x092 ····const/4·v5,·0x0
  
93 ····.local·v5,·"y":I93 ····.local·v5,·"y":I
94 ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->top:I94 ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->top:I
  
95 ····iget·v8,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I95 ····iget·v8,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I
Offset 105, 63 lines modifiedOffset 105, 63 lines modified
  
105 ····add-int·v1,·v7,·v8105 ····add-int·v1,·v7,·v8
  
106 ····.local·v1,·"rowStart":I106 ····.local·v1,·"rowStart":I
107 ····:goto_0107 ····:goto_0
108 ····if-ge·v5,·p2,·:cond_1108 ····if-ge·v5,·p2,·:cond_1
  
109 ····.line·160109 ····.line·159
110 ····div-int/lit8·v7,·p1,·0x2110 ····div-int/lit8·v7,·p1,·0x2
  
111 ····add-int·v0,·v1,·v7111 ····add-int·v0,·v1,·v7
  
112 ····.line·161112 ····.line·160
113 ····.local·v0,·"middle":I113 ····.local·v0,·"middle":I
114 ····move·v3,·v1114 ····move·v3,·v1
  
115 ····.local·v3,·"x1":I115 ····.local·v3,·"x1":I
116 ····add-int·v7,·v1,·p1116 ····add-int·v7,·v1,·p1
  
117 ····add-int/lit8·v4,·v7,·-0x1117 ····add-int/lit8·v4,·v7,·-0x1
  
118 ····.local·v4,·"x2":I118 ····.local·v4,·"x2":I
119 ····:goto_1119 ····:goto_1
120 ····if-ge·v3,·v0,·:cond_0120 ····if-ge·v3,·v0,·:cond_0
  
121 ····.line·162121 ····.line·161
122 ····aget-byte·v2,·v6,·v3122 ····aget-byte·v2,·v6,·v3
  
123 ····.line·163123 ····.line·162
124 ····.local·v2,·"temp":B124 ····.local·v2,·"temp":B
125 ····aget-byte·v7,·v6,·v4125 ····aget-byte·v7,·v6,·v4
  
126 ····aput-byte·v7,·v6,·v3126 ····aput-byte·v7,·v6,·v3
  
127 ····.line·164127 ····.line·163
128 ····aput-byte·v2,·v6,·v4128 ····aput-byte·v2,·v6,·v4
  
129 ····.line·161129 ····.line·160
130 ····add-int/lit8·v3,·v3,·0x1130 ····add-int/lit8·v3,·v3,·0x1
  
131 ····add-int/lit8·v4,·v4,·-0x1131 ····add-int/lit8·v4,·v4,·-0x1
  
132 ····goto·:goto_1132 ····goto·:goto_1
  
133 ····.line·159133 ····.line·158
134 ····.end·local·v2····#·"temp":B134 ····.end·local·v2····#·"temp":B
135 ····:cond_0135 ····:cond_0
136 ····add-int/lit8·v5,·v5,·0x1136 ····add-int/lit8·v5,·v5,·0x1
  
137 ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I137 ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I
  
138 ····add-int/2addr·v1,·v7138 ····add-int/2addr·v1,·v7
  
139 ····goto·:goto_0139 ····goto·:goto_0
  
140 ····.line·167140 ····.line·166
141 ····.end·local·v0····#·"middle":I141 ····.end·local·v0····#·"middle":I
142 ····.end·local·v3····#·"x1":I142 ····.end·local·v3····#·"x1":I
143 ····.end·local·v4····#·"x2":I143 ····.end·local·v4····#·"x2":I
144 ····:cond_1144 ····:cond_1
145 ····return-void145 ····return-void
146 .end·method146 .end·method
  
Offset 171, 15 lines modifiedOffset 171, 15 lines modified
171 ····.locals·9171 ····.locals·9
172 ····.param·p1,·"left"····#·I172 ····.param·p1,·"left"····#·I
173 ····.param·p2,·"top"····#·I173 ····.param·p2,·"top"····#·I
174 ····.param·p3,·"width"····#·I174 ····.param·p3,·"width"····#·I
175 ····.param·p4,·"height"····#·I175 ····.param·p4,·"height"····#·I
  
176 ····.prologue176 ····.prologue
177 ····.line·115177 ····.line·114
178 ····new-instance·v0,·Lcom/google/zxing/PlanarYUVLuminanceSource;178 ····new-instance·v0,·Lcom/google/zxing/PlanarYUVLuminanceSource;
  
179 ····iget-object·v1,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->yuvData:[B179 ····iget-object·v1,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->yuvData:[B
  
180 ····iget·v2,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I180 ····iget·v2,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I
  
181 ····iget·v3,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataHeight:I181 ····iget·v3,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataHeight:I
Offset 200, 15 lines modifiedOffset 200, 15 lines modified
  
200 ····invoke-direct/range·{v0·..·v8},·Lcom/google/zxing/PlanarYUVLuminanceSource;-><init>([BIIIIIIZ)V200 ····invoke-direct/range·{v0·..·v8},·Lcom/google/zxing/PlanarYUVLuminanceSource;-><init>([BIIIIIIZ)V
  
201 ····return-object·v0201 ····return-object·v0
202 .end·method202 .end·method
  
203 .method·public·getMatrix()[B203 .method·public·getMatrix()[B
204 ····.locals·10204 ····.locals·9
  
205 ····.prologue205 ····.prologue
206 ····.line·79206 ····.line·79
207 ····invoke-virtual·{p0},·Lcom/google/zxing/PlanarYUVLuminanceSource;->getWidth()I207 ····invoke-virtual·{p0},·Lcom/google/zxing/PlanarYUVLuminanceSource;->getWidth()I
  
208 ····move-result·v5208 ····move-result·v5
  
Offset 216, 90 lines modifiedOffset 216, 88 lines modified
216 ····.local·v5,·"width":I216 ····.local·v5,·"width":I
217 ····invoke-virtual·{p0},·Lcom/google/zxing/PlanarYUVLuminanceSource;->getHeight()I217 ····invoke-virtual·{p0},·Lcom/google/zxing/PlanarYUVLuminanceSource;->getHeight()I
  
218 ····move-result·v1218 ····move-result·v1
  
219 ····.line·84219 ····.line·84
220 ····.local·v1,·"height":I220 ····.local·v1,·"height":I
221 ····iget·v8,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I221 ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I
  
222 ····if-ne·v5,·v8,·:cond_1222 ····if-ne·v5,·v7,·:cond_1
  
223 ····iget·v8,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataHeight:I223 ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataHeight:I
Max diff block lines reached; 6392/9523 bytes (67.12%) of diff not shown.
1.77 KB
smali/com/google/zxing/MultiFormatReader.smali
    
Offset 68, 19 lines modifiedOffset 68, 18 lines modified
68 ····:try_end_068 ····:try_end_0
69 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_069 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0
  
70 ····move-result-object·v170 ····move-result-object·v1
  
71 ····return-object·v171 ····return-object·v1
  
72 ····.line·17272 ····.line·169
73 ····:catch_073 ····:catch_0
74 ····move-exception·v474 ····move-exception·v4
  
75 ····.line·169 
76 ····add-int/lit8·v1,·v1,·0x175 ····add-int/lit8·v1,·v1,·0x1
  
77 ····goto·:goto_076 ····goto·:goto_0
  
78 ····.line·17777 ····.line·177
79 ····.end·local·v0····#·"reader":Lcom/google/zxing/Reader;78 ····.end·local·v0····#·"reader":Lcom/google/zxing/Reader;
80 ····:cond_079 ····:cond_0
Offset 180, 41 lines modifiedOffset 179, 39 lines modified
180 .end·method179 .end·method
  
181 .method·public·reset()V180 .method·public·reset()V
182 ····.locals·4181 ····.locals·4
  
183 ····.prologue182 ····.prologue
184 ····.line·160183 ····.line·160
185 ····iget-object·v1,·p0,·Lcom/google/zxing/MultiFormatReader;->readers:[Lcom/google/zxing/Reader;184 ····iget-object·v0,·p0,·Lcom/google/zxing/MultiFormatReader;->readers:[Lcom/google/zxing/Reader;
  
186 ····if-eqz·v1,·:cond_0185 ····if-eqz·v0,·:cond_0
  
187 ····.line·161186 ····.line·161
188 ····iget-object·v2,·p0,·Lcom/google/zxing/MultiFormatReader;->readers:[Lcom/google/zxing/Reader;187 ····iget-object·v1,·p0,·Lcom/google/zxing/MultiFormatReader;->readers:[Lcom/google/zxing/Reader;
  
189 ····array-length·v3,·v2188 ····array-length·v2,·v1
  
190 ····const/4·v1,·0x0189 ····const/4·v0,·0x0
  
191 ····:goto_0190 ····:goto_0
192 ····if-ge·v1,·v3,·:cond_0191 ····if-ge·v0,·v2,·:cond_0
  
193 ····aget-object·v0,·v2,·v1192 ····aget-object·v3,·v1,·v0
  
194 ····.line·162193 ····.line·162
195 ····.local·v0,·"reader":Lcom/google/zxing/Reader; 
196 ····invoke-interface·{v0},·Lcom/google/zxing/Reader;->reset()V194 ····invoke-interface·{v3},·Lcom/google/zxing/Reader;->reset()V
  
197 ····.line·161195 ····.line·161
198 ····add-int/lit8·v1,·v1,·0x1196 ····add-int/lit8·v0,·v0,·0x1
  
199 ····goto·:goto_0197 ····goto·:goto_0
  
200 ····.line·165198 ····.line·165
201 ····.end·local·v0····#·"reader":Lcom/google/zxing/Reader; 
202 ····:cond_0199 ····:cond_0
203 ····return-void200 ····return-void
204 .end·method201 .end·method
  
205 .method·public·setHints(Ljava/util/Map;)V202 .method·public·setHints(Ljava/util/Map;)V
206 ····.locals·6203 ····.locals·6
207 ····.annotation·system·Ldalvik/annotation/Signature;204 ····.annotation·system·Ldalvik/annotation/Signature;
2.16 KB
smali/com/google/zxing/client/result/AddressBookAUResultParser.smali
    
Offset 27, 15 lines modifiedOffset 27, 15 lines modified
  
27 ····.line·7527 ····.line·75
28 ····.local·v2,·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;"28 ····.local·v2,·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;"
29 ····const/4·v0,·0x129 ····const/4·v0,·0x1
  
30 ····.local·v0,·"i":I30 ····.local·v0,·"i":I
31 ····:goto_031 ····:goto_0
32 ····if-gt·v0,·p1,·:cond_032 ····if-gt·v0,·p1,·:cond_1
  
33 ····.line·7633 ····.line·76
34 ····new-instance·v3,·Ljava/lang/StringBuilder;34 ····new-instance·v3,·Ljava/lang/StringBuilder;
  
35 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V35 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V
  
36 ····invoke-virtual·{v3,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;36 ····invoke-virtual·{v3,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
Offset 60, 52 lines modifiedOffset 60, 48 lines modified
  
60 ····invoke-static·{v3,·p2,·v4,·p3},·Lcom/google/zxing/client/result/AddressBookAUResultParser;->matchSinglePrefixedField(Ljava/lang/String;Ljava/lang/String;CZ)Ljava/lang/String;60 ····invoke-static·{v3,·p2,·v4,·p3},·Lcom/google/zxing/client/result/AddressBookAUResultParser;->matchSinglePrefixedField(Ljava/lang/String;Ljava/lang/String;CZ)Ljava/lang/String;
  
61 ····move-result-object·v161 ····move-result-object·v1
  
62 ····.line·7762 ····.line·77
63 ····.local·v1,·"value":Ljava/lang/String;63 ····.local·v1,·"value":Ljava/lang/String;
64 ····if-nez·v1,·:cond_164 ····if-eqz·v1,·:cond_1
  
65 ····.line·85 
66 ····.end·local·v1····#·"value":Ljava/lang/String; 
67 ····:cond_0 
68 ····if-nez·v2,·:cond_3 
  
69 ····.line·86 
70 ····const/4·v3,·0x0 
  
71 ····.line·88 
72 ····:goto_1 
73 ····return-object·v3 
  
74 ····.line·8065 ····.line·80
75 ····.restart·local·v1····#·"value":Ljava/lang/String; 
76 ····:cond_1 
77 ····if-nez·v2,·:cond_266 ····if-nez·v2,·:cond_0
  
78 ····.line·8167 ····.line·81
79 ····new-instance·v2,·Ljava/util/ArrayList;68 ····new-instance·v2,·Ljava/util/ArrayList;
  
80 ····.end·local·v2····#·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;"69 ····.end·local·v2····#·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;"
81 ····invoke-direct·{v2,·p1},·Ljava/util/ArrayList;-><init>(I)V70 ····invoke-direct·{v2,·p1},·Ljava/util/ArrayList;-><init>(I)V
  
82 ····.line·8371 ····.line·83
83 ····.restart·local·v2····#·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;"72 ····.restart·local·v2····#·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;"
84 ····:cond_273 ····:cond_0
85 ····invoke-interface·{v2,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z74 ····invoke-interface·{v2,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
86 ····.line·7575 ····.line·75
87 ····add-int/lit8·v0,·v0,·0x176 ····add-int/lit8·v0,·v0,·0x1
  
88 ····goto·:goto_077 ····goto·:goto_0
  
89 ····.line·8878 ····.line·85
90 ····.end·local·v1····#·"value":Ljava/lang/String;79 ····.end·local·v1····#·"value":Ljava/lang/String;
91 ····:cond_380 ····:cond_1
 81 ····if-nez·v2,·:cond_2
  
 82 ····.line·86
 83 ····const/4·v3,·0x0
  
 84 ····.line·88
 85 ····:goto_1
 86 ····return-object·v3
  
 87 ····:cond_2
92 ····invoke-interface·{v2},·Ljava/util/List;->size()I88 ····invoke-interface·{v2},·Ljava/util/List;->size()I
  
93 ····move-result·v389 ····move-result·v3
  
94 ····new-array·v3,·v3,·[Ljava/lang/String;90 ····new-array·v3,·v3,·[Ljava/lang/String;
  
95 ····invoke-interface·{v2,·v3},·Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;91 ····invoke-interface·{v2,·v3},·Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
778 B
smali/com/google/zxing/client/result/TelResultParser.smali
    
Offset 72, 21 lines modifiedOffset 72, 17 lines modified
  
72 ····move-result·v572 ····move-result·v5
  
73 ····if-eqz·v5,·:cond_173 ····if-eqz·v5,·:cond_1
  
74 ····new-instance·v5,·Ljava/lang/StringBuilder;74 ····new-instance·v5,·Ljava/lang/StringBuilder;
  
75 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V 
  
76 ····const-string·v6,·"tel:"75 ····const-string·v6,·"tel:"
  
77 ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;76 ····invoke-direct·{v5,·v6},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
78 ····move-result-object·v5 
  
79 ····invoke-virtual·{v2,·v7},·Ljava/lang/String;->substring(I)Ljava/lang/String;77 ····invoke-virtual·{v2,·v7},·Ljava/lang/String;->substring(I)Ljava/lang/String;
  
80 ····move-result-object·v678 ····move-result-object·v6
  
81 ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;79 ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
5.84 KB
smali/com/google/zxing/client/result/GeoResultParser.smali
    
Offset 37, 116 lines modifiedOffset 37, 116 lines modified
  
37 ····return-void37 ····return-void
38 .end·method38 .end·method
  
  
39 #·virtual·methods39 #·virtual·methods
40 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/GeoParsedResult;40 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/GeoParsedResult;
41 ····.locals·1441 ····.locals·12
42 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;42 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;
  
43 ····.prologue43 ····.prologue
44 ····const/4·v1,·0x044 ····const/4·v1,·0x0
  
45 ····.line·3945 ····.line·39
46 ····invoke-static·{p1},·Lcom/google/zxing/client/result/GeoResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String;46 ····invoke-static·{p1},·Lcom/google/zxing/client/result/GeoResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String;
  
47 ····move-result-object·v1047 ····move-result-object·v9
  
48 ····.line·4048 ····.line·40
49 ····.local·v10,·"rawText":Ljava/lang/CharSequence;49 ····.local·v9,·"rawText":Ljava/lang/CharSequence;
50 ····sget-object·v11,·Lcom/google/zxing/client/result/GeoResultParser;->GEO_URL_PATTERN:Ljava/util/regex/Pattern;50 ····sget-object·v10,·Lcom/google/zxing/client/result/GeoResultParser;->GEO_URL_PATTERN:Ljava/util/regex/Pattern;
  
51 ····invoke-virtual·{v11,·v10},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;51 ····invoke-virtual·{v10,·v9},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
  
52 ····move-result-object·v952 ····move-result-object·v0
  
53 ····.line·4153 ····.line·41
54 ····.local·v9,·"matcher":Ljava/util/regex/Matcher;54 ····.local·v0,·"matcher":Ljava/util/regex/Matcher;
55 ····invoke-virtual·{v9},·Ljava/util/regex/Matcher;->matches()Z55 ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->matches()Z
  
56 ····move-result·v1156 ····move-result·v10
  
57 ····if-nez·v11,·:cond_157 ····if-nez·v10,·:cond_1
  
58 ····.line·7058 ····.line·70
59 ····:cond_059 ····:cond_0
60 ····:goto_060 ····:goto_0
61 ····return-object·v161 ····return-object·v1
  
62 ····.line·4562 ····.line·45
63 ····:cond_163 ····:cond_1
64 ····const/4·v11,·0x464 ····const/4·v10,·0x4
  
65 ····invoke-virtual·{v9,·v11},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;65 ····invoke-virtual·{v0,·v10},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
  
66 ····move-result-object·v866 ····move-result-object·v8
  
67 ····.line·5167 ····.line·51
68 ····.local·v8,·"query":Ljava/lang/String;68 ····.local·v8,·"query":Ljava/lang/String;
69 ····const/4·v11,·0x169 ····const/4·v10,·0x1
  
70 ····:try_start_070 ····:try_start_0
71 ····invoke-virtual·{v9,·v11},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;71 ····invoke-virtual·{v0,·v10},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
  
72 ····move-result-object·v1172 ····move-result-object·v10
  
73 ····invoke-static·{v11},·Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D73 ····invoke-static·{v10},·Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D
  
74 ····move-result-wide·v274 ····move-result-wide·v2
  
75 ····.line·5275 ····.line·52
76 ····.local·v2,·"latitude":D76 ····.local·v2,·"latitude":D
77 ····const-wide·v12,·0x4056800000000000L····#·90.077 ····const-wide·v10,·0x4056800000000000L····#·90.0
  
78 ····cmpl-double·v11,·v2,·v1278 ····cmpl-double·v10,·v2,·v10
  
79 ····if-gtz·v11,·:cond_079 ····if-gtz·v10,·:cond_0
  
80 ····const-wide·v12,·-0x3fa9800000000000L····#·-90.080 ····const-wide·v10,·-0x3fa9800000000000L····#·-90.0
  
81 ····cmpg-double·v11,·v2,·v1281 ····cmpg-double·v10,·v2,·v10
  
82 ····if-ltz·v11,·:cond_082 ····if-ltz·v10,·:cond_0
  
83 ····.line·5583 ····.line·55
84 ····const/4·v11,·0x284 ····const/4·v10,·0x2
  
85 ····invoke-virtual·{v9,·v11},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;85 ····invoke-virtual·{v0,·v10},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
  
86 ····move-result-object·v1186 ····move-result-object·v10
  
87 ····invoke-static·{v11},·Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D87 ····invoke-static·{v10},·Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D
  
88 ····move-result-wide·v488 ····move-result-wide·v4
  
89 ····.line·5689 ····.line·56
90 ····.local·v4,·"longitude":D90 ····.local·v4,·"longitude":D
91 ····const-wide·v12,·0x4066800000000000L····#·180.091 ····const-wide·v10,·0x4066800000000000L····#·180.0
  
92 ····cmpl-double·v11,·v4,·v1292 ····cmpl-double·v10,·v4,·v10
  
93 ····if-gtz·v11,·:cond_093 ····if-gtz·v10,·:cond_0
  
94 ····const-wide·v12,·-0x3f99800000000000L····#·-180.094 ····const-wide·v10,·-0x3f99800000000000L····#·-180.0
  
95 ····cmpg-double·v11,·v4,·v1295 ····cmpg-double·v10,·v4,·v10
  
96 ····if-ltz·v11,·:cond_096 ····if-ltz·v10,·:cond_0
  
97 ····.line·5997 ····.line·59
98 ····const/4·v11,·0x398 ····const/4·v10,·0x3
  
99 ····invoke-virtual·{v9,·v11},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;99 ····invoke-virtual·{v0,·v10},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
100 ····:try_end_0100 ····:try_end_0
101 ····.catch·Ljava/lang/NumberFormatException;·{:try_start_0·..·:try_end_0}·:catch_0101 ····.catch·Ljava/lang/NumberFormatException;·{:try_start_0·..·:try_end_0}·:catch_0
  
102 ····move-result-object·v11102 ····move-result-object·v10
  
103 ····if-nez·v11,·:cond_3103 ····if-nez·v10,·:cond_3
  
104 ····.line·60104 ····.line·60
105 ····const-wide/16·v6,·0x0105 ····const-wide/16·v6,·0x0
  
106 ····.line·70106 ····.line·70
107 ····.local·v6,·"altitude":D107 ····.local·v6,·"altitude":D
108 ····:cond_2108 ····:cond_2
Offset 155, 46 lines modifiedOffset 155, 44 lines modified
155 ····invoke-direct/range·{v1·..·v8},·Lcom/google/zxing/client/result/GeoParsedResult;-><init>(DDDLjava/lang/String;)V155 ····invoke-direct/range·{v1·..·v8},·Lcom/google/zxing/client/result/GeoParsedResult;-><init>(DDDLjava/lang/String;)V
  
156 ····goto·:goto_0156 ····goto·:goto_0
  
157 ····.line·62157 ····.line·62
158 ····.end·local·v6····#·"altitude":D158 ····.end·local·v6····#·"altitude":D
159 ····:cond_3159 ····:cond_3
160 ····const/4·v11,·0x3160 ····const/4·v10,·0x3
  
161 ····:try_start_1161 ····:try_start_1
Max diff block lines reached; 1045/5867 bytes (17.81%) of diff not shown.
2.34 KB
smali/com/google/zxing/client/result/VINResultParser.smali
    
Offset 606, 17 lines modifiedOffset 606, 15 lines modified
606 ····.locals·2606 ····.locals·2
607 ····.param·p0,·"position"····#·I607 ····.param·p0,·"position"····#·I
  
608 ····.prologue608 ····.prologue
609 ····const/16·v0,·0xa609 ····const/16·v0,·0xa
  
610 ····.line·90610 ····.line·90
611 ····const/4·v1,·0x1 
  
612 ····if-lt·p0,·v1,·:cond_1611 ····if-lez·p0,·:cond_1
  
613 ····const/4·v1,·0x7612 ····const/4·v1,·0x7
  
614 ····if-gt·p0,·v1,·:cond_1613 ····if-gt·p0,·v1,·:cond_1
  
615 ····.line·91614 ····.line·91
616 ····rsub-int/lit8·v0,·p0,·0x9615 ····rsub-int/lit8·v0,·p0,·0x9
Offset 675, 30 lines modifiedOffset 673, 30 lines modified
  
675 ····move-result-object·v0673 ····move-result-object·v0
  
676 ····return-object·v0674 ····return-object·v0
677 .end·method675 .end·method
  
678 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/VINParsedResult;676 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/VINParsedResult;
679 ····.locals·12677 ····.locals·11
680 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;678 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;
  
681 ····.prologue679 ····.prologue
682 ····const/4·v11,·0x0680 ····const/4·v10,·0x0
  
683 ····.line·36681 ····.line·36
684 ····invoke-virtual·{p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat;682 ····invoke-virtual·{p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat;
  
685 ····move-result-object·v0683 ····move-result-object·v0
  
686 ····sget-object·v3,·Lcom/google/zxing/BarcodeFormat;->CODE_39:Lcom/google/zxing/BarcodeFormat;684 ····sget-object·v3,·Lcom/google/zxing/BarcodeFormat;->CODE_39:Lcom/google/zxing/BarcodeFormat;
  
687 ····if-eq·v0,·v3,·:cond_0685 ····if-eq·v0,·v3,·:cond_0
  
688 ····move-object·v0,·v11686 ····move-object·v0,·v10
  
689 ····.line·59687 ····.line·59
690 ····:goto_0688 ····:goto_0
691 ····return-object·v0689 ····return-object·v0
  
692 ····.line·39690 ····.line·39
693 ····:cond_0691 ····:cond_0
Offset 733, 29 lines modifiedOffset 731, 29 lines modified
  
733 ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->matches()Z731 ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->matches()Z
  
734 ····move-result·v0732 ····move-result·v0
  
735 ····if-nez·v0,·:cond_1733 ····if-nez·v0,·:cond_1
  
736 ····move-object·v0,·v11734 ····move-object·v0,·v10
  
737 ····.line·42735 ····.line·42
738 ····goto·:goto_0736 ····goto·:goto_0
  
739 ····.line·45737 ····.line·45
740 ····:cond_1738 ····:cond_1
741 ····:try_start_0739 ····:try_start_0
742 ····invoke-static·{v1},·Lcom/google/zxing/client/result/VINResultParser;->checkChecksum(Ljava/lang/CharSequence;)Z740 ····invoke-static·{v1},·Lcom/google/zxing/client/result/VINResultParser;->checkChecksum(Ljava/lang/CharSequence;)Z
  
743 ····move-result·v0741 ····move-result·v0
  
744 ····if-nez·v0,·:cond_2742 ····if-nez·v0,·:cond_2
  
745 ····move-object·v0,·v11743 ····move-object·v0,·v10
  
746 ····.line·46744 ····.line·46
747 ····goto·:goto_0745 ····goto·:goto_0
  
748 ····.line·48746 ····.line·48
749 ····:cond_2747 ····:cond_2
750 ····const/4·v0,·0x0748 ····const/4·v0,·0x0
Offset 829, 18 lines modifiedOffset 827, 16 lines modified
  
829 ····invoke-direct/range·{v0·..·v9},·Lcom/google/zxing/client/result/VINParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ICLjava/lang/String;)V827 ····invoke-direct/range·{v0·..·v9},·Lcom/google/zxing/client/result/VINParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ICLjava/lang/String;)V
830 ····:try_end_0828 ····:try_end_0
831 ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0829 ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0
  
832 ····goto·:goto_0830 ····goto·:goto_0
  
833 ····.line·58831 ····.line·59
834 ····.end·local·v2····#·"wmi":Ljava/lang/String;832 ····.end·local·v2····#·"wmi":Ljava/lang/String;
835 ····:catch_0833 ····:catch_0
836 ····move-exception·v10834 ····move-exception·v0
  
837 ····.local·v10,·"iae":Ljava/lang/IllegalArgumentException; 
838 ····move-object·v0,·v11835 ····move-object·v0,·v10
  
839 ····.line·59 
840 ····goto·:goto_0836 ····goto·:goto_0
841 .end·method837 .end·method
6.72 KB
smali/com/google/zxing/client/result/GeoParsedResult.smali
    
Offset 18, 222 lines modifiedOffset 18, 222 lines modified
18 ····.locals·118 ····.locals·1
19 ····.param·p1,·"latitude"····#·D19 ····.param·p1,·"latitude"····#·D
20 ····.param·p3,·"longitude"····#·D20 ····.param·p3,·"longitude"····#·D
21 ····.param·p5,·"altitude"····#·D21 ····.param·p5,·"altitude"····#·D
22 ····.param·p7,·"query"····#·Ljava/lang/String;22 ····.param·p7,·"query"····#·Ljava/lang/String;
  
23 ····.prologue23 ····.prologue
24 ····.line·3024 ····.line·33
25 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->GEO:Lcom/google/zxing/client/result/ParsedResultType;25 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->GEO:Lcom/google/zxing/client/result/ParsedResultType;
  
26 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V26 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
27 ····.line·3127 ····.line·34
28 ····iput-wide·p1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->latitude:D28 ····iput-wide·p1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->latitude:D
  
29 ····.line·3229 ····.line·35
30 ····iput-wide·p3,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->longitude:D30 ····iput-wide·p3,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->longitude:D
  
31 ····.line·3331 ····.line·36
32 ····iput-wide·p5,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D32 ····iput-wide·p5,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D
  
33 ····.line·3433 ····.line·37
34 ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String;34 ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String;
  
35 ····.line·3535 ····.line·38
36 ····return-void36 ····return-void
37 .end·method37 .end·method
  
  
38 #·virtual·methods38 #·virtual·methods
39 .method·public·getAltitude()D39 .method·public·getAltitude()D
40 ····.locals·240 ····.locals·2
  
41 ····.prologue41 ····.prologue
42 ····.line·7242 ····.line·75
43 ····iget-wide·v0,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D43 ····iget-wide·v0,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D
  
44 ····return-wide·v044 ····return-wide·v0
45 .end·method45 .end·method
  
46 .method·public·getDisplayResult()Ljava/lang/String;46 .method·public·getDisplayResult()Ljava/lang/String;
47 ····.locals·647 ····.locals·6
  
48 ····.prologue48 ····.prologue
49 ····.line·8449 ····.line·87
50 ····new-instance·v0,·Ljava/lang/StringBuilder;50 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
51 ····const/16·v1,·0x1451 ····const/16·v1,·0x14
  
52 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V52 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V
  
53 ····.line·8553 ····.line·88
54 ····.local·v0,·"result":Ljava/lang/StringBuilder;54 ····.local·v0,·"result":Ljava/lang/StringBuilder;
55 ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->latitude:D55 ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->latitude:D
  
56 ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;56 ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;
  
57 ····.line·8657 ····.line·89
58 ····const-string·v1,·",·"58 ····const-string·v1,·",·"
  
59 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;59 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
60 ····.line·8760 ····.line·90
61 ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->longitude:D61 ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->longitude:D
  
62 ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;62 ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;
  
63 ····.line·8863 ····.line·91
64 ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D64 ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D
  
65 ····const-wide/16·v4,·0x065 ····const-wide/16·v4,·0x0
  
66 ····cmpl-double·v1,·v2,·v466 ····cmpl-double·v1,·v2,·v4
  
67 ····if-lez·v1,·:cond_067 ····if-lez·v1,·:cond_0
  
68 ····.line·8968 ····.line·92
69 ····const-string·v1,·",·"69 ····const-string·v1,·",·"
  
70 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;70 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
71 ····.line·9071 ····.line·93
72 ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D72 ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D
  
73 ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;73 ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;
  
74 ····.line·9174 ····.line·94
75 ····const/16·v1,·0x6d75 ····const/16·v1,·0x6d
  
76 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;76 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
77 ····.line·9377 ····.line·96
78 ····:cond_078 ····:cond_0
79 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String;79 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String;
  
80 ····if-eqz·v1,·:cond_180 ····if-eqz·v1,·:cond_1
  
81 ····.line·9481 ····.line·97
82 ····const-string·v1,·"·("82 ····const-string·v1,·"·("
  
83 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;83 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
84 ····.line·9584 ····.line·98
85 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String;85 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String;
  
86 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;86 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
87 ····.line·9687 ····.line·99
88 ····const/16·v1,·0x2988 ····const/16·v1,·0x29
  
89 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;89 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
90 ····.line·9890 ····.line·101
91 ····:cond_191 ····:cond_1
92 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;92 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
93 ····move-result-object·v193 ····move-result-object·v1
  
94 ····return-object·v194 ····return-object·v1
95 .end·method95 .end·method
  
96 .method·public·getGeoURI()Ljava/lang/String;96 .method·public·getGeoURI()Ljava/lang/String;
97 ····.locals·797 ····.locals·7
  
98 ····.prologue98 ····.prologue
99 ····const/16·v6,·0x2c99 ····const/16·v6,·0x2c
  
Max diff block lines reached; 2783/6770 bytes (41.11%) of diff not shown.
6.02 KB
smali/com/google/zxing/client/result/EmailAddressParsedResult.smali
    
Offset 19, 15 lines modifiedOffset 19, 15 lines modified
19 .method·constructor·<init>(Ljava/lang/String;)V19 .method·constructor·<init>(Ljava/lang/String;)V
20 ····.locals·620 ····.locals·6
21 ····.param·p1,·"to"····#·Ljava/lang/String;21 ····.param·p1,·"to"····#·Ljava/lang/String;
  
22 ····.prologue22 ····.prologue
23 ····const/4·v2,·0x023 ····const/4·v2,·0x0
  
24 ····.line·3124 ····.line·34
25 ····const/4·v0,·0x125 ····const/4·v0,·0x1
  
26 ····new-array·v1,·v0,·[Ljava/lang/String;26 ····new-array·v1,·v0,·[Ljava/lang/String;
  
27 ····const/4·v0,·0x027 ····const/4·v0,·0x0
  
28 ····aput-object·p1,·v1,·v028 ····aput-object·p1,·v1,·v0
Offset 38, 135 lines modifiedOffset 38, 135 lines modified
  
38 ····move-object·v4,·v238 ····move-object·v4,·v2
  
39 ····move-object·v5,·v239 ····move-object·v5,·v2
  
40 ····invoke-direct/range·{v0·..·v5},·Lcom/google/zxing/client/result/EmailAddressParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V40 ····invoke-direct/range·{v0·..·v5},·Lcom/google/zxing/client/result/EmailAddressParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
  
41 ····.line·3241 ····.line·35
42 ····return-void42 ····return-void
43 .end·method43 .end·method
  
44 .method·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V44 .method·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
45 ····.locals·145 ····.locals·1
46 ····.param·p1,·"tos"····#·[Ljava/lang/String;46 ····.param·p1,·"tos"····#·[Ljava/lang/String;
47 ····.param·p2,·"ccs"····#·[Ljava/lang/String;47 ····.param·p2,·"ccs"····#·[Ljava/lang/String;
48 ····.param·p3,·"bccs"····#·[Ljava/lang/String;48 ····.param·p3,·"bccs"····#·[Ljava/lang/String;
49 ····.param·p4,·"subject"····#·Ljava/lang/String;49 ····.param·p4,·"subject"····#·Ljava/lang/String;
50 ····.param·p5,·"body"····#·Ljava/lang/String;50 ····.param·p5,·"body"····#·Ljava/lang/String;
  
51 ····.prologue51 ····.prologue
52 ····.line·3952 ····.line·42
53 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->EMAIL_ADDRESS:Lcom/google/zxing/client/result/ParsedResultType;53 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->EMAIL_ADDRESS:Lcom/google/zxing/client/result/ParsedResultType;
  
54 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V54 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
55 ····.line·4055 ····.line·43
56 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->tos:[Ljava/lang/String;56 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->tos:[Ljava/lang/String;
  
57 ····.line·4157 ····.line·44
58 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String;58 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String;
  
59 ····.line·4259 ····.line·45
60 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String;60 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String;
  
61 ····.line·4361 ····.line·46
62 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->subject:Ljava/lang/String;62 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->subject:Ljava/lang/String;
  
63 ····.line·4463 ····.line·47
64 ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String;64 ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String;
  
65 ····.line·4565 ····.line·48
66 ····return-void66 ····return-void
67 .end·method67 .end·method
  
  
68 #·virtual·methods68 #·virtual·methods
69 .method·public·getBCCs()[Ljava/lang/String;69 .method·public·getBCCs()[Ljava/lang/String;
70 ····.locals·170 ····.locals·1
  
71 ····.prologue71 ····.prologue
72 ····.line·6572 ····.line·68
73 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String;73 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String;
  
74 ····return-object·v074 ····return-object·v0
75 .end·method75 .end·method
  
76 .method·public·getBody()Ljava/lang/String;76 .method·public·getBody()Ljava/lang/String;
77 ····.locals·177 ····.locals·1
  
78 ····.prologue78 ····.prologue
79 ····.line·7379 ····.line·76
80 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String;80 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String;
  
81 ····return-object·v081 ····return-object·v0
82 .end·method82 .end·method
  
83 .method·public·getCCs()[Ljava/lang/String;83 .method·public·getCCs()[Ljava/lang/String;
84 ····.locals·184 ····.locals·1
  
85 ····.prologue85 ····.prologue
86 ····.line·6186 ····.line·64
87 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String;87 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String;
  
88 ····return-object·v088 ····return-object·v0
89 .end·method89 .end·method
  
90 .method·public·getDisplayResult()Ljava/lang/String;90 .method·public·getDisplayResult()Ljava/lang/String;
91 ····.locals·291 ····.locals·2
  
92 ····.prologue92 ····.prologue
93 ····.line·8793 ····.line·90
94 ····new-instance·v0,·Ljava/lang/StringBuilder;94 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
95 ····const/16·v1,·0x1e95 ····const/16·v1,·0x1e
  
96 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V96 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V
  
97 ····.line·8897 ····.line·91
98 ····.local·v0,·"result":Ljava/lang/StringBuilder;98 ····.local·v0,·"result":Ljava/lang/StringBuilder;
99 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->tos:[Ljava/lang/String;99 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->tos:[Ljava/lang/String;
  
100 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V100 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
101 ····.line·89101 ····.line·92
102 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String;102 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String;
  
103 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V103 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
104 ····.line·90104 ····.line·93
105 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String;105 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String;
  
106 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V106 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
107 ····.line·91107 ····.line·94
108 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->subject:Ljava/lang/String;108 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->subject:Ljava/lang/String;
  
109 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V109 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
110 ····.line·92110 ····.line·95
111 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String;111 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String;
  
Max diff block lines reached; 1411/6035 bytes (23.38%) of diff not shown.
8.15 KB
smali/com/google/zxing/client/result/EmailAddressResultParser.smali
    
Offset 33, 247 lines modifiedOffset 33, 255 lines modified
  
33 ····return-void33 ····return-void
34 .end·method34 .end·method
  
  
35 #·virtual·methods35 #·virtual·methods
36 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/EmailAddressParsedResult;36 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/EmailAddressParsedResult;
37 ····.locals·1337 ····.locals·14
38 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;38 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;
  
39 ····.prologue39 ····.prologue
 40 ····const/4·v0,·0x0
  
40 ····.line·3641 ····.line·36
41 ····invoke-static·{p1},·Lcom/google/zxing/client/result/EmailAddressResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String;42 ····invoke-static·{p1},·Lcom/google/zxing/client/result/EmailAddressResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String;
  
42 ····move-result-object·v1143 ····move-result-object·v11
  
43 ····.line·3744 ····.line·37
44 ····.local·v11,·"rawText":Ljava/lang/String;45 ····.local·v11,·"rawText":Ljava/lang/String;
45 ····const-string·v0,·"mailto:"46 ····const-string·v13,·"mailto:"
  
46 ····invoke-virtual·{v11,·v0},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z47 ····invoke-virtual·{v11,·v13},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
  
47 ····move-result·v048 ····move-result·v13
  
48 ····if-nez·v0,·:cond_049 ····if-nez·v13,·:cond_0
  
49 ····const-string·v0,·"MAILTO:"50 ····const-string·v13,·"MAILTO:"
  
50 ····invoke-virtual·{v11,·v0},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z51 ····invoke-virtual·{v11,·v13},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
  
51 ····move-result·v052 ····move-result·v13
  
52 ····if-eqz·v0,·:cond_753 ····if-eqz·v13,·:cond_8
  
53 ····.line·3954 ····.line·39
54 ····:cond_055 ····:cond_0
55 ····const/4·v0,·0x756 ····const/4·v13,·0x7
  
56 ····invoke-virtual·{v11,·v0},·Ljava/lang/String;->substring(I)Ljava/lang/String;57 ····invoke-virtual·{v11,·v13},·Ljava/lang/String;->substring(I)Ljava/lang/String;
  
57 ····move-result-object·v858 ····move-result-object·v8
  
58 ····.line·4059 ····.line·40
59 ····.local·v8,·"hostEmail":Ljava/lang/String;60 ····.local·v8,·"hostEmail":Ljava/lang/String;
60 ····const/16·v0,·0x3f61 ····const/16·v13,·0x3f
  
61 ····invoke-virtual·{v8,·v0},·Ljava/lang/String;->indexOf(I)I62 ····invoke-virtual·{v8,·v13},·Ljava/lang/String;->indexOf(I)I
  
62 ····move-result·v1063 ····move-result·v10
  
63 ····.line·4164 ····.line·41
64 ····.local·v10,·"queryStart":I65 ····.local·v10,·"queryStart":I
65 ····if-ltz·v10,·:cond_166 ····if-ltz·v10,·:cond_1
  
66 ····.line·4267 ····.line·42
67 ····const/4·v0,·0x068 ····const/4·v13,·0x0
  
68 ····invoke-virtual·{v8,·v0,·v10},·Ljava/lang/String;->substring(II)Ljava/lang/String;69 ····invoke-virtual·{v8,·v13,·v10},·Ljava/lang/String;->substring(II)Ljava/lang/String;
  
69 ····move-result-object·v870 ····move-result-object·v8
  
70 ····.line·4471 ····.line·45
71 ····:cond_172 ····:cond_1
 73 ····:try_start_0
72 ····invoke-static·{v8},·Lcom/google/zxing/client/result/EmailAddressResultParser;->urlDecode(Ljava/lang/String;)Ljava/lang/String;74 ····invoke-static·{v8},·Lcom/google/zxing/client/result/EmailAddressResultParser;->urlDecode(Ljava/lang/String;)Ljava/lang/String;
 75 ····:try_end_0
 76 ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0
  
73 ····move-result-object·v877 ····move-result-object·v8
  
74 ····.line·4578 ····.line·49
75 ····const/4·v1,·0x079 ····const/4·v1,·0x0
  
76 ····.line·4680 ····.line·50
77 ····.local·v1,·"tos":[Ljava/lang/String;81 ····.local·v1,·"tos":[Ljava/lang/String;
78 ····invoke-virtual·{v8},·Ljava/lang/String;->isEmpty()Z82 ····invoke-virtual·{v8},·Ljava/lang/String;->isEmpty()Z
  
79 ····move-result·v083 ····move-result·v0
  
80 ····if-nez·v0,·:cond_284 ····if-nez·v0,·:cond_2
  
81 ····.line·4785 ····.line·51
82 ····sget-object·v0,·Lcom/google/zxing/client/result/EmailAddressResultParser;->COMMA:Ljava/util/regex/Pattern;86 ····sget-object·v0,·Lcom/google/zxing/client/result/EmailAddressResultParser;->COMMA:Ljava/util/regex/Pattern;
  
83 ····invoke-virtual·{v0,·v8},·Ljava/util/regex/Pattern;->split(Ljava/lang/CharSequence;)[Ljava/lang/String;87 ····invoke-virtual·{v0,·v8},·Ljava/util/regex/Pattern;->split(Ljava/lang/CharSequence;)[Ljava/lang/String;
  
84 ····move-result-object·v188 ····move-result-object·v1
  
85 ····.line·4989 ····.line·53
86 ····:cond_290 ····:cond_2
87 ····invoke-static·{v11},·Lcom/google/zxing/client/result/EmailAddressResultParser;->parseNameValuePairs(Ljava/lang/String;)Ljava/util/Map;91 ····invoke-static·{v11},·Lcom/google/zxing/client/result/EmailAddressResultParser;->parseNameValuePairs(Ljava/lang/String;)Ljava/util/Map;
  
88 ····move-result-object·v992 ····move-result-object·v9
  
89 ····.line·5093 ····.line·54
90 ····.local·v9,·"nameValues":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"94 ····.local·v9,·"nameValues":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
91 ····const/4·v2,·0x095 ····const/4·v2,·0x0
  
92 ····.line·5196 ····.line·55
93 ····.local·v2,·"ccs":[Ljava/lang/String;97 ····.local·v2,·"ccs":[Ljava/lang/String;
94 ····const/4·v3,·0x098 ····const/4·v3,·0x0
  
95 ····.line·5299 ····.line·56
96 ····.local·v3,·"bccs":[Ljava/lang/String;100 ····.local·v3,·"bccs":[Ljava/lang/String;
97 ····const/4·v4,·0x0101 ····const/4·v4,·0x0
  
98 ····.line·53102 ····.line·57
99 ····.local·v4,·"subject":Ljava/lang/String;103 ····.local·v4,·"subject":Ljava/lang/String;
100 ····const/4·v5,·0x0104 ····const/4·v5,·0x0
  
101 ····.line·54105 ····.line·58
102 ····.local·v5,·"body":Ljava/lang/String;106 ····.local·v5,·"body":Ljava/lang/String;
103 ····if-eqz·v9,·:cond_6107 ····if-eqz·v9,·:cond_6
  
104 ····.line·55108 ····.line·59
105 ····if-nez·v1,·:cond_3109 ····if-nez·v1,·:cond_3
  
106 ····.line·56110 ····.line·60
107 ····const-string·v0,·"to"111 ····const-string·v0,·"to"
  
108 ····invoke-interface·{v9,·v0},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;112 ····invoke-interface·{v9,·v0},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
109 ····move-result-object·v12113 ····move-result-object·v12
  
110 ····check-cast·v12,·Ljava/lang/String;114 ····check-cast·v12,·Ljava/lang/String;
Max diff block lines reached; 4265/8207 bytes (51.97%) of diff not shown.
9.94 KB
smali/com/google/zxing/client/result/ResultParser.smali
    
Offset 285, 15 lines modifiedOffset 285, 14 lines modified
285 ····.line·188285 ····.line·188
286 ····.end·local·v0····#·"key":Ljava/lang/String;286 ····.end·local·v0····#·"key":Ljava/lang/String;
287 ····.end·local·v2····#·"value":Ljava/lang/String;287 ····.end·local·v2····#·"value":Ljava/lang/String;
288 ····:cond_0288 ····:cond_0
289 ····:goto_0289 ····:goto_0
290 ····return-void290 ····return-void
  
291 ····.line·184 
292 ····.restart·local·v0····#·"key":Ljava/lang/String;291 ····.restart·local·v0····#·"key":Ljava/lang/String;
293 ····.restart·local·v2····#·"value":Ljava/lang/String;292 ····.restart·local·v2····#·"value":Ljava/lang/String;
294 ····:catch_0293 ····:catch_0
295 ····move-exception·v3294 ····move-exception·v3
  
296 ····goto·:goto_0295 ····goto·:goto_0
297 .end·method296 .end·method
Offset 481, 44 lines modifiedOffset 480, 25 lines modified
481 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I480 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I
  
482 ····move-result·v3481 ····move-result·v3
  
483 ····.line·202482 ····.line·202
484 ····.local·v3,·"max":I483 ····.local·v3,·"max":I
485 ····:cond_0484 ····:cond_0
486 ····if-ge·v1,·v3,·:cond_1485 ····if-ge·v1,·v3,·:cond_6
  
487 ····.line·203486 ····.line·203
488 ····invoke-virtual·{p1,·p0,·v1},·Ljava/lang/String;->indexOf(Ljava/lang/String;I)I487 ····invoke-virtual·{p1,·p0,·v1},·Ljava/lang/String;->indexOf(Ljava/lang/String;I)I
  
489 ····move-result·v1488 ····move-result·v1
  
490 ····.line·204489 ····.line·204
491 ····if-gez·v1,·:cond_3490 ····if-ltz·v1,·:cond_6
  
492 ····.line·236 
493 ····:cond_1 
494 ····if-eqz·v2,·:cond_2 
  
495 ····invoke-interface·{v2},·Ljava/util/List;->isEmpty()Z 
  
496 ····move-result·v6 
  
497 ····if-eqz·v6,·:cond_9 
  
498 ····.line·237 
499 ····:cond_2 
500 ····const/4·v6,·0x0 
  
501 ····.line·239 
502 ····:goto_0 
503 ····return-object·v6 
  
504 ····.line·207491 ····.line·207
505 ····:cond_3 
506 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I492 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I
  
507 ····move-result·v6493 ····move-result·v6
  
508 ····add-int/2addr·v1,·v6494 ····add-int/2addr·v1,·v6
  
509 ····.line·208495 ····.line·208
Offset 526, 121 lines modifiedOffset 506, 138 lines modified
  
526 ····.line·209506 ····.line·209
527 ····.local·v5,·"start":I507 ····.local·v5,·"start":I
528 ····const/4·v4,·0x1508 ····const/4·v4,·0x1
  
529 ····.line·210509 ····.line·210
530 ····.local·v4,·"more":Z510 ····.local·v4,·"more":Z
531 ····:goto_1511 ····:goto_0
532 ····if-eqz·v4,·:cond_0512 ····if-eqz·v4,·:cond_0
  
533 ····.line·211513 ····.line·211
534 ····invoke-virtual·{p1,·p2,·v1},·Ljava/lang/String;->indexOf(II)I514 ····invoke-virtual·{p1,·p2,·v1},·Ljava/lang/String;->indexOf(II)I
  
535 ····move-result·v1515 ····move-result·v1
  
536 ····.line·212516 ····.line·212
537 ····if-gez·v1,·:cond_4517 ····if-gez·v1,·:cond_1
  
538 ····.line·214518 ····.line·214
539 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I519 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I
  
540 ····move-result·v1520 ····move-result·v1
  
541 ····.line·215521 ····.line·215
542 ····const/4·v4,·0x0522 ····const/4·v4,·0x0
  
543 ····goto·:goto_1523 ····goto·:goto_0
  
544 ····.line·216524 ····.line·216
545 ····:cond_4525 ····:cond_1
546 ····invoke-static·{p1,·v1},·Lcom/google/zxing/client/result/ResultParser;->countPrecedingBackslashes(Ljava/lang/CharSequence;I)I526 ····invoke-static·{p1,·v1},·Lcom/google/zxing/client/result/ResultParser;->countPrecedingBackslashes(Ljava/lang/CharSequence;I)I
  
547 ····move-result·v6527 ····move-result·v6
  
548 ····rem-int/lit8·v6,·v6,·0x2528 ····rem-int/lit8·v6,·v6,·0x2
  
549 ····if-eqz·v6,·:cond_5529 ····if-eqz·v6,·:cond_2
  
550 ····.line·218530 ····.line·218
551 ····add-int/lit8·v1,·v1,·0x1531 ····add-int/lit8·v1,·v1,·0x1
  
552 ····goto·:goto_1532 ····goto·:goto_0
  
553 ····.line·221533 ····.line·221
554 ····:cond_5534 ····:cond_2
555 ····if-nez·v2,·:cond_6535 ····if-nez·v2,·:cond_3
  
556 ····.line·222536 ····.line·222
557 ····new-instance·v2,·Ljava/util/ArrayList;537 ····new-instance·v2,·Ljava/util/ArrayList;
  
558 ····.end·local·v2····#·"matches":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;"538 ····.end·local·v2····#·"matches":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;"
559 ····const/4·v6,·0x3539 ····const/4·v6,·0x3
  
560 ····invoke-direct·{v2,·v6},·Ljava/util/ArrayList;-><init>(I)V540 ····invoke-direct·{v2,·v6},·Ljava/util/ArrayList;-><init>(I)V
  
561 ····.line·224541 ····.line·224
562 ····.restart·local·v2····#·"matches":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;"542 ····.restart·local·v2····#·"matches":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;"
563 ····:cond_6543 ····:cond_3
564 ····invoke-virtual·{p1,·v5,·v1},·Ljava/lang/String;->substring(II)Ljava/lang/String;544 ····invoke-virtual·{p1,·v5,·v1},·Ljava/lang/String;->substring(II)Ljava/lang/String;
  
565 ····move-result-object·v6545 ····move-result-object·v6
  
566 ····invoke-static·{v6},·Lcom/google/zxing/client/result/ResultParser;->unescapeBackslash(Ljava/lang/String;)Ljava/lang/String;546 ····invoke-static·{v6},·Lcom/google/zxing/client/result/ResultParser;->unescapeBackslash(Ljava/lang/String;)Ljava/lang/String;
  
567 ····move-result-object·v0547 ····move-result-object·v0
  
Max diff block lines reached; 7239/10071 bytes (71.88%) of diff not shown.
7.95 KB
smali/com/google/zxing/client/result/VEventResultParser.smali
    
Offset 161, 67 lines modifiedOffset 161, 66 lines modified
161 ····:cond_1161 ····:cond_1
162 ····return-object·p0162 ····return-object·p0
163 .end·method163 .end·method
  
  
164 #·virtual·methods164 #·virtual·methods
165 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/CalendarParsedResult;165 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/CalendarParsedResult;
166 ····.locals·22166 ····.locals·20
167 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;167 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;
  
168 ····.prologue168 ····.prologue
169 ····.line·33169 ····.line·33
170 ····invoke-static/range·{p1·..·p1},·Lcom/google/zxing/client/result/VEventResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String;170 ····invoke-static/range·{p1·..·p1},·Lcom/google/zxing/client/result/VEventResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String;
  
171 ····move-result-object·v18171 ····move-result-object·v17
  
172 ····.line·34172 ····.line·34
173 ····.local·v18,·"rawText":Ljava/lang/String;173 ····.local·v17,·"rawText":Ljava/lang/String;
174 ····const-string·v3,·"BEGIN:VEVENT"174 ····const-string·v3,·"BEGIN:VEVENT"
  
175 ····move-object/from16·v0,·v18175 ····move-object/from16·v0,·v17
  
176 ····invoke-virtual·{v0,·v3},·Ljava/lang/String;->indexOf(Ljava/lang/String;)I176 ····invoke-virtual·{v0,·v3},·Ljava/lang/String;->indexOf(Ljava/lang/String;)I
  
177 ····move-result·v20177 ····move-result·v3
  
178 ····.line·35178 ····.line·35
179 ····.local·v20,·"vEventStart":I 
180 ····if-gez·v20,·:cond_0179 ····if-gez·v3,·:cond_0
  
181 ····.line·36180 ····.line·36
182 ····const/4·v3,·0x0181 ····const/4·v3,·0x0
  
183 ····.line·88182 ····.line·88
184 ····:goto_0183 ····:goto_0
185 ····return-object·v3184 ····return-object·v3
  
186 ····.line·39185 ····.line·39
187 ····:cond_0186 ····:cond_0
188 ····const-string·v3,·"SUMMARY"187 ····const-string·v3,·"SUMMARY"
  
189 ····const/16·v21,·0x1188 ····const/16·v19,·0x1
  
190 ····move-object/from16·v0,·v18189 ····move-object/from16·v0,·v17
  
191 ····move/from16·v1,·v21190 ····move/from16·v1,·v19
  
192 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;191 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
  
193 ····move-result-object·v4192 ····move-result-object·v4
  
194 ····.line·40193 ····.line·40
195 ····.local·v4,·"summary":Ljava/lang/String;194 ····.local·v4,·"summary":Ljava/lang/String;
196 ····const-string·v3,·"DTSTART"195 ····const-string·v3,·"DTSTART"
  
197 ····const/16·v21,·0x1196 ····const/16·v19,·0x1
  
198 ····move-object/from16·v0,·v18197 ····move-object/from16·v0,·v17
  
199 ····move/from16·v1,·v21198 ····move/from16·v1,·v19
  
200 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;199 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
  
201 ····move-result-object·v5200 ····move-result-object·v5
  
202 ····.line·41201 ····.line·41
203 ····.local·v5,·"start":Ljava/lang/String;202 ····.local·v5,·"start":Ljava/lang/String;
Offset 232, 79 lines modifiedOffset 231, 79 lines modified
  
232 ····goto·:goto_0231 ····goto·:goto_0
  
233 ····.line·44232 ····.line·44
234 ····:cond_1233 ····:cond_1
235 ····const-string·v3,·"DTEND"234 ····const-string·v3,·"DTEND"
  
236 ····const/16·v21,·0x1235 ····const/16·v19,·0x1
  
237 ····move-object/from16·v0,·v18236 ····move-object/from16·v0,·v17
  
238 ····move/from16·v1,·v21237 ····move/from16·v1,·v19
  
239 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;238 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
  
240 ····move-result-object·v6239 ····move-result-object·v6
  
241 ····.line·45240 ····.line·45
242 ····.local·v6,·"end":Ljava/lang/String;241 ····.local·v6,·"end":Ljava/lang/String;
243 ····const-string·v3,·"DURATION"242 ····const-string·v3,·"DURATION"
  
244 ····const/16·v21,·0x1243 ····const/16·v19,·0x1
  
245 ····move-object/from16·v0,·v18244 ····move-object/from16·v0,·v17
  
246 ····move/from16·v1,·v21245 ····move/from16·v1,·v19
  
247 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;246 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
  
248 ····move-result-object·v7247 ····move-result-object·v7
  
249 ····.line·46248 ····.line·46
250 ····.local·v7,·"duration":Ljava/lang/String;249 ····.local·v7,·"duration":Ljava/lang/String;
251 ····const-string·v3,·"LOCATION"250 ····const-string·v3,·"LOCATION"
  
252 ····const/16·v21,·0x1251 ····const/16·v19,·0x1
  
253 ····move-object/from16·v0,·v18252 ····move-object/from16·v0,·v17
  
254 ····move/from16·v1,·v21253 ····move/from16·v1,·v19
  
255 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;254 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
  
256 ····move-result-object·v8255 ····move-result-object·v8
  
257 ····.line·47256 ····.line·47
258 ····.local·v8,·"location":Ljava/lang/String;257 ····.local·v8,·"location":Ljava/lang/String;
259 ····const-string·v3,·"ORGANIZER"258 ····const-string·v3,·"ORGANIZER"
  
260 ····const/16·v21,·0x1259 ····const/16·v19,·0x1
  
261 ····move-object/from16·v0,·v18260 ····move-object/from16·v0,·v17
  
262 ····move/from16·v1,·v21261 ····move/from16·v1,·v19
  
263 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;262 ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String;
  
264 ····move-result-object·v3263 ····move-result-object·v3
  
Max diff block lines reached; 3998/8023 bytes (49.83%) of diff not shown.
780 B
smali/com/google/zxing/client/result/SMSMMSResultParser.smali
    
Offset 167, 15 lines modifiedOffset 167, 15 lines modified
167 ····move-result·v12167 ····move-result·v12
  
168 ····if-nez·v12,·:cond_0168 ····if-nez·v12,·:cond_0
  
169 ····.line·48169 ····.line·48
170 ····const/4·v12,·0x0170 ····const/4·v12,·0x0
  
171 ····.line·84171 ····.line·83
172 ····:goto_0172 ····:goto_0
173 ····return-object·v12173 ····return-object·v12
  
174 ····.line·52174 ····.line·52
175 ····:cond_0175 ····:cond_0
176 ····invoke-static·{v8},·Lcom/google/zxing/client/result/SMSMMSResultParser;->parseNameValuePairs(Ljava/lang/String;)Ljava/util/Map;176 ····invoke-static·{v8},·Lcom/google/zxing/client/result/SMSMMSResultParser;->parseNameValuePairs(Ljava/lang/String;)Ljava/util/Map;
  
Offset 363, 9 lines modifiedOffset 363, 10 lines modified
  
363 ····check-cast·v13,·[Ljava/lang/String;363 ····check-cast·v13,·[Ljava/lang/String;
  
364 ····invoke-direct·{v14,·v12,·v13,·v10,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V364 ····invoke-direct·{v14,·v12,·v13,·v10,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
  
365 ····move-object·v12,·v14365 ····move-object·v12,·v14
  
 366 ····.line·83
366 ····goto·:goto_0367 ····goto·:goto_0
367 .end·method368 .end·method
12.6 KB
smali/com/google/zxing/client/result/AddressBookParsedResult.smali
    
Offset 54, 89 lines modifiedOffset 54, 89 lines modified
54 ····.param·p12,·"org"····#·Ljava/lang/String;54 ····.param·p12,·"org"····#·Ljava/lang/String;
55 ····.param·p13,·"birthday"····#·Ljava/lang/String;55 ····.param·p13,·"birthday"····#·Ljava/lang/String;
56 ····.param·p14,·"title"····#·Ljava/lang/String;56 ····.param·p14,·"title"····#·Ljava/lang/String;
57 ····.param·p15,·"urls"····#·[Ljava/lang/String;57 ····.param·p15,·"urls"····#·[Ljava/lang/String;
58 ····.param·p16,·"geo"····#·[Ljava/lang/String;58 ····.param·p16,·"geo"····#·[Ljava/lang/String;
  
59 ····.prologue59 ····.prologue
60 ····.line·8260 ····.line·85
61 ····sget-object·v1,·Lcom/google/zxing/client/result/ParsedResultType;->ADDRESSBOOK:Lcom/google/zxing/client/result/ParsedResultType;61 ····sget-object·v1,·Lcom/google/zxing/client/result/ParsedResultType;->ADDRESSBOOK:Lcom/google/zxing/client/result/ParsedResultType;
  
62 ····invoke-direct·{p0,·v1},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V62 ····invoke-direct·{p0,·v1},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
63 ····.line·8363 ····.line·86
64 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->names:[Ljava/lang/String;64 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->names:[Ljava/lang/String;
  
65 ····.line·8465 ····.line·87
66 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->nicknames:[Ljava/lang/String;66 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->nicknames:[Ljava/lang/String;
  
67 ····.line·8567 ····.line·88
68 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->pronunciation:Ljava/lang/String;68 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->pronunciation:Ljava/lang/String;
  
69 ····.line·8669 ····.line·89
70 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->phoneNumbers:[Ljava/lang/String;70 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->phoneNumbers:[Ljava/lang/String;
  
71 ····.line·8771 ····.line·90
72 ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->phoneTypes:[Ljava/lang/String;72 ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->phoneTypes:[Ljava/lang/String;
  
73 ····.line·8873 ····.line·91
74 ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->emails:[Ljava/lang/String;74 ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->emails:[Ljava/lang/String;
  
75 ····.line·8975 ····.line·92
76 ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->emailTypes:[Ljava/lang/String;76 ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->emailTypes:[Ljava/lang/String;
  
77 ····.line·9077 ····.line·93
78 ····iput-object·p8,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->instantMessenger:Ljava/lang/String;78 ····iput-object·p8,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->instantMessenger:Ljava/lang/String;
  
79 ····.line·9179 ····.line·94
80 ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->note:Ljava/lang/String;80 ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->note:Ljava/lang/String;
  
81 ····.line·9281 ····.line·95
82 ····iput-object·p10,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addresses:[Ljava/lang/String;82 ····iput-object·p10,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addresses:[Ljava/lang/String;
  
83 ····.line·9383 ····.line·96
84 ····iput-object·p11,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addressTypes:[Ljava/lang/String;84 ····iput-object·p11,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addressTypes:[Ljava/lang/String;
  
85 ····.line·9485 ····.line·97
86 ····iput-object·p12,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->org:Ljava/lang/String;86 ····iput-object·p12,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->org:Ljava/lang/String;
  
87 ····.line·9587 ····.line·98
88 ····iput-object·p13,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->birthday:Ljava/lang/String;88 ····iput-object·p13,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->birthday:Ljava/lang/String;
  
89 ····.line·9689 ····.line·99
90 ····move-object/from16·v0,·p1490 ····move-object/from16·v0,·p14
  
91 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->title:Ljava/lang/String;91 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->title:Ljava/lang/String;
  
92 ····.line·9792 ····.line·100
93 ····move-object/from16·v0,·p1593 ····move-object/from16·v0,·p15
  
94 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->urls:[Ljava/lang/String;94 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->urls:[Ljava/lang/String;
  
95 ····.line·9895 ····.line·101
96 ····move-object/from16·v0,·p1696 ····move-object/from16·v0,·p16
  
97 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->geo:[Ljava/lang/String;97 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->geo:[Ljava/lang/String;
  
98 ····.line·9998 ····.line·102
99 ····return-void99 ····return-void
100 .end·method100 .end·method
  
101 .method·public·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V101 .method·public·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
102 ····.locals·17102 ····.locals·17
103 ····.param·p1,·"names"····#·[Ljava/lang/String;103 ····.param·p1,·"names"····#·[Ljava/lang/String;
104 ····.param·p2,·"phoneNumbers"····#·[Ljava/lang/String;104 ····.param·p2,·"phoneNumbers"····#·[Ljava/lang/String;
105 ····.param·p3,·"phoneTypes"····#·[Ljava/lang/String;105 ····.param·p3,·"phoneTypes"····#·[Ljava/lang/String;
106 ····.param·p4,·"emails"····#·[Ljava/lang/String;106 ····.param·p4,·"emails"····#·[Ljava/lang/String;
107 ····.param·p5,·"emailTypes"····#·[Ljava/lang/String;107 ····.param·p5,·"emailTypes"····#·[Ljava/lang/String;
108 ····.param·p6,·"addresses"····#·[Ljava/lang/String;108 ····.param·p6,·"addresses"····#·[Ljava/lang/String;
109 ····.param·p7,·"addressTypes"····#·[Ljava/lang/String;109 ····.param·p7,·"addressTypes"····#·[Ljava/lang/String;
  
110 ····.prologue110 ····.prologue
111 ····.line·48111 ····.line·51
112 ····const/4·v2,·0x0112 ····const/4·v2,·0x0
  
113 ····const/4·v3,·0x0113 ····const/4·v3,·0x0
  
114 ····const/4·v8,·0x0114 ····const/4·v8,·0x0
  
115 ····const/4·v9,·0x0115 ····const/4·v9,·0x0
Offset 165, 257 lines modifiedOffset 165, 257 lines modified
  
165 ····move-object/from16·v10,·p6165 ····move-object/from16·v10,·p6
  
166 ····move-object/from16·v11,·p7166 ····move-object/from16·v11,·p7
  
167 ····invoke-direct/range·{v0·..·v16},·Lcom/google/zxing/client/result/AddressBookParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V167 ····invoke-direct/range·{v0·..·v16},·Lcom/google/zxing/client/result/AddressBookParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
  
168 ····.line·64168 ····.line·67
169 ····return-void169 ····return-void
170 .end·method170 .end·method
  
  
171 #·virtual·methods171 #·virtual·methods
172 .method·public·getAddressTypes()[Ljava/lang/String;172 .method·public·getAddressTypes()[Ljava/lang/String;
173 ····.locals·1173 ····.locals·1
  
174 ····.prologue174 ····.prologue
175 ····.line·160175 ····.line·163
176 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addressTypes:[Ljava/lang/String;176 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addressTypes:[Ljava/lang/String;
  
177 ····return-object·v0177 ····return-object·v0
178 .end·method178 .end·method
  
179 .method·public·getAddresses()[Ljava/lang/String;179 .method·public·getAddresses()[Ljava/lang/String;
180 ····.locals·1180 ····.locals·1
  
181 ····.prologue181 ····.prologue
182 ····.line·152182 ····.line·155
183 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addresses:[Ljava/lang/String;183 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addresses:[Ljava/lang/String;
  
184 ····return-object·v0184 ····return-object·v0
185 .end·method185 .end·method
  
186 .method·public·getBirthday()Ljava/lang/String;186 .method·public·getBirthday()Ljava/lang/String;
187 ····.locals·1187 ····.locals·1
  
188 ····.prologue188 ····.prologue
Max diff block lines reached; 7692/12741 bytes (60.37%) of diff not shown.
23.4 KB
smali/com/google/zxing/client/result/ExpandedProductResultParser.smali
    
Offset 16, 100 lines modifiedOffset 16, 99 lines modified
  
16 .method·private·static·findAIvalue(ILjava/lang/String;)Ljava/lang/String;16 .method·private·static·findAIvalue(ILjava/lang/String;)Ljava/lang/String;
17 ····.locals·717 ····.locals·7
18 ····.param·p0,·"i"····#·I18 ····.param·p0,·"i"····#·I
19 ····.param·p1,·"rawText"····#·Ljava/lang/String;19 ····.param·p1,·"rawText"····#·Ljava/lang/String;
  
20 ····.prologue20 ····.prologue
21 ····const/4·v5,·0x021 ····const/4·v4,·0x0
  
22 ····.line·17622 ····.line·176
23 ····invoke-virtual·{p1,·p0},·Ljava/lang/String;->charAt(I)C23 ····invoke-virtual·{p1,·p0},·Ljava/lang/String;->charAt(I)C
  
24 ····move-result·v124 ····move-result·v5
  
25 ····.line·17825 ····.line·178
26 ····.local·v1,·"c":C 
27 ····const/16·v6,·0x2826 ····const/16·v6,·0x28
  
28 ····if-eq·v1,·v6,·:cond_127 ····if-eq·v5,·v6,·:cond_1
  
29 ····.line·19528 ····.line·195
30 ····:cond_029 ····:cond_0
31 ····:goto_030 ····:goto_0
32 ····return-object·v531 ····return-object·v4
  
33 ····.line·18232 ····.line·182
34 ····:cond_133 ····:cond_1
35 ····add-int/lit8·v6,·p0,·0x134 ····add-int/lit8·v5,·p0,·0x1
  
36 ····invoke-virtual·{p1,·v6},·Ljava/lang/String;->substring(I)Ljava/lang/String;35 ····invoke-virtual·{p1,·v5},·Ljava/lang/String;->substring(I)Ljava/lang/String;
  
37 ····move-result-object·v436 ····move-result-object·v3
  
38 ····.line·18437 ····.line·184
39 ····.local·v4,·"rawTextAux":Ljava/lang/CharSequence;38 ····.local·v3,·"rawTextAux":Ljava/lang/CharSequence;
40 ····new-instance·v0,·Ljava/lang/StringBuilder;39 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
41 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V40 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
42 ····.line·18541 ····.line·185
43 ····.local·v0,·"buf":Ljava/lang/StringBuilder;42 ····.local·v0,·"buf":Ljava/lang/StringBuilder;
44 ····const/4·v3,·0x043 ····const/4·v2,·0x0
  
45 ····.local·v3,·"index":I44 ····.local·v2,·"index":I
46 ····:goto_145 ····:goto_1
47 ····invoke-interface·{v4},·Ljava/lang/CharSequence;->length()I46 ····invoke-interface·{v3},·Ljava/lang/CharSequence;->length()I
  
48 ····move-result·v647 ····move-result·v5
  
49 ····if-ge·v3,·v6,·:cond_348 ····if-ge·v2,·v5,·:cond_3
  
50 ····.line·18649 ····.line·186
51 ····invoke-interface·{v4,·v3},·Ljava/lang/CharSequence;->charAt(I)C50 ····invoke-interface·{v3,·v2},·Ljava/lang/CharSequence;->charAt(I)C
  
52 ····move-result·v251 ····move-result·v1
  
53 ····.line·18752 ····.line·187
54 ····.local·v2,·"currentChar":C53 ····.local·v1,·"currentChar":C
55 ····const/16·v6,·0x2954 ····const/16·v5,·0x29
  
56 ····if-ne·v2,·v6,·:cond_255 ····if-ne·v1,·v5,·:cond_2
  
57 ····.line·18856 ····.line·188
58 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;57 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
59 ····move-result-object·v558 ····move-result-object·v4
  
60 ····goto·:goto_059 ····goto·:goto_0
  
61 ····.line·18960 ····.line·189
62 ····:cond_261 ····:cond_2
63 ····const/16·v6,·0x3062 ····const/16·v5,·0x30
  
64 ····if-lt·v2,·v6,·:cond_063 ····if-lt·v1,·v5,·:cond_0
  
65 ····const/16·v6,·0x3964 ····const/16·v5,·0x39
  
66 ····if-gt·v2,·v6,·:cond_065 ····if-gt·v1,·v5,·:cond_0
  
67 ····.line·19066 ····.line·190
68 ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;67 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
69 ····.line·18568 ····.line·185
70 ····add-int/lit8·v3,·v3,·0x169 ····add-int/lit8·v2,·v2,·0x1
  
71 ····goto·:goto_170 ····goto·:goto_1
  
72 ····.line·19571 ····.line·195
73 ····.end·local·v2····#·"currentChar":C72 ····.end·local·v1····#·"currentChar":C
74 ····:cond_373 ····:cond_3
75 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;74 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
76 ····move-result-object·v575 ····move-result-object·v4
  
77 ····goto·:goto_076 ····goto·:goto_0
78 .end·method77 .end·method
  
79 .method·private·static·findValue(ILjava/lang/String;)Ljava/lang/String;78 .method·private·static·findValue(ILjava/lang/String;)Ljava/lang/String;
80 ····.locals·679 ····.locals·6
81 ····.param·p0,·"i"····#·I80 ····.param·p0,·"i"····#·I
Offset 181, 30 lines modifiedOffset 180, 29 lines modified
  
181 ····return-object·v4180 ····return-object·v4
182 .end·method181 .end·method
  
  
183 #·virtual·methods182 #·virtual·methods
184 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ExpandedProductParsedResult;183 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ExpandedProductParsedResult;
185 ····.locals·24184 ····.locals·23
186 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;185 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;
  
187 ····.prologue186 ····.prologue
188 ····.line·45187 ····.line·45
189 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat;188 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat;
  
190 ····move-result-object·v20189 ····move-result-object·v3
  
191 ····.line·46190 ····.line·46
192 ····.local·v20,·"format":Lcom/google/zxing/BarcodeFormat; 
193 ····sget-object·v3,·Lcom/google/zxing/BarcodeFormat;->RSS_EXPANDED:Lcom/google/zxing/BarcodeFormat;191 ····sget-object·v22,·Lcom/google/zxing/BarcodeFormat;->RSS_EXPANDED:Lcom/google/zxing/BarcodeFormat;
  
194 ····move-object/from16·v0,·v20192 ····move-object/from16·v0,·v22
  
195 ····if-eq·v0,·v3,·:cond_0193 ····if-eq·v3,·v0,·:cond_0
  
196 ····.line·48194 ····.line·48
197 ····const/4·v3,·0x0195 ····const/4·v3,·0x0
Max diff block lines reached; 19917/23847 bytes (83.52%) of diff not shown.
1.25 KB
smali/com/google/zxing/client/result/ISBNParsedResult.smali
    
Offset 9, 40 lines modifiedOffset 9, 40 lines modified
  
9 #·direct·methods9 #·direct·methods
10 .method·constructor·<init>(Ljava/lang/String;)V10 .method·constructor·<init>(Ljava/lang/String;)V
11 ····.locals·111 ····.locals·1
12 ····.param·p1,·"isbn"····#·Ljava/lang/String;12 ····.param·p1,·"isbn"····#·Ljava/lang/String;
  
13 ····.prologue13 ····.prologue
14 ····.line·2714 ····.line·29
15 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->ISBN:Lcom/google/zxing/client/result/ParsedResultType;15 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->ISBN:Lcom/google/zxing/client/result/ParsedResultType;
  
16 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V16 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
17 ····.line·2817 ····.line·30
18 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String;18 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String;
  
19 ····.line·2919 ····.line·31
20 ····return-void20 ····return-void
21 .end·method21 .end·method
  
  
22 #·virtual·methods22 #·virtual·methods
23 .method·public·getDisplayResult()Ljava/lang/String;23 .method·public·getDisplayResult()Ljava/lang/String;
24 ····.locals·124 ····.locals·1
  
25 ····.prologue25 ····.prologue
26 ····.line·3726 ····.line·39
27 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String;27 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String;
  
28 ····return-object·v028 ····return-object·v0
29 .end·method29 .end·method
  
30 .method·public·getISBN()Ljava/lang/String;30 .method·public·getISBN()Ljava/lang/String;
31 ····.locals·131 ····.locals·1
  
32 ····.prologue32 ····.prologue
33 ····.line·3233 ····.line·34
34 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String;34 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String;
  
35 ····return-object·v035 ····return-object·v0
36 .end·method36 .end·method
19.1 KB
smali/com/google/zxing/client/result/ExpandedProductParsedResult.smali
    
Offset 90, 80 lines modifiedOffset 90, 80 lines modified
90 ············"Ljava/lang/String;",90 ············"Ljava/lang/String;",
91 ············"Ljava/lang/String;",91 ············"Ljava/lang/String;",
92 ············">;)V"92 ············">;)V"
93 ········}93 ········}
94 ····.end·annotation94 ····.end·annotation
  
95 ····.prologue95 ····.prologue
96 ····.line·7296 ····.line·75
97 ····.local·p15,·"uncommonAIs":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"97 ····.local·p15,·"uncommonAIs":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
98 ····sget-object·v1,·Lcom/google/zxing/client/result/ParsedResultType;->PRODUCT:Lcom/google/zxing/client/result/ParsedResultType;98 ····sget-object·v1,·Lcom/google/zxing/client/result/ParsedResultType;->PRODUCT:Lcom/google/zxing/client/result/ParsedResultType;
  
99 ····invoke-direct·{p0,·v1},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V99 ····invoke-direct·{p0,·v1},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
100 ····.line·73100 ····.line·76
101 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->rawText:Ljava/lang/String;101 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->rawText:Ljava/lang/String;
  
102 ····.line·74102 ····.line·77
103 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String;103 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String;
  
104 ····.line·75104 ····.line·78
105 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->sscc:Ljava/lang/String;105 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->sscc:Ljava/lang/String;
  
106 ····.line·76106 ····.line·79
107 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->lotNumber:Ljava/lang/String;107 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->lotNumber:Ljava/lang/String;
  
108 ····.line·77108 ····.line·80
109 ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productionDate:Ljava/lang/String;109 ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productionDate:Ljava/lang/String;
  
110 ····.line·78110 ····.line·81
111 ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->packagingDate:Ljava/lang/String;111 ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->packagingDate:Ljava/lang/String;
  
112 ····.line·79112 ····.line·82
113 ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->bestBeforeDate:Ljava/lang/String;113 ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->bestBeforeDate:Ljava/lang/String;
  
114 ····.line·80114 ····.line·83
115 ····iput-object·p8,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->expirationDate:Ljava/lang/String;115 ····iput-object·p8,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->expirationDate:Ljava/lang/String;
  
116 ····.line·81116 ····.line·84
117 ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weight:Ljava/lang/String;117 ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weight:Ljava/lang/String;
  
118 ····.line·82118 ····.line·85
119 ····iput-object·p10,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weightType:Ljava/lang/String;119 ····iput-object·p10,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weightType:Ljava/lang/String;
  
120 ····.line·83120 ····.line·86
121 ····iput-object·p11,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weightIncrement:Ljava/lang/String;121 ····iput-object·p11,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weightIncrement:Ljava/lang/String;
  
122 ····.line·84122 ····.line·87
123 ····iput-object·p12,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->price:Ljava/lang/String;123 ····iput-object·p12,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->price:Ljava/lang/String;
  
124 ····.line·85124 ····.line·88
125 ····iput-object·p13,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->priceIncrement:Ljava/lang/String;125 ····iput-object·p13,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->priceIncrement:Ljava/lang/String;
  
126 ····.line·86126 ····.line·89
127 ····move-object/from16·v0,·p14127 ····move-object/from16·v0,·p14
  
128 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->priceCurrency:Ljava/lang/String;128 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->priceCurrency:Ljava/lang/String;
  
129 ····.line·87129 ····.line·90
130 ····move-object/from16·v0,·p15130 ····move-object/from16·v0,·p15
  
131 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->uncommonAIs:Ljava/util/Map;131 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->uncommonAIs:Ljava/util/Map;
  
132 ····.line·88132 ····.line·91
133 ····return-void133 ····return-void
134 .end·method134 .end·method
  
135 .method·private·static·equalsOrNull(Ljava/lang/Object;Ljava/lang/Object;)Z135 .method·private·static·equalsOrNull(Ljava/lang/Object;Ljava/lang/Object;)Z
136 ····.locals·1136 ····.locals·1
137 ····.param·p0,·"o1"····#·Ljava/lang/Object;137 ····.param·p0,·"o1"····#·Ljava/lang/Object;
138 ····.param·p1,·"o2"····#·Ljava/lang/Object;138 ····.param·p1,·"o2"····#·Ljava/lang/Object;
  
139 ····.prologue139 ····.prologue
140 ····.line·114140 ····.line·117
141 ····if-nez·p0,·:cond_1141 ····if-nez·p0,·:cond_1
  
142 ····if-nez·p1,·:cond_0142 ····if-nez·p1,·:cond_0
  
143 ····const/4·v0,·0x1143 ····const/4·v0,·0x1
  
144 ····:goto_0144 ····:goto_0
Offset 183, 15 lines modifiedOffset 183, 15 lines modified
183 .end·method183 .end·method
  
184 .method·private·static·hashNotNull(Ljava/lang/Object;)I184 .method·private·static·hashNotNull(Ljava/lang/Object;)I
185 ····.locals·1185 ····.locals·1
186 ····.param·p0,·"o"····#·Ljava/lang/Object;186 ····.param·p0,·"o"····#·Ljava/lang/Object;
  
187 ····.prologue187 ····.prologue
188 ····.line·137188 ····.line·140
189 ····if-nez·p0,·:cond_0189 ····if-nez·p0,·:cond_0
  
190 ····const/4·v0,·0x0190 ····const/4·v0,·0x0
  
191 ····:goto_0191 ····:goto_0
192 ····return·v0192 ····return·v0
  
Offset 208, 31 lines modifiedOffset 208, 31 lines modified
208 .method·public·equals(Ljava/lang/Object;)Z208 .method·public·equals(Ljava/lang/Object;)Z
209 ····.locals·4209 ····.locals·4
210 ····.param·p1,·"o"····#·Ljava/lang/Object;210 ····.param·p1,·"o"····#·Ljava/lang/Object;
  
211 ····.prologue211 ····.prologue
212 ····const/4·v1,·0x0212 ····const/4·v1,·0x0
  
213 ····.line·92213 ····.line·95
214 ····instance-of·v2,·p1,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;214 ····instance-of·v2,·p1,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;
  
215 ····if-nez·v2,·:cond_1215 ····if-nez·v2,·:cond_1
  
216 ····.line·110216 ····.line·113
217 ····:cond_0217 ····:cond_0
218 ····:goto_0218 ····:goto_0
219 ····return·v1219 ····return·v1
  
220 ····:cond_1220 ····:cond_1
221 ····move-object·v0,·p1221 ····move-object·v0,·p1
  
222 ····.line·96222 ····.line·99
223 ····check-cast·v0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;223 ····check-cast·v0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;
  
224 ····.line·98224 ····.line·101
225 ····.local·v0,·"other":Lcom/google/zxing/client/result/ExpandedProductParsedResult;225 ····.local·v0,·"other":Lcom/google/zxing/client/result/ExpandedProductParsedResult;
226 ····iget-object·v2,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String;226 ····iget-object·v2,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String;
  
227 ····iget-object·v3,·v0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String;227 ····iget-object·v3,·v0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String;
  
228 ····invoke-static·{v2,·v3},·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->equalsOrNull(Ljava/lang/Object;Ljava/lang/Object;)Z228 ····invoke-static·{v2,·v3},·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->equalsOrNull(Ljava/lang/Object;Ljava/lang/Object;)Z
Max diff block lines reached; 14885/19407 bytes (76.70%) of diff not shown.
4.44 KB
smali/com/google/zxing/client/result/WifiParsedResult.smali
    
Offset 17, 130 lines modifiedOffset 17, 130 lines modified
17 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V17 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
18 ····.locals·118 ····.locals·1
19 ····.param·p1,·"networkEncryption"····#·Ljava/lang/String;19 ····.param·p1,·"networkEncryption"····#·Ljava/lang/String;
20 ····.param·p2,·"ssid"····#·Ljava/lang/String;20 ····.param·p2,·"ssid"····#·Ljava/lang/String;
21 ····.param·p3,·"password"····#·Ljava/lang/String;21 ····.param·p3,·"password"····#·Ljava/lang/String;
  
22 ····.prologue22 ····.prologue
23 ····.line·3023 ····.line·32
24 ····const/4·v0,·0x024 ····const/4·v0,·0x0
  
25 ····invoke-direct·{p0,·p1,·p2,·p3,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V25 ····invoke-direct·{p0,·p1,·p2,·p3,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
  
26 ····.line·3126 ····.line·33
27 ····return-void27 ····return-void
28 .end·method28 .end·method
  
29 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V29 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
30 ····.locals·130 ····.locals·1
31 ····.param·p1,·"networkEncryption"····#·Ljava/lang/String;31 ····.param·p1,·"networkEncryption"····#·Ljava/lang/String;
32 ····.param·p2,·"ssid"····#·Ljava/lang/String;32 ····.param·p2,·"ssid"····#·Ljava/lang/String;
33 ····.param·p3,·"password"····#·Ljava/lang/String;33 ····.param·p3,·"password"····#·Ljava/lang/String;
34 ····.param·p4,·"hidden"····#·Z34 ····.param·p4,·"hidden"····#·Z
  
35 ····.prologue35 ····.prologue
36 ····.line·3436 ····.line·36
37 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->WIFI:Lcom/google/zxing/client/result/ParsedResultType;37 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->WIFI:Lcom/google/zxing/client/result/ParsedResultType;
  
38 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V38 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
39 ····.line·3539 ····.line·37
40 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String;40 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String;
  
41 ····.line·3641 ····.line·38
42 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String;42 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String;
  
43 ····.line·3743 ····.line·39
44 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String;44 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String;
  
45 ····.line·3845 ····.line·40
46 ····iput-boolean·p4,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z46 ····iput-boolean·p4,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z
  
47 ····.line·3947 ····.line·41
48 ····return-void48 ····return-void
49 .end·method49 .end·method
  
  
50 #·virtual·methods50 #·virtual·methods
51 .method·public·getDisplayResult()Ljava/lang/String;51 .method·public·getDisplayResult()Ljava/lang/String;
52 ····.locals·252 ····.locals·2
  
53 ····.prologue53 ····.prologue
54 ····.line·5954 ····.line·61
55 ····new-instance·v0,·Ljava/lang/StringBuilder;55 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
56 ····const/16·v1,·0x5056 ····const/16·v1,·0x50
  
57 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V57 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V
  
58 ····.line·6058 ····.line·62
59 ····.local·v0,·"result":Ljava/lang/StringBuilder;59 ····.local·v0,·"result":Ljava/lang/StringBuilder;
60 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String;60 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String;
  
61 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V61 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
62 ····.line·6162 ····.line·63
63 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String;63 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String;
  
64 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V64 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
65 ····.line·6265 ····.line·64
66 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String;66 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String;
  
67 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V67 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
68 ····.line·6368 ····.line·65
69 ····iget-boolean·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z69 ····iget-boolean·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z
  
70 ····invoke-static·{v1},·Ljava/lang/Boolean;->toString(Z)Ljava/lang/String;70 ····invoke-static·{v1},·Ljava/lang/Boolean;->toString(Z)Ljava/lang/String;
  
71 ····move-result-object·v171 ····move-result-object·v1
  
72 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V72 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
73 ····.line·6473 ····.line·66
74 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;74 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
75 ····move-result-object·v175 ····move-result-object·v1
  
76 ····return-object·v176 ····return-object·v1
77 .end·method77 .end·method
  
78 .method·public·getNetworkEncryption()Ljava/lang/String;78 .method·public·getNetworkEncryption()Ljava/lang/String;
79 ····.locals·179 ····.locals·1
  
80 ····.prologue80 ····.prologue
81 ····.line·4681 ····.line·48
82 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String;82 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String;
  
83 ····return-object·v083 ····return-object·v0
84 .end·method84 .end·method
  
85 .method·public·getPassword()Ljava/lang/String;85 .method·public·getPassword()Ljava/lang/String;
86 ····.locals·186 ····.locals·1
  
87 ····.prologue87 ····.prologue
88 ····.line·5088 ····.line·52
89 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String;89 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String;
  
90 ····return-object·v090 ····return-object·v0
91 .end·method91 .end·method
  
92 .method·public·getSsid()Ljava/lang/String;92 .method·public·getSsid()Ljava/lang/String;
93 ····.locals·193 ····.locals·1
  
94 ····.prologue94 ····.prologue
95 ····.line·4295 ····.line·44
96 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String;96 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String;
  
97 ····return-object·v097 ····return-object·v0
98 .end·method98 .end·method
  
99 .method·public·isHidden()Z99 .method·public·isHidden()Z
100 ····.locals·1100 ····.locals·1
  
101 ····.prologue101 ····.prologue
102 ····.line·54102 ····.line·56
103 ····iget-boolean·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z103 ····iget-boolean·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z
Max diff block lines reached; 28/4430 bytes (0.63%) of diff not shown.
2.04 KB
smali/com/google/zxing/client/result/EmailDoCoMoResultParser.smali
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
  
72 ····goto·:goto_072 ····goto·:goto_0
73 .end·method73 .end·method
  
  
74 #·virtual·methods74 #·virtual·methods
75 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/EmailAddressParsedResult;75 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/EmailAddressParsedResult;
76 ····.locals·1076 ····.locals·9
77 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;77 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;
  
78 ····.prologue78 ····.prologue
79 ····const/4·v3,·0x079 ····const/4·v3,·0x0
  
80 ····const/4·v2,·0x080 ····const/4·v2,·0x0
  
Offset 104, 49 lines modifiedOffset 104, 47 lines modified
104 ····:goto_0104 ····:goto_0
105 ····return-object·v2105 ····return-object·v2
  
106 ····.line·40106 ····.line·40
107 ····:cond_1107 ····:cond_1
108 ····const-string·v0,·"TO:"108 ····const-string·v0,·"TO:"
  
109 ····const/4·v8,·0x1109 ····const/4·v7,·0x1
  
110 ····invoke-static·{v0,·v6,·v8},·Lcom/google/zxing/client/result/EmailDoCoMoResultParser;->matchDoCoMoPrefixedField(Ljava/lang/String;Ljava/lang/String;Z)[Ljava/lang/String;110 ····invoke-static·{v0,·v6,·v7},·Lcom/google/zxing/client/result/EmailDoCoMoResultParser;->matchDoCoMoPrefixedField(Ljava/lang/String;Ljava/lang/String;Z)[Ljava/lang/String;
  
111 ····move-result-object·v1111 ····move-result-object·v1
  
112 ····.line·41112 ····.line·41
113 ····.local·v1,·"tos":[Ljava/lang/String;113 ····.local·v1,·"tos":[Ljava/lang/String;
114 ····if-eqz·v1,·:cond_0114 ····if-eqz·v1,·:cond_0
  
115 ····.line·44115 ····.line·44
116 ····array-length·v8,·v1116 ····array-length·v7,·v1
  
117 ····move·v0,·v3117 ····move·v0,·v3
  
118 ····:goto_1118 ····:goto_1
119 ····if-ge·v0,·v8,·:cond_2119 ····if-ge·v0,·v7,·:cond_2
  
120 ····aget-object·v7,·v1,·v0120 ····aget-object·v8,·v1,·v0
  
121 ····.line·45121 ····.line·45
122 ····.local·v7,·"to":Ljava/lang/String; 
123 ····invoke-static·{v7},·Lcom/google/zxing/client/result/EmailDoCoMoResultParser;->isBasicallyValidEmailAddress(Ljava/lang/String;)Z122 ····invoke-static·{v8},·Lcom/google/zxing/client/result/EmailDoCoMoResultParser;->isBasicallyValidEmailAddress(Ljava/lang/String;)Z
  
124 ····move-result·v9123 ····move-result·v8
  
125 ····if-eqz·v9,·:cond_0124 ····if-eqz·v8,·:cond_0
  
126 ····.line·44125 ····.line·44
127 ····add-int/lit8·v0,·v0,·0x1126 ····add-int/lit8·v0,·v0,·0x1
  
128 ····goto·:goto_1127 ····goto·:goto_1
  
129 ····.line·49128 ····.line·49
130 ····.end·local·v7····#·"to":Ljava/lang/String; 
131 ····:cond_2129 ····:cond_2
132 ····const-string·v0,·"SUB:"130 ····const-string·v0,·"SUB:"
  
133 ····invoke-static·{v0,·v6,·v3},·Lcom/google/zxing/client/result/EmailDoCoMoResultParser;->matchSingleDoCoMoPrefixedField(Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;131 ····invoke-static·{v0,·v6,·v3},·Lcom/google/zxing/client/result/EmailDoCoMoResultParser;->matchSingleDoCoMoPrefixedField(Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
  
134 ····move-result-object·v4132 ····move-result-object·v4
  
20.1 KB
smali/com/google/zxing/client/result/CalendarParsedResult.smali
    
Offset 36, 45 lines modifiedOffset 36, 45 lines modified
  
  
36 #·direct·methods36 #·direct·methods
37 .method·static·constructor·<clinit>()V37 .method·static·constructor·<clinit>()V
38 ····.locals·138 ····.locals·1
  
39 ····.prologue39 ····.prologue
40 ····.line·3540 ····.line·38
41 ····const-string·v0,·"P(?:(\\d+)W)?(?:(\\d+)D)?(?:T(?:(\\d+)H)?(?:(\\d+)M)?(?:(\\d+)S)?)?"41 ····const-string·v0,·"P(?:(\\d+)W)?(?:(\\d+)D)?(?:T(?:(\\d+)H)?(?:(\\d+)M)?(?:(\\d+)S)?)?"
  
42 ····.line·3642 ····.line·39
43 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;43 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
  
44 ····move-result-object·v044 ····move-result-object·v0
  
45 ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->RFC2445_DURATION:Ljava/util/regex/Pattern;45 ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->RFC2445_DURATION:Ljava/util/regex/Pattern;
  
46 ····.line·3746 ····.line·40
47 ····const/4·v0,·0x547 ····const/4·v0,·0x5
  
48 ····new-array·v0,·v0,·[J48 ····new-array·v0,·v0,·[J
  
49 ····fill-array-data·v0,·:array_049 ····fill-array-data·v0,·:array_0
  
50 ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->RFC2445_DURATION_FIELD_UNITS:[J50 ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->RFC2445_DURATION_FIELD_UNITS:[J
  
51 ····.line·4551 ····.line·48
52 ····const-string·v0,·"[0-9]{8}(T[0-9]{6}Z?)?"52 ····const-string·v0,·"[0-9]{8}(T[0-9]{6}Z?)?"
  
53 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;53 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
  
54 ····move-result-object·v054 ····move-result-object·v0
  
55 ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->DATE_TIME:Ljava/util/regex/Pattern;55 ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->DATE_TIME:Ljava/util/regex/Pattern;
  
56 ····return-void56 ····return-void
  
57 ····.line·3757 ····.line·40
58 ····nop58 ····nop
  
59 ····:array_059 ····:array_0
60 ····.array-data·860 ····.array-data·8
61 ········0x240c840061 ········0x240c8400
62 ········0x5265c0062 ········0x5265c00
63 ········0x36ee8063 ········0x36ee80
Offset 93, 54 lines modifiedOffset 93, 54 lines modified
93 ····.param·p6,·"organizer"····#·Ljava/lang/String;93 ····.param·p6,·"organizer"····#·Ljava/lang/String;
94 ····.param·p7,·"attendees"····#·[Ljava/lang/String;94 ····.param·p7,·"attendees"····#·[Ljava/lang/String;
95 ····.param·p8,·"description"····#·Ljava/lang/String;95 ····.param·p8,·"description"····#·Ljava/lang/String;
96 ····.param·p9,·"latitude"····#·D96 ····.param·p9,·"latitude"····#·D
97 ····.param·p11,·"longitude"····#·D97 ····.param·p11,·"longitude"····#·D
  
98 ····.prologue98 ····.prologue
99 ····.line·6999 ····.line·72
100 ····sget-object·v5,·Lcom/google/zxing/client/result/ParsedResultType;->CALENDAR:Lcom/google/zxing/client/result/ParsedResultType;100 ····sget-object·v5,·Lcom/google/zxing/client/result/ParsedResultType;->CALENDAR:Lcom/google/zxing/client/result/ParsedResultType;
  
101 ····invoke-direct·{p0,·v5},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V101 ····invoke-direct·{p0,·v5},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
102 ····.line·70102 ····.line·73
103 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->summary:Ljava/lang/String;103 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->summary:Ljava/lang/String;
  
104 ····.line·73104 ····.line·76
105 ····:try_start_0105 ····:try_start_0
106 ····invoke-static·{p2},·Lcom/google/zxing/client/result/CalendarParsedResult;->parseDate(Ljava/lang/String;)Ljava/util/Date;106 ····invoke-static·{p2},·Lcom/google/zxing/client/result/CalendarParsedResult;->parseDate(Ljava/lang/String;)Ljava/util/Date;
  
107 ····move-result-object·v5107 ····move-result-object·v5
  
108 ····iput-object·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->start:Ljava/util/Date;108 ····iput-object·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->start:Ljava/util/Date;
109 ····:try_end_0109 ····:try_end_0
110 ····.catch·Ljava/text/ParseException;·{:try_start_0·..·:try_end_0}·:catch_0110 ····.catch·Ljava/text/ParseException;·{:try_start_0·..·:try_end_0}·:catch_0
  
111 ····.line·78111 ····.line·81
112 ····if-nez·p3,·:cond_1112 ····if-nez·p3,·:cond_1
  
113 ····.line·79113 ····.line·82
114 ····invoke-static·{p4},·Lcom/google/zxing/client/result/CalendarParsedResult;->parseDurationMS(Ljava/lang/CharSequence;)J114 ····invoke-static·{p4},·Lcom/google/zxing/client/result/CalendarParsedResult;->parseDurationMS(Ljava/lang/CharSequence;)J
  
115 ····move-result-wide·v2115 ····move-result-wide·v2
  
116 ····.line·80116 ····.line·83
117 ····.local·v2,·"durationMS":J117 ····.local·v2,·"durationMS":J
118 ····const-wide/16·v6,·0x0118 ····const-wide/16·v6,·0x0
  
119 ····cmp-long·v5,·v2,·v6119 ····cmp-long·v5,·v2,·v6
  
120 ····if-gez·v5,·:cond_0120 ····if-gez·v5,·:cond_0
  
121 ····const/4·v5,·0x0121 ····const/4·v5,·0x0
  
122 ····:goto_0122 ····:goto_0
123 ····iput-object·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->end:Ljava/util/Date;123 ····iput-object·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->end:Ljava/util/Date;
  
124 ····.line·89124 ····.line·92
125 ····.end·local·v2····#·"durationMS":J125 ····.end·local·v2····#·"durationMS":J
126 ····:goto_1126 ····:goto_1
127 ····invoke-virtual·{p2},·Ljava/lang/String;->length()I127 ····invoke-virtual·{p2},·Ljava/lang/String;->length()I
  
128 ····move-result·v5128 ····move-result·v5
  
129 ····const/16·v6,·0x8129 ····const/16·v6,·0x8
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ····if-ne·v5,·v6,·:cond_2148 ····if-ne·v5,·v6,·:cond_2
  
149 ····const/4·v5,·0x1149 ····const/4·v5,·0x1
  
150 ····:goto_2150 ····:goto_2
151 ····iput-boolean·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->startAllDay:Z151 ····iput-boolean·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->startAllDay:Z
  
152 ····.line·90152 ····.line·93
153 ····if-eqz·p3,·:cond_3153 ····if-eqz·p3,·:cond_3
  
154 ····invoke-virtual·{p3},·Ljava/lang/String;->length()I154 ····invoke-virtual·{p3},·Ljava/lang/String;->length()I
  
155 ····move-result·v5155 ····move-result·v5
  
156 ····const/16·v6,·0x8156 ····const/16·v6,·0x8
Offset 164, 60 lines modifiedOffset 164, 60 lines modified
164 ····if-ne·v5,·v6,·:cond_3164 ····if-ne·v5,·v6,·:cond_3
  
165 ····const/4·v5,·0x1165 ····const/4·v5,·0x1
  
166 ····:goto_3166 ····:goto_3
167 ····iput-boolean·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->endAllDay:Z167 ····iput-boolean·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->endAllDay:Z
  
168 ····.line·92168 ····.line·95
169 ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->location:Ljava/lang/String;169 ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->location:Ljava/lang/String;
  
Max diff block lines reached; 16620/20436 bytes (81.33%) of diff not shown.
1.8 KB
smali/com/google/zxing/client/result/BizcardResultParser.smali
    
Offset 20, 31 lines modifiedOffset 20, 26 lines modified
20 ····.param·p1,·"lastName"····#·Ljava/lang/String;20 ····.param·p1,·"lastName"····#·Ljava/lang/String;
  
21 ····.prologue21 ····.prologue
22 ····.line·9322 ····.line·93
23 ····if-nez·p0,·:cond_023 ····if-nez·p0,·:cond_0
  
24 ····.line·9624 ····.line·96
25 ····.end·local·p0····#·"firstName":Ljava/lang/String; 
26 ····.end·local·p1····#·"lastName":Ljava/lang/String;25 ····.end·local·p1····#·"lastName":Ljava/lang/String;
27 ····:goto_026 ····:goto_0
28 ····return-object·p127 ····return-object·p1
  
29 ····.restart·local·p0····#·"firstName":Ljava/lang/String; 
30 ····.restart·local·p1····#·"lastName":Ljava/lang/String;28 ····.restart·local·p1····#·"lastName":Ljava/lang/String;
31 ····:cond_029 ····:cond_0
32 ····if-nez·p1,·:cond_130 ····if-nez·p1,·:cond_1
  
33 ····.end·local·p0····#·"firstName":Ljava/lang/String; 
34 ····:goto_1 
35 ····move-object·p1,·p031 ····move-object·p1,·p0
  
36 ····goto·:goto_032 ····goto·:goto_0
  
37 ····.restart·local·p0····#·"firstName":Ljava/lang/String; 
38 ····:cond_133 ····:cond_1
39 ····new-instance·v0,·Ljava/lang/StringBuilder;34 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
40 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V35 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
41 ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;36 ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
Offset 58, 17 lines modifiedOffset 53, 17 lines modified
  
58 ····invoke-virtual·{v0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;53 ····invoke-virtual·{v0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
59 ····move-result-object·v054 ····move-result-object·v0
  
60 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;55 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
61 ····move-result-object·p056 ····move-result-object·p1
  
62 ····goto·:goto_157 ····goto·:goto_0
63 .end·method58 .end·method
  
64 .method·private·static·buildPhoneNumbers(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;59 .method·private·static·buildPhoneNumbers(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
65 ····.locals·360 ····.locals·3
66 ····.param·p0,·"number1"····#·Ljava/lang/String;61 ····.param·p0,·"number1"····#·Ljava/lang/String;
67 ····.param·p1,·"number2"····#·Ljava/lang/String;62 ····.param·p1,·"number2"····#·Ljava/lang/String;
68 ····.param·p2,·"number3"····#·Ljava/lang/String;63 ····.param·p2,·"number3"····#·Ljava/lang/String;
Offset 154, 15 lines modifiedOffset 149, 15 lines modified
154 ····move-result·v2149 ····move-result·v2
  
155 ····if-nez·v2,·:cond_0150 ····if-nez·v2,·:cond_0
  
156 ····.line·41151 ····.line·41
157 ····const/4·v2,·0x0152 ····const/4·v2,·0x0
  
158 ····.line·59153 ····.line·54
159 ····:goto_0154 ····:goto_0
160 ····return-object·v2155 ····return-object·v2
  
161 ····.line·43156 ····.line·43
162 ····:cond_0157 ····:cond_0
163 ····const-string·v2,·"N:"158 ····const-string·v2,·"N:"
  
1.07 KB
smali/com/google/zxing/client/result/ParsedResult.smali
    
Offset 65, 34 lines modifiedOffset 65, 32 lines modified
65 ····.param·p1,·"result"····#·Ljava/lang/StringBuilder;65 ····.param·p1,·"result"····#·Ljava/lang/StringBuilder;
  
66 ····.prologue66 ····.prologue
67 ····.line·6067 ····.line·60
68 ····if-eqz·p0,·:cond_068 ····if-eqz·p0,·:cond_0
  
69 ····.line·6169 ····.line·61
70 ····array-length·v2,·p070 ····array-length·v1,·p0
  
71 ····const/4·v1,·0x071 ····const/4·v0,·0x0
  
72 ····:goto_072 ····:goto_0
73 ····if-ge·v1,·v2,·:cond_073 ····if-ge·v0,·v1,·:cond_0
  
74 ····aget-object·v0,·p0,·v174 ····aget-object·v2,·p0,·v0
  
75 ····.line·6275 ····.line·62
76 ····.local·v0,·"value":Ljava/lang/String; 
77 ····invoke-static·{v0,·p1},·Lcom/google/zxing/client/result/ParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V76 ····invoke-static·{v2,·p1},·Lcom/google/zxing/client/result/ParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
78 ····.line·6177 ····.line·61
79 ····add-int/lit8·v1,·v1,·0x178 ····add-int/lit8·v0,·v0,·0x1
  
80 ····goto·:goto_079 ····goto·:goto_0
  
81 ····.line·6580 ····.line·65
82 ····.end·local·v0····#·"value":Ljava/lang/String; 
83 ····:cond_081 ····:cond_0
84 ····return-void82 ····return-void
85 .end·method83 .end·method
  
  
86 #·virtual·methods84 #·virtual·methods
87 .method·public·abstract·getDisplayResult()Ljava/lang/String;85 .method·public·abstract·getDisplayResult()Ljava/lang/String;
20.9 KB
smali/com/google/zxing/client/result/VCardResultParser.smali
    
Offset 272, 29 lines modifiedOffset 272, 31 lines modified
272 ········0xa·->·:sswitch_0272 ········0xa·->·:sswitch_0
273 ········0xd·->·:sswitch_0273 ········0xd·->·:sswitch_0
274 ········0x3d·->·:sswitch_1274 ········0x3d·->·:sswitch_1
275 ····.end·sparse-switch275 ····.end·sparse-switch
276 .end·method276 .end·method
  
277 .method·private·static·formatNames(Ljava/lang/Iterable;)V277 .method·private·static·formatNames(Ljava/lang/Iterable;)V
278 ····.locals·10278 ····.locals·11
279 ····.annotation·system·Ldalvik/annotation/Signature;279 ····.annotation·system·Ldalvik/annotation/Signature;
280 ········value·=·{280 ········value·=·{
281 ············"(",281 ············"(",
282 ············"Ljava/lang/Iterable",282 ············"Ljava/lang/Iterable",
283 ············"<",283 ············"<",
284 ············"Ljava/util/List",284 ············"Ljava/util/List",
285 ············"<",285 ············"<",
286 ············"Ljava/lang/String;",286 ············"Ljava/lang/String;",
287 ············">;>;)V"287 ············">;>;)V"
288 ········}288 ········}
289 ····.end·annotation289 ····.end·annotation
  
290 ····.prologue290 ····.prologue
291 ····.local·p0,·"names":Ljava/lang/Iterable;,·"Ljava/lang/Iterable<Ljava/util/List<Ljava/lang/String;>;>;"291 ····.local·p0,·"names":Ljava/lang/Iterable;,·"Ljava/lang/Iterable<Ljava/util/List<Ljava/lang/String;>;>;"
 292 ····const/4·v10,·0x4
  
292 ····const/4·v9,·0x0293 ····const/4·v9,·0x0
  
293 ····.line·324294 ····.line·324
294 ····if-eqz·p0,·:cond_1295 ····if-eqz·p0,·:cond_1
  
295 ····.line·325296 ····.line·325
296 ····invoke-interface·{p0},·Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;297 ····invoke-interface·{p0},·Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
Offset 335, 19 lines modifiedOffset 337, 15 lines modified
335 ····.line·330337 ····.line·330
336 ····.local·v6,·"start":I338 ····.local·v6,·"start":I
337 ····const/4·v0,·0x0339 ····const/4·v0,·0x0
  
338 ····.line·331340 ····.line·331
339 ····.local·v0,·"componentIndex":I341 ····.local·v0,·"componentIndex":I
340 ····:goto_1342 ····:goto_1
341 ····array-length·v8,·v1 
  
342 ····add-int/lit8·v8,·v8,·-0x1 
  
343 ····if-ge·v0,·v8,·:cond_0343 ····if-ge·v0,·v10,·:cond_0
  
344 ····const/16·v8,·0x3b344 ····const/16·v8,·0x3b
  
345 ····invoke-virtual·{v4,·v8,·v6},·Ljava/lang/String;->indexOf(II)I345 ····invoke-virtual·{v4,·v8,·v6},·Ljava/lang/String;->indexOf(II)I
  
346 ····move-result·v2346 ····move-result·v2
  
Offset 401, 17 lines modifiedOffset 399, 15 lines modified
  
401 ····invoke-static·{v1,·v8,·v5},·Lcom/google/zxing/client/result/VCardResultParser;->maybeAppendComponent([Ljava/lang/String;ILjava/lang/StringBuilder;)V399 ····invoke-static·{v1,·v8,·v5},·Lcom/google/zxing/client/result/VCardResultParser;->maybeAppendComponent([Ljava/lang/String;ILjava/lang/StringBuilder;)V
  
402 ····.line·341400 ····.line·341
403 ····invoke-static·{v1,·v9,·v5},·Lcom/google/zxing/client/result/VCardResultParser;->maybeAppendComponent([Ljava/lang/String;ILjava/lang/StringBuilder;)V401 ····invoke-static·{v1,·v9,·v5},·Lcom/google/zxing/client/result/VCardResultParser;->maybeAppendComponent([Ljava/lang/String;ILjava/lang/StringBuilder;)V
  
404 ····.line·342402 ····.line·342
405 ····const/4·v8,·0x4 
  
406 ····invoke-static·{v1,·v8,·v5},·Lcom/google/zxing/client/result/VCardResultParser;->maybeAppendComponent([Ljava/lang/String;ILjava/lang/StringBuilder;)V403 ····invoke-static·{v1,·v10,·v5},·Lcom/google/zxing/client/result/VCardResultParser;->maybeAppendComponent([Ljava/lang/String;ILjava/lang/StringBuilder;)V
  
407 ····.line·343404 ····.line·343
408 ····invoke-virtual·{v5},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;405 ····invoke-virtual·{v5},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
409 ····move-result-object·v8406 ····move-result-object·v8
  
410 ····invoke-virtual·{v8},·Ljava/lang/String;->trim()Ljava/lang/String;407 ····invoke-virtual·{v8},·Ljava/lang/String;->trim()Ljava/lang/String;
Offset 552, 26 lines modifiedOffset 548, 22 lines modified
552 ····invoke-virtual/range·{p1·..·p1},·Ljava/lang/String;->length()I548 ····invoke-virtual/range·{p1·..·p1},·Ljava/lang/String;->length()I
  
553 ····move-result·v9549 ····move-result·v9
  
554 ····.line·110550 ····.line·110
555 ····.local·v9,·"max":I551 ····.local·v9,·"max":I
556 ····:goto_0552 ····:goto_0
557 ····if-ge·v3,·v9,·:cond_1553 ····if-ge·v3,·v9,·:cond_13
  
558 ····.line·114554 ····.line·114
559 ····new-instance·v17,·Ljava/lang/StringBuilder;555 ····new-instance·v17,·Ljava/lang/StringBuilder;
  
560 ····invoke-direct/range·{v17·..·v17},·Ljava/lang/StringBuilder;-><init>()V 
  
561 ····const-string·v18,·"(?:^|\n)"556 ····const-string·v18,·"(?:^|\n)"
  
562 ····invoke-virtual/range·{v17·..·v18},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;557 ····invoke-direct/range·{v17·..·v18},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
563 ····move-result-object·v17 
  
564 ····move-object/from16·v0,·v17558 ····move-object/from16·v0,·v17
  
565 ····move-object/from16·v1,·p0559 ····move-object/from16·v1,·p0
  
566 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;560 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
Offset 611, 24 lines modifiedOffset 603, 17 lines modified
  
611 ····.line·119603 ····.line·119
612 ····:cond_0604 ····:cond_0
613 ····invoke-virtual·{v7,·v3},·Ljava/util/regex/Matcher;->find(I)Z605 ····invoke-virtual·{v7,·v3},·Ljava/util/regex/Matcher;->find(I)Z
  
614 ····move-result·v17606 ····move-result·v17
  
615 ····if-nez·v17,·:cond_2607 ····if-eqz·v17,·:cond_13
  
616 ····.line·206 
617 ····.end·local·v7····#·"matcher":Ljava/util/regex/Matcher; 
618 ····:cond_1 
619 ····return-object·v8 
  
620 ····.line·122608 ····.line·122
621 ····.restart·local·v7····#·"matcher":Ljava/util/regex/Matcher; 
622 ····:cond_2 
623 ····const/16·v17,·0x0609 ····const/16·v17,·0x0
  
624 ····move/from16·v0,·v17610 ····move/from16·v0,·v17
  
625 ····invoke-virtual·{v7,·v0},·Ljava/util/regex/Matcher;->end(I)I611 ····invoke-virtual·{v7,·v0},·Ljava/util/regex/Matcher;->end(I)I
  
626 ····move-result·v3612 ····move-result·v3
Offset 652, 15 lines modifiedOffset 637, 15 lines modified
  
652 ····.line·127637 ····.line·127
653 ····.local·v14,·"quotedPrintable":Z638 ····.local·v14,·"quotedPrintable":Z
654 ····const/4·v15,·0x0639 ····const/4·v15,·0x0
  
Max diff block lines reached; 17701/21288 bytes (83.15%) of diff not shown.
5.68 KB
smali/com/google/zxing/client/result/URIParsedResult.smali
    
Offset 14, 15 lines modifiedOffset 14, 15 lines modified
  
  
14 #·direct·methods14 #·direct·methods
15 .method·static·constructor·<clinit>()V15 .method·static·constructor·<clinit>()V
16 ····.locals·116 ····.locals·1
  
17 ····.prologue17 ····.prologue
18 ····.line·2618 ····.line·28
19 ····const-string·v0,·":/*([^/@]+)@[^/]+"19 ····const-string·v0,·":/*([^/@]+)@[^/]+"
  
20 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;20 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
  
21 ····move-result-object·v021 ····move-result-object·v0
  
22 ····sput-object·v0,·Lcom/google/zxing/client/result/URIParsedResult;->USER_IN_HOST:Ljava/util/regex/Pattern;22 ····sput-object·v0,·Lcom/google/zxing/client/result/URIParsedResult;->USER_IN_HOST:Ljava/util/regex/Pattern;
Offset 32, 60 lines modifiedOffset 32, 60 lines modified
  
32 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;)V32 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;)V
33 ····.locals·133 ····.locals·1
34 ····.param·p1,·"uri"····#·Ljava/lang/String;34 ····.param·p1,·"uri"····#·Ljava/lang/String;
35 ····.param·p2,·"title"····#·Ljava/lang/String;35 ····.param·p2,·"title"····#·Ljava/lang/String;
  
36 ····.prologue36 ····.prologue
37 ····.line·3237 ····.line·34
38 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->URI:Lcom/google/zxing/client/result/ParsedResultType;38 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->URI:Lcom/google/zxing/client/result/ParsedResultType;
  
39 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V39 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
40 ····.line·3340 ····.line·35
41 ····invoke-static·{p1},·Lcom/google/zxing/client/result/URIParsedResult;->massageURI(Ljava/lang/String;)Ljava/lang/String;41 ····invoke-static·{p1},·Lcom/google/zxing/client/result/URIParsedResult;->massageURI(Ljava/lang/String;)Ljava/lang/String;
  
42 ····move-result-object·v042 ····move-result-object·v0
  
43 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/URIParsedResult;->uri:Ljava/lang/String;43 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/URIParsedResult;->uri:Ljava/lang/String;
  
44 ····.line·3444 ····.line·36
45 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/URIParsedResult;->title:Ljava/lang/String;45 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/URIParsedResult;->title:Ljava/lang/String;
  
46 ····.line·3546 ····.line·37
47 ····return-void47 ····return-void
48 .end·method48 .end·method
  
49 .method·private·static·isColonFollowedByPortNumber(Ljava/lang/String;I)Z49 .method·private·static·isColonFollowedByPortNumber(Ljava/lang/String;I)Z
50 ····.locals·350 ····.locals·3
51 ····.param·p0,·"uri"····#·Ljava/lang/String;51 ····.param·p0,·"uri"····#·Ljava/lang/String;
52 ····.param·p1,·"protocolEnd"····#·I52 ····.param·p1,·"protocolEnd"····#·I
  
53 ····.prologue53 ····.prologue
54 ····.line·8154 ····.line·83
55 ····add-int/lit8·v1,·p1,·0x155 ····add-int/lit8·v1,·p1,·0x1
  
56 ····.line·8256 ····.line·84
57 ····.local·v1,·"start":I57 ····.local·v1,·"start":I
58 ····const/16·v2,·0x2f58 ····const/16·v2,·0x2f
  
59 ····invoke-virtual·{p0,·v2,·v1},·Ljava/lang/String;->indexOf(II)I59 ····invoke-virtual·{p0,·v2,·v1},·Ljava/lang/String;->indexOf(II)I
  
60 ····move-result·v060 ····move-result·v0
  
61 ····.line·8361 ····.line·85
62 ····.local·v0,·"nextSlash":I62 ····.local·v0,·"nextSlash":I
63 ····if-gez·v0,·:cond_063 ····if-gez·v0,·:cond_0
  
64 ····.line·8464 ····.line·86
65 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I65 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I
  
66 ····move-result·v066 ····move-result·v0
  
67 ····.line·8667 ····.line·88
68 ····:cond_068 ····:cond_0
69 ····sub-int·v2,·v0,·v169 ····sub-int·v2,·v0,·v1
  
70 ····invoke-static·{p0,·v1,·v2},·Lcom/google/zxing/client/result/ResultParser;->isSubstringOfDigits(Ljava/lang/CharSequence;II)Z70 ····invoke-static·{p0,·v1,·v2},·Lcom/google/zxing/client/result/ResultParser;->isSubstringOfDigits(Ljava/lang/CharSequence;II)Z
  
71 ····move-result·v271 ····move-result·v2
  
Offset 93, 118 lines modifiedOffset 93, 114 lines modified
93 .end·method93 .end·method
  
94 .method·private·static·massageURI(Ljava/lang/String;)Ljava/lang/String;94 .method·private·static·massageURI(Ljava/lang/String;)Ljava/lang/String;
95 ····.locals·395 ····.locals·3
96 ····.param·p0,·"uri"····#·Ljava/lang/String;96 ····.param·p0,·"uri"····#·Ljava/lang/String;
  
97 ····.prologue97 ····.prologue
98 ····.line·7098 ····.line·72
99 ····invoke-virtual·{p0},·Ljava/lang/String;->trim()Ljava/lang/String;99 ····invoke-virtual·{p0},·Ljava/lang/String;->trim()Ljava/lang/String;
  
100 ····move-result-object·p0100 ····move-result-object·p0
  
101 ····.line·71101 ····.line·73
102 ····const/16·v1,·0x3a102 ····const/16·v1,·0x3a
  
103 ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->indexOf(I)I103 ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->indexOf(I)I
  
104 ····move-result·v0104 ····move-result·v0
  
105 ····.line·72105 ····.line·74
106 ····.local·v0,·"protocolEnd":I106 ····.local·v0,·"protocolEnd":I
107 ····if-ltz·v0,·:cond_0107 ····if-ltz·v0,·:cond_0
  
108 ····invoke-static·{p0,·v0},·Lcom/google/zxing/client/result/URIParsedResult;->isColonFollowedByPortNumber(Ljava/lang/String;I)Z108 ····invoke-static·{p0,·v0},·Lcom/google/zxing/client/result/URIParsedResult;->isColonFollowedByPortNumber(Ljava/lang/String;I)Z
  
109 ····move-result·v1109 ····move-result·v1
  
110 ····if-eqz·v1,·:cond_1110 ····if-eqz·v1,·:cond_1
  
111 ····.line·75111 ····.line·77
112 ····:cond_0112 ····:cond_0
113 ····new-instance·v1,·Ljava/lang/StringBuilder;113 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
114 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
115 ····const-string·v2,·"http://"114 ····const-string·v2,·"http://"
  
116 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;115 ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
117 ····move-result-object·v1 
  
118 ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;116 ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
119 ····move-result-object·v1117 ····move-result-object·v1
  
120 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;118 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
121 ····move-result-object·p0119 ····move-result-object·p0
  
122 ····.line·77120 ····.line·79
Max diff block lines reached; 2023/5703 bytes (35.47%) of diff not shown.
9.13 KB
smali/com/google/zxing/client/result/SMSParsedResult.smali
    
Offset 22, 316 lines modifiedOffset 22, 316 lines modified
22 ····.param·p4,·"body"····#·Ljava/lang/String;22 ····.param·p4,·"body"····#·Ljava/lang/String;
  
23 ····.prologue23 ····.prologue
24 ····const/4·v2,·0x124 ····const/4·v2,·0x1
  
25 ····const/4·v1,·0x025 ····const/4·v1,·0x0
  
26 ····.line·3326 ····.line·36
27 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->SMS:Lcom/google/zxing/client/result/ParsedResultType;27 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->SMS:Lcom/google/zxing/client/result/ParsedResultType;
  
28 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V28 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
29 ····.line·3429 ····.line·37
30 ····new-array·v0,·v2,·[Ljava/lang/String;30 ····new-array·v0,·v2,·[Ljava/lang/String;
  
31 ····aput-object·p1,·v0,·v131 ····aput-object·p1,·v0,·v1
  
32 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String;32 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String;
  
33 ····.line·3533 ····.line·38
34 ····new-array·v0,·v2,·[Ljava/lang/String;34 ····new-array·v0,·v2,·[Ljava/lang/String;
  
35 ····aput-object·p2,·v0,·v135 ····aput-object·p2,·v0,·v1
  
36 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->vias:[Ljava/lang/String;36 ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->vias:[Ljava/lang/String;
  
37 ····.line·3637 ····.line·39
38 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String;38 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String;
  
39 ····.line·3739 ····.line·40
40 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String;40 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String;
  
41 ····.line·3841 ····.line·41
42 ····return-void42 ····return-void
43 .end·method43 .end·method
  
44 .method·public·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V44 .method·public·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
45 ····.locals·145 ····.locals·1
46 ····.param·p1,·"numbers"····#·[Ljava/lang/String;46 ····.param·p1,·"numbers"····#·[Ljava/lang/String;
47 ····.param·p2,·"vias"····#·[Ljava/lang/String;47 ····.param·p2,·"vias"····#·[Ljava/lang/String;
48 ····.param·p3,·"subject"····#·Ljava/lang/String;48 ····.param·p3,·"subject"····#·Ljava/lang/String;
49 ····.param·p4,·"body"····#·Ljava/lang/String;49 ····.param·p4,·"body"····#·Ljava/lang/String;
  
50 ····.prologue50 ····.prologue
51 ····.line·4451 ····.line·47
52 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->SMS:Lcom/google/zxing/client/result/ParsedResultType;52 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->SMS:Lcom/google/zxing/client/result/ParsedResultType;
  
53 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V53 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
54 ····.line·4554 ····.line·48
55 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String;55 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String;
  
56 ····.line·4656 ····.line·49
57 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->vias:[Ljava/lang/String;57 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->vias:[Ljava/lang/String;
  
58 ····.line·4758 ····.line·50
59 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String;59 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String;
  
60 ····.line·4860 ····.line·51
61 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String;61 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String;
  
62 ····.line·4962 ····.line·52
63 ····return-void63 ····return-void
64 .end·method64 .end·method
  
  
65 #·virtual·methods65 #·virtual·methods
66 .method·public·getBody()Ljava/lang/String;66 .method·public·getBody()Ljava/lang/String;
67 ····.locals·167 ····.locals·1
  
68 ····.prologue68 ····.prologue
69 ····.line·9969 ····.line·102
70 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String;70 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String;
  
71 ····return-object·v071 ····return-object·v0
72 .end·method72 .end·method
  
73 .method·public·getDisplayResult()Ljava/lang/String;73 .method·public·getDisplayResult()Ljava/lang/String;
74 ····.locals·274 ····.locals·2
  
75 ····.prologue75 ····.prologue
76 ····.line·10476 ····.line·107
77 ····new-instance·v0,·Ljava/lang/StringBuilder;77 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
78 ····const/16·v1,·0x6478 ····const/16·v1,·0x64
  
79 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V79 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V
  
80 ····.line·10580 ····.line·108
81 ····.local·v0,·"result":Ljava/lang/StringBuilder;81 ····.local·v0,·"result":Ljava/lang/StringBuilder;
82 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String;82 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String;
  
83 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V83 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
84 ····.line·10684 ····.line·109
85 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String;85 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String;
  
86 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V86 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
87 ····.line·10787 ····.line·110
88 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String;88 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String;
  
89 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V89 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
90 ····.line·10890 ····.line·111
91 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;91 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
92 ····move-result-object·v192 ····move-result-object·v1
  
93 ····return-object·v193 ····return-object·v1
94 .end·method94 .end·method
  
95 .method·public·getNumbers()[Ljava/lang/String;95 .method·public·getNumbers()[Ljava/lang/String;
96 ····.locals·196 ····.locals·1
  
97 ····.prologue97 ····.prologue
98 ····.line·8798 ····.line·90
99 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String;99 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String;
  
100 ····return-object·v0100 ····return-object·v0
101 .end·method101 .end·method
  
102 .method·public·getSMSURI()Ljava/lang/String;102 .method·public·getSMSURI()Ljava/lang/String;
103 ····.locals·8103 ····.locals·8
  
104 ····.prologue104 ····.prologue
105 ····const/4·v5,·0x1105 ····const/4·v5,·0x1
Max diff block lines reached; 4939/9238 bytes (53.46%) of diff not shown.
2.14 KB
smali/com/google/zxing/client/result/ProductParsedResult.smali
    
Offset 11, 66 lines modifiedOffset 11, 66 lines modified
  
11 #·direct·methods11 #·direct·methods
12 .method·constructor·<init>(Ljava/lang/String;)V12 .method·constructor·<init>(Ljava/lang/String;)V
13 ····.locals·013 ····.locals·0
14 ····.param·p1,·"productID"····#·Ljava/lang/String;14 ····.param·p1,·"productID"····#·Ljava/lang/String;
  
15 ····.prologue15 ····.prologue
16 ····.line·2816 ····.line·30
17 ····invoke-direct·{p0,·p1,·p1},·Lcom/google/zxing/client/result/ProductParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;)V17 ····invoke-direct·{p0,·p1,·p1},·Lcom/google/zxing/client/result/ProductParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;)V
  
18 ····.line·2918 ····.line·31
19 ····return-void19 ····return-void
20 .end·method20 .end·method
  
21 .method·constructor·<init>(Ljava/lang/String;Ljava/lang/String;)V21 .method·constructor·<init>(Ljava/lang/String;Ljava/lang/String;)V
22 ····.locals·122 ····.locals·1
23 ····.param·p1,·"productID"····#·Ljava/lang/String;23 ····.param·p1,·"productID"····#·Ljava/lang/String;
24 ····.param·p2,·"normalizedProductID"····#·Ljava/lang/String;24 ····.param·p2,·"normalizedProductID"····#·Ljava/lang/String;
  
25 ····.prologue25 ····.prologue
26 ····.line·3226 ····.line·34
27 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->PRODUCT:Lcom/google/zxing/client/result/ParsedResultType;27 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->PRODUCT:Lcom/google/zxing/client/result/ParsedResultType;
  
28 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V28 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
29 ····.line·3329 ····.line·35
30 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String;30 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String;
  
31 ····.line·3431 ····.line·36
32 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->normalizedProductID:Ljava/lang/String;32 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->normalizedProductID:Ljava/lang/String;
  
33 ····.line·3533 ····.line·37
34 ····return-void34 ····return-void
35 .end·method35 .end·method
  
  
36 #·virtual·methods36 #·virtual·methods
37 .method·public·getDisplayResult()Ljava/lang/String;37 .method·public·getDisplayResult()Ljava/lang/String;
38 ····.locals·138 ····.locals·1
  
39 ····.prologue39 ····.prologue
40 ····.line·4740 ····.line·49
41 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String;41 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String;
  
42 ····return-object·v042 ····return-object·v0
43 .end·method43 .end·method
  
44 .method·public·getNormalizedProductID()Ljava/lang/String;44 .method·public·getNormalizedProductID()Ljava/lang/String;
45 ····.locals·145 ····.locals·1
  
46 ····.prologue46 ····.prologue
47 ····.line·4247 ····.line·44
48 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->normalizedProductID:Ljava/lang/String;48 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->normalizedProductID:Ljava/lang/String;
  
49 ····return-object·v049 ····return-object·v0
50 .end·method50 .end·method
  
51 .method·public·getProductID()Ljava/lang/String;51 .method·public·getProductID()Ljava/lang/String;
52 ····.locals·152 ····.locals·1
  
53 ····.prologue53 ····.prologue
54 ····.line·3854 ····.line·40
55 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String;55 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String;
  
56 ····return-object·v056 ····return-object·v0
57 .end·method57 .end·method
7.35 KB
smali/com/google/zxing/client/result/VINParsedResult.smali
    
Offset 33, 227 lines modifiedOffset 33, 227 lines modified
33 ····.param·p5,·"countryCode"····#·Ljava/lang/String;33 ····.param·p5,·"countryCode"····#·Ljava/lang/String;
34 ····.param·p6,·"vehicleAttributes"····#·Ljava/lang/String;34 ····.param·p6,·"vehicleAttributes"····#·Ljava/lang/String;
35 ····.param·p7,·"modelYear"····#·I35 ····.param·p7,·"modelYear"····#·I
36 ····.param·p8,·"plantCode"····#·C36 ····.param·p8,·"plantCode"····#·C
37 ····.param·p9,·"sequentialNumber"····#·Ljava/lang/String;37 ····.param·p9,·"sequentialNumber"····#·Ljava/lang/String;
  
38 ····.prologue38 ····.prologue
39 ····.line·4239 ····.line·44
40 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->VIN:Lcom/google/zxing/client/result/ParsedResultType;40 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->VIN:Lcom/google/zxing/client/result/ParsedResultType;
  
41 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V41 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
42 ····.line·4342 ····.line·45
43 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vin:Ljava/lang/String;43 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vin:Ljava/lang/String;
  
44 ····.line·4444 ····.line·46
45 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->worldManufacturerID:Ljava/lang/String;45 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->worldManufacturerID:Ljava/lang/String;
  
46 ····.line·4546 ····.line·47
47 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleDescriptorSection:Ljava/lang/String;47 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleDescriptorSection:Ljava/lang/String;
  
48 ····.line·4648 ····.line·48
49 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleIdentifierSection:Ljava/lang/String;49 ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleIdentifierSection:Ljava/lang/String;
  
50 ····.line·4750 ····.line·49
51 ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String;51 ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String;
  
52 ····.line·4852 ····.line·50
53 ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleAttributes:Ljava/lang/String;53 ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleAttributes:Ljava/lang/String;
  
54 ····.line·4954 ····.line·51
55 ····iput·p7,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->modelYear:I55 ····iput·p7,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->modelYear:I
  
56 ····.line·5056 ····.line·52
57 ····iput-char·p8,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->plantCode:C57 ····iput-char·p8,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->plantCode:C
  
58 ····.line·5158 ····.line·53
59 ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->sequentialNumber:Ljava/lang/String;59 ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->sequentialNumber:Ljava/lang/String;
  
60 ····.line·5260 ····.line·54
61 ····return-void61 ····return-void
62 .end·method62 .end·method
  
  
63 #·virtual·methods63 #·virtual·methods
64 .method·public·getCountryCode()Ljava/lang/String;64 .method·public·getCountryCode()Ljava/lang/String;
65 ····.locals·165 ····.locals·1
  
66 ····.prologue66 ····.prologue
67 ····.line·7167 ····.line·73
68 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String;68 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String;
  
69 ····return-object·v069 ····return-object·v0
70 .end·method70 .end·method
  
71 .method·public·getDisplayResult()Ljava/lang/String;71 .method·public·getDisplayResult()Ljava/lang/String;
72 ····.locals·472 ····.locals·4
  
73 ····.prologue73 ····.prologue
74 ····const/16·v3,·0xa74 ····const/16·v3,·0xa
  
75 ····const/16·v2,·0x2075 ····const/16·v2,·0x20
  
76 ····.line·9276 ····.line·94
77 ····new-instance·v0,·Ljava/lang/StringBuilder;77 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
78 ····const/16·v1,·0x3278 ····const/16·v1,·0x32
  
79 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V79 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V
  
80 ····.line·9380 ····.line·95
81 ····.local·v0,·"result":Ljava/lang/StringBuilder;81 ····.local·v0,·"result":Ljava/lang/StringBuilder;
82 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->worldManufacturerID:Ljava/lang/String;82 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->worldManufacturerID:Ljava/lang/String;
  
83 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;83 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
84 ····move-result-object·v184 ····move-result-object·v1
  
85 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;85 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
86 ····.line·9486 ····.line·96
87 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleDescriptorSection:Ljava/lang/String;87 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleDescriptorSection:Ljava/lang/String;
  
88 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;88 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
89 ····move-result-object·v189 ····move-result-object·v1
  
90 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;90 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
91 ····.line·9591 ····.line·97
92 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleIdentifierSection:Ljava/lang/String;92 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleIdentifierSection:Ljava/lang/String;
  
93 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;93 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
94 ····move-result-object·v194 ····move-result-object·v1
  
95 ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;95 ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
96 ····.line·9696 ····.line·98
97 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String;97 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String;
  
98 ····if-eqz·v1,·:cond_098 ····if-eqz·v1,·:cond_0
  
99 ····.line·9799 ····.line·99
100 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String;100 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String;
  
101 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;101 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
102 ····move-result-object·v1102 ····move-result-object·v1
  
103 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;103 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
104 ····.line·99104 ····.line·101
105 ····:cond_0105 ····:cond_0
106 ····iget·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->modelYear:I106 ····iget·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->modelYear:I
  
107 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;107 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
108 ····move-result-object·v1108 ····move-result-object·v1
  
109 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;109 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
110 ····.line·100110 ····.line·102
111 ····iget-char·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->plantCode:C111 ····iget-char·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->plantCode:C
  
112 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;112 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
Max diff block lines reached; 2674/7412 bytes (36.08%) of diff not shown.
2.23 KB
smali/com/google/zxing/client/result/URIResultParser.smali
    
Offset 20, 15 lines modifiedOffset 20, 15 lines modified
20 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;20 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
  
21 ····move-result-object·v021 ····move-result-object·v0
  
22 ····sput-object·v0,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITH_PROTOCOL_PATTERN:Ljava/util/regex/Pattern;22 ····sput-object·v0,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITH_PROTOCOL_PATTERN:Ljava/util/regex/Pattern;
  
23 ····.line·3323 ····.line·33
24 ····const-string·v0,·"([a-zA-Z0-9\\-]+\\.)+[a-zA-Z]{2,}(:\\d{1,5})?(/|\\?|$)"24 ····const-string·v0,·"([a-zA-Z0-9\\-]+\\.){1,6}[a-zA-Z]{2,}(:\\d{1,5})?(/|\\?|$)"
  
25 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;25 ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
  
26 ····move-result-object·v026 ····move-result-object·v0
  
27 ····sput-object·v0,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITHOUT_PROTOCOL_PATTERN:Ljava/util/regex/Pattern;27 ····sput-object·v0,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITHOUT_PROTOCOL_PATTERN:Ljava/util/regex/Pattern;
  
Offset 46, 29 lines modifiedOffset 46, 27 lines modified
46 .end·method46 .end·method
  
47 .method·static·isBasicallyValidURI(Ljava/lang/String;)Z47 .method·static·isBasicallyValidURI(Ljava/lang/String;)Z
48 ····.locals·448 ····.locals·4
49 ····.param·p0,·"uri"····#·Ljava/lang/String;49 ····.param·p0,·"uri"····#·Ljava/lang/String;
  
50 ····.prologue50 ····.prologue
51 ····const/4·v1,·0x151 ····const/4·v2,·0x1
  
52 ····const/4·v2,·0x052 ····const/4·v1,·0x0
  
53 ····.line·5153 ····.line·51
54 ····const-string·v3,·"·"54 ····const-string·v3,·"·"
  
55 ····invoke-virtual·{p0,·v3},·Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z55 ····invoke-virtual·{p0,·v3},·Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
  
56 ····move-result·v356 ····move-result·v3
  
57 ····if-eqz·v3,·:cond_157 ····if-eqz·v3,·:cond_1
  
58 ····move·v1,·v2 
  
59 ····.line·6058 ····.line·60
60 ····:cond_059 ····:cond_0
61 ····:goto_060 ····:goto_0
62 ····return·v161 ····return·v1
  
63 ····.line·5562 ····.line·55
64 ····:cond_163 ····:cond_1
Offset 86, 38 lines modifiedOffset 84, 42 lines modified
  
86 ····if-eqz·v3,·:cond_284 ····if-eqz·v3,·:cond_2
  
87 ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->start()I85 ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->start()I
  
88 ····move-result·v386 ····move-result·v3
  
89 ····if-eqz·v3,·:cond_087 ····if-nez·v3,·:cond_2
  
 88 ····move·v1,·v2
  
 89 ····.line·57
 90 ····goto·:goto_0
  
90 ····.line·5991 ····.line·59
91 ····:cond_292 ····:cond_2
92 ····sget-object·v3,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITHOUT_PROTOCOL_PATTERN:Ljava/util/regex/Pattern;93 ····sget-object·v3,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITHOUT_PROTOCOL_PATTERN:Ljava/util/regex/Pattern;
  
93 ····invoke-virtual·{v3,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;94 ····invoke-virtual·{v3,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
  
94 ····move-result-object·v095 ····move-result-object·v0
  
95 ····.line·6096 ····.line·60
96 ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->find()Z97 ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->find()Z
  
97 ····move-result·v398 ····move-result·v3
  
98 ····if-eqz·v3,·:cond_399 ····if-eqz·v3,·:cond_0
  
99 ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->start()I100 ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->start()I
  
100 ····move-result·v3101 ····move-result·v3
  
101 ····if-eqz·v3,·:cond_0102 ····if-nez·v3,·:cond_0
  
102 ····:cond_3 
103 ····move·v1,·v2103 ····move·v1,·v2
  
104 ····goto·:goto_0104 ····goto·:goto_0
105 .end·method105 .end·method
  
  
106 #·virtual·methods106 #·virtual·methods
2.78 KB
smali/com/google/zxing/client/result/ISBNResultParser.smali
    
Offset 13, 76 lines modifiedOffset 13, 74 lines modified
  
13 ····return-void13 ····return-void
14 .end·method14 .end·method
  
  
15 #·virtual·methods15 #·virtual·methods
16 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ISBNParsedResult;16 .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ISBNParsedResult;
17 ····.locals·517 ····.locals·4
18 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;18 ····.param·p1,·"result"····#·Lcom/google/zxing/Result;
  
19 ····.prologue19 ····.prologue
20 ····const/4·v3,·0x020 ····const/4·v1,·0x0
  
21 ····.line·3421 ····.line·34
22 ····invoke-virtual·{p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat;22 ····invoke-virtual·{p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat;
  
23 ····move-result-object·v023 ····move-result-object·v2
  
24 ····.line·3524 ····.line·35
25 ····.local·v0,·"format":Lcom/google/zxing/BarcodeFormat; 
26 ····sget-object·v4,·Lcom/google/zxing/BarcodeFormat;->EAN_13:Lcom/google/zxing/BarcodeFormat;25 ····sget-object·v3,·Lcom/google/zxing/BarcodeFormat;->EAN_13:Lcom/google/zxing/BarcodeFormat;
  
27 ····if-eq·v0,·v4,·:cond_126 ····if-eq·v2,·v3,·:cond_1
  
28 ····.line·4727 ····.line·47
29 ····:cond_028 ····:cond_0
30 ····:goto_029 ····:goto_0
31 ····return-object·v330 ····return-object·v1
  
32 ····.line·3831 ····.line·38
33 ····:cond_132 ····:cond_1
34 ····invoke-static·{p1},·Lcom/google/zxing/client/result/ISBNResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String;33 ····invoke-static·{p1},·Lcom/google/zxing/client/result/ISBNResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String;
  
35 ····move-result-object·v234 ····move-result-object·v0
  
36 ····.line·3935 ····.line·39
37 ····.local·v2,·"rawText":Ljava/lang/String;36 ····.local·v0,·"rawText":Ljava/lang/String;
38 ····invoke-virtual·{v2},·Ljava/lang/String;->length()I37 ····invoke-virtual·{v0},·Ljava/lang/String;->length()I
  
39 ····move-result·v138 ····move-result·v2
  
40 ····.line·4039 ····.line·40
41 ····.local·v1,·"length":I 
42 ····const/16·v4,·0xd40 ····const/16·v3,·0xd
  
43 ····if-ne·v1,·v4,·:cond_041 ····if-ne·v2,·v3,·:cond_0
  
44 ····.line·4342 ····.line·43
45 ····const-string·v4,·"978"43 ····const-string·v2,·"978"
  
46 ····invoke-virtual·{v2,·v4},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z44 ····invoke-virtual·{v0,·v2},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
  
47 ····move-result·v445 ····move-result·v2
  
48 ····if-nez·v4,·:cond_246 ····if-nez·v2,·:cond_2
  
49 ····const-string·v4,·"979"47 ····const-string·v2,·"979"
  
50 ····invoke-virtual·{v2,·v4},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z48 ····invoke-virtual·{v0,·v2},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
  
51 ····move-result·v449 ····move-result·v2
  
52 ····if-eqz·v4,·:cond_050 ····if-eqz·v2,·:cond_0
  
53 ····.line·4751 ····.line·47
54 ····:cond_252 ····:cond_2
55 ····new-instance·v3,·Lcom/google/zxing/client/result/ISBNParsedResult;53 ····new-instance·v1,·Lcom/google/zxing/client/result/ISBNParsedResult;
  
56 ····invoke-direct·{v3,·v2},·Lcom/google/zxing/client/result/ISBNParsedResult;-><init>(Ljava/lang/String;)V54 ····invoke-direct·{v1,·v0},·Lcom/google/zxing/client/result/ISBNParsedResult;-><init>(Ljava/lang/String;)V
  
57 ····goto·:goto_055 ····goto·:goto_0
58 .end·method56 .end·method
  
59 .method·public·bridge·synthetic·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ParsedResult;57 .method·public·bridge·synthetic·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ParsedResult;
60 ····.locals·158 ····.locals·1
  
2.86 KB
smali/com/google/zxing/client/result/TelParsedResult.smali
    
Offset 15, 86 lines modifiedOffset 15, 86 lines modified
15 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V15 .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
16 ····.locals·116 ····.locals·1
17 ····.param·p1,·"number"····#·Ljava/lang/String;17 ····.param·p1,·"number"····#·Ljava/lang/String;
18 ····.param·p2,·"telURI"····#·Ljava/lang/String;18 ····.param·p2,·"telURI"····#·Ljava/lang/String;
19 ····.param·p3,·"title"····#·Ljava/lang/String;19 ····.param·p3,·"title"····#·Ljava/lang/String;
  
20 ····.prologue20 ····.prologue
21 ····.line·2921 ····.line·31
22 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->TEL:Lcom/google/zxing/client/result/ParsedResultType;22 ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->TEL:Lcom/google/zxing/client/result/ParsedResultType;
  
23 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V23 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V
  
24 ····.line·3024 ····.line·32
25 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String;25 ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String;
  
26 ····.line·3126 ····.line·33
27 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->telURI:Ljava/lang/String;27 ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->telURI:Ljava/lang/String;
  
28 ····.line·3228 ····.line·34
29 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String;29 ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String;
  
30 ····.line·3330 ····.line·35
31 ····return-void31 ····return-void
32 .end·method32 .end·method
  
  
33 #·virtual·methods33 #·virtual·methods
34 .method·public·getDisplayResult()Ljava/lang/String;34 .method·public·getDisplayResult()Ljava/lang/String;
35 ····.locals·235 ····.locals·2
  
36 ····.prologue36 ····.prologue
37 ····.line·4937 ····.line·51
38 ····new-instance·v0,·Ljava/lang/StringBuilder;38 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
39 ····const/16·v1,·0x1439 ····const/16·v1,·0x14
  
40 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V40 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V
  
41 ····.line·5041 ····.line·52
42 ····.local·v0,·"result":Ljava/lang/StringBuilder;42 ····.local·v0,·"result":Ljava/lang/StringBuilder;
43 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String;43 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String;
  
44 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/TelParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V44 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/TelParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
45 ····.line·5145 ····.line·53
46 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String;46 ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String;
  
47 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/TelParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V47 ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/TelParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V
  
48 ····.line·5248 ····.line·54
49 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;49 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
50 ····move-result-object·v150 ····move-result-object·v1
  
51 ····return-object·v151 ····return-object·v1
52 .end·method52 .end·method
  
53 .method·public·getNumber()Ljava/lang/String;53 .method·public·getNumber()Ljava/lang/String;
54 ····.locals·154 ····.locals·1
  
55 ····.prologue55 ····.prologue
56 ····.line·3656 ····.line·38
57 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String;57 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String;
  
58 ····return-object·v058 ····return-object·v0
59 .end·method59 .end·method
  
60 .method·public·getTelURI()Ljava/lang/String;60 .method·public·getTelURI()Ljava/lang/String;
61 ····.locals·161 ····.locals·1
  
62 ····.prologue62 ····.prologue
63 ····.line·4063 ····.line·42
64 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->telURI:Ljava/lang/String;64 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->telURI:Ljava/lang/String;
  
65 ····return-object·v065 ····return-object·v0
66 .end·method66 .end·method
  
67 .method·public·getTitle()Ljava/lang/String;67 .method·public·getTitle()Ljava/lang/String;
68 ····.locals·168 ····.locals·1
  
69 ····.prologue69 ····.prologue
70 ····.line·4470 ····.line·46
71 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String;71 ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String;
  
72 ····return-object·v072 ····return-object·v0
73 .end·method73 .end·method
1.93 KB
smali/com/google/zxing/multi/ByQuadrantReader.smali
    
Offset 171, 15 lines modifiedOffset 171, 14 lines modified
  
171 ····move-result-object·v6171 ····move-result-object·v6
  
172 ····.line·98172 ····.line·98
173 ····:goto_0173 ····:goto_0
174 ····return-object·v6174 ····return-object·v6
  
175 ····.line·65 
176 ····:catch_0175 ····:catch_0
177 ····move-exception·v8176 ····move-exception·v8
  
178 ····.line·70177 ····.line·70
179 ····:try_start_1178 ····:try_start_1
180 ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader;179 ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader;
  
Offset 203, 15 lines modifiedOffset 202, 14 lines modified
  
203 ····invoke-static·{v8,·v2,·v9},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V202 ····invoke-static·{v8,·v2,·v9},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V
204 ····:try_end_1203 ····:try_end_1
205 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_1·..·:try_end_1}·:catch_1204 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_1·..·:try_end_1}·:catch_1
  
206 ····goto·:goto_0205 ····goto·:goto_0
  
207 ····.line·73 
208 ····.end·local·v6····#·"result":Lcom/google/zxing/Result;206 ····.end·local·v6····#·"result":Lcom/google/zxing/Result;
209 ····:catch_1207 ····:catch_1
210 ····move-exception·v8208 ····move-exception·v8
  
211 ····.line·78209 ····.line·78
212 ····:try_start_2210 ····:try_start_2
213 ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader;211 ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader;
Offset 236, 15 lines modifiedOffset 234, 14 lines modified
  
236 ····invoke-static·{v8,·v9,·v1},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V234 ····invoke-static·{v8,·v9,·v1},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V
237 ····:try_end_2235 ····:try_end_2
238 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_2·..·:try_end_2}·:catch_2236 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_2·..·:try_end_2}·:catch_2
  
239 ····goto·:goto_0237 ····goto·:goto_0
  
240 ····.line·81 
241 ····.end·local·v6····#·"result":Lcom/google/zxing/Result;238 ····.end·local·v6····#·"result":Lcom/google/zxing/Result;
242 ····:catch_2239 ····:catch_2
243 ····move-exception·v8240 ····move-exception·v8
  
244 ····.line·86241 ····.line·86
245 ····:try_start_3242 ····:try_start_3
246 ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader;243 ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader;
Offset 265, 20 lines modifiedOffset 262, 19 lines modified
  
265 ····invoke-static·{v8,·v2,·v1},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V262 ····invoke-static·{v8,·v2,·v1},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V
266 ····:try_end_3263 ····:try_end_3
267 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_3·..·:try_end_3}·:catch_3264 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_3·..·:try_end_3}·:catch_3
  
268 ····goto·:goto_0265 ····goto·:goto_0
  
269 ····.line·89266 ····.line·93
270 ····.end·local·v6····#·"result":Lcom/google/zxing/Result;267 ····.end·local·v6····#·"result":Lcom/google/zxing/Result;
271 ····:catch_3268 ····:catch_3
272 ····move-exception·v8269 ····move-exception·v8
  
273 ····.line·93 
274 ····div-int/lit8·v5,·v2,·0x2270 ····div-int/lit8·v5,·v2,·0x2
  
275 ····.line·94271 ····.line·94
276 ····.local·v5,·"quarterWidth":I272 ····.local·v5,·"quarterWidth":I
277 ····div-int/lit8·v4,·v1,·0x2273 ····div-int/lit8·v4,·v1,·0x2
  
278 ····.line·95274 ····.line·95
17.0 KB
smali/com/google/zxing/multi/GenericMultipleBarcodeReader.smali
    
Offset 29, 15 lines modifiedOffset 29, 15 lines modified
29 ····iput-object·p1,·p0,·Lcom/google/zxing/multi/GenericMultipleBarcodeReader;->delegate:Lcom/google/zxing/Reader;29 ····iput-object·p1,·p0,·Lcom/google/zxing/multi/GenericMultipleBarcodeReader;->delegate:Lcom/google/zxing/Reader;
  
30 ····.line·5430 ····.line·54
31 ····return-void31 ····return-void
32 .end·method32 .end·method
  
33 .method·private·doDecodeMultiple(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;Ljava/util/List;III)V33 .method·private·doDecodeMultiple(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;Ljava/util/List;III)V
34 ····.locals·2434 ····.locals·22
35 ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap;35 ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap;
36 ····.param·p4,·"xOffset"····#·I36 ····.param·p4,·"xOffset"····#·I
37 ····.param·p5,·"yOffset"····#·I37 ····.param·p5,·"yOffset"····#·I
38 ····.param·p6,·"currentDepth"····#·I38 ····.param·p6,·"currentDepth"····#·I
39 ····.annotation·system·Ldalvik/annotation/Signature;39 ····.annotation·system·Ldalvik/annotation/Signature;
40 ········value·=·{40 ········value·=·{
41 ············"(",41 ············"(",
Offset 79, 65 lines modifiedOffset 79, 63 lines modified
  
79 ····move-object/from16·v1,·p279 ····move-object/from16·v1,·p2
  
80 ····invoke-interface·{v3,·v0,·v1},·Lcom/google/zxing/Reader;->decode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result;80 ····invoke-interface·{v3,·v0,·v1},·Lcom/google/zxing/Reader;->decode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result;
81 ····:try_end_081 ····:try_end_0
82 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_082 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0
  
83 ····move-result-object·v1983 ····move-result-object·v17
  
84 ····.line·8884 ····.line·88
85 ····.local·v19,·"result":Lcom/google/zxing/Result;85 ····.local·v17,·"result":Lcom/google/zxing/Result;
86 ····const/4·v10,·0x086 ····const/4·v10,·0x0
  
87 ····.line·8987 ····.line·89
88 ····.local·v10,·"alreadyFound":Z88 ····.local·v10,·"alreadyFound":Z
89 ····invoke-interface/range·{p3·..·p3},·Ljava/util/List;->iterator()Ljava/util/Iterator;89 ····invoke-interface/range·{p3·..·p3},·Ljava/util/List;->iterator()Ljava/util/Iterator;
  
90 ····move-result-object·v390 ····move-result-object·v4
  
91 ····:cond_291 ····:cond_2
92 ····invoke-interface·{v3},·Ljava/util/Iterator;->hasNext()Z92 ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z
  
93 ····move-result·v493 ····move-result·v3
  
94 ····if-eqz·v4,·:cond_394 ····if-eqz·v3,·:cond_3
  
95 ····invoke-interface·{v3},·Ljava/util/Iterator;->next()Ljava/lang/Object;95 ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
96 ····move-result-object·v1196 ····move-result-object·v3
  
97 ····check-cast·v11,·Lcom/google/zxing/Result;97 ····check-cast·v3,·Lcom/google/zxing/Result;
  
98 ····.line·9098 ····.line·90
99 ····.local·v11,·"existingResult":Lcom/google/zxing/Result; 
100 ····invoke-virtual·{v11},·Lcom/google/zxing/Result;->getText()Ljava/lang/String;99 ····invoke-virtual·{v3},·Lcom/google/zxing/Result;->getText()Ljava/lang/String;
  
101 ····move-result-object·v4100 ····move-result-object·v3
  
102 ····invoke-virtual/range·{v19·..·v19},·Lcom/google/zxing/Result;->getText()Ljava/lang/String;101 ····invoke-virtual/range·{v17·..·v17},·Lcom/google/zxing/Result;->getText()Ljava/lang/String;
  
103 ····move-result-object·v5102 ····move-result-object·v5
  
104 ····invoke-virtual·{v4,·v5},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z103 ····invoke-virtual·{v3,·v5},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
105 ····move-result·v4104 ····move-result·v3
  
106 ····if-eqz·v4,·:cond_2105 ····if-eqz·v3,·:cond_2
  
107 ····.line·91106 ····.line·91
108 ····const/4·v10,·0x1107 ····const/4·v10,·0x1
  
109 ····.line·95108 ····.line·95
110 ····.end·local·v11····#·"existingResult":Lcom/google/zxing/Result; 
111 ····:cond_3109 ····:cond_3
112 ····if-nez·v10,·:cond_4110 ····if-nez·v10,·:cond_4
  
113 ····.line·96111 ····.line·96
114 ····move-object/from16·v0,·v19112 ····move-object/from16·v0,·v17
  
115 ····move/from16·v1,·p4113 ····move/from16·v1,·p4
  
116 ····move/from16·v2,·p5114 ····move/from16·v2,·p5
  
117 ····invoke-static·{v0,·v1,·v2},·Lcom/google/zxing/multi/GenericMultipleBarcodeReader;->translateResultPoints(Lcom/google/zxing/Result;II)Lcom/google/zxing/Result;115 ····invoke-static·{v0,·v1,·v2},·Lcom/google/zxing/multi/GenericMultipleBarcodeReader;->translateResultPoints(Lcom/google/zxing/Result;II)Lcom/google/zxing/Result;
  
Offset 145, 187 lines modifiedOffset 143, 148 lines modified
  
145 ····move-object/from16·v0,·p3143 ····move-object/from16·v0,·p3
  
146 ····invoke-interface·{v0,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z144 ····invoke-interface·{v0,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
147 ····.line·98145 ····.line·98
148 ····:cond_4146 ····:cond_4
149 ····invoke-virtual/range·{v19·..·v19},·Lcom/google/zxing/Result;->getResultPoints()[Lcom/google/zxing/ResultPoint;147 ····invoke-virtual/range·{v17·..·v17},·Lcom/google/zxing/Result;->getResultPoints()[Lcom/google/zxing/ResultPoint;
  
150 ····move-result-object·v20148 ····move-result-object·v18
  
151 ····.line·99149 ····.line·99
152 ····.local·v20,·"resultPoints":[Lcom/google/zxing/ResultPoint;150 ····.local·v18,·"resultPoints":[Lcom/google/zxing/ResultPoint;
153 ····if-eqz·v20,·:cond_0151 ····if-eqz·v18,·:cond_0
  
154 ····move-object/from16·v0,·v20152 ····move-object/from16·v0,·v18
  
155 ····array-length·v3,·v0153 ····array-length·v3,·v0
  
156 ····if-eqz·v3,·:cond_0154 ····if-eqz·v3,·:cond_0
  
157 ····.line·102155 ····.line·102
158 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getWidth()I156 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getWidth()I
  
159 ····move-result·v21157 ····move-result·v19
  
160 ····.line·103158 ····.line·103
161 ····.local·v21,·"width":I159 ····.local·v19,·"width":I
162 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getHeight()I160 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getHeight()I
  
163 ····move-result·v12161 ····move-result·v11
  
164 ····.line·104162 ····.line·104
165 ····.local·v12,·"height":I163 ····.local·v11,·"height":I
166 ····move/from16·v0,·v21164 ····move/from16·v0,·v19
  
167 ····int-to-float·v0,·v0 
  
168 ····move/from16·v16,·v0165 ····int-to-float·v14,·v0
  
169 ····.line·105166 ····.line·105
170 ····.local·v16,·"minX":F167 ····.local·v14,·"minX":F
171 ····int-to-float·v0,·v12168 ····int-to-float·v15,·v11
  
172 ····move/from16·v17,·v0 
Max diff block lines reached; 12841/17330 bytes (74.10%) of diff not shown.
1.03 KB
smali/com/google/zxing/multi/qrcode/QRCodeMultiReader$SAComparator.smali
    
Offset 1, 14 lines modifiedOffset 1, 14 lines modified
1 .class·final·Lcom/google/zxing/multi/qrcode/QRCodeMultiReader$SAComparator;1 .class·final·Lcom/google/zxing/multi/qrcode/QRCodeMultiReader$SAComparator;
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Object;
3 .source·"QRCodeMultiReader.java"3 .source·"QRCodeMultiReader.java"
  
4 #·interfaces4 #·interfaces
5 .implements·Ljava/util/Comparator; 
6 .implements·Ljava/io/Serializable;5 .implements·Ljava/io/Serializable;
 6 .implements·Ljava/util/Comparator;
  
  
7 #·annotations7 #·annotations
8 .annotation·system·Ldalvik/annotation/EnclosingClass;8 .annotation·system·Ldalvik/annotation/EnclosingClass;
9 ····value·=·Lcom/google/zxing/multi/qrcode/QRCodeMultiReader;9 ····value·=·Lcom/google/zxing/multi/qrcode/QRCodeMultiReader;
10 .end·annotation10 .end·annotation
  
Offset 16, 19 lines modifiedOffset 16, 19 lines modified
16 ····accessFlags·=·0x1a16 ····accessFlags·=·0x1a
17 ····name·=·"SAComparator"17 ····name·=·"SAComparator"
18 .end·annotation18 .end·annotation
  
19 .annotation·system·Ldalvik/annotation/Signature;19 .annotation·system·Ldalvik/annotation/Signature;
20 ····value·=·{20 ····value·=·{
21 ········"Ljava/lang/Object;",21 ········"Ljava/lang/Object;",
 22 ········"Ljava/io/Serializable;",
22 ········"Ljava/util/Comparator",23 ········"Ljava/util/Comparator",
23 ········"<",24 ········"<",
24 ········"Lcom/google/zxing/Result;",25 ········"Lcom/google/zxing/Result;",
25 ········">;",26 ········">;"
26 ········"Ljava/io/Serializable;" 
27 ····}27 ····}
28 .end·annotation28 .end·annotation
  
  
29 #·direct·methods29 #·direct·methods
30 .method·private·constructor·<init>()V30 .method·private·constructor·<init>()V
31 ····.locals·031 ····.locals·0
31.9 KB
smali/com/google/zxing/multi/qrcode/QRCodeMultiReader.smali
    
Offset 43, 20 lines modifiedOffset 43, 19 lines modified
43 .method·public·constructor·<init>()V43 .method·public·constructor·<init>()V
44 ····.locals·044 ····.locals·0
  
45 ····.prologue45 ····.prologue
46 ····.line·4846 ····.line·48
47 ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/QRCodeReader;-><init>()V47 ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/QRCodeReader;-><init>()V
  
48 ····.line·166 
49 ····return-void48 ····return-void
50 .end·method49 .end·method
  
51 .method·private·static·processStructuredAppend(Ljava/util/List;)Ljava/util/List;50 .method·private·static·processStructuredAppend(Ljava/util/List;)Ljava/util/List;
52 ····.locals·2351 ····.locals·22
53 ····.annotation·system·Ldalvik/annotation/Signature;52 ····.annotation·system·Ldalvik/annotation/Signature;
54 ········value·=·{53 ········value·=·{
55 ············"(",54 ············"(",
56 ············"Ljava/util/List",55 ············"Ljava/util/List",
57 ············"<",56 ············"<",
58 ············"Lcom/google/zxing/Result;",57 ············"Lcom/google/zxing/Result;",
59 ············">;)",58 ············">;)",
Offset 66, 448 lines modifiedOffset 65, 462 lines modified
66 ············">;"65 ············">;"
67 ········}66 ········}
68 ····.end·annotation67 ····.end·annotation
  
69 ····.prologue68 ····.prologue
70 ····.line·10069 ····.line·100
71 ····.local·p0,·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;"70 ····.local·p0,·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;"
72 ····const/4·v8,·0x071 ····const/4·v7,·0x0
  
73 ····.line·10372 ····.line·103
74 ····.local·v8,·"hasSA":Z73 ····.local·v7,·"hasSA":Z
75 ····invoke-interface/range·{p0·..·p0},·Ljava/util/List;->iterator()Ljava/util/Iterator;74 ····invoke-interface/range·{p0·..·p0},·Ljava/util/List;->iterator()Ljava/util/Iterator;
  
76 ····move-result-object·v1975 ····move-result-object·v19
  
77 ····:cond_076 ····:cond_0
78 ····invoke-interface/range·{v19·..·v19},·Ljava/util/Iterator;->hasNext()Z77 ····invoke-interface/range·{v19·..·v19},·Ljava/util/Iterator;->hasNext()Z
  
79 ····move-result·v2078 ····move-result·v18
  
80 ····if-eqz·v20,·:cond_179 ····if-eqz·v18,·:cond_1
  
81 ····invoke-interface/range·{v19·..·v19},·Ljava/util/Iterator;->next()Ljava/lang/Object;80 ····invoke-interface/range·{v19·..·v19},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
82 ····move-result-object·v1581 ····move-result-object·v18
  
83 ····check-cast·v15,·Lcom/google/zxing/Result;82 ····check-cast·v18,·Lcom/google/zxing/Result;
  
84 ····.line·10483 ····.line·104
85 ····.local·v15,·"result":Lcom/google/zxing/Result; 
86 ····invoke-virtual·{v15},·Lcom/google/zxing/Result;->getResultMetadata()Ljava/util/Map;84 ····invoke-virtual/range·{v18·..·v18},·Lcom/google/zxing/Result;->getResultMetadata()Ljava/util/Map;
  
87 ····move-result-object·v2085 ····move-result-object·v18
  
88 ····sget-object·v21,·Lcom/google/zxing/ResultMetadataType;->STRUCTURED_APPEND_SEQUENCE:Lcom/google/zxing/ResultMetadataType;86 ····sget-object·v20,·Lcom/google/zxing/ResultMetadataType;->STRUCTURED_APPEND_SEQUENCE:Lcom/google/zxing/ResultMetadataType;
  
89 ····invoke-interface/range·{v20·..·v21},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z87 ····move-object/from16·v0,·v18
  
90 ····move-result·v2088 ····move-object/from16·v1,·v20
  
 89 ····invoke-interface·{v0,·v1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
  
 90 ····move-result·v18
  
91 ····if-eqz·v20,·:cond_091 ····if-eqz·v18,·:cond_0
  
92 ····.line·10592 ····.line·105
93 ····const/4·v8,·0x193 ····const/4·v7,·0x1
  
94 ····.line·10994 ····.line·109
95 ····.end·local·v15····#·"result":Lcom/google/zxing/Result; 
96 ····:cond_195 ····:cond_1
97 ····if-nez·v8,·:cond_296 ····if-nez·v7,·:cond_2
  
98 ····.line·16397 ····.line·163
99 ····.end·local·p0····#·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;"98 ····.end·local·p0····#·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;"
100 ····:goto_099 ····:goto_0
101 ····return-object·p0100 ····return-object·p0
  
102 ····.line·114101 ····.line·114
103 ····.restart·local·p0····#·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;"102 ····.restart·local·p0····#·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;"
104 ····:cond_2103 ····:cond_2
105 ····new-instance·v13,·Ljava/util/ArrayList;104 ····new-instance·v12,·Ljava/util/ArrayList;
  
106 ····invoke-direct·{v13},·Ljava/util/ArrayList;-><init>()V105 ····invoke-direct·{v12},·Ljava/util/ArrayList;-><init>()V
  
107 ····.line·115106 ····.line·115
108 ····.local·v13,·"newResults":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;"107 ····.local·v12,·"newResults":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;"
109 ····new-instance·v17,·Ljava/util/ArrayList;108 ····new-instance·v16,·Ljava/util/ArrayList;
  
110 ····invoke-direct/range·{v17·..·v17},·Ljava/util/ArrayList;-><init>()V109 ····invoke-direct/range·{v16·..·v16},·Ljava/util/ArrayList;-><init>()V
  
111 ····.line·116110 ····.line·116
112 ····.local·v17,·"saResults":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;"111 ····.local·v16,·"saResults":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;"
113 ····invoke-interface/range·{p0·..·p0},·Ljava/util/List;->iterator()Ljava/util/Iterator;112 ····invoke-interface/range·{p0·..·p0},·Ljava/util/List;->iterator()Ljava/util/Iterator;
  
114 ····move-result-object·v19113 ····move-result-object·v18
  
115 ····:cond_3114 ····:cond_3
116 ····:goto_1115 ····:goto_1
117 ····invoke-interface/range·{v19·..·v19},·Ljava/util/Iterator;->hasNext()Z116 ····invoke-interface/range·{v18·..·v18},·Ljava/util/Iterator;->hasNext()Z
  
118 ····move-result·v20117 ····move-result·v19
  
119 ····if-eqz·v20,·:cond_4118 ····if-eqz·v19,·:cond_4
  
120 ····invoke-interface/range·{v19·..·v19},·Ljava/util/Iterator;->next()Ljava/lang/Object;119 ····invoke-interface/range·{v18·..·v18},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
121 ····move-result-object·v15120 ····move-result-object·v14
  
122 ····check-cast·v15,·Lcom/google/zxing/Result;121 ····check-cast·v14,·Lcom/google/zxing/Result;
  
123 ····.line·117122 ····.line·117
124 ····.restart·local·v15····#·"result":Lcom/google/zxing/Result;123 ····.local·v14,·"result":Lcom/google/zxing/Result;
125 ····invoke-interface·{v13,·v15},·Ljava/util/List;->add(Ljava/lang/Object;)Z124 ····invoke-interface·{v12,·v14},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
126 ····.line·118125 ····.line·118
127 ····invoke-virtual·{v15},·Lcom/google/zxing/Result;->getResultMetadata()Ljava/util/Map;126 ····invoke-virtual·{v14},·Lcom/google/zxing/Result;->getResultMetadata()Ljava/util/Map;
  
128 ····move-result-object·v20127 ····move-result-object·v19
  
129 ····sget-object·v21,·Lcom/google/zxing/ResultMetadataType;->STRUCTURED_APPEND_SEQUENCE:Lcom/google/zxing/ResultMetadataType;128 ····sget-object·v20,·Lcom/google/zxing/ResultMetadataType;->STRUCTURED_APPEND_SEQUENCE:Lcom/google/zxing/ResultMetadataType;
  
130 ····invoke-interface/range·{v20·..·v21},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z129 ····invoke-interface/range·{v19·..·v20},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
  
131 ····move-result·v20130 ····move-result·v19
Max diff block lines reached; 27170/32596 bytes (83.35%) of diff not shown.
1.15 KB
smali/com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator.smali
    
Offset 1, 14 lines modifiedOffset 1, 14 lines modified
1 .class·final·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator;1 .class·final·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator;
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Object;
3 .source·"MultiFinderPatternFinder.java"3 .source·"MultiFinderPatternFinder.java"
  
4 #·interfaces4 #·interfaces
5 .implements·Ljava/util/Comparator; 
6 .implements·Ljava/io/Serializable;5 .implements·Ljava/io/Serializable;
 6 .implements·Ljava/util/Comparator;
  
  
7 #·annotations7 #·annotations
8 .annotation·system·Ldalvik/annotation/EnclosingClass;8 .annotation·system·Ldalvik/annotation/EnclosingClass;
9 ····value·=·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder;9 ····value·=·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder;
10 .end·annotation10 .end·annotation
  
Offset 16, 19 lines modifiedOffset 16, 19 lines modified
16 ····accessFlags·=·0x1a16 ····accessFlags·=·0x1a
17 ····name·=·"ModuleSizeComparator"17 ····name·=·"ModuleSizeComparator"
18 .end·annotation18 .end·annotation
  
19 .annotation·system·Ldalvik/annotation/Signature;19 .annotation·system·Ldalvik/annotation/Signature;
20 ····value·=·{20 ····value·=·{
21 ········"Ljava/lang/Object;",21 ········"Ljava/lang/Object;",
 22 ········"Ljava/io/Serializable;",
22 ········"Ljava/util/Comparator",23 ········"Ljava/util/Comparator",
23 ········"<",24 ········"<",
24 ········"Lcom/google/zxing/qrcode/detector/FinderPattern;",25 ········"Lcom/google/zxing/qrcode/detector/FinderPattern;",
25 ········">;",26 ········">;"
26 ········"Ljava/io/Serializable;" 
27 ····}27 ····}
28 .end·annotation28 .end·annotation
  
  
29 #·direct·methods29 #·direct·methods
30 .method·private·constructor·<init>()V30 .method·private·constructor·<init>()V
31 ····.locals·031 ····.locals·0
7.71 KB
smali/com/google/zxing/multi/qrcode/detector/MultiDetector.smali
    
Offset 33, 15 lines modifiedOffset 33, 15 lines modified
33 ····.line·4533 ····.line·45
34 ····return-void34 ····return-void
35 .end·method35 .end·method
  
  
36 #·virtual·methods36 #·virtual·methods
37 .method·public·detectMulti(Ljava/util/Map;)[Lcom/google/zxing/common/DetectorResult;37 .method·public·detectMulti(Ljava/util/Map;)[Lcom/google/zxing/common/DetectorResult;
38 ····.locals·938 ····.locals·8
39 ····.annotation·system·Ldalvik/annotation/Signature;39 ····.annotation·system·Ldalvik/annotation/Signature;
40 ········value·=·{40 ········value·=·{
41 ············"(",41 ············"(",
42 ············"Ljava/util/Map",42 ············"Ljava/util/Map",
43 ············"<",43 ············"<",
44 ············"Lcom/google/zxing/DecodeHintType;",44 ············"Lcom/google/zxing/DecodeHintType;",
45 ············"*>;)[",45 ············"*>;)[",
Offset 56, 134 lines modifiedOffset 56, 130 lines modified
56 ····.end·annotation56 ····.end·annotation
  
57 ····.prologue57 ····.prologue
58 ····.line·4858 ····.line·48
59 ····.local·p1,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"59 ····.local·p1,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"
60 ····invoke-virtual·{p0},·Lcom/google/zxing/multi/qrcode/detector/MultiDetector;->getImage()Lcom/google/zxing/common/BitMatrix;60 ····invoke-virtual·{p0},·Lcom/google/zxing/multi/qrcode/detector/MultiDetector;->getImage()Lcom/google/zxing/common/BitMatrix;
  
61 ····move-result-object·v161 ····move-result-object·v0
  
62 ····.line·4962 ····.line·49
63 ····.local·v1,·"image":Lcom/google/zxing/common/BitMatrix;63 ····.local·v0,·"image":Lcom/google/zxing/common/BitMatrix;
64 ····if-nez·p1,·:cond_064 ····if-nez·p1,·:cond_0
  
65 ····const/4·v5,·0x065 ····const/4·v4,·0x0
  
66 ····.line·5166 ····.line·51
67 ····.local·v5,·"resultPointCallback":Lcom/google/zxing/ResultPointCallback;67 ····.local·v4,·"resultPointCallback":Lcom/google/zxing/ResultPointCallback;
68 ····:goto_068 ····:goto_0
69 ····new-instance·v0,·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder;69 ····new-instance·v5,·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder;
  
70 ····invoke-direct·{v0,·v1,·v5},·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder;-><init>(Lcom/google/zxing/common/BitMatrix;Lcom/google/zxing/ResultPointCallback;)V70 ····invoke-direct·{v5,·v0,·v4},·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder;-><init>(Lcom/google/zxing/common/BitMatrix;Lcom/google/zxing/ResultPointCallback;)V
  
71 ····.line·5271 ····.line·52
72 ····.local·v0,·"finder":Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder; 
73 ····invoke-virtual·{v0,·p1},·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder;->findMulti(Ljava/util/Map;)[Lcom/google/zxing/qrcode/detector/FinderPatternInfo;72 ····invoke-virtual·{v5,·p1},·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder;->findMulti(Ljava/util/Map;)[Lcom/google/zxing/qrcode/detector/FinderPatternInfo;
  
74 ····move-result-object·v373 ····move-result-object·v2
  
75 ····.line·5474 ····.line·54
76 ····.local·v3,·"infos":[Lcom/google/zxing/qrcode/detector/FinderPatternInfo;75 ····.local·v2,·"infos":[Lcom/google/zxing/qrcode/detector/FinderPatternInfo;
77 ····array-length·v6,·v376 ····array-length·v5,·v2
  
78 ····if-nez·v6,·:cond_177 ····if-nez·v5,·:cond_1
  
79 ····.line·5578 ····.line·55
80 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;79 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
81 ····move-result-object·v680 ····move-result-object·v5
  
82 ····throw·v681 ····throw·v5
  
83 ····.line·4982 ····.line·49
84 ····.end·local·v0····#·"finder":Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder; 
85 ····.end·local·v3····#·"infos":[Lcom/google/zxing/qrcode/detector/FinderPatternInfo;83 ····.end·local·v2····#·"infos":[Lcom/google/zxing/qrcode/detector/FinderPatternInfo;
86 ····.end·local·v5····#·"resultPointCallback":Lcom/google/zxing/ResultPointCallback;84 ····.end·local·v4····#·"resultPointCallback":Lcom/google/zxing/ResultPointCallback;
87 ····:cond_085 ····:cond_0
88 ····sget-object·v6,·Lcom/google/zxing/DecodeHintType;->NEED_RESULT_POINT_CALLBACK:Lcom/google/zxing/DecodeHintType;86 ····sget-object·v5,·Lcom/google/zxing/DecodeHintType;->NEED_RESULT_POINT_CALLBACK:Lcom/google/zxing/DecodeHintType;
  
89 ····.line·5087 ····.line·50
90 ····invoke-interface·{p1,·v6},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;88 ····invoke-interface·{p1,·v5},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
91 ····move-result-object·v689 ····move-result-object·v5
  
92 ····check-cast·v6,·Lcom/google/zxing/ResultPointCallback;90 ····check-cast·v5,·Lcom/google/zxing/ResultPointCallback;
  
93 ····move-object·v5,·v691 ····move-object·v4,·v5
  
94 ····goto·:goto_092 ····goto·:goto_0
  
95 ····.line·5893 ····.line·58
96 ····.restart·local·v0····#·"finder":Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder; 
97 ····.restart·local·v3····#·"infos":[Lcom/google/zxing/qrcode/detector/FinderPatternInfo;94 ····.restart·local·v2····#·"infos":[Lcom/google/zxing/qrcode/detector/FinderPatternInfo;
98 ····.restart·local·v5····#·"resultPointCallback":Lcom/google/zxing/ResultPointCallback;95 ····.restart·local·v4····#·"resultPointCallback":Lcom/google/zxing/ResultPointCallback;
99 ····:cond_196 ····:cond_1
100 ····new-instance·v4,·Ljava/util/ArrayList;97 ····new-instance·v3,·Ljava/util/ArrayList;
  
101 ····invoke-direct·{v4},·Ljava/util/ArrayList;-><init>()V98 ····invoke-direct·{v3},·Ljava/util/ArrayList;-><init>()V
  
102 ····.line·5999 ····.line·59
103 ····.local·v4,·"result":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/common/DetectorResult;>;"100 ····.local·v3,·"result":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/common/DetectorResult;>;"
104 ····array-length·v7,·v3101 ····array-length·v6,·v2
  
105 ····const/4·v6,·0x0102 ····const/4·v5,·0x0
  
106 ····:goto_1103 ····:goto_1
107 ····if-ge·v6,·v7,·:cond_2104 ····if-ge·v5,·v6,·:cond_2
  
108 ····aget-object·v2,·v3,·v6105 ····aget-object·v1,·v2,·v5
  
109 ····.line·61106 ····.line·61
110 ····.local·v2,·"info":Lcom/google/zxing/qrcode/detector/FinderPatternInfo;107 ····.local·v1,·"info":Lcom/google/zxing/qrcode/detector/FinderPatternInfo;
111 ····:try_start_0108 ····:try_start_0
112 ····invoke-virtual·{p0,·v2},·Lcom/google/zxing/multi/qrcode/detector/MultiDetector;->processFinderPatternInfo(Lcom/google/zxing/qrcode/detector/FinderPatternInfo;)Lcom/google/zxing/common/DetectorResult;109 ····invoke-virtual·{p0,·v1},·Lcom/google/zxing/multi/qrcode/detector/MultiDetector;->processFinderPatternInfo(Lcom/google/zxing/qrcode/detector/FinderPatternInfo;)Lcom/google/zxing/common/DetectorResult;
  
113 ····move-result-object·v8110 ····move-result-object·v7
  
114 ····invoke-interface·{v4,·v8},·Ljava/util/List;->add(Ljava/lang/Object;)Z111 ····invoke-interface·{v3,·v7},·Ljava/util/List;->add(Ljava/lang/Object;)Z
115 ····:try_end_0112 ····:try_end_0
116 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0113 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0
  
117 ····.line·59114 ····.line·59
118 ····:goto_2115 ····:goto_2
119 ····add-int/lit8·v6,·v6,·0x1116 ····add-int/lit8·v5,·v5,·0x1
  
120 ····goto·:goto_1117 ····goto·:goto_1
  
121 ····.line·66118 ····.line·66
122 ····.end·local·v2····#·"info":Lcom/google/zxing/qrcode/detector/FinderPatternInfo;119 ····.end·local·v1····#·"info":Lcom/google/zxing/qrcode/detector/FinderPatternInfo;
123 ····:cond_2120 ····:cond_2
124 ····invoke-interface·{v4},·Ljava/util/List;->isEmpty()Z121 ····invoke-interface·{v3},·Ljava/util/List;->isEmpty()Z
  
125 ····move-result·v6122 ····move-result·v5
  
126 ····if-eqz·v6,·:cond_3123 ····if-eqz·v5,·:cond_3
  
127 ····.line·67124 ····.line·67
128 ····sget-object·v6,·Lcom/google/zxing/multi/qrcode/detector/MultiDetector;->EMPTY_DETECTOR_RESULTS:[Lcom/google/zxing/common/DetectorResult;125 ····sget-object·v5,·Lcom/google/zxing/multi/qrcode/detector/MultiDetector;->EMPTY_DETECTOR_RESULTS:[Lcom/google/zxing/common/DetectorResult;
  
129 ····.line·69126 ····.line·69
130 ····:goto_3127 ····:goto_3
131 ····return-object·v6128 ····return-object·v5
Max diff block lines reached; 980/7770 bytes (12.61%) of diff not shown.
19.5 KB
smali/com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder.smali
    
Offset 60, 15 lines modifiedOffset 60, 15 lines modified
60 ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;-><init>(Lcom/google/zxing/common/BitMatrix;Lcom/google/zxing/ResultPointCallback;)V60 ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;-><init>(Lcom/google/zxing/common/BitMatrix;Lcom/google/zxing/ResultPointCallback;)V
  
61 ····.line·9861 ····.line·98
62 ····return-void62 ····return-void
63 .end·method63 .end·method
  
64 .method·private·selectMutipleBestPatterns()[[Lcom/google/zxing/qrcode/detector/FinderPattern;64 .method·private·selectMutipleBestPatterns()[[Lcom/google/zxing/qrcode/detector/FinderPattern;
65 ····.locals·2965 ····.locals·25
66 ····.annotation·system·Ldalvik/annotation/Throws;66 ····.annotation·system·Ldalvik/annotation/Throws;
67 ········value·=·{67 ········value·=·{
68 ············Lcom/google/zxing/NotFoundException;68 ············Lcom/google/zxing/NotFoundException;
69 ········}69 ········}
70 ····.end·annotation70 ····.end·annotation
  
71 ····.prologue71 ····.prologue
Offset 81, 349 lines modifiedOffset 81, 325 lines modified
81 ····.local·v14,·"possibleCenters":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/qrcode/detector/FinderPattern;>;"81 ····.local·v14,·"possibleCenters":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/qrcode/detector/FinderPattern;>;"
82 ····invoke-interface·{v14},·Ljava/util/List;->size()I82 ····invoke-interface·{v14},·Ljava/util/List;->size()I
  
83 ····move-result·v1683 ····move-result·v16
  
84 ····.line·11084 ····.line·110
85 ····.local·v16,·"size":I85 ····.local·v16,·"size":I
86 ····const/16·v24,·0x386 ····const/16·v20,·0x3
  
87 ····move/from16·v0,·v1687 ····move/from16·v0,·v16
  
88 ····move/from16·v1,·v2488 ····move/from16·v1,·v20
  
89 ····if-ge·v0,·v1,·:cond_089 ····if-ge·v0,·v1,·:cond_0
  
90 ····.line·11290 ····.line·112
91 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;91 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
92 ····move-result-object·v2492 ····move-result-object·v20
  
93 ····throw·v2493 ····throw·v20
  
94 ····.line·11894 ····.line·118
95 ····:cond_095 ····:cond_0
96 ····const/16·v24,·0x396 ····const/16·v20,·0x3
  
97 ····move/from16·v0,·v1697 ····move/from16·v0,·v16
  
98 ····move/from16·v1,·v2498 ····move/from16·v1,·v20
  
99 ····if-ne·v0,·v1,·:cond_199 ····if-ne·v0,·v1,·:cond_1
  
100 ····.line·119100 ····.line·119
101 ····const/16·v24,·0x1101 ····const/16·v20,·0x1
  
102 ····move/from16·v0,·v24102 ····move/from16·v0,·v20
  
103 ····new-array·v0,·v0,·[[Lcom/google/zxing/qrcode/detector/FinderPattern;103 ····new-array·v0,·v0,·[[Lcom/google/zxing/qrcode/detector/FinderPattern;
  
104 ····move-object/from16·v25,·v0104 ····move-object/from16·v21,·v0
  
105 ····const/16·v26,·0x0105 ····const/16·v22,·0x0
  
106 ····const/16·v24,·0x3106 ····const/16·v20,·0x3
  
107 ····move/from16·v0,·v24107 ····move/from16·v0,·v20
  
108 ····new-array·v0,·v0,·[Lcom/google/zxing/qrcode/detector/FinderPattern;108 ····new-array·v0,·v0,·[Lcom/google/zxing/qrcode/detector/FinderPattern;
  
109 ····move-object/from16·v27,·v0109 ····move-object/from16·v23,·v0
  
110 ····const/16·v28,·0x0 
  
111 ····const/16·v24,·0x0110 ····const/16·v24,·0x0
  
 111 ····const/16·v20,·0x0
  
112 ····.line·121112 ····.line·121
113 ····move/from16·v0,·v24113 ····move/from16·v0,·v20
  
114 ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object;114 ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object;
  
115 ····move-result-object·v24115 ····move-result-object·v20
  
116 ····check-cast·v24,·Lcom/google/zxing/qrcode/detector/FinderPattern;116 ····check-cast·v20,·Lcom/google/zxing/qrcode/detector/FinderPattern;
  
117 ····aput-object·v24,·v27,·v28117 ····aput-object·v20,·v23,·v24
  
118 ····const/16·v28,·0x1 
  
119 ····const/16·v24,·0x1118 ····const/16·v24,·0x1
  
 119 ····const/16·v20,·0x1
  
120 ····.line·122120 ····.line·122
121 ····move/from16·v0,·v24121 ····move/from16·v0,·v20
  
122 ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object;122 ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object;
  
123 ····move-result-object·v24123 ····move-result-object·v20
  
124 ····check-cast·v24,·Lcom/google/zxing/qrcode/detector/FinderPattern;124 ····check-cast·v20,·Lcom/google/zxing/qrcode/detector/FinderPattern;
  
125 ····aput-object·v24,·v27,·v28125 ····aput-object·v20,·v23,·v24
  
126 ····const/16·v28,·0x2 
  
127 ····const/16·v24,·0x2126 ····const/16·v24,·0x2
  
 127 ····const/16·v20,·0x2
  
128 ····.line·123128 ····.line·123
129 ····move/from16·v0,·v24129 ····move/from16·v0,·v20
  
130 ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object;130 ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object;
  
131 ····move-result-object·v24131 ····move-result-object·v20
  
132 ····check-cast·v24,·Lcom/google/zxing/qrcode/detector/FinderPattern;132 ····check-cast·v20,·Lcom/google/zxing/qrcode/detector/FinderPattern;
  
133 ····aput-object·v24,·v27,·v28133 ····aput-object·v20,·v23,·v24
  
134 ····aput-object·v27,·v25,·v26134 ····aput-object·v23,·v21,·v22
  
135 ····move-object/from16·v24,·v25135 ····move-object/from16·v20,·v21
  
136 ····.line·224136 ····.line·224
137 ····:goto_0137 ····:goto_0
138 ····return-object·v24138 ····return-object·v20
  
139 ····.line·129139 ····.line·129
Max diff block lines reached; 16250/19851 bytes (81.86%) of diff not shown.
11.3 KB
smali/com/google/zxing/oned/UPCEReader.smali
    
Offset 1, 13 lines modifiedOffset 1, 15 lines modified
1 .class·public·final·Lcom/google/zxing/oned/UPCEReader;1 .class·public·final·Lcom/google/zxing/oned/UPCEReader;
2 .super·Lcom/google/zxing/oned/UPCEANReader;2 .super·Lcom/google/zxing/oned/UPCEANReader;
3 .source·"UPCEReader.java"3 .source·"UPCEReader.java"
  
  
4 #·static·fields4 #·static·fields
 5 .field·static·final·CHECK_DIGIT_ENCODINGS:[I
  
5 .field·private·static·final·MIDDLE_END_PATTERN:[I6 .field·private·static·final·MIDDLE_END_PATTERN:[I
  
6 .field·private·static·final·NUMSYS_AND_CHECK_DIGIT_PATTERNS:[[I7 .field·private·static·final·NUMSYS_AND_CHECK_DIGIT_PATTERNS:[[I
  
  
7 #·instance·fields8 #·instance·fields
8 .field·private·final·decodeMiddleCounters:[I9 .field·private·final·decodeMiddleCounters:[I
Offset 16, 75 lines modifiedOffset 18, 99 lines modified
16 #·direct·methods18 #·direct·methods
17 .method·static·constructor·<clinit>()V19 .method·static·constructor·<clinit>()V
18 ····.locals·420 ····.locals·4
  
19 ····.prologue21 ····.prologue
20 ····const/16·v3,·0xa22 ····const/16·v3,·0xa
  
21 ····.line·3723 ····.line·55
 24 ····new-array·v0,·v3,·[I
  
 25 ····fill-array-data·v0,·:array_0
  
 26 ····sput-object·v0,·Lcom/google/zxing/oned/UPCEReader;->CHECK_DIGIT_ENCODINGS:[I
  
 27 ····.line·62
22 ····const/4·v0,·0x628 ····const/4·v0,·0x6
  
23 ····new-array·v0,·v0,·[I29 ····new-array·v0,·v0,·[I
  
24 ····fill-array-data·v0,·:array_030 ····fill-array-data·v0,·:array_1
  
25 ····sput-object·v0,·Lcom/google/zxing/oned/UPCEReader;->MIDDLE_END_PATTERN:[I31 ····sput-object·v0,·Lcom/google/zxing/oned/UPCEReader;->MIDDLE_END_PATTERN:[I
  
26 ····.line·4432 ····.line·69
27 ····const/4·v0,·0x233 ····const/4·v0,·0x2
  
28 ····new-array·v0,·v0,·[[I34 ····new-array·v0,·v0,·[[I
  
29 ····const/4·v1,·0x035 ····const/4·v1,·0x0
  
30 ····new-array·v2,·v3,·[I36 ····new-array·v2,·v3,·[I
  
31 ····fill-array-data·v2,·:array_137 ····fill-array-data·v2,·:array_2
  
32 ····aput-object·v2,·v0,·v138 ····aput-object·v2,·v0,·v1
  
33 ····const/4·v1,·0x139 ····const/4·v1,·0x1
  
34 ····new-array·v2,·v3,·[I40 ····new-array·v2,·v3,·[I
  
35 ····fill-array-data·v2,·:array_241 ····fill-array-data·v2,·:array_3
  
36 ····aput-object·v2,·v0,·v142 ····aput-object·v2,·v0,·v1
  
37 ····sput-object·v0,·Lcom/google/zxing/oned/UPCEReader;->NUMSYS_AND_CHECK_DIGIT_PATTERNS:[[I43 ····sput-object·v0,·Lcom/google/zxing/oned/UPCEReader;->NUMSYS_AND_CHECK_DIGIT_PATTERNS:[[I
  
38 ····return-void44 ····return-void
  
39 ····.line·3745 ····.line·55
 46 ····nop
  
40 ····:array_047 ····:array_0
41 ····.array-data·448 ····.array-data·4
 49 ········0x38
 50 ········0x34
 51 ········0x32
 52 ········0x31
 53 ········0x2c
 54 ········0x26
 55 ········0x23
 56 ········0x2a
 57 ········0x29
 58 ········0x25
 59 ····.end·array-data
  
 60 ····.line·62
 61 ····:array_1
 62 ····.array-data·4
42 ········0x163 ········0x1
43 ········0x164 ········0x1
44 ········0x165 ········0x1
45 ········0x166 ········0x1
46 ········0x167 ········0x1
47 ········0x168 ········0x1
48 ····.end·array-data69 ····.end·array-data
  
49 ····.line·4470 ····.line·69
50 ····:array_171 ····:array_2
51 ····.array-data·472 ····.array-data·4
52 ········0x3873 ········0x38
53 ········0x3474 ········0x34
54 ········0x3275 ········0x32
55 ········0x3176 ········0x31
56 ········0x2c77 ········0x2c
57 ········0x2678 ········0x26
58 ········0x2379 ········0x23
59 ········0x2a80 ········0x2a
60 ········0x2981 ········0x29
61 ········0x2582 ········0x25
62 ····.end·array-data83 ····.end·array-data
  
63 ····:array_284 ····:array_3
64 ····.array-data·485 ····.array-data·4
65 ········0x786 ········0x7
66 ········0xb87 ········0xb
67 ········0xd88 ········0xd
68 ········0xe89 ········0xe
69 ········0x1390 ········0x13
70 ········0x1991 ········0x19
Offset 95, 25 lines modifiedOffset 121, 25 lines modified
95 ····.end·array-data121 ····.end·array-data
96 .end·method122 .end·method
  
97 .method·public·constructor·<init>()V123 .method·public·constructor·<init>()V
98 ····.locals·1124 ····.locals·1
  
99 ····.prologue125 ····.prologue
100 ····.line·51126 ····.line·76
101 ····invoke-direct·{p0},·Lcom/google/zxing/oned/UPCEANReader;-><init>()V127 ····invoke-direct·{p0},·Lcom/google/zxing/oned/UPCEANReader;-><init>()V
  
102 ····.line·52128 ····.line·77
Max diff block lines reached; 9017/11468 bytes (78.63%) of diff not shown.
2.4 KB
smali/com/google/zxing/oned/Code93Reader.smali
    
Offset 2, 19 lines modifiedOffset 2, 19 lines modified
2 .super·Lcom/google/zxing/oned/OneDReader;2 .super·Lcom/google/zxing/oned/OneDReader;
3 .source·"Code93Reader.java"3 .source·"Code93Reader.java"
  
  
4 #·static·fields4 #·static·fields
5 .field·private·static·final·ALPHABET:[C5 .field·private·static·final·ALPHABET:[C
  
6 .field·private·static·final·ALPHABET_STRING:Ljava/lang/String;·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%abcd*"6 .field·static·final·ALPHABET_STRING:Ljava/lang/String;·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%abcd*"
  
7 .field·private·static·final·ASTERISK_ENCODING:I7 .field·private·static·final·ASTERISK_ENCODING:I
  
8 .field·private·static·final·CHARACTER_ENCODINGS:[I8 .field·static·final·CHARACTER_ENCODINGS:[I
  
  
9 #·instance·fields9 #·instance·fields
10 .field·private·final·counters:[I10 .field·private·final·counters:[I
  
11 .field·private·final·decodeRowResult:Ljava/lang/StringBuilder;11 .field·private·final·decodeRowResult:Ljava/lang/StringBuilder;
  
Offset 36, 18 lines modifiedOffset 36, 16 lines modified
36 ····.line·4736 ····.line·47
37 ····const/16·v0,·0x3037 ····const/16·v0,·0x30
  
38 ····new-array·v0,·v0,·[I38 ····new-array·v0,·v0,·[I
  
39 ····fill-array-data·v0,·:array_039 ····fill-array-data·v0,·:array_0
  
40 ····sput-object·v0,·Lcom/google/zxing/oned/Code93Reader;->CHARACTER_ENCODINGS:[I 
  
41 ····.line·5540 ····.line·55
42 ····sget-object·v0,·Lcom/google/zxing/oned/Code93Reader;->CHARACTER_ENCODINGS:[I41 ····sput-object·v0,·Lcom/google/zxing/oned/Code93Reader;->CHARACTER_ENCODINGS:[I
  
43 ····const/16·v1,·0x2f42 ····const/16·v1,·0x2f
  
44 ····aget·v0,·v0,·v143 ····aget·v0,·v0,·v1
  
45 ····sput·v0,·Lcom/google/zxing/oned/Code93Reader;->ASTERISK_ENCODING:I44 ····sput·v0,·Lcom/google/zxing/oned/Code93Reader;->ASTERISK_ENCODING:I
  
Offset 748, 47 lines modifiedOffset 746, 47 lines modified
  
748 .method·private·static·toPattern([I)I746 .method·private·static·toPattern([I)I
749 ····.locals·9747 ····.locals·9
750 ····.param·p0,·"counters"····#·[I748 ····.param·p0,·"counters"····#·[I
  
751 ····.prologue749 ····.prologue
752 ····.line·166750 ····.line·166
753 ····array-length·v3,·p0 
  
754 ····.line·167 
755 ····.local·v3,·"max":I 
756 ····const/4·v6,·0x0751 ····const/4·v6,·0x0
  
757 ····.line·168752 ····.line·167
758 ····.local·v6,·"sum":I753 ····.local·v6,·"sum":I
759 ····array-length·v8,·p0754 ····array-length·v8,·p0
  
760 ····const/4·v7,·0x0755 ····const/4·v7,·0x0
  
761 ····:goto_0756 ····:goto_0
762 ····if-ge·v7,·v8,·:cond_0757 ····if-ge·v7,·v8,·:cond_0
  
763 ····aget·v0,·p0,·v7758 ····aget·v0,·p0,·v7
  
764 ····.line·169759 ····.line·168
765 ····.local·v0,·"counter":I760 ····.local·v0,·"counter":I
766 ····add-int/2addr·v6,·v0761 ····add-int/2addr·v6,·v0
  
767 ····.line·168762 ····.line·167
768 ····add-int/lit8·v7,·v7,·0x1763 ····add-int/lit8·v7,·v7,·0x1
  
769 ····goto·:goto_0764 ····goto·:goto_0
  
770 ····.line·171765 ····.line·170
771 ····.end·local·v0····#·"counter":I766 ····.end·local·v0····#·"counter":I
772 ····:cond_0767 ····:cond_0
773 ····const/4·v4,·0x0768 ····const/4·v4,·0x0
  
774 ····.line·172769 ····.line·171
775 ····.local·v4,·"pattern":I770 ····.local·v4,·"pattern":I
 771 ····array-length·v3,·p0
  
 772 ····.line·172
 773 ····.local·v3,·"max":I
776 ····const/4·v1,·0x0774 ····const/4·v1,·0x0
  
777 ····.local·v1,·"i":I775 ····.local·v1,·"i":I
778 ····:goto_1776 ····:goto_1
779 ····if-ge·v1,·v3,·:cond_2777 ····if-ge·v1,·v3,·:cond_2
  
780 ····.line·173778 ····.line·173
Offset 806, 17 lines modifiedOffset 804, 15 lines modified
  
806 ····invoke-static·{v7},·Ljava/lang/Math;->round(F)I804 ····invoke-static·{v7},·Ljava/lang/Math;->round(F)I
  
807 ····move-result·v5805 ····move-result·v5
  
808 ····.line·174806 ····.line·174
809 ····.local·v5,·"scaled":I807 ····.local·v5,·"scaled":I
810 ····const/4·v7,·0x1 
  
811 ····if-lt·v5,·v7,·:cond_1808 ····if-lez·v5,·:cond_1
  
812 ····const/4·v7,·0x4809 ····const/4·v7,·0x4
  
813 ····if-le·v5,·v7,·:cond_3810 ····if-le·v5,·v7,·:cond_3
  
814 ····.line·175811 ····.line·175
815 ····:cond_1812 ····:cond_1
9.01 KB
smali/com/google/zxing/oned/OneDimensionalCodeWriter.smali
    
Offset 23, 88 lines modifiedOffset 23, 88 lines modified
23 ····.param·p1,·"pos"····#·I23 ····.param·p1,·"pos"····#·I
24 ····.param·p2,·"pattern"····#·[I24 ····.param·p2,·"pattern"····#·[I
25 ····.param·p3,·"startColor"····#·Z25 ····.param·p3,·"startColor"····#·Z
  
26 ····.prologue26 ····.prologue
27 ····const/4·v5,·0x027 ····const/4·v5,·0x0
  
28 ····.line·10528 ····.line·102
29 ····move·v0,·p329 ····move·v0,·p3
  
30 ····.line·10630 ····.line·103
31 ····.local·v0,·"color":Z31 ····.local·v0,·"color":Z
32 ····const/4·v3,·0x032 ····const/4·v3,·0x0
  
33 ····.line·10733 ····.line·104
34 ····.local·v3,·"numAdded":I34 ····.local·v3,·"numAdded":I
35 ····array-length·v7,·p235 ····array-length·v7,·p2
  
36 ····move·v6,·v536 ····move·v6,·v5
  
37 ····:goto_037 ····:goto_0
38 ····if-ge·v6,·v7,·:cond_238 ····if-ge·v6,·v7,·:cond_2
  
39 ····aget·v2,·p2,·v639 ····aget·v2,·p2,·v6
  
40 ····.line·10840 ····.line·105
41 ····.local·v2,·"len":I41 ····.local·v2,·"len":I
42 ····const/4·v1,·0x042 ····const/4·v1,·0x0
  
43 ····.local·v1,·"j":I43 ····.local·v1,·"j":I
44 ····move·v4,·p144 ····move·v4,·p1
  
45 ····.end·local·p1····#·"pos":I45 ····.end·local·p1····#·"pos":I
46 ····.local·v4,·"pos":I46 ····.local·v4,·"pos":I
47 ····:goto_147 ····:goto_1
48 ····if-ge·v1,·v2,·:cond_048 ····if-ge·v1,·v2,·:cond_0
  
49 ····.line·10949 ····.line·106
50 ····add-int/lit8·p1,·v4,·0x150 ····add-int/lit8·p1,·v4,·0x1
  
51 ····.end·local·v4····#·"pos":I51 ····.end·local·v4····#·"pos":I
52 ····.restart·local·p1····#·"pos":I52 ····.restart·local·p1····#·"pos":I
53 ····aput-boolean·v0,·p0,·v453 ····aput-boolean·v0,·p0,·v4
  
54 ····.line·10854 ····.line·105
55 ····add-int/lit8·v1,·v1,·0x155 ····add-int/lit8·v1,·v1,·0x1
  
56 ····move·v4,·p156 ····move·v4,·p1
  
57 ····.end·local·p1····#·"pos":I57 ····.end·local·p1····#·"pos":I
58 ····.restart·local·v4····#·"pos":I58 ····.restart·local·v4····#·"pos":I
59 ····goto·:goto_159 ····goto·:goto_1
  
60 ····.line·11160 ····.line·108
61 ····:cond_061 ····:cond_0
62 ····add-int/2addr·v3,·v262 ····add-int/2addr·v3,·v2
  
63 ····.line·11263 ····.line·109
64 ····if-nez·v0,·:cond_164 ····if-nez·v0,·:cond_1
  
65 ····const/4·v0,·0x165 ····const/4·v0,·0x1
  
66 ····.line·10766 ····.line·104
67 ····:goto_267 ····:goto_2
68 ····add-int/lit8·v6,·v6,·0x168 ····add-int/lit8·v6,·v6,·0x1
  
69 ····move·p1,·v469 ····move·p1,·v4
  
70 ····.end·local·v4····#·"pos":I70 ····.end·local·v4····#·"pos":I
71 ····.restart·local·p1····#·"pos":I71 ····.restart·local·p1····#·"pos":I
72 ····goto·:goto_072 ····goto·:goto_0
  
73 ····.end·local·p1····#·"pos":I73 ····.end·local·p1····#·"pos":I
74 ····.restart·local·v4····#·"pos":I74 ····.restart·local·v4····#·"pos":I
75 ····:cond_175 ····:cond_1
76 ····move·v0,·v576 ····move·v0,·v5
  
77 ····.line·11277 ····.line·109
78 ····goto·:goto_278 ····goto·:goto_2
  
79 ····.line·11479 ····.line·111
80 ····.end·local·v1····#·"j":I80 ····.end·local·v1····#·"j":I
81 ····.end·local·v2····#·"len":I81 ····.end·local·v2····#·"len":I
82 ····.end·local·v4····#·"pos":I82 ····.end·local·v4····#·"pos":I
83 ····.restart·local·p1····#·"pos":I83 ····.restart·local·p1····#·"pos":I
84 ····:cond_284 ····:cond_2
85 ····return·v385 ····return·v3
86 .end·method86 .end·method
Offset 113, 83 lines modifiedOffset 113, 83 lines modified
113 ····.locals·10113 ····.locals·10
114 ····.param·p0,·"code"····#·[Z114 ····.param·p0,·"code"····#·[Z
115 ····.param·p1,·"width"····#·I115 ····.param·p1,·"width"····#·I
116 ····.param·p2,·"height"····#·I116 ····.param·p2,·"height"····#·I
117 ····.param·p3,·"sidesMargin"····#·I117 ····.param·p3,·"sidesMargin"····#·I
  
118 ····.prologue118 ····.prologue
119 ····.line·78119 ····.line·75
120 ····array-length·v1,·p0120 ····array-length·v1,·p0
  
121 ····.line·80121 ····.line·77
122 ····.local·v1,·"inputWidth":I122 ····.local·v1,·"inputWidth":I
123 ····add-int·v0,·v1,·p3123 ····add-int·v0,·v1,·p3
  
124 ····.line·81124 ····.line·78
125 ····.local·v0,·"fullWidth":I125 ····.local·v0,·"fullWidth":I
126 ····invoke-static·{p1,·v0},·Ljava/lang/Math;->max(II)I126 ····invoke-static·{p1,·v0},·Ljava/lang/Math;->max(II)I
  
127 ····move-result·v7127 ····move-result·v7
  
128 ····.line·82128 ····.line·79
129 ····.local·v7,·"outputWidth":I129 ····.local·v7,·"outputWidth":I
130 ····const/4·v9,·0x1130 ····const/4·v9,·0x1
  
131 ····invoke-static·{v9,·p2},·Ljava/lang/Math;->max(II)I131 ····invoke-static·{v9,·p2},·Ljava/lang/Math;->max(II)I
  
132 ····move-result·v6132 ····move-result·v6
  
133 ····.line·84133 ····.line·81
134 ····.local·v6,·"outputHeight":I134 ····.local·v6,·"outputHeight":I
135 ····div-int·v4,·v7,·v0135 ····div-int·v4,·v7,·v0
  
136 ····.line·85136 ····.line·82
137 ····.local·v4,·"multiple":I137 ····.local·v4,·"multiple":I
138 ····mul-int·v9,·v1,·v4138 ····mul-int·v9,·v1,·v4
  
139 ····sub-int·v9,·v7,·v9139 ····sub-int·v9,·v7,·v9
  
Max diff block lines reached; 6572/9111 bytes (72.13%) of diff not shown.
9.42 KB
smali/com/google/zxing/oned/EAN13Writer.smali
    
Offset 54, 21 lines modifiedOffset 54, 17 lines modified
54 ····if-eq·p2,·v0,·:cond_054 ····if-eq·p2,·v0,·:cond_0
  
55 ····.line·4755 ····.line·47
56 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;56 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;
  
57 ····new-instance·v1,·Ljava/lang/StringBuilder;57 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
58 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
59 ····const-string·v2,·"Can·only·encode·EAN_13,·but·got·"58 ····const-string·v2,·"Can·only·encode·EAN_13,·but·got·"
  
60 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;59 ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
61 ····move-result-object·v1 
  
62 ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;60 ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
63 ····move-result-object·v161 ····move-result-object·v1
  
64 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;62 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
Offset 84, 232 lines modifiedOffset 80, 222 lines modified
  
84 ····move-result-object·v080 ····move-result-object·v0
  
85 ····return-object·v081 ····return-object·v0
86 .end·method82 .end·method
  
87 .method·public·encode(Ljava/lang/String;)[Z83 .method·public·encode(Ljava/lang/String;)[Z
88 ····.locals·1184 ····.locals·10
89 ····.param·p1,·"contents"····#·Ljava/lang/String;85 ····.param·p1,·"contents"····#·Ljava/lang/String;
  
90 ····.prologue86 ····.prologue
91 ····const/4·v10,·0x087 ····const/4·v9,·0x0
  
92 ····const/4·v9,·0x188 ····const/4·v8,·0x1
  
93 ····.line·5589 ····.line·55
94 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I90 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I
  
95 ····move-result·v791 ····move-result·v6
  
96 ····const/16·v8,·0xd92 ····const/16·v7,·0xd
  
97 ····if-eq·v7,·v8,·:cond_093 ····if-eq·v6,·v7,·:cond_0
  
98 ····.line·5694 ····.line·56
99 ····new-instance·v7,·Ljava/lang/IllegalArgumentException;95 ····new-instance·v6,·Ljava/lang/IllegalArgumentException;
  
100 ····new-instance·v8,·Ljava/lang/StringBuilder; 
  
101 ····invoke-direct·{v8},·Ljava/lang/StringBuilder;-><init>()V96 ····new-instance·v7,·Ljava/lang/StringBuilder;
  
102 ····const-string·v9,·"Requested·contents·should·be·13·digits·long,·but·got·"97 ····const-string·v8,·"Requested·contents·should·be·13·digits·long,·but·got·"
  
103 ····invoke-virtual·{v8,·v9},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;98 ····invoke-direct·{v7,·v8},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
104 ····move-result-object·v8 
  
105 ····.line·5799 ····.line·57
106 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I100 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I
  
107 ····move-result·v9101 ····move-result·v8
  
108 ····invoke-virtual·{v8,·v9},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;102 ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
109 ····move-result-object·v8103 ····move-result-object·v7
  
110 ····invoke-virtual·{v8},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;104 ····invoke-virtual·{v7},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
111 ····move-result-object·v8105 ····move-result-object·v7
  
112 ····invoke-direct·{v7,·v8},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V106 ····invoke-direct·{v6,·v7},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
113 ····throw·v7107 ····throw·v6
  
114 ····.line·60108 ····.line·60
115 ····:cond_0109 ····:cond_0
116 ····:try_start_0110 ····:try_start_0
117 ····invoke-static·{p1},·Lcom/google/zxing/oned/UPCEANReader;->checkStandardUPCEANChecksum(Ljava/lang/CharSequence;)Z111 ····invoke-static·{p1},·Lcom/google/zxing/oned/UPCEANReader;->checkStandardUPCEANChecksum(Ljava/lang/CharSequence;)Z
  
118 ····move-result·v7112 ····move-result·v6
  
119 ····if-nez·v7,·:cond_1113 ····if-nez·v6,·:cond_1
  
120 ····.line·61114 ····.line·61
121 ····new-instance·v7,·Ljava/lang/IllegalArgumentException;115 ····new-instance·v6,·Ljava/lang/IllegalArgumentException;
  
122 ····const-string·v8,·"Contents·do·not·pass·checksum"116 ····const-string·v7,·"Contents·do·not·pass·checksum"
  
123 ····invoke-direct·{v7,·v8},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V117 ····invoke-direct·{v6,·v7},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
124 ····throw·v7118 ····throw·v6
125 ····:try_end_0119 ····:try_end_0
126 ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_0120 ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_0
  
127 ····.line·63121 ····.line·64
128 ····:catch_0122 ····:catch_0
129 ····move-exception·v3123 ····move-exception·v6
  
130 ····.line·64 
131 ····.local·v3,·"ignored":Lcom/google/zxing/FormatException; 
132 ····new-instance·v7,·Ljava/lang/IllegalArgumentException;124 ····new-instance·v6,·Ljava/lang/IllegalArgumentException;
  
133 ····const-string·v8,·"Illegal·contents"125 ····const-string·v7,·"Illegal·contents"
  
134 ····invoke-direct·{v7,·v8},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V126 ····invoke-direct·{v6,·v7},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
135 ····throw·v7127 ····throw·v6
  
136 ····.line·67128 ····.line·67
137 ····.end·local·v3····#·"ignored":Lcom/google/zxing/FormatException; 
138 ····:cond_1129 ····:cond_1
139 ····invoke-virtual·{p1,·v10,·v9},·Ljava/lang/String;->substring(II)Ljava/lang/String;130 ····invoke-virtual·{p1,·v9,·v8},·Ljava/lang/String;->substring(II)Ljava/lang/String;
  
140 ····move-result-object·v7131 ····move-result-object·v6
  
141 ····invoke-static·{v7},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I132 ····invoke-static·{v6},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
  
142 ····move-result·v1133 ····move-result·v1
  
143 ····.line·68134 ····.line·68
144 ····.local·v1,·"firstDigit":I135 ····.local·v1,·"firstDigit":I
145 ····sget-object·v7,·Lcom/google/zxing/oned/EAN13Reader;->FIRST_DIGIT_ENCODINGS:[I136 ····sget-object·v6,·Lcom/google/zxing/oned/EAN13Reader;->FIRST_DIGIT_ENCODINGS:[I
  
146 ····aget·v4,·v7,·v1137 ····aget·v3,·v6,·v1
  
Max diff block lines reached; 4603/9555 bytes (48.17%) of diff not shown.
17.3 KB
smali/com/google/zxing/oned/ITFReader.smali
    
Offset 280, 126 lines modifiedOffset 280, 213 lines modified
280 ····.annotation·system·Ldalvik/annotation/Throws;280 ····.annotation·system·Ldalvik/annotation/Throws;
281 ········value·=·{281 ········value·=·{
282 ············Lcom/google/zxing/NotFoundException;282 ············Lcom/google/zxing/NotFoundException;
283 ········}283 ········}
284 ····.end·annotation284 ····.end·annotation
  
285 ····.prologue285 ····.prologue
286 ····.line·336286 ····.line·334
287 ····const·v1,·0x3ec28f5c····#·0.38f287 ····const·v1,·0x3ec28f5c····#·0.38f
  
288 ····.line·337288 ····.line·335
289 ····.local·v1,·"bestVariance":F289 ····.local·v1,·"bestVariance":F
290 ····const/4·v0,·-0x1290 ····const/4·v0,·-0x1
  
291 ····.line·338291 ····.line·336
292 ····.local·v0,·"bestMatch":I292 ····.local·v0,·"bestMatch":I
293 ····sget-object·v6,·Lcom/google/zxing/oned/ITFReader;->PATTERNS:[[I293 ····sget-object·v6,·Lcom/google/zxing/oned/ITFReader;->PATTERNS:[[I
  
294 ····array-length·v3,·v6294 ····array-length·v3,·v6
  
295 ····.line·339295 ····.line·337
296 ····.local·v3,·"max":I296 ····.local·v3,·"max":I
297 ····const/4·v2,·0x0297 ····const/4·v2,·0x0
  
298 ····.local·v2,·"i":I298 ····.local·v2,·"i":I
299 ····:goto_0299 ····:goto_0
300 ····if-ge·v2,·v3,·:cond_1300 ····if-ge·v2,·v3,·:cond_1
  
301 ····.line·340301 ····.line·338
302 ····sget-object·v6,·Lcom/google/zxing/oned/ITFReader;->PATTERNS:[[I302 ····sget-object·v6,·Lcom/google/zxing/oned/ITFReader;->PATTERNS:[[I
  
303 ····aget-object·v4,·v6,·v2303 ····aget-object·v4,·v6,·v2
  
304 ····.line·341304 ····.line·339
305 ····.local·v4,·"pattern":[I305 ····.local·v4,·"pattern":[I
306 ····const·v6,·0x3f47ae14····#·0.78f306 ····const·v6,·0x3f47ae14····#·0.78f
  
307 ····invoke-static·{p0,·v4,·v6},·Lcom/google/zxing/oned/ITFReader;->patternMatchVariance([I[IF)F307 ····invoke-static·{p0,·v4,·v6},·Lcom/google/zxing/oned/ITFReader;->patternMatchVariance([I[IF)F
  
308 ····move-result·v5308 ····move-result·v5
  
309 ····.line·342309 ····.line·340
310 ····.local·v5,·"variance":F310 ····.local·v5,·"variance":F
311 ····cmpg-float·v6,·v5,·v1311 ····cmpg-float·v6,·v5,·v1
  
312 ····if-gez·v6,·:cond_0312 ····if-gez·v6,·:cond_0
  
313 ····.line·343313 ····.line·341
314 ····move·v1,·v5314 ····move·v1,·v5
  
315 ····.line·344315 ····.line·342
316 ····move·v0,·v2316 ····move·v0,·v2
  
317 ····.line·339317 ····.line·337
318 ····:cond_0318 ····:cond_0
319 ····add-int/lit8·v2,·v2,·0x1319 ····add-int/lit8·v2,·v2,·0x1
  
320 ····goto·:goto_0320 ····goto·:goto_0
  
321 ····.line·347321 ····.line·345
322 ····.end·local·v4····#·"pattern":[I322 ····.end·local·v4····#·"pattern":[I
323 ····.end·local·v5····#·"variance":F323 ····.end·local·v5····#·"variance":F
324 ····:cond_1324 ····:cond_1
325 ····if-ltz·v0,·:cond_2325 ····if-ltz·v0,·:cond_2
  
326 ····.line·348326 ····.line·346
327 ····return·v0327 ····return·v0
  
328 ····.line·350328 ····.line·348
329 ····:cond_2329 ····:cond_2
330 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;330 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
331 ····move-result-object·v6331 ····move-result-object·v6
  
332 ····throw·v6332 ····throw·v6
333 .end·method333 .end·method
  
 334 .method·private·decodeEnd(Lcom/google/zxing/common/BitArray;)[I
 335 ····.locals·6
 336 ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray;
 337 ····.annotation·system·Ldalvik/annotation/Throws;
 338 ········value·=·{
 339 ············Lcom/google/zxing/NotFoundException;
 340 ········}
 341 ····.end·annotation
  
 342 ····.prologue
 343 ····.line·259
 344 ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->reverse()V
  
 345 ····.line·261
 346 ····:try_start_0
 347 ····invoke-static·{p1},·Lcom/google/zxing/oned/ITFReader;->skipWhiteSpace(Lcom/google/zxing/common/BitArray;)I
  
 348 ····move-result·v1
  
 349 ····.line·262
 350 ····.local·v1,·"endStart":I
 351 ····sget-object·v3,·Lcom/google/zxing/oned/ITFReader;->END_PATTERN_REVERSED:[I
  
 352 ····invoke-static·{p1,·v1,·v3},·Lcom/google/zxing/oned/ITFReader;->findGuardPattern(Lcom/google/zxing/common/BitArray;I[I)[I
  
 353 ····move-result-object·v0
  
 354 ····.line·267
 355 ····.local·v0,·"endPattern":[I
 356 ····const/4·v3,·0x0
  
 357 ····aget·v3,·v0,·v3
  
 358 ····invoke-direct·{p0,·p1,·v3},·Lcom/google/zxing/oned/ITFReader;->validateQuietZone(Lcom/google/zxing/common/BitArray;I)V
  
 359 ····.line·272
 360 ····const/4·v3,·0x0
  
 361 ····aget·v2,·v0,·v3
  
 362 ····.line·273
 363 ····.local·v2,·"temp":I
 364 ····const/4·v3,·0x0
  
 365 ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I
  
 366 ····move-result·v4
  
 367 ····const/4·v5,·0x1
  
Max diff block lines reached; 13802/17668 bytes (78.12%) of diff not shown.
4.85 KB
smali/com/google/zxing/oned/UPCEANExtension2Support.smali
    
Offset 30, 71 lines modifiedOffset 30, 15 lines modified
30 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V30 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
31 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/UPCEANExtension2Support;->decodeRowStringBuffer:Ljava/lang/StringBuilder;31 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/UPCEANExtension2Support;->decodeRowStringBuffer:Ljava/lang/StringBuilder;
  
32 ····return-void32 ····return-void
33 .end·method33 .end·method
  
34 .method·private·static·parseExtensionString(Ljava/lang/String;)Ljava/util/Map; 
35 ····.locals·3 
36 ····.param·p0,·"raw"····#·Ljava/lang/String; 
37 ····.annotation·system·Ldalvik/annotation/Signature; 
38 ········value·=·{ 
39 ············"(", 
40 ············"Ljava/lang/String;", 
41 ············")", 
42 ············"Ljava/util/Map", 
43 ············"<", 
44 ············"Lcom/google/zxing/ResultMetadataType;", 
45 ············"Ljava/lang/Object;", 
46 ············">;" 
47 ········} 
48 ····.end·annotation 
  
49 ····.prologue 
50 ····.line·104 
51 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I 
  
52 ····move-result·v1 
  
53 ····const/4·v2,·0x2 
  
54 ····if-eq·v1,·v2,·:cond_0 
  
55 ····.line·105 
56 ····const/4·v0,·0x0 
  
57 ····.line·109 
58 ····:goto_0 
59 ····return-object·v0 
  
60 ····.line·107 
61 ····:cond_0 
62 ····new-instance·v0,·Ljava/util/EnumMap; 
  
63 ····const-class·v1,·Lcom/google/zxing/ResultMetadataType; 
  
64 ····invoke-direct·{v0,·v1},·Ljava/util/EnumMap;-><init>(Ljava/lang/Class;)V 
  
65 ····.line·108 
66 ····.local·v0,·"result":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/ResultMetadataType;Ljava/lang/Object;>;" 
67 ····sget-object·v1,·Lcom/google/zxing/ResultMetadataType;->ISSUE_NUMBER:Lcom/google/zxing/ResultMetadataType; 
  
68 ····invoke-static·{p0},·Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer; 
  
69 ····move-result-object·v2 
  
70 ····invoke-interface·{v0,·v1,·v2},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 
  
71 ····goto·:goto_0 
72 .end·method 
  
  
73 #·virtual·methods 
74 .method·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I34 .method·private·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I
75 ····.locals·1235 ····.locals·12
76 ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray;36 ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray;
77 ····.param·p2,·"startRange"····#·[I37 ····.param·p2,·"startRange"····#·[I
78 ····.param·p3,·"resultString"····#·Ljava/lang/StringBuilder;38 ····.param·p3,·"resultString"····#·Ljava/lang/StringBuilder;
79 ····.annotation·system·Ldalvik/annotation/Throws;39 ····.annotation·system·Ldalvik/annotation/Throws;
80 ········value·=·{40 ········value·=·{
81 ············Lcom/google/zxing/NotFoundException;41 ············Lcom/google/zxing/NotFoundException;
Offset 257, 14 lines modifiedOffset 201, 70 lines modified
257 ····throw·v7201 ····throw·v7
  
258 ····.line·95202 ····.line·95
259 ····:cond_5203 ····:cond_5
260 ····return·v5204 ····return·v5
261 .end·method205 .end·method
  
 206 .method·private·static·parseExtensionString(Ljava/lang/String;)Ljava/util/Map;
 207 ····.locals·3
 208 ····.param·p0,·"raw"····#·Ljava/lang/String;
 209 ····.annotation·system·Ldalvik/annotation/Signature;
 210 ········value·=·{
 211 ············"(",
 212 ············"Ljava/lang/String;",
 213 ············")",
 214 ············"Ljava/util/Map",
 215 ············"<",
 216 ············"Lcom/google/zxing/ResultMetadataType;",
 217 ············"Ljava/lang/Object;",
 218 ············">;"
 219 ········}
 220 ····.end·annotation
  
 221 ····.prologue
 222 ····.line·104
 223 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I
  
 224 ····move-result·v1
  
 225 ····const/4·v2,·0x2
  
 226 ····if-eq·v1,·v2,·:cond_0
  
 227 ····.line·105
 228 ····const/4·v0,·0x0
  
 229 ····.line·109
 230 ····:goto_0
 231 ····return-object·v0
  
 232 ····.line·107
 233 ····:cond_0
 234 ····new-instance·v0,·Ljava/util/EnumMap;
  
 235 ····const-class·v1,·Lcom/google/zxing/ResultMetadataType;
  
 236 ····invoke-direct·{v0,·v1},·Ljava/util/EnumMap;-><init>(Ljava/lang/Class;)V
  
 237 ····.line·108
 238 ····.local·v0,·"result":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/ResultMetadataType;Ljava/lang/Object;>;"
 239 ····sget-object·v1,·Lcom/google/zxing/ResultMetadataType;->ISSUE_NUMBER:Lcom/google/zxing/ResultMetadataType;
  
 240 ····invoke-static·{p0},·Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;
  
 241 ····move-result-object·v2
Max diff block lines reached; 1001/4850 bytes (20.64%) of diff not shown.
9.92 KB
smali/com/google/zxing/oned/MultiFormatUPCEANReader.smali
    
Offset 201, 221 lines modifiedOffset 201, 215 lines modified
201 ········value·=·{201 ········value·=·{
202 ············Lcom/google/zxing/NotFoundException;202 ············Lcom/google/zxing/NotFoundException;
203 ········}203 ········}
204 ····.end·annotation204 ····.end·annotation
  
205 ····.prologue205 ····.prologue
206 ····.local·p3,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"206 ····.local·p3,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"
207 ····const/4·v9,·0x1207 ····const/4·v8,·0x1
  
208 ····const/4·v0,·0x0208 ····const/4·v0,·0x0
  
209 ····.line·74209 ····.line·74
210 ····invoke-static·{p2},·Lcom/google/zxing/oned/UPCEANReader;->findStartGuardPattern(Lcom/google/zxing/common/BitArray;)[I210 ····invoke-static·{p2},·Lcom/google/zxing/oned/UPCEANReader;->findStartGuardPattern(Lcom/google/zxing/common/BitArray;)[I
  
211 ····move-result-object·v7211 ····move-result-object·v6
  
212 ····.line·75212 ····.line·75
213 ····.local·v7,·"startGuardPattern":[I213 ····.local·v6,·"startGuardPattern":[I
214 ····iget-object·v10,·p0,·Lcom/google/zxing/oned/MultiFormatUPCEANReader;->readers:[Lcom/google/zxing/oned/UPCEANReader;214 ····iget-object·v9,·p0,·Lcom/google/zxing/oned/MultiFormatUPCEANReader;->readers:[Lcom/google/zxing/oned/UPCEANReader;
  
215 ····array-length·v11,·v10215 ····array-length·v10,·v9
  
216 ····move·v8,·v0216 ····move·v7,·v0
  
217 ····:goto_0217 ····:goto_0
218 ····if-ge·v8,·v11,·:cond_5218 ····if-ge·v7,·v10,·:cond_5
  
219 ····aget-object·v4,·v10,·v8219 ····aget-object·v3,·v9,·v7
  
220 ····.line·78220 ····.line·78
221 ····.local·v4,·"reader":Lcom/google/zxing/oned/UPCEANReader;221 ····.local·v3,·"reader":Lcom/google/zxing/oned/UPCEANReader;
222 ····:try_start_0222 ····:try_start_0
223 ····invoke-virtual·{v4,·p1,·p2,·v7,·p3},·Lcom/google/zxing/oned/UPCEANReader;->decodeRow(ILcom/google/zxing/common/BitArray;[ILjava/util/Map;)Lcom/google/zxing/Result;223 ····invoke-virtual·{v3,·p1,·p2,·v6,·p3},·Lcom/google/zxing/oned/UPCEANReader;->decodeRow(ILcom/google/zxing/common/BitArray;[ILjava/util/Map;)Lcom/google/zxing/Result;
224 ····:try_end_0224 ····:try_end_0
225 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0225 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0
  
226 ····move-result-object·v5226 ····move-result-object·v4
  
227 ····.line·95227 ····.line·95
228 ····.local·v5,·"result":Lcom/google/zxing/Result;228 ····.local·v4,·"result":Lcom/google/zxing/Result;
229 ····invoke-virtual·{v5},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat;229 ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat;
  
230 ····move-result-object·v8230 ····move-result-object·v7
  
231 ····sget-object·v10,·Lcom/google/zxing/BarcodeFormat;->EAN_13:Lcom/google/zxing/BarcodeFormat;231 ····sget-object·v9,·Lcom/google/zxing/BarcodeFormat;->EAN_13:Lcom/google/zxing/BarcodeFormat;
  
232 ····if-ne·v8,·v10,·:cond_2232 ····if-ne·v7,·v9,·:cond_2
  
233 ····.line·96233 ····.line·96
234 ····invoke-virtual·{v5},·Lcom/google/zxing/Result;->getText()Ljava/lang/String;234 ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getText()Ljava/lang/String;
  
235 ····move-result-object·v8235 ····move-result-object·v7
  
236 ····invoke-virtual·{v8,·v0},·Ljava/lang/String;->charAt(I)C236 ····invoke-virtual·{v7,·v0},·Ljava/lang/String;->charAt(I)C
  
237 ····move-result·v8237 ····move-result·v7
  
238 ····const/16·v10,·0x30238 ····const/16·v9,·0x30
  
239 ····if-ne·v8,·v10,·:cond_2239 ····if-ne·v7,·v9,·:cond_2
  
240 ····move·v1,·v9240 ····move·v1,·v8
  
241 ····.line·98241 ····.line·98
242 ····.local·v1,·"ean13MayBeUPCA":Z242 ····.local·v1,·"ean13MayBeUPCA":Z
243 ····:goto_1243 ····:goto_1
244 ····if-nez·p3,·:cond_3244 ····if-nez·p3,·:cond_3
  
245 ····const/4·v3,·0x0245 ····const/4·v2,·0x0
  
246 ····.line·100246 ····.line·100
247 ····.local·v3,·"possibleFormats":Ljava/util/Collection;,·"Ljava/util/Collection<Lcom/google/zxing/BarcodeFormat;>;"247 ····.local·v2,·"possibleFormats":Ljava/util/Collection;,·"Ljava/util/Collection<Lcom/google/zxing/BarcodeFormat;>;"
248 ····:goto_2248 ····:goto_2
249 ····if-eqz·v3,·:cond_0249 ····if-eqz·v2,·:cond_0
  
250 ····sget-object·v8,·Lcom/google/zxing/BarcodeFormat;->UPC_A:Lcom/google/zxing/BarcodeFormat;250 ····sget-object·v7,·Lcom/google/zxing/BarcodeFormat;->UPC_A:Lcom/google/zxing/BarcodeFormat;
  
251 ····invoke-interface·{v3,·v8},·Ljava/util/Collection;->contains(Ljava/lang/Object;)Z251 ····invoke-interface·{v2,·v7},·Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
  
252 ····move-result·v8252 ····move-result·v7
  
253 ····if-eqz·v8,·:cond_1253 ····if-eqz·v7,·:cond_1
  
254 ····:cond_0254 ····:cond_0
255 ····move·v0,·v9255 ····move·v0,·v8
  
256 ····.line·102256 ····.line·102
257 ····.local·v0,·"canReturnUPCA":Z257 ····.local·v0,·"canReturnUPCA":Z
258 ····:cond_1258 ····:cond_1
259 ····if-eqz·v1,·:cond_4259 ····if-eqz·v1,·:cond_4
  
260 ····if-eqz·v0,·:cond_4260 ····if-eqz·v0,·:cond_4
  
261 ····.line·104261 ····.line·104
262 ····new-instance·v6,·Lcom/google/zxing/Result;262 ····new-instance·v5,·Lcom/google/zxing/Result;
  
263 ····invoke-virtual·{v5},·Lcom/google/zxing/Result;->getText()Ljava/lang/String;263 ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getText()Ljava/lang/String;
  
264 ····move-result-object·v8264 ····move-result-object·v7
  
265 ····invoke-virtual·{v8,·v9},·Ljava/lang/String;->substring(I)Ljava/lang/String;265 ····invoke-virtual·{v7,·v8},·Ljava/lang/String;->substring(I)Ljava/lang/String;
  
266 ····move-result-object·v8266 ····move-result-object·v7
  
267 ····.line·105267 ····.line·105
268 ····invoke-virtual·{v5},·Lcom/google/zxing/Result;->getRawBytes()[B268 ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getRawBytes()[B
  
269 ····move-result-object·v9269 ····move-result-object·v8
  
270 ····.line·106270 ····.line·106
271 ····invoke-virtual·{v5},·Lcom/google/zxing/Result;->getResultPoints()[Lcom/google/zxing/ResultPoint;271 ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getResultPoints()[Lcom/google/zxing/ResultPoint;
  
272 ····move-result-object·v10272 ····move-result-object·v9
  
273 ····sget-object·v11,·Lcom/google/zxing/BarcodeFormat;->UPC_A:Lcom/google/zxing/BarcodeFormat;273 ····sget-object·v10,·Lcom/google/zxing/BarcodeFormat;->UPC_A:Lcom/google/zxing/BarcodeFormat;
  
274 ····invoke-direct·{v6,·v8,·v9,·v10,·v11},·Lcom/google/zxing/Result;-><init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;)V274 ····invoke-direct·{v5,·v7,·v8,·v9,·v10},·Lcom/google/zxing/Result;-><init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;)V
  
275 ····.line·108275 ····.line·108
276 ····.local·v6,·"resultUPCA":Lcom/google/zxing/Result;276 ····.local·v5,·"resultUPCA":Lcom/google/zxing/Result;
277 ····invoke-virtual·{v5},·Lcom/google/zxing/Result;->getResultMetadata()Ljava/util/Map;277 ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getResultMetadata()Ljava/util/Map;
  
278 ····move-result-object·v8278 ····move-result-object·v7
  
279 ····invoke-virtual·{v6,·v8},·Lcom/google/zxing/Result;->putAllMetadata(Ljava/util/Map;)V279 ····invoke-virtual·{v5,·v7},·Lcom/google/zxing/Result;->putAllMetadata(Ljava/util/Map;)V
  
280 ····.line·111280 ····.line·111
Max diff block lines reached; 3845/10046 bytes (38.27%) of diff not shown.
4.38 KB
smali/com/google/zxing/oned/EAN8Writer.smali
    
Offset 54, 21 lines modifiedOffset 54, 17 lines modified
54 ····if-eq·p2,·v0,·:cond_054 ····if-eq·p2,·v0,·:cond_0
  
55 ····.line·4655 ····.line·46
56 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;56 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;
  
57 ····new-instance·v1,·Ljava/lang/StringBuilder;57 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
58 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
59 ····const-string·v2,·"Can·only·encode·EAN_8,·but·got·"58 ····const-string·v2,·"Can·only·encode·EAN_8,·but·got·"
  
60 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;59 ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
61 ····move-result-object·v1 
  
62 ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;60 ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
63 ····move-result-object·v161 ····move-result-object·v1
  
64 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;62 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
Offset 88, 17 lines modifiedOffset 84, 17 lines modified
88 .end·method84 .end·method
  
89 .method·public·encode(Ljava/lang/String;)[Z85 .method·public·encode(Ljava/lang/String;)[Z
90 ····.locals·886 ····.locals·8
91 ····.param·p1,·"contents"····#·Ljava/lang/String;87 ····.param·p1,·"contents"····#·Ljava/lang/String;
  
92 ····.prologue88 ····.prologue
93 ····const/4·v7,·0x089 ····const/4·v7,·0x1
  
94 ····const/4·v6,·0x190 ····const/4·v6,·0x0
  
95 ····.line·5891 ····.line·58
96 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I92 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I
  
97 ····move-result·v493 ····move-result·v4
  
98 ····const/16·v5,·0x894 ····const/16·v5,·0x8
Offset 106, 21 lines modifiedOffset 102, 17 lines modified
106 ····if-eq·v4,·v5,·:cond_0102 ····if-eq·v4,·v5,·:cond_0
  
107 ····.line·59103 ····.line·59
108 ····new-instance·v4,·Ljava/lang/IllegalArgumentException;104 ····new-instance·v4,·Ljava/lang/IllegalArgumentException;
  
109 ····new-instance·v5,·Ljava/lang/StringBuilder;105 ····new-instance·v5,·Ljava/lang/StringBuilder;
  
110 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V 
  
111 ····const-string·v6,·"Requested·contents·should·be·8·digits·long,·but·got·"106 ····const-string·v6,·"Requested·contents·should·be·8·digits·long,·but·got·"
  
112 ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;107 ····invoke-direct·{v5,·v6},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
113 ····move-result-object·v5 
  
114 ····.line·60108 ····.line·60
115 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I109 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I
  
116 ····move-result·v6110 ····move-result·v6
  
117 ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;111 ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
Offset 137, 29 lines modifiedOffset 129, 26 lines modified
  
137 ····.line·63129 ····.line·63
138 ····:cond_0130 ····:cond_0
139 ····const/16·v4,·0x43131 ····const/16·v4,·0x43
  
140 ····new-array·v3,·v4,·[Z132 ····new-array·v3,·v4,·[Z
  
141 ····.line·64 
142 ····.local·v3,·"result":[Z 
143 ····const/4·v2,·0x0 
  
144 ····.line·66133 ····.line·66
145 ····.local·v2,·"pos":I134 ····.local·v3,·"result":[Z
146 ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->START_END_PATTERN:[I135 ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->START_END_PATTERN:[I
  
147 ····invoke-static·{v3,·v2,·v4,·v6},·Lcom/google/zxing/oned/EAN8Writer;->appendPattern([ZI[IZ)I136 ····invoke-static·{v3,·v6,·v4,·v7},·Lcom/google/zxing/oned/EAN8Writer;->appendPattern([ZI[IZ)I
  
148 ····move-result·v4137 ····move-result·v4
  
149 ····add-int/2addr·v2,·v4138 ····add-int/lit8·v2,·v4,·0x0
  
150 ····.line·68139 ····.line·68
 140 ····.local·v2,·"pos":I
151 ····const/4·v1,·0x0141 ····const/4·v1,·0x0
  
152 ····.local·v1,·"i":I142 ····.local·v1,·"i":I
153 ····:goto_0143 ····:goto_0
154 ····const/4·v4,·0x3144 ····const/4·v4,·0x3
  
155 ····if-gt·v1,·v4,·:cond_1145 ····if-gt·v1,·v4,·:cond_1
Offset 177, 15 lines modifiedOffset 166, 15 lines modified
  
177 ····.line·70166 ····.line·70
178 ····.local·v0,·"digit":I167 ····.local·v0,·"digit":I
179 ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->L_PATTERNS:[[I168 ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->L_PATTERNS:[[I
  
180 ····aget-object·v4,·v4,·v0169 ····aget-object·v4,·v4,·v0
  
181 ····invoke-static·{v3,·v2,·v4,·v7},·Lcom/google/zxing/oned/EAN8Writer;->appendPattern([ZI[IZ)I170 ····invoke-static·{v3,·v2,·v4,·v6},·Lcom/google/zxing/oned/EAN8Writer;->appendPattern([ZI[IZ)I
  
182 ····move-result·v4171 ····move-result·v4
  
183 ····add-int/2addr·v2,·v4172 ····add-int/2addr·v2,·v4
  
184 ····.line·68173 ····.line·68
185 ····add-int/lit8·v1,·v1,·0x1174 ····add-int/lit8·v1,·v1,·0x1
Offset 193, 15 lines modifiedOffset 182, 15 lines modified
193 ····goto·:goto_0182 ····goto·:goto_0
  
194 ····.line·73183 ····.line·73
195 ····.end·local·v0····#·"digit":I184 ····.end·local·v0····#·"digit":I
196 ····:cond_1185 ····:cond_1
197 ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->MIDDLE_PATTERN:[I186 ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->MIDDLE_PATTERN:[I
  
198 ····invoke-static·{v3,·v2,·v4,·v7},·Lcom/google/zxing/oned/EAN8Writer;->appendPattern([ZI[IZ)I187 ····invoke-static·{v3,·v2,·v4,·v6},·Lcom/google/zxing/oned/EAN8Writer;->appendPattern([ZI[IZ)I
  
199 ····move-result·v4188 ····move-result·v4
  
200 ····add-int/2addr·v2,·v4189 ····add-int/2addr·v2,·v4
  
201 ····.line·75190 ····.line·75
202 ····const/4·v1,·0x4191 ····const/4·v1,·0x4
Offset 224, 15 lines modifiedOffset 213, 15 lines modified
  
224 ····.line·77213 ····.line·77
Max diff block lines reached; 822/4394 bytes (18.71%) of diff not shown.
1.46 KB
smali/com/google/zxing/oned/MultiFormatOneDReader.smali
    
Offset 374, 19 lines modifiedOffset 374, 18 lines modified
374 ····:try_end_0374 ····:try_end_0
375 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0375 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0
  
376 ····move-result-object·v1376 ····move-result-object·v1
  
377 ····return-object·v1377 ····return-object·v1
  
378 ····.line·97378 ····.line·94
379 ····:catch_0379 ····:catch_0
380 ····move-exception·v4380 ····move-exception·v4
  
381 ····.line·94 
382 ····add-int/lit8·v1,·v1,·0x1381 ····add-int/lit8·v1,·v1,·0x1
  
383 ····goto·:goto_0382 ····goto·:goto_0
  
384 ····.line·102383 ····.line·102
385 ····.end·local·v0····#·"reader":Lcom/google/zxing/oned/OneDReader;384 ····.end·local·v0····#·"reader":Lcom/google/zxing/oned/OneDReader;
386 ····:cond_0385 ····:cond_0
Offset 398, 32 lines modifiedOffset 397, 30 lines modified
398 .end·method397 .end·method
  
399 .method·public·reset()V398 .method·public·reset()V
400 ····.locals·4399 ····.locals·4
  
401 ····.prologue400 ····.prologue
402 ····.line·107401 ····.line·107
403 ····iget-object·v2,·p0,·Lcom/google/zxing/oned/MultiFormatOneDReader;->readers:[Lcom/google/zxing/oned/OneDReader;402 ····iget-object·v1,·p0,·Lcom/google/zxing/oned/MultiFormatOneDReader;->readers:[Lcom/google/zxing/oned/OneDReader;
  
404 ····array-length·v3,·v2403 ····array-length·v2,·v1
  
405 ····const/4·v1,·0x0404 ····const/4·v0,·0x0
  
406 ····:goto_0405 ····:goto_0
407 ····if-ge·v1,·v3,·:cond_0406 ····if-ge·v0,·v2,·:cond_0
  
408 ····aget-object·v0,·v2,·v1407 ····aget-object·v3,·v1,·v0
  
409 ····.line·108408 ····.line·108
410 ····.local·v0,·"reader":Lcom/google/zxing/Reader; 
411 ····invoke-interface·{v0},·Lcom/google/zxing/Reader;->reset()V409 ····invoke-interface·{v3},·Lcom/google/zxing/Reader;->reset()V
  
412 ····.line·107410 ····.line·107
413 ····add-int/lit8·v1,·v1,·0x1411 ····add-int/lit8·v0,·v0,·0x1
  
414 ····goto·:goto_0412 ····goto·:goto_0
  
415 ····.line·110413 ····.line·110
416 ····.end·local·v0····#·"reader":Lcom/google/zxing/Reader; 
417 ····:cond_0414 ····:cond_0
418 ····return-void415 ····return-void
419 .end·method416 .end·method
5.3 KB
smali/com/google/zxing/oned/EAN8Reader.smali
    
Offset 25, 177 lines modifiedOffset 25, 176 lines modified
25 ····.line·3425 ····.line·34
26 ····return-void26 ····return-void
27 .end·method27 .end·method
  
  
28 #·virtual·methods28 #·virtual·methods
29 .method·protected·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I29 .method·protected·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I
30 ····.locals·1230 ····.locals·11
31 ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray;31 ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray;
32 ····.param·p2,·"startRange"····#·[I32 ····.param·p2,·"startRange"····#·[I
33 ····.param·p3,·"result"····#·Ljava/lang/StringBuilder;33 ····.param·p3,·"result"····#·Ljava/lang/StringBuilder;
34 ····.annotation·system·Ldalvik/annotation/Throws;34 ····.annotation·system·Ldalvik/annotation/Throws;
35 ········value·=·{35 ········value·=·{
36 ············Lcom/google/zxing/NotFoundException;36 ············Lcom/google/zxing/NotFoundException;
37 ········}37 ········}
38 ····.end·annotation38 ····.end·annotation
  
39 ····.prologue39 ····.prologue
40 ····const/4·v11,·0x440 ····const/4·v10,·0x4
  
41 ····const/4·v10,·0x141 ····const/4·v9,·0x1
  
42 ····const/4·v8,·0x042 ····const/4·v7,·0x0
  
43 ····.line·4043 ····.line·40
44 ····iget-object·v2,·p0,·Lcom/google/zxing/oned/EAN8Reader;->decodeMiddleCounters:[I44 ····iget-object·v2,·p0,·Lcom/google/zxing/oned/EAN8Reader;->decodeMiddleCounters:[I
  
45 ····.line·4145 ····.line·41
46 ····.local·v2,·"counters":[I46 ····.local·v2,·"counters":[I
47 ····aput·v8,·v2,·v847 ····aput·v7,·v2,·v7
  
48 ····.line·4248 ····.line·42
49 ····aput·v8,·v2,·v1049 ····aput·v7,·v2,·v9
  
50 ····.line·4350 ····.line·43
51 ····const/4·v7,·0x251 ····const/4·v6,·0x2
  
52 ····aput·v8,·v2,·v752 ····aput·v7,·v2,·v6
  
53 ····.line·4453 ····.line·44
54 ····const/4·v7,·0x354 ····const/4·v6,·0x3
  
55 ····aput·v8,·v2,·v755 ····aput·v7,·v2,·v6
  
56 ····.line·4556 ····.line·45
57 ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I57 ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I
  
58 ····move-result·v358 ····move-result·v3
  
59 ····.line·4659 ····.line·46
60 ····.local·v3,·"end":I60 ····.local·v3,·"end":I
61 ····aget·v5,·p2,·v1061 ····aget·v4,·p2,·v9
  
62 ····.line·4862 ····.line·48
63 ····.local·v5,·"rowOffset":I63 ····.local·v4,·"rowOffset":I
64 ····const/4·v6,·0x064 ····const/4·v5,·0x0
  
65 ····.local·v6,·"x":I65 ····.local·v5,·"x":I
66 ····:goto_066 ····:goto_0
67 ····if-ge·v6,·v11,·:cond_167 ····if-ge·v5,·v10,·:cond_1
  
68 ····if-ge·v5,·v3,·:cond_168 ····if-ge·v4,·v3,·:cond_1
  
69 ····.line·4969 ····.line·49
70 ····sget-object·v7,·Lcom/google/zxing/oned/EAN8Reader;->L_PATTERNS:[[I70 ····sget-object·v6,·Lcom/google/zxing/oned/EAN8Reader;->L_PATTERNS:[[I
  
71 ····invoke-static·{p1,·v2,·v5,·v7},·Lcom/google/zxing/oned/EAN8Reader;->decodeDigit(Lcom/google/zxing/common/BitArray;[II[[I)I71 ····invoke-static·{p1,·v2,·v4,·v6},·Lcom/google/zxing/oned/EAN8Reader;->decodeDigit(Lcom/google/zxing/common/BitArray;[II[[I)I
  
72 ····move-result·v072 ····move-result·v0
  
73 ····.line·5073 ····.line·50
74 ····.local·v0,·"bestMatch":I74 ····.local·v0,·"bestMatch":I
75 ····add-int/lit8·v7,·v0,·0x3075 ····add-int/lit8·v6,·v0,·0x30
  
76 ····int-to-char·v7,·v776 ····int-to-char·v6,·v6
  
77 ····invoke-virtual·{p3,·v7},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;77 ····invoke-virtual·{p3,·v6},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
78 ····.line·5178 ····.line·51
79 ····array-length·v9,·v279 ····array-length·v8,·v2
  
80 ····move·v7,·v880 ····move·v6,·v7
  
81 ····:goto_181 ····:goto_1
82 ····if-ge·v7,·v9,·:cond_082 ····if-ge·v6,·v8,·:cond_0
  
83 ····aget·v1,·v2,·v783 ····aget·v1,·v2,·v6
  
84 ····.line·5284 ····.line·52
85 ····.local·v1,·"counter":I85 ····.local·v1,·"counter":I
86 ····add-int/2addr·v5,·v186 ····add-int/2addr·v4,·v1
  
87 ····.line·5187 ····.line·51
88 ····add-int/lit8·v7,·v7,·0x188 ····add-int/lit8·v6,·v6,·0x1
  
89 ····goto·:goto_189 ····goto·:goto_1
  
90 ····.line·4890 ····.line·48
91 ····.end·local·v1····#·"counter":I91 ····.end·local·v1····#·"counter":I
92 ····:cond_092 ····:cond_0
93 ····add-int/lit8·v6,·v6,·0x193 ····add-int/lit8·v5,·v5,·0x1
  
94 ····goto·:goto_094 ····goto·:goto_0
  
95 ····.line·5695 ····.line·56
96 ····.end·local·v0····#·"bestMatch":I96 ····.end·local·v0····#·"bestMatch":I
97 ····:cond_197 ····:cond_1
98 ····sget-object·v7,·Lcom/google/zxing/oned/EAN8Reader;->MIDDLE_PATTERN:[I98 ····sget-object·v6,·Lcom/google/zxing/oned/EAN8Reader;->MIDDLE_PATTERN:[I
  
99 ····invoke-static·{p1,·v5,·v10,·v7},·Lcom/google/zxing/oned/EAN8Reader;->findGuardPattern(Lcom/google/zxing/common/BitArray;IZ[I)[I99 ····invoke-static·{p1,·v4,·v9,·v6},·Lcom/google/zxing/oned/EAN8Reader;->findGuardPattern(Lcom/google/zxing/common/BitArray;IZ[I)[I
  
100 ····move-result-object·v4100 ····move-result-object·v6
  
101 ····.line·57101 ····.line·57
 102 ····aget·v4,·v6,·v9
102 ····.local·v4,·"middleRange":[I 
103 ····aget·v5,·v4,·v10 
  
104 ····.line·59103 ····.line·59
105 ····const/4·v6,·0x0104 ····const/4·v5,·0x0
  
106 ····:goto_2105 ····:goto_2
107 ····if-ge·v6,·v11,·:cond_3106 ····if-ge·v5,·v10,·:cond_3
  
108 ····if-ge·v5,·v3,·:cond_3107 ····if-ge·v4,·v3,·:cond_3
  
109 ····.line·60108 ····.line·60
Max diff block lines reached; 1416/5340 bytes (26.52%) of diff not shown.
2.23 KB
smali/com/google/zxing/oned/UPCAWriter.smali
    
Offset 108, 21 lines modifiedOffset 108, 17 lines modified
  
108 ····.line·71108 ····.line·71
109 ····.end·local·v0····#·"i":I109 ····.end·local·v0····#·"i":I
110 ····.end·local·v2····#·"sum":I110 ····.end·local·v2····#·"sum":I
111 ····:cond_2111 ····:cond_2
112 ····new-instance·v3,·Ljava/lang/StringBuilder;112 ····new-instance·v3,·Ljava/lang/StringBuilder;
  
113 ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V113 ····const-string·v4,·"0"
  
114 ····const/16·v4,·0x30 
  
115 ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;114 ····invoke-direct·{v3,·v4},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
116 ····move-result-object·v3 
  
117 ····invoke-virtual·{v3,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;115 ····invoke-virtual·{v3,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
118 ····move-result-object·v3116 ····move-result-object·v3
  
119 ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;117 ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
Offset 137, 21 lines modifiedOffset 133, 17 lines modified
137 ····if-eq·v1,·v3,·:cond_2133 ····if-eq·v1,·v3,·:cond_2
  
138 ····.line·68134 ····.line·68
139 ····new-instance·v3,·Ljava/lang/IllegalArgumentException;135 ····new-instance·v3,·Ljava/lang/IllegalArgumentException;
  
140 ····new-instance·v4,·Ljava/lang/StringBuilder;136 ····new-instance·v4,·Ljava/lang/StringBuilder;
  
141 ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V 
  
142 ····const-string·v5,·"Requested·contents·should·be·11·or·12·digits·long,·but·got·"137 ····const-string·v5,·"Requested·contents·should·be·11·or·12·digits·long,·but·got·"
  
143 ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;138 ····invoke-direct·{v4,·v5},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
144 ····move-result-object·v4 
  
145 ····.line·69139 ····.line·69
146 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I140 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I
  
147 ····move-result·v5141 ····move-result·v5
  
148 ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;142 ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
Offset 236, 21 lines modifiedOffset 228, 17 lines modified
236 ····if-eq·p2,·v0,·:cond_0228 ····if-eq·p2,·v0,·:cond_0
  
237 ····.line·49229 ····.line·49
238 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;230 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;
  
239 ····new-instance·v1,·Ljava/lang/StringBuilder;231 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
240 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
241 ····const-string·v2,·"Can·only·encode·UPC-A,·but·got·"232 ····const-string·v2,·"Can·only·encode·UPC-A,·but·got·"
  
242 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;233 ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
243 ····move-result-object·v1 
  
244 ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;234 ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
245 ····move-result-object·v1235 ····move-result-object·v1
  
246 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;236 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
24.0 KB
smali/com/google/zxing/oned/Code39Reader.smali
    
Offset 1, 21 lines modifiedOffset 1, 21 lines modified
1 .class·public·final·Lcom/google/zxing/oned/Code39Reader;1 .class·public·final·Lcom/google/zxing/oned/Code39Reader;
2 .super·Lcom/google/zxing/oned/OneDReader;2 .super·Lcom/google/zxing/oned/OneDReader;
3 .source·"Code39Reader.java"3 .source·"Code39Reader.java"
  
  
4 #·static·fields4 #·static·fields
5 .field·private·static·final·ALPHABET:[C 
  
6 .field·static·final·ALPHABET_STRING:Ljava/lang/String;·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%"5 .field·static·final·ALPHABET_STRING:Ljava/lang/String;·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%"
  
7 .field·private·static·final·ASTERISK_ENCODING:I6 .field·static·final·ASTERISK_ENCODING:I
  
8 .field·static·final·CHARACTER_ENCODINGS:[I7 .field·static·final·CHARACTER_ENCODINGS:[I
  
 8 .field·private·static·final·CHECK_DIGIT_STRING:Ljava/lang/String;·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%"
  
  
9 #·instance·fields9 #·instance·fields
10 .field·private·final·counters:[I10 .field·private·final·counters:[I
  
11 .field·private·final·decodeRowResult:Ljava/lang/StringBuilder;11 .field·private·final·decodeRowResult:Ljava/lang/StringBuilder;
  
12 .field·private·final·extendedMode:Z12 .field·private·final·extendedMode:Z
Offset 24, 44 lines modifiedOffset 24, 33 lines modified
  
  
24 #·direct·methods24 #·direct·methods
25 .method·static·constructor·<clinit>()V25 .method·static·constructor·<clinit>()V
26 ····.locals·226 ····.locals·2
  
27 ····.prologue27 ····.prologue
28 ····.line·4028 ····.line·48
29 ····const-string·v0,·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%" 
  
30 ····invoke-virtual·{v0},·Ljava/lang/String;->toCharArray()[C 
  
31 ····move-result-object·v0 
  
32 ····sput-object·v0,·Lcom/google/zxing/oned/Code39Reader;->ALPHABET:[C 
  
33 ····.line·47 
34 ····const/16·v0,·0x2c29 ····const/16·v0,·0x2c
  
35 ····new-array·v0,·v0,·[I30 ····new-array·v0,·v0,·[I
  
36 ····fill-array-data·v0,·:array_031 ····fill-array-data·v0,·:array_0
  
 32 ····.line·56
37 ····sput-object·v0,·Lcom/google/zxing/oned/Code39Reader;->CHARACTER_ENCODINGS:[I33 ····sput-object·v0,·Lcom/google/zxing/oned/Code39Reader;->CHARACTER_ENCODINGS:[I
  
38 ····.line·55 
39 ····sget-object·v0,·Lcom/google/zxing/oned/Code39Reader;->CHARACTER_ENCODINGS:[I 
  
40 ····const/16·v1,·0x2734 ····const/16·v1,·0x27
  
41 ····aget·v0,·v0,·v135 ····aget·v0,·v0,·v1
  
42 ····sput·v0,·Lcom/google/zxing/oned/Code39Reader;->ASTERISK_ENCODING:I36 ····sput·v0,·Lcom/google/zxing/oned/Code39Reader;->ASTERISK_ENCODING:I
  
43 ····return-void37 ····return-void
  
44 ····.line·4738 ····.line·48
45 ····:array_039 ····:array_0
46 ····.array-data·440 ····.array-data·4
47 ········0x3441 ········0x34
48 ········0x12142 ········0x121
49 ········0x6143 ········0x61
50 ········0x16044 ········0x160
51 ········0x3145 ········0x31
Offset 107, 69 lines modifiedOffset 96, 69 lines modified
107 ····.end·array-data96 ····.end·array-data
108 .end·method97 .end·method
  
109 .method·public·constructor·<init>()V98 .method·public·constructor·<init>()V
110 ····.locals·199 ····.locals·1
  
111 ····.prologue100 ····.prologue
112 ····.line·67101 ····.line·68
113 ····const/4·v0,·0x0102 ····const/4·v0,·0x0
  
114 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/oned/Code39Reader;-><init>(Z)V103 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/oned/Code39Reader;-><init>(Z)V
  
115 ····.line·68104 ····.line·69
116 ····return-void105 ····return-void
117 .end·method106 .end·method
  
118 .method·public·constructor·<init>(Z)V107 .method·public·constructor·<init>(Z)V
119 ····.locals·1108 ····.locals·1
120 ····.param·p1,·"usingCheckDigit"····#·Z109 ····.param·p1,·"usingCheckDigit"····#·Z
  
121 ····.prologue110 ····.prologue
122 ····.line·78111 ····.line·79
123 ····const/4·v0,·0x0112 ····const/4·v0,·0x0
  
124 ····invoke-direct·{p0,·p1,·v0},·Lcom/google/zxing/oned/Code39Reader;-><init>(ZZ)V113 ····invoke-direct·{p0,·p1,·v0},·Lcom/google/zxing/oned/Code39Reader;-><init>(ZZ)V
  
125 ····.line·79114 ····.line·80
126 ····return-void115 ····return-void
127 .end·method116 .end·method
  
128 .method·public·constructor·<init>(ZZ)V117 .method·public·constructor·<init>(ZZ)V
129 ····.locals·2118 ····.locals·2
130 ····.param·p1,·"usingCheckDigit"····#·Z119 ····.param·p1,·"usingCheckDigit"····#·Z
131 ····.param·p2,·"extendedMode"····#·Z120 ····.param·p2,·"extendedMode"····#·Z
  
132 ····.prologue121 ····.prologue
133 ····.line·91122 ····.line·92
134 ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDReader;-><init>()V123 ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDReader;-><init>()V
  
135 ····.line·92124 ····.line·93
136 ····iput-boolean·p1,·p0,·Lcom/google/zxing/oned/Code39Reader;->usingCheckDigit:Z125 ····iput-boolean·p1,·p0,·Lcom/google/zxing/oned/Code39Reader;->usingCheckDigit:Z
  
137 ····.line·93126 ····.line·94
138 ····iput-boolean·p2,·p0,·Lcom/google/zxing/oned/Code39Reader;->extendedMode:Z127 ····iput-boolean·p2,·p0,·Lcom/google/zxing/oned/Code39Reader;->extendedMode:Z
  
139 ····.line·94128 ····.line·95
140 ····new-instance·v0,·Ljava/lang/StringBuilder;129 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
141 ····const/16·v1,·0x14130 ····const/16·v1,·0x14
  
142 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V131 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V
  
143 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/Code39Reader;->decodeRowResult:Ljava/lang/StringBuilder;132 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/Code39Reader;->decodeRowResult:Ljava/lang/StringBuilder;
  
144 ····.line·95133 ····.line·96
145 ····const/16·v0,·0x9134 ····const/16·v0,·0x9
  
Max diff block lines reached; 21351/24493 bytes (87.17%) of diff not shown.
20.6 KB
smali/com/google/zxing/oned/CodaBarReader.smali
    
Offset 130, 45 lines modifiedOffset 130, 42 lines modified
  
130 .method·static·arrayContains([CC)Z130 .method·static·arrayContains([CC)Z
131 ····.locals·4131 ····.locals·4
132 ····.param·p0,·"array"····#·[C132 ····.param·p0,·"array"····#·[C
133 ····.param·p1,·"key"····#·C133 ····.param·p1,·"key"····#·C
  
134 ····.prologue134 ····.prologue
135 ····const/4·v1,·0x0135 ····const/4·v0,·0x0
  
136 ····.line·282136 ····.line·282
137 ····if-eqz·p0,·:cond_0137 ····if-eqz·p0,·:cond_0
  
138 ····.line·283138 ····.line·283
139 ····array-length·v3,·p0139 ····array-length·v2,·p0
  
140 ····move·v2,·v1140 ····move·v1,·v0
  
141 ····:goto_0141 ····:goto_0
142 ····if-ge·v2,·v3,·:cond_0142 ····if-ge·v1,·v2,·:cond_0
  
143 ····aget-char·v0,·p0,·v2143 ····aget-char·v3,·p0,·v1
  
144 ····.line·284144 ····.line·284
145 ····.local·v0,·"c":C 
146 ····if-ne·v0,·p1,·:cond_1145 ····if-ne·v3,·p1,·:cond_1
  
147 ····.line·285146 ····.line·285
148 ····const/4·v1,·0x1147 ····const/4·v0,·0x1
  
149 ····.line·289148 ····.line·289
150 ····.end·local·v0····#·"c":C 
151 ····:cond_0149 ····:cond_0
152 ····return·v1150 ····return·v0
  
153 ····.line·283151 ····.line·283
154 ····.restart·local·v0····#·"c":C 
155 ····:cond_1152 ····:cond_1
156 ····add-int/lit8·v2,·v2,·0x1153 ····add-int/lit8·v1,·v1,·0x1
  
157 ····goto·:goto_0154 ····goto·:goto_0
158 .end·method155 .end·method
  
159 .method·private·counterAppend(I)V156 .method·private·counterAppend(I)V
160 ····.locals·4157 ····.locals·4
161 ····.param·p1,·"e"····#·I158 ····.param·p1,·"e"····#·I
Offset 198, 15 lines modifiedOffset 195, 15 lines modified
198 ····array-length·v2,·v2195 ····array-length·v2,·v2
  
199 ····if-lt·v1,·v2,·:cond_0196 ····if-lt·v1,·v2,·:cond_0
  
200 ····.line·257197 ····.line·257
201 ····iget·v1,·p0,·Lcom/google/zxing/oned/CodaBarReader;->counterLength:I198 ····iget·v1,·p0,·Lcom/google/zxing/oned/CodaBarReader;->counterLength:I
  
202 ····mul-int/lit8·v1,·v1,·0x2199 ····shl-int/lit8·v1,·v1,·0x1
  
203 ····new-array·v0,·v1,·[I200 ····new-array·v0,·v1,·[I
  
204 ····.line·258201 ····.line·258
205 ····.local·v0,·"temp":[I202 ····.local·v0,·"temp":[I
206 ····iget-object·v1,·p0,·Lcom/google/zxing/oned/CodaBarReader;->counters:[I203 ····iget-object·v1,·p0,·Lcom/google/zxing/oned/CodaBarReader;->counters:[I
  
Offset 619, 14 lines modifiedOffset 616, 343 lines modified
619 ····.line·342616 ····.line·342
620 ····:cond_b617 ····:cond_b
621 ····const/4·v3,·-0x1618 ····const/4·v3,·-0x1
  
622 ····goto·:goto_0619 ····goto·:goto_0
623 .end·method620 .end·method
  
 621 .method·private·validatePattern(I)V
 622 ····.locals·15
 623 ····.param·p1,·"start"····#·I
 624 ····.annotation·system·Ldalvik/annotation/Throws;
 625 ········value·=·{
 626 ············Lcom/google/zxing/NotFoundException;
 627 ········}
 628 ····.end·annotation
  
 629 ····.prologue
 630 ····.line·166
 631 ····const/4·v11,·0x4
  
 632 ····new-array·v10,·v11,·[I
  
 633 ····fill-array-data·v10,·:array_0
  
 634 ····.line·167
 635 ····.local·v10,·"sizes":[I
 636 ····const/4·v11,·0x4
  
 637 ····new-array·v1,·v11,·[I
  
 638 ····fill-array-data·v1,·:array_1
  
 639 ····.line·168
 640 ····.local·v1,·"counts":[I
 641 ····iget-object·v11,·p0,·Lcom/google/zxing/oned/CodaBarReader;->decodeRowResult:Ljava/lang/StringBuilder;
  
 642 ····invoke-virtual·{v11},·Ljava/lang/StringBuilder;->length()I
  
 643 ····move-result·v11
  
 644 ····add-int/lit8·v2,·v11,·-0x1
  
 645 ····.line·172
 646 ····.local·v2,·"end":I
 647 ····move/from16·v8,·p1
  
 648 ····.line·173
 649 ····.local·v8,·"pos":I
 650 ····const/4·v3,·0x0
  
 651 ····.line·174
 652 ····.local·v3,·"i":I
 653 ····:goto_0
 654 ····sget-object·v11,·Lcom/google/zxing/oned/CodaBarReader;->CHARACTER_ENCODINGS:[I
  
 655 ····iget-object·v12,·p0,·Lcom/google/zxing/oned/CodaBarReader;->decodeRowResult:Ljava/lang/StringBuilder;
  
 656 ····invoke-virtual·{v12,·v3},·Ljava/lang/StringBuilder;->charAt(I)C
  
 657 ····move-result·v12
  
 658 ····aget·v7,·v11,·v12
  
 659 ····.line·175
 660 ····.local·v7,·"pattern":I
Max diff block lines reached; 13902/21005 bytes (66.18%) of diff not shown.
1.97 KB
smali/com/google/zxing/oned/ITFWriter.smali
    
Offset 100, 21 lines modifiedOffset 100, 17 lines modified
100 ····if-eq·p2,·v0,·:cond_0100 ····if-eq·p2,·v0,·:cond_0
  
101 ····.line·43101 ····.line·43
102 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;102 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;
  
103 ····new-instance·v1,·Ljava/lang/StringBuilder;103 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
104 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
105 ····const-string·v2,·"Can·only·encode·ITF,·but·got·"104 ····const-string·v2,·"Can·only·encode·ITF,·but·got·"
  
106 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;105 ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
107 ····move-result-object·v1 
  
108 ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;106 ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
109 ····move-result-object·v1107 ····move-result-object·v1
  
110 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;108 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
Offset 152, 15 lines modifiedOffset 148, 15 lines modified
152 ····rem-int/lit8·v8,·v3,·0x2148 ····rem-int/lit8·v8,·v3,·0x2
  
153 ····if-eqz·v8,·:cond_0149 ····if-eqz·v8,·:cond_0
  
154 ····.line·53150 ····.line·53
155 ····new-instance·v8,·Ljava/lang/IllegalArgumentException;151 ····new-instance·v8,·Ljava/lang/IllegalArgumentException;
  
156 ····const-string·v9,·"The·lenght·of·the·input·should·be·even"152 ····const-string·v9,·"The·length·of·the·input·should·be·even"
  
157 ····invoke-direct·{v8,·v9},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V153 ····invoke-direct·{v8,·v9},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
158 ····throw·v8154 ····throw·v8
  
159 ····.line·55155 ····.line·55
160 ····:cond_0156 ····:cond_0
Offset 169, 21 lines modifiedOffset 165, 17 lines modified
169 ····if-le·v3,·v8,·:cond_1165 ····if-le·v3,·v8,·:cond_1
  
170 ····.line·56166 ····.line·56
171 ····new-instance·v8,·Ljava/lang/IllegalArgumentException;167 ····new-instance·v8,·Ljava/lang/IllegalArgumentException;
  
172 ····new-instance·v9,·Ljava/lang/StringBuilder;168 ····new-instance·v9,·Ljava/lang/StringBuilder;
  
173 ····invoke-direct·{v9},·Ljava/lang/StringBuilder;-><init>()V 
  
174 ····const-string·v10,·"Requested·contents·should·be·less·than·80·digits·long,·but·got·"169 ····const-string·v10,·"Requested·contents·should·be·less·than·80·digits·long,·but·got·"
  
175 ····invoke-virtual·{v9,·v10},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;170 ····invoke-direct·{v9,·v10},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
176 ····move-result-object·v9 
  
177 ····invoke-virtual·{v9,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;171 ····invoke-virtual·{v9,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
178 ····move-result-object·v9172 ····move-result-object·v9
  
179 ····invoke-virtual·{v9},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;173 ····invoke-virtual·{v9},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
7.96 KB
smali/com/google/zxing/oned/Code128Reader.smali
    
Offset 2069, 233 lines modifiedOffset 2069, 229 lines modified
  
2069 ····move-result-object·v52069 ····move-result-object·v5
  
2070 ····throw·v52070 ····throw·v5
2071 .end·method2071 .end·method
  
2072 .method·private·static·findStartPattern(Lcom/google/zxing/common/BitArray;)[I2072 .method·private·static·findStartPattern(Lcom/google/zxing/common/BitArray;)[I
2073 ····.locals·152073 ····.locals·14
2074 ····.param·p0,·"row"····#·Lcom/google/zxing/common/BitArray;2074 ····.param·p0,·"row"····#·Lcom/google/zxing/common/BitArray;
2075 ····.annotation·system·Ldalvik/annotation/Throws;2075 ····.annotation·system·Ldalvik/annotation/Throws;
2076 ········value·=·{2076 ········value·=·{
2077 ············Lcom/google/zxing/NotFoundException;2077 ············Lcom/google/zxing/NotFoundException;
2078 ········}2078 ········}
2079 ····.end·annotation2079 ····.end·annotation
  
2080 ····.prologue2080 ····.prologue
2081 ····.line·1702081 ····.line·170
2082 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitArray;->getSize()I2082 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitArray;->getSize()I
  
2083 ····move-result·v112083 ····move-result·v10
  
2084 ····.line·1712084 ····.line·171
2085 ····.local·v11,·"width":I2085 ····.local·v10,·"width":I
2086 ····const/4·v12,·0x02086 ····const/4·v11,·0x0
  
2087 ····invoke-virtual·{p0,·v12},·Lcom/google/zxing/common/BitArray;->getNextSet(I)I2087 ····invoke-virtual·{p0,·v11},·Lcom/google/zxing/common/BitArray;->getNextSet(I)I
  
2088 ····move-result·v82088 ····move-result·v7
  
2089 ····.line·1732089 ····.line·173
2090 ····.local·v8,·"rowOffset":I2090 ····.local·v7,·"rowOffset":I
2091 ····const/4·v2,·0x02091 ····const/4·v2,·0x0
  
2092 ····.line·1742092 ····.line·174
2093 ····.local·v2,·"counterPosition":I2093 ····.local·v2,·"counterPosition":I
2094 ····const/4·v12,·0x62094 ····const/4·v11,·0x6
  
2095 ····new-array·v3,·v12,·[I2095 ····new-array·v3,·v11,·[I
  
2096 ····.line·1752096 ····.line·175
2097 ····.local·v3,·"counters":[I2097 ····.local·v3,·"counters":[I
2098 ····move·v7,·v82098 ····move·v6,·v7
  
2099 ····.line·1762099 ····.line·176
2100 ····.local·v7,·"patternStart":I2100 ····.local·v6,·"patternStart":I
2101 ····const/4·v5,·0x02101 ····const/4·v5,·0x0
  
2102 ····.line·177 
2103 ····.local·v5,·"isWhite":Z 
2104 ····array-length·v6,·v3 
  
2105 ····.line·1792102 ····.line·179
2106 ····.local·v6,·"patternLength":I2103 ····.local·v5,·"isWhite":Z
2107 ····move·v4,·v82104 ····move·v4,·v7
  
2108 ····.local·v4,·"i":I2105 ····.local·v4,·"i":I
2109 ····:goto_02106 ····:goto_0
2110 ····if-ge·v4,·v11,·:cond_62107 ····if-ge·v4,·v10,·:cond_6
  
2111 ····.line·1802108 ····.line·180
2112 ····invoke-virtual·{p0,·v4},·Lcom/google/zxing/common/BitArray;->get(I)Z2109 ····invoke-virtual·{p0,·v4},·Lcom/google/zxing/common/BitArray;->get(I)Z
  
2113 ····move-result·v122110 ····move-result·v11
  
2114 ····xor-int/2addr·v12,·v52111 ····xor-int/2addr·v11,·v5
  
2115 ····if-eqz·v12,·:cond_02112 ····if-eqz·v11,·:cond_0
  
2116 ····.line·1812113 ····.line·181
2117 ····aget·v12,·v3,·v22114 ····aget·v11,·v3,·v2
  
2118 ····add-int/lit8·v12,·v12,·0x12115 ····add-int/lit8·v11,·v11,·0x1
  
2119 ····aput·v12,·v3,·v22116 ····aput·v11,·v3,·v2
  
2120 ····.line·1792117 ····.line·179
2121 ····:goto_12118 ····:goto_1
2122 ····add-int/lit8·v4,·v4,·0x12119 ····add-int/lit8·v4,·v4,·0x1
  
2123 ····goto·:goto_02120 ····goto·:goto_0
  
2124 ····.line·1832121 ····.line·183
2125 ····:cond_02122 ····:cond_0
2126 ····add-int/lit8·v12,·v6,·-0x12123 ····const/4·v11,·0x5
  
2127 ····if-ne·v2,·v12,·:cond_42124 ····if-ne·v2,·v11,·:cond_4
  
2128 ····.line·1842125 ····.line·184
2129 ····const/high16·v1,·0x3e800000····#·0.25f2126 ····const/high16·v1,·0x3e800000····#·0.25f
  
2130 ····.line·1852127 ····.line·185
2131 ····.local·v1,·"bestVariance":F2128 ····.local·v1,·"bestVariance":F
2132 ····const/4·v0,·-0x12129 ····const/4·v0,·-0x1
  
2133 ····.line·1862130 ····.line·186
2134 ····.local·v0,·"bestMatch":I2131 ····.local·v0,·"bestMatch":I
2135 ····const/16·v9,·0x672132 ····const/16·v8,·0x67
  
2136 ····.local·v9,·"startCode":I2133 ····.local·v8,·"startCode":I
2137 ····:goto_22134 ····:goto_2
2138 ····const/16·v12,·0x692135 ····const/16·v11,·0x69
  
2139 ····if-gt·v9,·v12,·:cond_22136 ····if-gt·v8,·v11,·:cond_2
  
2140 ····.line·1872137 ····.line·187
2141 ····sget-object·v12,·Lcom/google/zxing/oned/Code128Reader;->CODE_PATTERNS:[[I2138 ····sget-object·v11,·Lcom/google/zxing/oned/Code128Reader;->CODE_PATTERNS:[[I
  
2142 ····aget-object·v12,·v12,·v92139 ····aget-object·v11,·v11,·v8
  
2143 ····const·v13,·0x3f333333····#·0.7f2140 ····const·v12,·0x3f333333····#·0.7f
  
2144 ····invoke-static·{v3,·v12,·v13},·Lcom/google/zxing/oned/Code128Reader;->patternMatchVariance([I[IF)F2141 ····invoke-static·{v3,·v11,·v12},·Lcom/google/zxing/oned/Code128Reader;->patternMatchVariance([I[IF)F
  
2145 ····move-result·v102142 ····move-result·v9
  
2146 ····.line·1892143 ····.line·189
2147 ····.local·v10,·"variance":F2144 ····.local·v9,·"variance":F
2148 ····cmpg-float·v12,·v10,·v12145 ····cmpg-float·v11,·v9,·v1
  
2149 ····if-gez·v12,·:cond_12146 ····if-gez·v11,·:cond_1
  
2150 ····.line·1902147 ····.line·190
2151 ····move·v1,·v102148 ····move·v1,·v9
  
2152 ····.line·1912149 ····.line·191
2153 ····move·v0,·v92150 ····move·v0,·v8
  
Max diff block lines reached; 4551/8060 bytes (56.46%) of diff not shown.
30.8 KB
smali/com/google/zxing/oned/UPCEANReader.smali
    
Offset 1, 13 lines modifiedOffset 1, 15 lines modified
1 .class·public·abstract·Lcom/google/zxing/oned/UPCEANReader;1 .class·public·abstract·Lcom/google/zxing/oned/UPCEANReader;
2 .super·Lcom/google/zxing/oned/OneDReader;2 .super·Lcom/google/zxing/oned/OneDReader;
3 .source·"UPCEANReader.java"3 .source·"UPCEANReader.java"
  
  
4 #·static·fields4 #·static·fields
 5 .field·static·final·END_PATTERN:[I
  
5 .field·static·final·L_AND_G_PATTERNS:[[I6 .field·static·final·L_AND_G_PATTERNS:[[I
  
6 .field·static·final·L_PATTERNS:[[I7 .field·static·final·L_PATTERNS:[[I
  
7 .field·private·static·final·MAX_AVG_VARIANCE:F·=·0.48f8 .field·private·static·final·MAX_AVG_VARIANCE:F·=·0.48f
  
8 .field·private·static·final·MAX_INDIVIDUAL_VARIANCE:F·=·0.7f9 .field·private·static·final·MAX_INDIVIDUAL_VARIANCE:F·=·0.7f
Offset 26, 15 lines modifiedOffset 28, 15 lines modified
  
  
26 #·direct·methods28 #·direct·methods
27 .method·static·constructor·<clinit>()V29 .method·static·constructor·<clinit>()V
28 ····.locals·1230 ····.locals·12
  
29 ····.prologue31 ····.prologue
30 ····const/16·v11,·0xa32 ····const/4·v11,·0x6
  
31 ····const/4·v10,·0x533 ····const/4·v10,·0x5
  
32 ····const/4·v9,·0x334 ····const/4·v9,·0x3
  
33 ····const/4·v8,·0x035 ····const/4·v8,·0x0
  
Offset 50, 174 lines modifiedOffset 52, 181 lines modified
50 ····.line·5852 ····.line·58
51 ····new-array·v4,·v10,·[I53 ····new-array·v4,·v10,·[I
  
52 ····fill-array-data·v4,·:array_154 ····fill-array-data·v4,·:array_1
  
53 ····sput-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->MIDDLE_PATTERN:[I55 ····sput-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->MIDDLE_PATTERN:[I
  
54 ····.line·6356 ····.line·62
55 ····new-array·v4,·v11,·[[I57 ····new-array·v4,·v11,·[I
  
 58 ····fill-array-data·v4,·:array_2
  
 59 ····sput-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->END_PATTERN:[I
  
 60 ····.line·66
 61 ····const/16·v4,·0xa
  
 62 ····new-array·v4,·v4,·[[I
  
56 ····new-array·v5,·v7,·[I63 ····new-array·v5,·v7,·[I
  
57 ····fill-array-data·v5,·:array_264 ····fill-array-data·v5,·:array_3
  
58 ····aput-object·v5,·v4,·v865 ····aput-object·v5,·v4,·v8
  
59 ····const/4·v5,·0x166 ····const/4·v5,·0x1
  
60 ····new-array·v6,·v7,·[I67 ····new-array·v6,·v7,·[I
  
61 ····fill-array-data·v6,·:array_368 ····fill-array-data·v6,·:array_4
  
62 ····aput-object·v6,·v4,·v569 ····aput-object·v6,·v4,·v5
  
63 ····const/4·v5,·0x270 ····const/4·v5,·0x2
  
64 ····new-array·v6,·v7,·[I71 ····new-array·v6,·v7,·[I
  
65 ····fill-array-data·v6,·:array_472 ····fill-array-data·v6,·:array_5
  
66 ····aput-object·v6,·v4,·v573 ····aput-object·v6,·v4,·v5
  
67 ····new-array·v5,·v7,·[I74 ····new-array·v5,·v7,·[I
  
68 ····fill-array-data·v5,·:array_575 ····fill-array-data·v5,·:array_6
  
69 ····aput-object·v5,·v4,·v976 ····aput-object·v5,·v4,·v9
  
70 ····new-array·v5,·v7,·[I77 ····new-array·v5,·v7,·[I
  
71 ····fill-array-data·v5,·:array_678 ····fill-array-data·v5,·:array_7
  
72 ····aput-object·v5,·v4,·v779 ····aput-object·v5,·v4,·v7
  
73 ····new-array·v5,·v7,·[I80 ····new-array·v5,·v7,·[I
  
74 ····fill-array-data·v5,·:array_781 ····fill-array-data·v5,·:array_8
  
75 ····aput-object·v5,·v4,·v1082 ····aput-object·v5,·v4,·v10
  
76 ····const/4·v5,·0x6 
  
77 ····new-array·v6,·v7,·[I83 ····new-array·v5,·v7,·[I
  
78 ····fill-array-data·v6,·:array_884 ····fill-array-data·v5,·:array_9
  
79 ····aput-object·v6,·v4,·v585 ····aput-object·v5,·v4,·v11
  
80 ····const/4·v5,·0x786 ····const/4·v5,·0x7
  
81 ····new-array·v6,·v7,·[I87 ····new-array·v6,·v7,·[I
  
82 ····fill-array-data·v6,·:array_988 ····fill-array-data·v6,·:array_a
  
83 ····aput-object·v6,·v4,·v589 ····aput-object·v6,·v4,·v5
  
84 ····const/16·v5,·0x890 ····const/16·v5,·0x8
  
85 ····new-array·v6,·v7,·[I91 ····new-array·v6,·v7,·[I
  
86 ····fill-array-data·v6,·:array_a92 ····fill-array-data·v6,·:array_b
  
87 ····aput-object·v6,·v4,·v593 ····aput-object·v6,·v4,·v5
  
88 ····const/16·v5,·0x994 ····const/16·v5,·0x9
  
89 ····new-array·v6,·v7,·[I95 ····new-array·v6,·v7,·[I
  
90 ····fill-array-data·v6,·:array_b96 ····fill-array-data·v6,·:array_c
  
91 ····aput-object·v6,·v4,·v597 ····aput-object·v6,·v4,·v5
  
92 ····sput-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->L_PATTERNS:[[I98 ····sput-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->L_PATTERNS:[[I
  
93 ····.line·8299 ····.line·85
94 ····const/16·v4,·0x14100 ····const/16·v4,·0x14
Max diff block lines reached; 28767/31460 bytes (91.44%) of diff not shown.
4.5 KB
smali/com/google/zxing/oned/Code39Writer.smali
    
Offset 100, 21 lines modifiedOffset 100, 17 lines modified
100 ····if-eq·p2,·v0,·:cond_0100 ····if-eq·p2,·v0,·:cond_0
  
101 ····.line·40101 ····.line·40
102 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;102 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;
  
103 ····new-instance·v1,·Ljava/lang/StringBuilder;103 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
104 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
105 ····const-string·v2,·"Can·only·encode·CODE_39,·but·got·"104 ····const-string·v2,·"Can·only·encode·CODE_39,·but·got·"
  
106 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;105 ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
107 ····move-result-object·v1 
  
108 ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;106 ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
109 ····move-result-object·v1107 ····move-result-object·v1
  
110 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;108 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
Offset 134, 15 lines modifiedOffset 130, 15 lines modified
134 .end·method130 .end·method
  
135 .method·public·encode(Ljava/lang/String;)[Z131 .method·public·encode(Ljava/lang/String;)[Z
136 ····.locals·14132 ····.locals·14
137 ····.param·p1,·"contents"····#·Ljava/lang/String;133 ····.param·p1,·"contents"····#·Ljava/lang/String;
  
138 ····.prologue134 ····.prologue
139 ····const/16·v13,·0x27135 ····const/16·v13,·0x9
  
140 ····const/4·v12,·0x1136 ····const/4·v12,·0x1
  
141 ····const/4·v10,·0x0137 ····const/4·v10,·0x0
  
142 ····.line·47138 ····.line·47
143 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I139 ····invoke-virtual·{p1},·Ljava/lang/String;->length()I
Offset 156, 21 lines modifiedOffset 152, 17 lines modified
156 ····if-le·v3,·v9,·:cond_0152 ····if-le·v3,·v9,·:cond_0
  
157 ····.line·49153 ····.line·49
158 ····new-instance·v9,·Ljava/lang/IllegalArgumentException;154 ····new-instance·v9,·Ljava/lang/IllegalArgumentException;
  
159 ····new-instance·v10,·Ljava/lang/StringBuilder;155 ····new-instance·v10,·Ljava/lang/StringBuilder;
  
160 ····invoke-direct·{v10},·Ljava/lang/StringBuilder;-><init>()V 
  
161 ····const-string·v11,·"Requested·contents·should·be·less·than·80·digits·long,·but·got·"156 ····const-string·v11,·"Requested·contents·should·be·less·than·80·digits·long,·but·got·"
  
162 ····invoke-virtual·{v10,·v11},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;157 ····invoke-direct·{v10,·v11},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
163 ····move-result-object·v10 
  
164 ····invoke-virtual·{v10,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;158 ····invoke-virtual·{v10,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
165 ····move-result-object·v10159 ····move-result-object·v10
  
166 ····invoke-virtual·{v10},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;160 ····invoke-virtual·{v10},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
Offset 178, 17 lines modifiedOffset 170, 15 lines modified
  
178 ····invoke-direct·{v9,·v10},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V170 ····invoke-direct·{v9,·v10},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
179 ····throw·v9171 ····throw·v9
  
180 ····.line·53172 ····.line·53
181 ····:cond_0173 ····:cond_0
182 ····const/16·v9,·0x9 
  
183 ····new-array·v8,·v9,·[I174 ····new-array·v8,·v13,·[I
  
184 ····.line·54175 ····.line·54
185 ····.local·v8,·"widths":[I176 ····.local·v8,·"widths":[I
186 ····add-int/lit8·v0,·v3,·0x19177 ····add-int/lit8·v0,·v3,·0x19
  
187 ····.line·55178 ····.line·55
188 ····.local·v0,·"codeWidth":I179 ····.local·v0,·"codeWidth":I
Offset 214, 21 lines modifiedOffset 204, 17 lines modified
214 ····if-gez·v2,·:cond_1204 ····if-gez·v2,·:cond_1
  
215 ····.line·58205 ····.line·58
216 ····new-instance·v9,·Ljava/lang/IllegalArgumentException;206 ····new-instance·v9,·Ljava/lang/IllegalArgumentException;
  
217 ····new-instance·v10,·Ljava/lang/StringBuilder;207 ····new-instance·v10,·Ljava/lang/StringBuilder;
  
218 ····invoke-direct·{v10},·Ljava/lang/StringBuilder;-><init>()V 
  
219 ····const-string·v11,·"Bad·contents:·"208 ····const-string·v11,·"Bad·contents:·"
  
220 ····invoke-virtual·{v10,·v11},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;209 ····invoke-direct·{v10,·v11},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
221 ····move-result-object·v10 
  
222 ····invoke-virtual·{v10,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;210 ····invoke-virtual·{v10,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
223 ····move-result-object·v10211 ····move-result-object·v10
  
224 ····invoke-virtual·{v10},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;212 ····invoke-virtual·{v10},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
Offset 242, 21 lines modifiedOffset 228, 19 lines modified
242 ····:cond_1228 ····:cond_1
243 ····sget-object·v9,·Lcom/google/zxing/oned/Code39Reader;->CHARACTER_ENCODINGS:[I229 ····sget-object·v9,·Lcom/google/zxing/oned/Code39Reader;->CHARACTER_ENCODINGS:[I
  
244 ····aget·v9,·v9,·v2230 ····aget·v9,·v9,·v2
  
245 ····invoke-static·{v9,·v8},·Lcom/google/zxing/oned/Code39Writer;->toIntArray(I[I)V231 ····invoke-static·{v9,·v8},·Lcom/google/zxing/oned/Code39Writer;->toIntArray(I[I)V
  
246 ····.line·61 
247 ····array-length·v11,·v8 
  
248 ····move·v9,·v10232 ····move·v9,·v10
  
 233 ····.line·61
249 ····:goto_1234 ····:goto_1
250 ····if-ge·v9,·v11,·:cond_2235 ····if-ge·v9,·v13,·:cond_2
  
251 ····aget·v7,·v8,·v9236 ····aget·v7,·v8,·v9
  
252 ····.line·62237 ····.line·62
253 ····.local·v7,·"width":I238 ····.local·v7,·"width":I
254 ····add-int/2addr·v0,·v7239 ····add-int/2addr·v0,·v7
  
Offset 275, 17 lines modifiedOffset 259, 15 lines modified
275 ····.line·65259 ····.line·65
276 ····.end·local·v2····#·"indexInString":I260 ····.end·local·v2····#·"indexInString":I
277 ····:cond_3261 ····:cond_3
278 ····new-array·v6,·v0,·[Z262 ····new-array·v6,·v0,·[Z
Max diff block lines reached; 982/4520 bytes (21.73%) of diff not shown.
2.78 KB
smali/com/google/zxing/oned/UPCEANExtensionSupport.smali
    
Offset 62, 56 lines modifiedOffset 62, 53 lines modified
  
62 ····return-void62 ····return-void
63 .end·method63 .end·method
  
  
64 #·virtual·methods64 #·virtual·methods
65 .method·decodeRow(ILcom/google/zxing/common/BitArray;I)Lcom/google/zxing/Result;65 .method·decodeRow(ILcom/google/zxing/common/BitArray;I)Lcom/google/zxing/Result;
66 ····.locals·466 ····.locals·3
67 ····.param·p1,·"rowNumber"····#·I67 ····.param·p1,·"rowNumber"····#·I
68 ····.param·p2,·"row"····#·Lcom/google/zxing/common/BitArray;68 ····.param·p2,·"row"····#·Lcom/google/zxing/common/BitArray;
69 ····.param·p3,·"rowOffset"····#·I69 ····.param·p3,·"rowOffset"····#·I
70 ····.annotation·system·Ldalvik/annotation/Throws;70 ····.annotation·system·Ldalvik/annotation/Throws;
71 ········value·=·{71 ········value·=·{
72 ············Lcom/google/zxing/NotFoundException;72 ············Lcom/google/zxing/NotFoundException;
73 ········}73 ········}
74 ····.end·annotation74 ····.end·annotation
  
75 ····.prologue75 ····.prologue
76 ····.line·3276 ····.line·32
77 ····const/4·v2,·0x077 ····const/4·v1,·0x0
  
78 ····sget-object·v3,·Lcom/google/zxing/oned/UPCEANExtensionSupport;->EXTENSION_START_PATTERN:[I78 ····sget-object·v2,·Lcom/google/zxing/oned/UPCEANExtensionSupport;->EXTENSION_START_PATTERN:[I
  
79 ····invoke-static·{p2,·p3,·v2,·v3},·Lcom/google/zxing/oned/UPCEANReader;->findGuardPattern(Lcom/google/zxing/common/BitArray;IZ[I)[I79 ····invoke-static·{p2,·p3,·v1,·v2},·Lcom/google/zxing/oned/UPCEANReader;->findGuardPattern(Lcom/google/zxing/common/BitArray;IZ[I)[I
  
80 ····move-result-object·v080 ····move-result-object·v0
  
81 ····.line·3481 ····.line·34
82 ····.local·v0,·"extensionStartRange":[I82 ····.local·v0,·"extensionStartRange":[I
83 ····:try_start_083 ····:try_start_0
84 ····iget-object·v2,·p0,·Lcom/google/zxing/oned/UPCEANExtensionSupport;->fiveSupport:Lcom/google/zxing/oned/UPCEANExtension5Support;84 ····iget-object·v1,·p0,·Lcom/google/zxing/oned/UPCEANExtensionSupport;->fiveSupport:Lcom/google/zxing/oned/UPCEANExtension5Support;
  
85 ····invoke-virtual·{v2,·p1,·p2,·v0},·Lcom/google/zxing/oned/UPCEANExtension5Support;->decodeRow(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result;85 ····invoke-virtual·{v1,·p1,·p2,·v0},·Lcom/google/zxing/oned/UPCEANExtension5Support;->decodeRow(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result;
86 ····:try_end_086 ····:try_end_0
87 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_087 ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0
  
88 ····move-result-object·v288 ····move-result-object·v1
  
89 ····.line·3689 ····.line·36
90 ····:goto_090 ····:goto_0
91 ····return-object·v291 ····return-object·v1
  
92 ····.line·35 
93 ····:catch_092 ····:catch_0
94 ····move-exception·v193 ····move-exception·v1
  
95 ····.line·36 
96 ····.local·v1,·"ignored":Lcom/google/zxing/ReaderException; 
97 ····iget-object·v2,·p0,·Lcom/google/zxing/oned/UPCEANExtensionSupport;->twoSupport:Lcom/google/zxing/oned/UPCEANExtension2Support;94 ····iget-object·v1,·p0,·Lcom/google/zxing/oned/UPCEANExtensionSupport;->twoSupport:Lcom/google/zxing/oned/UPCEANExtension2Support;
  
98 ····invoke-virtual·{v2,·p1,·p2,·v0},·Lcom/google/zxing/oned/UPCEANExtension2Support;->decodeRow(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result;95 ····invoke-virtual·{v1,·p1,·p2,·v0},·Lcom/google/zxing/oned/UPCEANExtension2Support;->decodeRow(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result;
  
99 ····move-result-object·v296 ····move-result-object·v1
  
100 ····goto·:goto_097 ····goto·:goto_0
101 .end·method98 .end·method
10.4 KB
smali/com/google/zxing/oned/UPCEANExtension5Support.smali
    
Offset 64, 14 lines modifiedOffset 64, 207 lines modified
64 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V64 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
65 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/UPCEANExtension5Support;->decodeRowStringBuffer:Ljava/lang/StringBuilder;65 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/UPCEANExtension5Support;->decodeRowStringBuffer:Ljava/lang/StringBuilder;
  
66 ····return-void66 ····return-void
67 .end·method67 .end·method
  
 68 .method·private·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I
 69 ····.locals·10
 70 ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray;
 71 ····.param·p2,·"startRange"····#·[I
 72 ····.param·p3,·"resultString"····#·Ljava/lang/StringBuilder;
 73 ····.annotation·system·Ldalvik/annotation/Throws;
 74 ········value·=·{
 75 ············Lcom/google/zxing/NotFoundException;
 76 ········}
 77 ····.end·annotation
  
 78 ····.prologue
 79 ····.line·65
 80 ····iget-object·v3,·p0,·Lcom/google/zxing/oned/UPCEANExtension5Support;->decodeMiddleCounters:[I
  
 81 ····.line·66
 82 ····.local·v3,·"counters":[I
 83 ····const/4·v8,·0x0
  
 84 ····const/4·v9,·0x0
  
 85 ····aput·v9,·v3,·v8
  
 86 ····.line·67
 87 ····const/4·v8,·0x1
  
 88 ····const/4·v9,·0x0
  
 89 ····aput·v9,·v3,·v8
  
 90 ····.line·68
 91 ····const/4·v8,·0x2
  
 92 ····const/4·v9,·0x0
  
 93 ····aput·v9,·v3,·v8
  
 94 ····.line·69
 95 ····const/4·v8,·0x3
  
 96 ····const/4·v9,·0x0
  
 97 ····aput·v9,·v3,·v8
  
 98 ····.line·70
 99 ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I
  
 100 ····move-result·v4
  
 101 ····.line·71
 102 ····.local·v4,·"end":I
 103 ····const/4·v8,·0x1
  
 104 ····aget·v6,·p2,·v8
  
 105 ····.line·73
 106 ····.local·v6,·"rowOffset":I
 107 ····const/4·v5,·0x0
  
 108 ····.line·75
 109 ····.local·v5,·"lgPatternFound":I
 110 ····const/4·v7,·0x0
  
 111 ····.local·v7,·"x":I
 112 ····:goto_0
 113 ····const/4·v8,·0x5
  
 114 ····if-ge·v7,·v8,·:cond_3
  
 115 ····if-ge·v6,·v4,·:cond_3
  
 116 ····.line·76
 117 ····sget-object·v8,·Lcom/google/zxing/oned/UPCEANReader;->L_AND_G_PATTERNS:[[I
  
 118 ····invoke-static·{p1,·v3,·v6,·v8},·Lcom/google/zxing/oned/UPCEANReader;->decodeDigit(Lcom/google/zxing/common/BitArray;[II[[I)I
  
 119 ····move-result·v0
  
 120 ····.line·77
 121 ····.local·v0,·"bestMatch":I
 122 ····rem-int/lit8·v8,·v0,·0xa
  
 123 ····add-int/lit8·v8,·v8,·0x30
  
 124 ····int-to-char·v8,·v8
  
 125 ····invoke-virtual·{p3,·v8},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
 126 ····.line·78
 127 ····array-length·v9,·v3
  
 128 ····const/4·v8,·0x0
  
 129 ····:goto_1
 130 ····if-ge·v8,·v9,·:cond_0
  
 131 ····aget·v2,·v3,·v8
  
 132 ····.line·79
 133 ····.local·v2,·"counter":I
 134 ····add-int/2addr·v6,·v2
  
 135 ····.line·78
 136 ····add-int/lit8·v8,·v8,·0x1
  
 137 ····goto·:goto_1
  
 138 ····.line·81
 139 ····.end·local·v2····#·"counter":I
 140 ····:cond_0
 141 ····const/16·v8,·0xa
  
 142 ····if-lt·v0,·v8,·:cond_1
  
 143 ····.line·82
 144 ····const/4·v8,·0x1
  
 145 ····rsub-int/lit8·v9,·v7,·0x4
  
 146 ····shl-int/2addr·v8,·v9
Max diff block lines reached; 6415/10554 bytes (60.78%) of diff not shown.
3.28 KB
smali/com/google/zxing/oned/CodaBarWriter.smali
    
Offset 297, 21 lines modifiedOffset 297, 17 lines modified
297 ····if-nez·v8,·:cond_0297 ····if-nez·v8,·:cond_0
  
298 ····.line·47298 ····.line·47
299 ····new-instance·v18,·Ljava/lang/IllegalArgumentException;299 ····new-instance·v18,·Ljava/lang/IllegalArgumentException;
  
300 ····new-instance·v19,·Ljava/lang/StringBuilder;300 ····new-instance·v19,·Ljava/lang/StringBuilder;
  
301 ····invoke-direct/range·{v19·..·v19},·Ljava/lang/StringBuilder;-><init>()V 
  
302 ····const-string·v20,·"Invalid·start/end·guards:·"301 ····const-string·v20,·"Invalid·start/end·guards:·"
  
303 ····invoke-virtual/range·{v19·..·v20},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;302 ····invoke-direct/range·{v19·..·v20},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
304 ····move-result-object·v19 
  
305 ····move-object/from16·v0,·v19303 ····move-object/from16·v0,·v19
  
306 ····move-object/from16·v1,·p1304 ····move-object/from16·v1,·p1
  
307 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;305 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
Offset 333, 21 lines modifiedOffset 329, 17 lines modified
333 ····if-nez·v7,·:cond_0329 ····if-nez·v7,·:cond_0
  
334 ····.line·52330 ····.line·52
335 ····new-instance·v18,·Ljava/lang/IllegalArgumentException;331 ····new-instance·v18,·Ljava/lang/IllegalArgumentException;
  
336 ····new-instance·v19,·Ljava/lang/StringBuilder;332 ····new-instance·v19,·Ljava/lang/StringBuilder;
  
337 ····invoke-direct/range·{v19·..·v19},·Ljava/lang/StringBuilder;-><init>()V 
  
338 ····const-string·v20,·"Invalid·start/end·guards:·"333 ····const-string·v20,·"Invalid·start/end·guards:·"
  
339 ····invoke-virtual/range·{v19·..·v20},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;334 ····invoke-direct/range·{v19·..·v20},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
340 ····move-result-object·v19 
  
341 ····move-object/from16·v0,·v19335 ····move-object/from16·v0,·v19
  
342 ····move-object/from16·v1,·p1336 ····move-object/from16·v1,·p1
  
343 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;337 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
Offset 369, 21 lines modifiedOffset 361, 17 lines modified
  
369 ····.line·58361 ····.line·58
370 ····:cond_5362 ····:cond_5
371 ····new-instance·v18,·Ljava/lang/IllegalArgumentException;363 ····new-instance·v18,·Ljava/lang/IllegalArgumentException;
  
372 ····new-instance·v19,·Ljava/lang/StringBuilder;364 ····new-instance·v19,·Ljava/lang/StringBuilder;
  
373 ····invoke-direct/range·{v19·..·v19},·Ljava/lang/StringBuilder;-><init>()V 
  
374 ····const-string·v20,·"Invalid·start/end·guards:·"365 ····const-string·v20,·"Invalid·start/end·guards:·"
  
375 ····invoke-virtual/range·{v19·..·v20},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;366 ····invoke-direct/range·{v19·..·v20},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
376 ····move-result-object·v19 
  
377 ····move-object/from16·v0,·v19367 ····move-object/from16·v0,·v19
  
378 ····move-object/from16·v1,·p1368 ····move-object/from16·v1,·p1
  
379 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;369 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
Offset 460, 21 lines modifiedOffset 448, 17 lines modified
  
460 ····.line·73448 ····.line·73
461 ····:cond_8449 ····:cond_8
462 ····new-instance·v18,·Ljava/lang/IllegalArgumentException;450 ····new-instance·v18,·Ljava/lang/IllegalArgumentException;
  
463 ····new-instance·v19,·Ljava/lang/StringBuilder;451 ····new-instance·v19,·Ljava/lang/StringBuilder;
  
464 ····invoke-direct/range·{v19·..·v19},·Ljava/lang/StringBuilder;-><init>()V 
  
465 ····const-string·v20,·"Cannot·encode·:·\'"452 ····const-string·v20,·"Cannot·encode·:·\'"
  
466 ····invoke-virtual/range·{v19·..·v20},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;453 ····invoke-direct/range·{v19·..·v20},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
467 ····move-result-object·v19 
  
468 ····move-object/from16·v0,·p1454 ····move-object/from16·v0,·p1
  
469 ····invoke-virtual·{v0,·v10},·Ljava/lang/String;->charAt(I)C455 ····invoke-virtual·{v0,·v10},·Ljava/lang/String;->charAt(I)C
  
470 ····move-result·v20456 ····move-result·v20
  
Offset 500, 18 lines modifiedOffset 484, 20 lines modified
500 ····:cond_9484 ····:cond_9
501 ····invoke-virtual/range·{p1·..·p1},·Ljava/lang/String;->length()I485 ····invoke-virtual/range·{p1·..·p1},·Ljava/lang/String;->length()I
  
502 ····move-result·v18486 ····move-result·v18
  
503 ····add-int/lit8·v18,·v18,·-0x1487 ····add-int/lit8·v18,·v18,·-0x1
  
504 ····add-int·v15,·v15,·v18488 ····add-int·v18,·v18,·v15
  
505 ····.line·79489 ····.line·79
 490 ····move/from16·v0,·v18
  
506 ····new-array·v14,·v15,·[Z491 ····new-array·v14,·v0,·[Z
  
507 ····.line·80492 ····.line·80
508 ····.local·v14,·"result":[Z493 ····.local·v14,·"result":[Z
509 ····const/4·v13,·0x0494 ····const/4·v13,·0x0
  
510 ····.line·81495 ····.line·81
511 ····.local·v13,·"position":I496 ····.local·v13,·"position":I
23.7 KB
smali/com/google/zxing/oned/Code128Writer.smali
    
Offset 1, 12 lines modifiedOffset 1, 20 lines modified
1 .class·public·final·Lcom/google/zxing/oned/Code128Writer;1 .class·public·final·Lcom/google/zxing/oned/Code128Writer;
2 .super·Lcom/google/zxing/oned/OneDimensionalCodeWriter;2 .super·Lcom/google/zxing/oned/OneDimensionalCodeWriter;
3 .source·"Code128Writer.java"3 .source·"Code128Writer.java"
  
  
 4 #·annotations
 5 .annotation·system·Ldalvik/annotation/MemberClasses;
 6 ····value·=·{
 7 ········Lcom/google/zxing/oned/Code128Writer$CType;
 8 ····}
 9 .end·annotation
  
  
4 #·static·fields10 #·static·fields
5 .field·private·static·final·CODE_CODE_B:I·=·0x6411 .field·private·static·final·CODE_CODE_B:I·=·0x64
  
6 .field·private·static·final·CODE_CODE_C:I·=·0x6312 .field·private·static·final·CODE_CODE_C:I·=·0x63
  
7 .field·private·static·final·CODE_FNC_1:I·=·0x6613 .field·private·static·final·CODE_FNC_1:I·=·0x66
  
Offset 38, 88 lines modifiedOffset 46, 265 lines modified
38 ····.prologue46 ····.prologue
39 ····.line·3347 ····.line·33
40 ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDimensionalCodeWriter;-><init>()V48 ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDimensionalCodeWriter;-><init>()V
  
41 ····return-void49 ····return-void
42 .end·method50 .end·method
  
43 .method·private·static·isDigits(Ljava/lang/CharSequence;II)Z51 .method·private·static·chooseCode(Ljava/lang/CharSequence;II)I
44 ····.locals·652 ····.locals·6
45 ····.param·p0,·"value"····#·Ljava/lang/CharSequence;53 ····.param·p0,·"value"····#·Ljava/lang/CharSequence;
46 ····.param·p1,·"start"····#·I54 ····.param·p1,·"start"····#·I
47 ····.param·p2,·"length"····#·I55 ····.param·p2,·"oldCode"····#·I
  
48 ····.prologue56 ····.prologue
49 ····const/4·v4,·0x057 ····const/16·v2,·0x63
  
 58 ····const/16·v3,·0x64
50 ····.line·186 
51 ····add-int·v1,·p1,·p2 
  
52 ····.line·18759 ····.line·210
 60 ····invoke-static·{p0,·p1},·Lcom/google/zxing/oned/Code128Writer;->findCType(Ljava/lang/CharSequence;I)Lcom/google/zxing/oned/Code128Writer$CType;
53 ····.local·v1,·"end":I 
54 ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I 
  
55 ····move-result·v361 ····move-result-object·v1
  
56 ····.line·18862 ····.line·211
57 ····.local·v3,·"last":I63 ····.local·v1,·"lookahead":Lcom/google/zxing/oned/Code128Writer$CType;
 64 ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->UNCODABLE:Lcom/google/zxing/oned/Code128Writer$CType;
  
 65 ····if-eq·v1,·v4,·:cond_0
  
 66 ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->ONE_DIGIT:Lcom/google/zxing/oned/Code128Writer$CType;
  
 67 ····if-ne·v1,·v4,·:cond_2
  
 68 ····:cond_0
58 ····move·v2,·p169 ····move·p2,·v3
  
59 ····.local·v2,·"i":I70 ····.line·252
 71 ····.end·local·p2····#·"oldCode":I
 72 ····:cond_1
60 ····:goto_073 ····:goto_0
 74 ····return·p2
  
 75 ····.line·214
 76 ····.restart·local·p2····#·"oldCode":I
 77 ····:cond_2
 78 ····if-eq·p2,·v2,·:cond_1
  
 79 ····.line·217
 80 ····if-ne·p2,·v3,·:cond_7
  
 81 ····.line·218
 82 ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->FNC_1:Lcom/google/zxing/oned/Code128Writer$CType;
  
 83 ····if-eq·v1,·v4,·:cond_1
  
 84 ····.line·222
 85 ····add-int/lit8·v4,·p1,·0x2
  
 86 ····invoke-static·{p0,·v4},·Lcom/google/zxing/oned/Code128Writer;->findCType(Ljava/lang/CharSequence;I)Lcom/google/zxing/oned/Code128Writer$CType;
  
 87 ····move-result-object·v1
  
 88 ····.line·223
 89 ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->UNCODABLE:Lcom/google/zxing/oned/Code128Writer$CType;
  
 90 ····if-eq·v1,·v4,·:cond_1
  
 91 ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->ONE_DIGIT:Lcom/google/zxing/oned/Code128Writer$CType;
  
 92 ····if-eq·v1,·v4,·:cond_1
  
 93 ····.line·226
 94 ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->FNC_1:Lcom/google/zxing/oned/Code128Writer$CType;
  
61 ····if-ge·v2,·v1,·:cond_495 ····if-ne·v1,·v4,·:cond_4
  
 96 ····.line·227
 97 ····add-int/lit8·v4,·p1,·0x3
  
 98 ····invoke-static·{p0,·v4},·Lcom/google/zxing/oned/Code128Writer;->findCType(Ljava/lang/CharSequence;I)Lcom/google/zxing/oned/Code128Writer$CType;
  
 99 ····move-result-object·v4
  
 100 ····.line·228
 101 ····sget-object·v5,·Lcom/google/zxing/oned/Code128Writer$CType;->TWO_DIGITS:Lcom/google/zxing/oned/Code128Writer$CType;
  
 102 ····if-ne·v4,·v5,·:cond_3
  
 103 ····move·p2,·v2
  
 104 ····.line·229
 105 ····goto·:goto_0
  
 106 ····:cond_3
 107 ····move·p2,·v3
  
 108 ····.line·231
 109 ····goto·:goto_0
  
 110 ····.line·236
 111 ····:cond_4
 112 ····add-int/lit8·v0,·p1,·0x4
Max diff block lines reached; 18642/24156 bytes (77.17%) of diff not shown.
23.6 KB
smali/com/google/zxing/oned/OneDReader.smali
    
Offset 14, 15 lines modifiedOffset 14, 15 lines modified
14 ····.line·4214 ····.line·42
15 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V15 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
16 ····return-void16 ····return-void
17 .end·method17 .end·method
  
18 .method·private·doDecode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result;18 .method·private·doDecode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result;
19 ····.locals·2219 ····.locals·21
20 ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap;20 ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap;
21 ····.annotation·system·Ldalvik/annotation/Signature;21 ····.annotation·system·Ldalvik/annotation/Signature;
22 ········value·=·{22 ········value·=·{
23 ············"(",23 ············"(",
24 ············"Lcom/google/zxing/BinaryBitmap;",24 ············"Lcom/google/zxing/BinaryBitmap;",
25 ············"Ljava/util/Map",25 ············"Ljava/util/Map",
26 ············"<",26 ············"<",
Offset 39, 390 lines modifiedOffset 39, 385 lines modified
39 ····.end·annotation39 ····.end·annotation
  
40 ····.prologue40 ····.prologue
41 ····.line·10541 ····.line·105
42 ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"42 ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"
43 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getWidth()I43 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getWidth()I
  
44 ····move-result·v1644 ····move-result·v15
  
45 ····.line·10645 ····.line·106
46 ····.local·v16,·"width":I46 ····.local·v15,·"width":I
47 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getHeight()I47 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getHeight()I
  
48 ····move-result·v348 ····move-result·v3
  
49 ····.line·10749 ····.line·107
50 ····.local·v3,·"height":I50 ····.local·v3,·"height":I
51 ····new-instance·v11,·Lcom/google/zxing/common/BitArray;51 ····new-instance·v10,·Lcom/google/zxing/common/BitArray;
  
52 ····move/from16·v0,·v16 
  
53 ····invoke-direct·{v11,·v0},·Lcom/google/zxing/common/BitArray;-><init>(I)V52 ····invoke-direct·{v10,·v15},·Lcom/google/zxing/common/BitArray;-><init>(I)V
  
54 ····.line·10953 ····.line·109
55 ····.local·v11,·"row":Lcom/google/zxing/common/BitArray;54 ····.local·v10,·"row":Lcom/google/zxing/common/BitArray;
56 ····shr-int/lit8·v7,·v3,·0x155 ····shr-int/lit8·v6,·v3,·0x1
  
57 ····.line·11056 ····.line·110
58 ····.local·v7,·"middle":I57 ····.local·v6,·"middle":I
59 ····if-eqz·p2,·:cond_158 ····if-eqz·p2,·:cond_2
  
60 ····sget-object·v18,·Lcom/google/zxing/DecodeHintType;->TRY_HARDER:Lcom/google/zxing/DecodeHintType;59 ····sget-object·v17,·Lcom/google/zxing/DecodeHintType;->TRY_HARDER:Lcom/google/zxing/DecodeHintType;
  
61 ····move-object/from16·v0,·p260 ····move-object/from16·v0,·p2
  
62 ····move-object/from16·v1,·v1861 ····move-object/from16·v1,·v17
  
63 ····invoke-interface·{v0,·v1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z62 ····invoke-interface·{v0,·v1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
  
64 ····move-result·v1863 ····move-result·v17
  
65 ····if-eqz·v18,·:cond_164 ····if-eqz·v17,·:cond_2
  
66 ····const/4·v15,·0x165 ····const/4·v14,·0x1
  
67 ····.line·11166 ····.line·111
68 ····.local·v15,·"tryHarder":Z67 ····.local·v14,·"tryHarder":Z
69 ····:goto_068 ····:goto_0
70 ····const/16·v19,·0x169 ····const/16·v18,·0x1
  
71 ····if-eqz·v15,·:cond_270 ····if-eqz·v14,·:cond_3
  
72 ····const/16·v18,·0x871 ····const/16·v17,·0x8
  
73 ····:goto_172 ····:goto_1
74 ····shr-int·v18,·v3,·v1873 ····shr-int·v17,·v3,·v17
  
75 ····move/from16·v0,·v1974 ····move/from16·v0,·v18
  
76 ····move/from16·v1,·v1875 ····move/from16·v1,·v17
  
77 ····invoke-static·{v0,·v1},·Ljava/lang/Math;->max(II)I76 ····invoke-static·{v0,·v1},·Ljava/lang/Math;->max(II)I
  
78 ····move-result·v1377 ····move-result·v12
  
79 ····.line·11378 ····.line·113
80 ····.local·v13,·"rowStep":I79 ····.local·v12,·"rowStep":I
81 ····if-eqz·v15,·:cond_380 ····if-eqz·v14,·:cond_4
  
82 ····.line·11481 ····.line·114
83 ····move·v6,·v382 ····move·v5,·v3
  
84 ····.line·11983 ····.line·119
85 ····.local·v6,·"maxLines":I84 ····.local·v5,·"maxLines":I
86 ····:goto_285 ····:goto_2
87 ····const/16·v17,·0x086 ····const/16·v16,·0x0
  
88 ····.local·v17,·"x":I87 ····.local·v16,·"x":I
89 ····:goto_388 ····:goto_3
90 ····move/from16·v0,·v1789 ····move/from16·v0,·v16
  
91 ····if-ge·v0,·v6,·:cond_090 ····if-ge·v0,·v5,·:cond_8
  
92 ····.line·12291 ····.line·122
93 ····add-int/lit8·v18,·v17,·0x192 ····add-int/lit8·v17,·v16,·0x1
  
94 ····div-int/lit8·v14,·v18,·0x293 ····div-int/lit8·v13,·v17,·0x2
  
95 ····.line·12394 ····.line·123
96 ····.local·v14,·"rowStepsAboveOrBelow":I95 ····.local·v13,·"rowStepsAboveOrBelow":I
97 ····and-int/lit8·v18,·v17,·0x196 ····and-int/lit8·v17,·v16,·0x1
  
98 ····if-nez·v18,·:cond_497 ····if-nez·v17,·:cond_5
  
99 ····const/4·v5,·0x198 ····const/4·v4,·0x1
  
100 ····.line·12499 ····.line·124
101 ····.local·v5,·"isAbove":Z100 ····.local·v4,·"isAbove":Z
102 ····:goto_4101 ····:goto_4
103 ····if-eqz·v5,·:cond_5102 ····if-eqz·v4,·:cond_6
  
104 ····.end·local·v14····#·"rowStepsAboveOrBelow":I103 ····.end·local·v13····#·"rowStepsAboveOrBelow":I
105 ····:goto_5104 ····:goto_5
106 ····mul-int·v18,·v13,·v14105 ····mul-int·v17,·v12,·v13
  
107 ····add-int·v12,·v7,·v18106 ····add-int·v11,·v6,·v17
  
108 ····.line·125107 ····.line·125
109 ····.local·v12,·"rowNumber":I108 ····.local·v11,·"rowNumber":I
110 ····if-ltz·v12,·:cond_0109 ····if-ltz·v11,·:cond_8
  
Max diff block lines reached; 19066/24041 bytes (79.31%) of diff not shown.
6.06 KB
smali/com/google/zxing/oned/EAN13Reader.smali
    
Offset 113, 217 lines modifiedOffset 113, 198 lines modified
  
113 ····throw·v1113 ····throw·v1
114 .end·method114 .end·method
  
  
115 #·virtual·methods115 #·virtual·methods
116 .method·protected·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I116 .method·protected·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I
117 ····.locals·10117 ····.locals·12
118 ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray;118 ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray;
119 ····.param·p2,·"startRange"····#·[I119 ····.param·p2,·"startRange"····#·[I
120 ····.param·p3,·"resultString"····#·Ljava/lang/StringBuilder;120 ····.param·p3,·"resultString"····#·Ljava/lang/StringBuilder;
121 ····.annotation·system·Ldalvik/annotation/Throws;121 ····.annotation·system·Ldalvik/annotation/Throws;
122 ········value·=·{122 ········value·=·{
123 ············Lcom/google/zxing/NotFoundException;123 ············Lcom/google/zxing/NotFoundException;
124 ········}124 ········}
125 ····.end·annotation125 ····.end·annotation
  
126 ····.prologue126 ····.prologue
 127 ····const/4·v11,·0x6
  
 128 ····const/4·v10,·0x1
  
 129 ····const/4·v8,·0x0
  
127 ····.line·75130 ····.line·75
128 ····iget-object·v2,·p0,·Lcom/google/zxing/oned/EAN13Reader;->decodeMiddleCounters:[I131 ····iget-object·v2,·p0,·Lcom/google/zxing/oned/EAN13Reader;->decodeMiddleCounters:[I
  
129 ····.line·76132 ····.line·76
130 ····.local·v2,·"counters":[I133 ····.local·v2,·"counters":[I
131 ····const/4·v8,·0x0 
  
132 ····const/4·v9,·0x0 
  
133 ····aput·v9,·v2,·v8134 ····aput·v8,·v2,·v8
  
134 ····.line·77135 ····.line·77
135 ····const/4·v8,·0x1 
  
136 ····const/4·v9,·0x0 
  
137 ····aput·v9,·v2,·v8136 ····aput·v8,·v2,·v10
  
138 ····.line·78137 ····.line·78
139 ····const/4·v8,·0x2138 ····const/4·v7,·0x2
  
140 ····const/4·v9,·0x0 
  
141 ····aput·v9,·v2,·v8139 ····aput·v8,·v2,·v7
  
142 ····.line·79140 ····.line·79
143 ····const/4·v8,·0x3141 ····const/4·v7,·0x3
  
144 ····const/4·v9,·0x0 
  
145 ····aput·v9,·v2,·v8142 ····aput·v8,·v2,·v7
  
146 ····.line·80143 ····.line·80
147 ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I144 ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I
  
148 ····move-result·v3145 ····move-result·v3
  
149 ····.line·81146 ····.line·81
150 ····.local·v3,·"end":I147 ····.local·v3,·"end":I
151 ····const/4·v8,·0x1 
  
152 ····aget·v6,·p2,·v8148 ····aget·v5,·p2,·v10
  
153 ····.line·83149 ····.line·83
154 ····.local·v6,·"rowOffset":I150 ····.local·v5,·"rowOffset":I
155 ····const/4·v4,·0x0151 ····const/4·v4,·0x0
  
156 ····.line·85152 ····.line·85
157 ····.local·v4,·"lgPatternFound":I153 ····.local·v4,·"lgPatternFound":I
158 ····const/4·v7,·0x0154 ····const/4·v6,·0x0
  
159 ····.local·v7,·"x":I155 ····.local·v6,·"x":I
160 ····:goto_0156 ····:goto_0
161 ····const/4·v8,·0x6157 ····if-ge·v6,·v11,·:cond_2
  
162 ····if-ge·v7,·v8,·:cond_2 
  
163 ····if-ge·v6,·v3,·:cond_2158 ····if-ge·v5,·v3,·:cond_2
  
164 ····.line·86159 ····.line·86
165 ····sget-object·v8,·Lcom/google/zxing/oned/EAN13Reader;->L_AND_G_PATTERNS:[[I160 ····sget-object·v7,·Lcom/google/zxing/oned/EAN13Reader;->L_AND_G_PATTERNS:[[I
  
166 ····invoke-static·{p1,·v2,·v6,·v8},·Lcom/google/zxing/oned/EAN13Reader;->decodeDigit(Lcom/google/zxing/common/BitArray;[II[[I)I161 ····invoke-static·{p1,·v2,·v5,·v7},·Lcom/google/zxing/oned/EAN13Reader;->decodeDigit(Lcom/google/zxing/common/BitArray;[II[[I)I
  
167 ····move-result·v0162 ····move-result·v0
  
168 ····.line·87163 ····.line·87
169 ····.local·v0,·"bestMatch":I164 ····.local·v0,·"bestMatch":I
170 ····rem-int/lit8·v8,·v0,·0xa165 ····rem-int/lit8·v7,·v0,·0xa
  
171 ····add-int/lit8·v8,·v8,·0x30166 ····add-int/lit8·v7,·v7,·0x30
  
172 ····int-to-char·v8,·v8167 ····int-to-char·v7,·v7
  
173 ····invoke-virtual·{p3,·v8},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;168 ····invoke-virtual·{p3,·v7},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
174 ····.line·88169 ····.line·88
175 ····array-length·v9,·v2170 ····array-length·v9,·v2
  
176 ····const/4·v8,·0x0171 ····move·v7,·v8
  
177 ····:goto_1172 ····:goto_1
178 ····if-ge·v8,·v9,·:cond_0173 ····if-ge·v7,·v9,·:cond_0
  
179 ····aget·v1,·v2,·v8174 ····aget·v1,·v2,·v7
  
180 ····.line·89175 ····.line·89
181 ····.local·v1,·"counter":I176 ····.local·v1,·"counter":I
182 ····add-int/2addr·v6,·v1177 ····add-int/2addr·v5,·v1
  
183 ····.line·88178 ····.line·88
184 ····add-int/lit8·v8,·v8,·0x1179 ····add-int/lit8·v7,·v7,·0x1
  
185 ····goto·:goto_1180 ····goto·:goto_1
  
186 ····.line·91181 ····.line·91
187 ····.end·local·v1····#·"counter":I182 ····.end·local·v1····#·"counter":I
188 ····:cond_0183 ····:cond_0
189 ····const/16·v8,·0xa184 ····const/16·v7,·0xa
  
190 ····if-lt·v0,·v8,·:cond_1185 ····if-lt·v0,·v7,·:cond_1
  
191 ····.line·92186 ····.line·92
Max diff block lines reached; 2835/6112 bytes (46.38%) of diff not shown.
2.69 KB
smali/com/google/zxing/oned/rss/FinderPattern.smali
    
Offset 17, 24 lines modifiedOffset 17, 24 lines modified
17 ····.param·p1,·"value"····#·I17 ····.param·p1,·"value"····#·I
18 ····.param·p2,·"startEnd"····#·[I18 ····.param·p2,·"startEnd"····#·[I
19 ····.param·p3,·"start"····#·I19 ····.param·p3,·"start"····#·I
20 ····.param·p4,·"end"····#·I20 ····.param·p4,·"end"····#·I
21 ····.param·p5,·"rowNumber"····#·I21 ····.param·p5,·"rowNumber"····#·I
  
22 ····.prologue22 ····.prologue
23 ····.line·2723 ····.line·30
24 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V24 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
25 ····.line·2825 ····.line·31
26 ····iput·p1,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I26 ····iput·p1,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I
  
27 ····.line·2927 ····.line·32
28 ····iput-object·p2,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->startEnd:[I28 ····iput-object·p2,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->startEnd:[I
  
29 ····.line·3029 ····.line·33
30 ····const/4·v0,·0x230 ····const/4·v0,·0x2
  
31 ····new-array·v0,·v0,·[Lcom/google/zxing/ResultPoint;31 ····new-array·v0,·v0,·[Lcom/google/zxing/ResultPoint;
  
32 ····const/4·v1,·0x032 ····const/4·v1,·0x0
  
33 ····new-instance·v2,·Lcom/google/zxing/ResultPoint;33 ····new-instance·v2,·Lcom/google/zxing/ResultPoint;
Offset 57, 44 lines modifiedOffset 57, 44 lines modified
  
57 ····invoke-direct·{v2,·v3,·v4},·Lcom/google/zxing/ResultPoint;-><init>(FF)V57 ····invoke-direct·{v2,·v3,·v4},·Lcom/google/zxing/ResultPoint;-><init>(FF)V
  
58 ····aput-object·v2,·v0,·v158 ····aput-object·v2,·v0,·v1
  
59 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->resultPoints:[Lcom/google/zxing/ResultPoint;59 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->resultPoints:[Lcom/google/zxing/ResultPoint;
  
60 ····.line·3460 ····.line·37
61 ····return-void61 ····return-void
62 .end·method62 .end·method
  
  
63 #·virtual·methods63 #·virtual·methods
64 .method·public·equals(Ljava/lang/Object;)Z64 .method·public·equals(Ljava/lang/Object;)Z
65 ····.locals·465 ····.locals·4
66 ····.param·p1,·"o"····#·Ljava/lang/Object;66 ····.param·p1,·"o"····#·Ljava/lang/Object;
  
67 ····.prologue67 ····.prologue
68 ····const/4·v1,·0x068 ····const/4·v1,·0x0
  
69 ····.line·5069 ····.line·53
70 ····instance-of·v2,·p1,·Lcom/google/zxing/oned/rss/FinderPattern;70 ····instance-of·v2,·p1,·Lcom/google/zxing/oned/rss/FinderPattern;
  
71 ····if-nez·v2,·:cond_171 ····if-nez·v2,·:cond_1
  
72 ····.line·5472 ····.line·57
73 ····:cond_073 ····:cond_0
74 ····:goto_074 ····:goto_0
75 ····return·v175 ····return·v1
  
76 ····:cond_176 ····:cond_1
77 ····move-object·v0,·p177 ····move-object·v0,·p1
  
78 ····.line·5378 ····.line·56
79 ····check-cast·v0,·Lcom/google/zxing/oned/rss/FinderPattern;79 ····check-cast·v0,·Lcom/google/zxing/oned/rss/FinderPattern;
  
80 ····.line·5480 ····.line·57
81 ····.local·v0,·"that":Lcom/google/zxing/oned/rss/FinderPattern;81 ····.local·v0,·"that":Lcom/google/zxing/oned/rss/FinderPattern;
82 ····iget·v2,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I82 ····iget·v2,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I
  
83 ····iget·v3,·v0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I83 ····iget·v3,·v0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I
  
84 ····if-ne·v2,·v3,·:cond_084 ····if-ne·v2,·v3,·:cond_0
  
Offset 103, 42 lines modifiedOffset 103, 42 lines modified
103 ····goto·:goto_0103 ····goto·:goto_0
104 .end·method104 .end·method
  
105 .method·public·getResultPoints()[Lcom/google/zxing/ResultPoint;105 .method·public·getResultPoints()[Lcom/google/zxing/ResultPoint;
106 ····.locals·1106 ····.locals·1
  
107 ····.prologue107 ····.prologue
108 ····.line·45108 ····.line·48
109 ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->resultPoints:[Lcom/google/zxing/ResultPoint;109 ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->resultPoints:[Lcom/google/zxing/ResultPoint;
  
110 ····return-object·v0110 ····return-object·v0
111 .end·method111 .end·method
  
112 .method·public·getStartEnd()[I112 .method·public·getStartEnd()[I
113 ····.locals·1113 ····.locals·1
  
114 ····.prologue114 ····.prologue
115 ····.line·41115 ····.line·44
116 ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->startEnd:[I116 ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->startEnd:[I
  
117 ····return-object·v0117 ····return-object·v0
118 .end·method118 .end·method
  
119 .method·public·getValue()I119 .method·public·getValue()I
120 ····.locals·1120 ····.locals·1
  
121 ····.prologue121 ····.prologue
122 ····.line·37122 ····.line·40
123 ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I123 ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I
  
124 ····return·v0124 ····return·v0
125 .end·method125 .end·method
  
126 .method·public·hashCode()I126 .method·public·hashCode()I
127 ····.locals·1127 ····.locals·1
  
128 ····.prologue128 ····.prologue
129 ····.line·59129 ····.line·62
130 ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I130 ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I
  
131 ····return·v0131 ····return·v0
132 .end·method132 .end·method
8.79 KB
smali/com/google/zxing/oned/rss/AbstractRSSReader.smali
    
Offset 30, 438 lines modifiedOffset 30, 419 lines modified
30 #·direct·methods30 #·direct·methods
31 .method·protected·constructor·<init>()V31 .method·protected·constructor·<init>()V
32 ····.locals·232 ····.locals·2
  
33 ····.prologue33 ····.prologue
34 ····const/4·v1,·0x434 ····const/4·v1,·0x4
  
35 ····.line·3735 ····.line·42
36 ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDReader;-><init>()V36 ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDReader;-><init>()V
  
37 ····.line·3837 ····.line·43
38 ····new-array·v0,·v1,·[I38 ····new-array·v0,·v1,·[I
  
39 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->decodeFinderCounters:[I39 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->decodeFinderCounters:[I
  
40 ····.line·3940 ····.line·44
41 ····const/16·v0,·0x841 ····const/16·v0,·0x8
  
42 ····new-array·v0,·v0,·[I42 ····new-array·v0,·v0,·[I
  
43 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I43 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I
  
44 ····.line·4044 ····.line·45
45 ····new-array·v0,·v1,·[F45 ····new-array·v0,·v1,·[F
  
46 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->oddRoundingErrors:[F46 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->oddRoundingErrors:[F
  
47 ····.line·4147 ····.line·46
48 ····new-array·v0,·v1,·[F48 ····new-array·v0,·v1,·[F
  
49 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->evenRoundingErrors:[F49 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->evenRoundingErrors:[F
  
50 ····.line·4250 ····.line·47
51 ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I51 ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I
  
52 ····array-length·v0,·v052 ····array-length·v0,·v0
  
53 ····div-int/lit8·v0,·v0,·0x253 ····div-int/lit8·v0,·v0,·0x2
  
54 ····new-array·v0,·v0,·[I54 ····new-array·v0,·v0,·[I
  
55 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->oddCounts:[I55 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->oddCounts:[I
  
56 ····.line·4356 ····.line·48
57 ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I57 ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I
  
58 ····array-length·v0,·v058 ····array-length·v0,·v0
  
59 ····div-int/lit8·v0,·v0,·0x259 ····div-int/lit8·v0,·v0,·0x2
  
60 ····new-array·v0,·v0,·[I60 ····new-array·v0,·v0,·[I
  
61 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->evenCounts:[I61 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->evenCounts:[I
  
62 ····.line·4462 ····.line·49
63 ····return-void63 ····return-void
64 .end·method64 .end·method
  
65 .method·protected·static·count([I)I65 .method·protected·static·count([I)I
66 ····.locals·466 ····.locals·1
67 ····.param·p0,·"array"····#·[I67 ····.param·p0,·"array"····#·[I
 68 ····.annotation·runtime·Ljava/lang/Deprecated;
 69 ····.end·annotation
  
68 ····.prologue70 ····.prologue
69 ····.line·82 
70 ····const/4·v1,·0x0 
  
71 ····.line·8371 ····.line·93
 72 ····invoke-static·{p0},·Lcom/google/zxing/common/detector/MathUtils;->sum([I)I
72 ····.local·v1,·"count":I 
73 ····array-length·v3,·p0 
  
74 ····const/4·v2,·0x0 
  
75 ····:goto_0 
76 ····if-ge·v2,·v3,·:cond_0 
  
77 ····aget·v0,·p0,·v2 
  
78 ····.line·84 
79 ····.local·v0,·"a":I 
80 ····add-int/2addr·v1,·v0 
  
81 ····.line·83 
82 ····add-int/lit8·v2,·v2,·0x1 
  
83 ····goto·:goto_073 ····move-result·v0
  
84 ····.line·86 
85 ····.end·local·v0····#·"a":I 
86 ····:cond_0 
87 ····return·v174 ····return·v0
88 .end·method75 .end·method
  
89 .method·protected·static·decrement([I[F)V76 .method·protected·static·decrement([I[F)V
90 ····.locals·477 ····.locals·4
91 ····.param·p0,·"array"····#·[I78 ····.param·p0,·"array"····#·[I
92 ····.param·p1,·"errors"····#·[F79 ····.param·p1,·"errors"····#·[F
  
93 ····.prologue80 ····.prologue
94 ····.line·10281 ····.line·109
95 ····const/4·v2,·0x082 ····const/4·v2,·0x0
  
96 ····.line·10383 ····.line·110
97 ····.local·v2,·"index":I84 ····.local·v2,·"index":I
98 ····const/4·v3,·0x085 ····const/4·v3,·0x0
  
99 ····aget·v0,·p1,·v386 ····aget·v0,·p1,·v3
  
100 ····.line·10487 ····.line·111
101 ····.local·v0,·"biggestError":F88 ····.local·v0,·"biggestError":F
102 ····const/4·v1,·0x189 ····const/4·v1,·0x1
  
103 ····.local·v1,·"i":I90 ····.local·v1,·"i":I
104 ····:goto_091 ····:goto_0
105 ····array-length·v3,·p092 ····array-length·v3,·p0
  
106 ····if-ge·v1,·v3,·:cond_193 ····if-ge·v1,·v3,·:cond_1
  
107 ····.line·10594 ····.line·112
108 ····aget·v3,·p1,·v195 ····aget·v3,·p1,·v1
  
109 ····cmpg-float·v3,·v3,·v096 ····cmpg-float·v3,·v3,·v0
  
110 ····if-gez·v3,·:cond_097 ····if-gez·v3,·:cond_0
  
Max diff block lines reached; 6000/8890 bytes (67.49%) of diff not shown.
1.06 KB
smali/com/google/zxing/oned/rss/RSSUtils.smali
    
Offset 110, 51 lines modifiedOffset 110, 51 lines modified
110 ····.param·p1,·"maxWidth"····#·I110 ····.param·p1,·"maxWidth"····#·I
111 ····.param·p2,·"noNarrow"····#·Z111 ····.param·p2,·"noNarrow"····#·Z
  
112 ····.prologue112 ····.prologue
113 ····const/4·v12,·0x1113 ····const/4·v12,·0x1
  
114 ····.line·67114 ····.line·67
115 ····array-length·v1,·p0 
  
116 ····.line·68 
117 ····.local·v1,·"elements":I 
118 ····const/4·v5,·0x0115 ····const/4·v5,·0x0
  
119 ····.line·69116 ····.line·68
120 ····.local·v5,·"n":I117 ····.local·v5,·"n":I
121 ····array-length·v11,·p0118 ····array-length·v11,·p0
  
122 ····const/4·v10,·0x0119 ····const/4·v10,·0x0
  
123 ····:goto_0120 ····:goto_0
124 ····if-ge·v10,·v11,·:cond_0121 ····if-ge·v10,·v11,·:cond_0
  
125 ····aget·v9,·p0,·v10122 ····aget·v9,·p0,·v10
  
126 ····.line·70123 ····.line·69
127 ····.local·v9,·"width":I124 ····.local·v9,·"width":I
128 ····add-int/2addr·v5,·v9125 ····add-int/2addr·v5,·v9
  
129 ····.line·69126 ····.line·68
130 ····add-int/lit8·v10,·v10,·0x1127 ····add-int/lit8·v10,·v10,·0x1
  
131 ····goto·:goto_0128 ····goto·:goto_0
  
132 ····.line·72129 ····.line·71
133 ····.end·local·v9····#·"width":I130 ····.end·local·v9····#·"width":I
134 ····:cond_0131 ····:cond_0
135 ····const/4·v8,·0x0132 ····const/4·v8,·0x0
  
136 ····.line·73133 ····.line·72
137 ····.local·v8,·"val":I134 ····.local·v8,·"val":I
138 ····const/4·v6,·0x0135 ····const/4·v6,·0x0
  
139 ····.line·74136 ····.line·73
140 ····.local·v6,·"narrowMask":I137 ····.local·v6,·"narrowMask":I
 138 ····array-length·v1,·p0
  
 139 ····.line·74
 140 ····.local·v1,·"elements":I
141 ····const/4·v0,·0x0141 ····const/4·v0,·0x0
  
142 ····.local·v0,·"bar":I142 ····.local·v0,·"bar":I
143 ····:goto_1143 ····:goto_1
144 ····add-int/lit8·v10,·v1,·-0x1144 ····add-int/lit8·v10,·v1,·-0x1
  
145 ····if-ge·v0,·v10,·:cond_6145 ····if-ge·v0,·v10,·:cond_6
59.2 KB
smali/com/google/zxing/oned/rss/RSS14Reader.smali
    
Offset 48, 57 lines modifiedOffset 48, 57 lines modified
48 ····.locals·548 ····.locals·5
  
49 ····.prologue49 ····.prologue
50 ····const/4·v4,·0x550 ····const/4·v4,·0x5
  
51 ····const/4·v3,·0x451 ····const/4·v3,·0x4
  
52 ····.line·3752 ····.line·38
53 ····new-array·v0,·v4,·[I53 ····new-array·v0,·v4,·[I
  
54 ····fill-array-data·v0,·:array_054 ····fill-array-data·v0,·:array_0
  
55 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_EVEN_TOTAL_SUBSET:[I55 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_EVEN_TOTAL_SUBSET:[I
  
56 ····.line·3856 ····.line·39
57 ····new-array·v0,·v3,·[I57 ····new-array·v0,·v3,·[I
  
58 ····fill-array-data·v0,·:array_158 ····fill-array-data·v0,·:array_1
  
59 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_ODD_TOTAL_SUBSET:[I59 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_ODD_TOTAL_SUBSET:[I
  
60 ····.line·3960 ····.line·40
61 ····new-array·v0,·v4,·[I61 ····new-array·v0,·v4,·[I
  
62 ····fill-array-data·v0,·:array_262 ····fill-array-data·v0,·:array_2
  
63 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_GSUM:[I63 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_GSUM:[I
  
64 ····.line·4064 ····.line·41
65 ····new-array·v0,·v3,·[I65 ····new-array·v0,·v3,·[I
  
66 ····fill-array-data·v0,·:array_366 ····fill-array-data·v0,·:array_3
  
67 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_GSUM:[I67 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_GSUM:[I
  
68 ····.line·4168 ····.line·42
69 ····new-array·v0,·v4,·[I69 ····new-array·v0,·v4,·[I
  
70 ····fill-array-data·v0,·:array_470 ····fill-array-data·v0,·:array_4
  
71 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_ODD_WIDEST:[I71 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_ODD_WIDEST:[I
  
72 ····.line·4272 ····.line·43
73 ····new-array·v0,·v3,·[I73 ····new-array·v0,·v3,·[I
  
74 ····fill-array-data·v0,·:array_574 ····fill-array-data·v0,·:array_5
  
75 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_ODD_WIDEST:[I75 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_ODD_WIDEST:[I
  
76 ····.line·4476 ····.line·45
77 ····const/16·v0,·0x977 ····const/16·v0,·0x9
  
78 ····new-array·v0,·v0,·[[I78 ····new-array·v0,·v0,·[[I
  
79 ····const/4·v1,·0x079 ····const/4·v1,·0x0
  
80 ····new-array·v2,·v3,·[I80 ····new-array·v2,·v3,·[I
Offset 167, 72 lines modifiedOffset 167, 72 lines modified
  
167 ····aput-object·v2,·v0,·v1167 ····aput-object·v2,·v0,·v1
  
168 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->FINDER_PATTERNS:[[I168 ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->FINDER_PATTERNS:[[I
  
169 ····return-void169 ····return-void
  
170 ····.line·37170 ····.line·38
171 ····:array_0171 ····:array_0
172 ····.array-data·4172 ····.array-data·4
173 ········0x1173 ········0x1
174 ········0xa174 ········0xa
175 ········0x22175 ········0x22
176 ········0x46176 ········0x46
177 ········0x7e177 ········0x7e
178 ····.end·array-data178 ····.end·array-data
  
179 ····.line·38179 ····.line·39
180 ····:array_1180 ····:array_1
181 ····.array-data·4181 ····.array-data·4
182 ········0x4182 ········0x4
183 ········0x14183 ········0x14
184 ········0x30184 ········0x30
185 ········0x51185 ········0x51
186 ····.end·array-data186 ····.end·array-data
  
187 ····.line·39187 ····.line·40
188 ····:array_2188 ····:array_2
189 ····.array-data·4189 ····.array-data·4
190 ········0x0190 ········0x0
191 ········0xa1191 ········0xa1
192 ········0x3c1192 ········0x3c1
193 ········0x7df193 ········0x7df
194 ········0xa9b194 ········0xa9b
195 ····.end·array-data195 ····.end·array-data
  
196 ····.line·40196 ····.line·41
197 ····:array_3197 ····:array_3
198 ····.array-data·4198 ····.array-data·4
199 ········0x0199 ········0x0
200 ········0x150200 ········0x150
201 ········0x40c201 ········0x40c
202 ········0x5ec202 ········0x5ec
203 ····.end·array-data203 ····.end·array-data
  
204 ····.line·41204 ····.line·42
205 ····:array_4205 ····:array_4
206 ····.array-data·4206 ····.array-data·4
207 ········0x8207 ········0x8
208 ········0x6208 ········0x6
209 ········0x4209 ········0x4
210 ········0x3210 ········0x3
211 ········0x1211 ········0x1
212 ····.end·array-data212 ····.end·array-data
  
213 ····.line·42213 ····.line·43
214 ····:array_5214 ····:array_5
215 ····.array-data·4215 ····.array-data·4
216 ········0x2216 ········0x2
217 ········0x4217 ········0x4
218 ········0x6218 ········0x6
219 ········0x8219 ········0x8
220 ····.end·array-data220 ····.end·array-data
  
221 ····.line·44221 ····.line·45
222 ····:array_6222 ····:array_6
223 ····.array-data·4223 ····.array-data·4
224 ········0x3224 ········0x3
225 ········0x8225 ········0x8
Max diff block lines reached; 58077/60502 bytes (95.99%) of diff not shown.
2.49 KB
smali/com/google/zxing/oned/rss/DataCharacter.smali
    
Offset 12, 53 lines modifiedOffset 12, 53 lines modified
12 #·direct·methods12 #·direct·methods
13 .method·public·constructor·<init>(II)V13 .method·public·constructor·<init>(II)V
14 ····.locals·014 ····.locals·0
15 ····.param·p1,·"value"····#·I15 ····.param·p1,·"value"····#·I
16 ····.param·p2,·"checksumPortion"····#·I16 ····.param·p2,·"checksumPortion"····#·I
  
17 ····.prologue17 ····.prologue
18 ····.line·2418 ····.line·27
19 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V19 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
20 ····.line·2520 ····.line·28
21 ····iput·p1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I21 ····iput·p1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I
  
22 ····.line·2622 ····.line·29
23 ····iput·p2,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I23 ····iput·p2,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I
  
24 ····.line·2724 ····.line·30
25 ····return-void25 ····return-void
26 .end·method26 .end·method
  
  
27 #·virtual·methods27 #·virtual·methods
28 .method·public·final·equals(Ljava/lang/Object;)Z28 .method·public·final·equals(Ljava/lang/Object;)Z
29 ····.locals·429 ····.locals·4
30 ····.param·p1,·"o"····#·Ljava/lang/Object;30 ····.param·p1,·"o"····#·Ljava/lang/Object;
  
31 ····.prologue31 ····.prologue
32 ····const/4·v1,·0x032 ····const/4·v1,·0x0
  
33 ····.line·4433 ····.line·47
34 ····instance-of·v2,·p1,·Lcom/google/zxing/oned/rss/DataCharacter;34 ····instance-of·v2,·p1,·Lcom/google/zxing/oned/rss/DataCharacter;
  
35 ····if-nez·v2,·:cond_135 ····if-nez·v2,·:cond_1
  
36 ····.line·4836 ····.line·51
37 ····:cond_037 ····:cond_0
38 ····:goto_038 ····:goto_0
39 ····return·v139 ····return·v1
  
40 ····:cond_140 ····:cond_1
41 ····move-object·v0,·p141 ····move-object·v0,·p1
  
42 ····.line·4742 ····.line·50
43 ····check-cast·v0,·Lcom/google/zxing/oned/rss/DataCharacter;43 ····check-cast·v0,·Lcom/google/zxing/oned/rss/DataCharacter;
  
44 ····.line·4844 ····.line·51
45 ····.local·v0,·"that":Lcom/google/zxing/oned/rss/DataCharacter;45 ····.local·v0,·"that":Lcom/google/zxing/oned/rss/DataCharacter;
46 ····iget·v2,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I46 ····iget·v2,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I
  
47 ····iget·v3,·v0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I47 ····iget·v3,·v0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I
  
48 ····if-ne·v2,·v3,·:cond_048 ····if-ne·v2,·v3,·:cond_0
  
Offset 73, 49 lines modifiedOffset 73, 49 lines modified
73 ····goto·:goto_073 ····goto·:goto_0
74 .end·method74 .end·method
  
75 .method·public·final·getChecksumPortion()I75 .method·public·final·getChecksumPortion()I
76 ····.locals·176 ····.locals·1
  
77 ····.prologue77 ····.prologue
78 ····.line·3478 ····.line·37
79 ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I79 ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I
  
80 ····return·v080 ····return·v0
81 .end·method81 .end·method
  
82 .method·public·final·getValue()I82 .method·public·final·getValue()I
83 ····.locals·183 ····.locals·1
  
84 ····.prologue84 ····.prologue
85 ····.line·3085 ····.line·33
86 ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I86 ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I
  
87 ····return·v087 ····return·v0
88 .end·method88 .end·method
  
89 .method·public·final·hashCode()I89 .method·public·final·hashCode()I
90 ····.locals·290 ····.locals·2
  
91 ····.prologue91 ····.prologue
92 ····.line·5392 ····.line·56
93 ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I93 ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I
  
94 ····iget·v1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I94 ····iget·v1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I
  
95 ····xor-int/2addr·v0,·v195 ····xor-int/2addr·v0,·v1
  
96 ····return·v096 ····return·v0
97 .end·method97 .end·method
  
98 .method·public·final·toString()Ljava/lang/String;98 .method·public·final·toString()Ljava/lang/String;
99 ····.locals·299 ····.locals·2
  
100 ····.prologue100 ····.prologue
101 ····.line·39101 ····.line·42
102 ····new-instance·v0,·Ljava/lang/StringBuilder;102 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
103 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V103 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
104 ····iget·v1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I104 ····iget·v1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I
  
105 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;105 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
7.52 KB
smali/com/google/zxing/oned/rss/expanded/BitArrayBuilder.smali
    
Offset 12, 228 lines modifiedOffset 12, 227 lines modified
12 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V12 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
13 ····.line·4013 ····.line·40
14 ····return-void14 ····return-void
15 .end·method15 .end·method
  
16 .method·static·buildBitArray(Ljava/util/List;)Lcom/google/zxing/common/BitArray;16 .method·static·buildBitArray(Ljava/util/List;)Lcom/google/zxing/common/BitArray;
17 ····.locals·1317 ····.locals·12
18 ····.annotation·system·Ldalvik/annotation/Signature;18 ····.annotation·system·Ldalvik/annotation/Signature;
19 ········value·=·{19 ········value·=·{
20 ············"(",20 ············"(",
21 ············"Ljava/util/List",21 ············"Ljava/util/List",
22 ············"<",22 ············"<",
23 ············"Lcom/google/zxing/oned/rss/expanded/ExpandedPair;",23 ············"Lcom/google/zxing/oned/rss/expanded/ExpandedPair;",
24 ············">;)",24 ············">;)",
25 ············"Lcom/google/zxing/common/BitArray;"25 ············"Lcom/google/zxing/common/BitArray;"
26 ········}26 ········}
27 ····.end·annotation27 ····.end·annotation
  
28 ····.prologue28 ····.prologue
29 ····.local·p0,·"pairs":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/oned/rss/expanded/ExpandedPair;>;"29 ····.local·p0,·"pairs":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/oned/rss/expanded/ExpandedPair;>;"
30 ····const/4·v12,·0x130 ····const/4·v11,·0x1
  
31 ····.line·4331 ····.line·43
32 ····invoke-interface·{p0},·Ljava/util/List;->size()I32 ····invoke-interface·{p0},·Ljava/util/List;->size()I
  
33 ····move-result·v1133 ····move-result·v10
  
34 ····mul-int/lit8·v11,·v11,·0x234 ····shl-int/lit8·v10,·v10,·0x1
  
35 ····add-int/lit8·v2,·v11,·-0x135 ····add-int/lit8·v2,·v10,·-0x1
  
36 ····.line·4436 ····.line·44
37 ····.local·v2,·"charNumber":I37 ····.local·v2,·"charNumber":I
38 ····invoke-interface·{p0},·Ljava/util/List;->size()I38 ····invoke-interface·{p0},·Ljava/util/List;->size()I
  
39 ····move-result·v1139 ····move-result·v10
  
40 ····add-int/lit8·v11,·v11,·-0x140 ····add-int/lit8·v10,·v10,·-0x1
  
41 ····invoke-interface·{p0,·v11},·Ljava/util/List;->get(I)Ljava/lang/Object;41 ····invoke-interface·{p0,·v10},·Ljava/util/List;->get(I)Ljava/lang/Object;
  
42 ····move-result-object·v1142 ····move-result-object·v10
  
43 ····check-cast·v11,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;43 ····check-cast·v10,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;
  
44 ····invoke-virtual·{v11},·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->getRightChar()Lcom/google/zxing/oned/rss/DataCharacter;44 ····invoke-virtual·{v10},·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->getRightChar()Lcom/google/zxing/oned/rss/DataCharacter;
  
45 ····move-result-object·v1145 ····move-result-object·v10
  
46 ····if-nez·v11,·:cond_046 ····if-nez·v10,·:cond_0
  
47 ····.line·4547 ····.line·45
48 ····add-int/lit8·v2,·v2,·-0x148 ····add-int/lit8·v2,·v2,·-0x1
  
49 ····.line·4849 ····.line·48
50 ····:cond_050 ····:cond_0
51 ····mul-int/lit8·v10,·v2,·0xc51 ····mul-int/lit8·v9,·v2,·0xc
  
52 ····.line·5052 ····.line·50
53 ····.local·v10,·"size":I53 ····.local·v9,·"size":I
54 ····new-instance·v1,·Lcom/google/zxing/common/BitArray;54 ····new-instance·v1,·Lcom/google/zxing/common/BitArray;
  
55 ····invoke-direct·{v1,·v10},·Lcom/google/zxing/common/BitArray;-><init>(I)V55 ····invoke-direct·{v1,·v9},·Lcom/google/zxing/common/BitArray;-><init>(I)V
  
56 ····.line·5156 ····.line·51
57 ····.local·v1,·"binary":Lcom/google/zxing/common/BitArray;57 ····.local·v1,·"binary":Lcom/google/zxing/common/BitArray;
58 ····const/4·v0,·0x058 ····const/4·v0,·0x0
  
59 ····.line·5359 ····.line·53
60 ····.local·v0,·"accPos":I60 ····.local·v0,·"accPos":I
61 ····const/4·v11,·0x061 ····const/4·v10,·0x0
  
62 ····invoke-interface·{p0,·v11},·Ljava/util/List;->get(I)Ljava/lang/Object;62 ····invoke-interface·{p0,·v10},·Ljava/util/List;->get(I)Ljava/lang/Object;
  
63 ····move-result-object·v463 ····move-result-object·v10
  
64 ····check-cast·v4,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;64 ····check-cast·v10,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;
  
65 ····.line·5465 ····.line·54
66 ····.local·v4,·"firstPair":Lcom/google/zxing/oned/rss/expanded/ExpandedPair; 
67 ····invoke-virtual·{v4},·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->getRightChar()Lcom/google/zxing/oned/rss/DataCharacter;66 ····invoke-virtual·{v10},·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->getRightChar()Lcom/google/zxing/oned/rss/DataCharacter;
  
68 ····move-result-object·v1167 ····move-result-object·v10
  
69 ····invoke-virtual·{v11},·Lcom/google/zxing/oned/rss/DataCharacter;->getValue()I68 ····invoke-virtual·{v10},·Lcom/google/zxing/oned/rss/DataCharacter;->getValue()I
  
70 ····move-result·v569 ····move-result·v4
  
71 ····.line·5570 ····.line·55
72 ····.local·v5,·"firstValue":I71 ····.local·v4,·"firstValue":I
73 ····const/16·v6,·0xb72 ····const/16·v5,·0xb
  
74 ····.local·v6,·"i":I73 ····.local·v5,·"i":I
75 ····:goto_074 ····:goto_0
76 ····if-ltz·v6,·:cond_275 ····if-ltz·v5,·:cond_2
  
77 ····.line·5676 ····.line·56
78 ····shl-int·v11,·v12,·v677 ····shl-int·v10,·v11,·v5
  
79 ····and-int/2addr·v11,·v578 ····and-int/2addr·v10,·v4
  
80 ····if-eqz·v11,·:cond_179 ····if-eqz·v10,·:cond_1
  
81 ····.line·5780 ····.line·57
82 ····invoke-virtual·{v1,·v0},·Lcom/google/zxing/common/BitArray;->set(I)V81 ····invoke-virtual·{v1,·v0},·Lcom/google/zxing/common/BitArray;->set(I)V
  
83 ····.line·5982 ····.line·59
84 ····:cond_183 ····:cond_1
85 ····add-int/lit8·v0,·v0,·0x184 ····add-int/lit8·v0,·v0,·0x1
  
86 ····.line·5585 ····.line·55
87 ····add-int/lit8·v6,·v6,·-0x186 ····add-int/lit8·v5,·v5,·-0x1
  
88 ····goto·:goto_087 ····goto·:goto_0
  
89 ····.line·6288 ····.line·62
90 ····:cond_289 ····:cond_2
91 ····const/4·v6,·0x190 ····const/4·v5,·0x1
  
92 ····:goto_191 ····:goto_1
93 ····invoke-interface·{p0},·Ljava/util/List;->size()I92 ····invoke-interface·{p0},·Ljava/util/List;->size()I
  
94 ····move-result·v1193 ····move-result·v10
  
95 ····if-ge·v6,·v11,·:cond_794 ····if-ge·v5,·v10,·:cond_7
  
Max diff block lines reached; 3165/7572 bytes (41.80%) of diff not shown.
1.32 KB
smali/com/google/zxing/oned/rss/expanded/ExpandedPair.smali
    
Offset 249, 21 lines modifiedOffset 249, 17 lines modified
249 .method·public·toString()Ljava/lang/String;249 .method·public·toString()Ljava/lang/String;
250 ····.locals·2250 ····.locals·2
  
251 ····.prologue251 ····.prologue
252 ····.line·74252 ····.line·74
253 ····new-instance·v0,·Ljava/lang/StringBuilder;253 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
254 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V 
  
255 ····const-string·v1,·"[·"254 ····const-string·v1,·"[·"
  
256 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;255 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
257 ····move-result-object·v0 
  
258 ····iget-object·v1,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->leftChar:Lcom/google/zxing/oned/rss/DataCharacter;256 ····iget-object·v1,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->leftChar:Lcom/google/zxing/oned/rss/DataCharacter;
  
259 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;257 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
260 ····move-result-object·v0258 ····move-result-object·v0
  
Offset 303, 17 lines modifiedOffset 299, 17 lines modified
  
303 ····move-result-object·v0299 ····move-result-object·v0
  
304 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;300 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
305 ····move-result-object·v0301 ····move-result-object·v0
  
 302 ····.line·74
306 ····return-object·v0303 ····return-object·v0
  
307 ····.line·74 
308 ····:cond_0304 ····:cond_0
309 ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->finderPattern:Lcom/google/zxing/oned/rss/FinderPattern;305 ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->finderPattern:Lcom/google/zxing/oned/rss/FinderPattern;
  
310 ····.line·76306 ····.line·76
311 ····invoke-virtual·{v0},·Lcom/google/zxing/oned/rss/FinderPattern;->getValue()I307 ····invoke-virtual·{v0},·Lcom/google/zxing/oned/rss/FinderPattern;->getValue()I
  
312 ····move-result·v0308 ····move-result·v0
103 KB
smali/com/google/zxing/oned/rss/expanded/RSSExpandedReader.smali
    
Offset 70, 36 lines modifiedOffset 70, 36 lines modified
  
70 ····const/4·v5,·0x570 ····const/4·v5,·0x5
  
71 ····const/4·v4,·0x471 ····const/4·v4,·0x4
  
72 ····const/16·v3,·0x872 ····const/16·v3,·0x8
  
73 ····.line·5473 ····.line·55
74 ····new-array·v0,·v5,·[I74 ····new-array·v0,·v5,·[I
  
75 ····fill-array-data·v0,·:array_075 ····fill-array-data·v0,·:array_0
  
76 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->SYMBOL_WIDEST:[I76 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->SYMBOL_WIDEST:[I
  
77 ····.line·5577 ····.line·56
78 ····new-array·v0,·v5,·[I78 ····new-array·v0,·v5,·[I
  
79 ····fill-array-data·v0,·:array_179 ····fill-array-data·v0,·:array_1
  
80 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->EVEN_TOTAL_SUBSET:[I80 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->EVEN_TOTAL_SUBSET:[I
  
81 ····.line·5681 ····.line·57
82 ····new-array·v0,·v5,·[I82 ····new-array·v0,·v5,·[I
  
83 ····fill-array-data·v0,·:array_283 ····fill-array-data·v0,·:array_2
  
84 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->GSUM:[I84 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->GSUM:[I
  
85 ····.line·5885 ····.line·59
86 ····const/4·v0,·0x686 ····const/4·v0,·0x6
  
87 ····new-array·v0,·v0,·[[I87 ····new-array·v0,·v0,·[[I
  
88 ····const/4·v1,·0x088 ····const/4·v1,·0x0
  
89 ····new-array·v2,·v4,·[I89 ····new-array·v2,·v4,·[I
Offset 138, 15 lines modifiedOffset 138, 15 lines modified
  
138 ····fill-array-data·v1,·:array_8138 ····fill-array-data·v1,·:array_8
  
139 ····aput-object·v1,·v0,·v5139 ····aput-object·v1,·v0,·v5
  
140 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->FINDER_PATTERNS:[[I140 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->FINDER_PATTERNS:[[I
  
141 ····.line·67141 ····.line·68
142 ····const/16·v0,·0x17142 ····const/16·v0,·0x17
  
143 ····new-array·v0,·v0,·[[I143 ····new-array·v0,·v0,·[[I
  
144 ····const/4·v1,·0x0144 ····const/4·v1,·0x0
  
145 ····new-array·v2,·v3,·[I145 ····new-array·v2,·v3,·[I
Offset 319, 15 lines modifiedOffset 319, 15 lines modified
  
319 ····fill-array-data·v2,·:array_1f319 ····fill-array-data·v2,·:array_1f
  
320 ····aput-object·v2,·v0,·v1320 ····aput-object·v2,·v0,·v1
  
321 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->WEIGHTS:[[I321 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->WEIGHTS:[[I
  
322 ····.line·100322 ····.line·101
323 ····const/16·v0,·0xa323 ····const/16·v0,·0xa
  
324 ····new-array·v0,·v0,·[[I324 ····new-array·v0,·v0,·[[I
  
325 ····const/4·v1,·0x0325 ····const/4·v1,·0x0
  
326 ····new-array·v2,·v6,·[I326 ····new-array·v2,·v6,·[I
Offset 408, 45 lines modifiedOffset 408, 45 lines modified
  
408 ····aput-object·v2,·v0,·v1408 ····aput-object·v2,·v0,·v1
  
409 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->FINDER_PATTERN_SEQUENCES:[[I409 ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->FINDER_PATTERN_SEQUENCES:[[I
  
410 ····return-void410 ····return-void
  
411 ····.line·54411 ····.line·55
412 ····:array_0412 ····:array_0
413 ····.array-data·4413 ····.array-data·4
414 ········0x7414 ········0x7
415 ········0x5415 ········0x5
416 ········0x4416 ········0x4
417 ········0x3417 ········0x3
418 ········0x1418 ········0x1
419 ····.end·array-data419 ····.end·array-data
  
420 ····.line·55420 ····.line·56
421 ····:array_1421 ····:array_1
422 ····.array-data·4422 ····.array-data·4
423 ········0x4423 ········0x4
424 ········0x14424 ········0x14
425 ········0x34425 ········0x34
426 ········0x68426 ········0x68
427 ········0xcc427 ········0xcc
428 ····.end·array-data428 ····.end·array-data
  
429 ····.line·56429 ····.line·57
430 ····:array_2430 ····:array_2
431 ····.array-data·4431 ····.array-data·4
432 ········0x0432 ········0x0
433 ········0x15c433 ········0x15c
434 ········0x56c434 ········0x56c
435 ········0xb84435 ········0xb84
436 ········0xf94436 ········0xf94
437 ····.end·array-data437 ····.end·array-data
  
438 ····.line·58438 ····.line·59
439 ····:array_3439 ····:array_3
440 ····.array-data·4440 ····.array-data·4
441 ········0x1441 ········0x1
442 ········0x8442 ········0x8
443 ········0x4443 ········0x4
444 ········0x1444 ········0x1
445 ····.end·array-data445 ····.end·array-data
Offset 487, 15 lines modifiedOffset 487, 15 lines modified
487 ····.array-data·4487 ····.array-data·4
488 ········0x2488 ········0x2
489 ········0x2489 ········0x2
490 ········0x9490 ········0x9
491 ········0x1491 ········0x1
492 ····.end·array-data492 ····.end·array-data
  
493 ····.line·67493 ····.line·68
494 ····:array_9494 ····:array_9
495 ····.array-data·4495 ····.array-data·4
496 ········0x1496 ········0x1
497 ········0x3497 ········0x3
Max diff block lines reached; 102504/104908 bytes (97.71%) of diff not shown.
836 B
smali/com/google/zxing/oned/rss/expanded/ExpandedRow.smali
    
Offset 199, 21 lines modifiedOffset 199, 17 lines modified
199 .method·public·toString()Ljava/lang/String;199 .method·public·toString()Ljava/lang/String;
200 ····.locals·2200 ····.locals·2
  
201 ····.prologue201 ····.prologue
202 ····.line·56202 ····.line·56
203 ····new-instance·v0,·Ljava/lang/StringBuilder;203 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
204 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V 
  
205 ····const-string·v1,·"{·"204 ····const-string·v1,·"{·"
  
206 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;205 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
207 ····move-result-object·v0 
  
208 ····iget-object·v1,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedRow;->pairs:Ljava/util/List;206 ····iget-object·v1,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedRow;->pairs:Ljava/util/List;
  
209 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;207 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
210 ····move-result-object·v0208 ····move-result-object·v0
  
1.57 KB
smali/com/google/zxing/oned/rss/expanded/decoders/AI01decoder.smali
    
Offset 1, 14 lines modifiedOffset 1, 14 lines modified
1 .class·abstract·Lcom/google/zxing/oned/rss/expanded/decoders/AI01decoder;1 .class·abstract·Lcom/google/zxing/oned/rss/expanded/decoders/AI01decoder;
2 .super·Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder;2 .super·Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder;
3 .source·"AI01decoder.java"3 .source·"AI01decoder.java"
  
  
4 #·static·fields4 #·static·fields
5 .field·protected·static·final·GTIN_SIZE:I·=·0x285 .field·static·final·GTIN_SIZE:I·=·0x28
  
  
6 #·direct·methods6 #·direct·methods
7 .method·constructor·<init>(Lcom/google/zxing/common/BitArray;)V7 .method·constructor·<init>(Lcom/google/zxing/common/BitArray;)V
8 ····.locals·08 ····.locals·0
9 ····.param·p1,·"information"····#·Lcom/google/zxing/common/BitArray;9 ····.param·p1,·"information"····#·Lcom/google/zxing/common/BitArray;
  
Offset 85, 15 lines modifiedOffset 85, 15 lines modified
  
85 ····.line·7985 ····.line·79
86 ····return-void86 ····return-void
87 .end·method87 .end·method
  
  
88 #·virtual·methods88 #·virtual·methods
89 .method·protected·final·encodeCompressedGtin(Ljava/lang/StringBuilder;I)V89 .method·final·encodeCompressedGtin(Ljava/lang/StringBuilder;I)V
90 ····.locals·290 ····.locals·2
91 ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder;91 ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder;
92 ····.param·p2,·"currentPos"····#·I92 ····.param·p2,·"currentPos"····#·I
  
93 ····.prologue93 ····.prologue
94 ····.line·4494 ····.line·44
95 ····const-string·v1,·"(01)"95 ····const-string·v1,·"(01)"
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ····.line·48114 ····.line·48
115 ····invoke-virtual·{p0,·p1,·p2,·v0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI01decoder;->encodeCompressedGtinWithoutAI(Ljava/lang/StringBuilder;II)V115 ····invoke-virtual·{p0,·p1,·p2,·v0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI01decoder;->encodeCompressedGtinWithoutAI(Ljava/lang/StringBuilder;II)V
  
116 ····.line·49116 ····.line·49
117 ····return-void117 ····return-void
118 .end·method118 .end·method
  
119 .method·protected·final·encodeCompressedGtinWithoutAI(Ljava/lang/StringBuilder;II)V119 .method·final·encodeCompressedGtinWithoutAI(Ljava/lang/StringBuilder;II)V
120 ····.locals·6120 ····.locals·6
121 ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder;121 ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder;
122 ····.param·p2,·"currentPos"····#·I122 ····.param·p2,·"currentPos"····#·I
123 ····.param·p3,·"initialBufferPosition"····#·I123 ····.param·p3,·"initialBufferPosition"····#·I
  
124 ····.prologue124 ····.prologue
125 ····const/16·v5,·0x30125 ····const/16·v5,·0x30
1.41 KB
smali/com/google/zxing/oned/rss/expanded/decoders/FieldParser.smali
    
Offset 2839, 21 lines modifiedOffset 2839, 17 lines modified
  
2839 ····move-result-object·v32839 ····move-result-object·v3
  
2840 ····.line·2712840 ····.line·271
2841 ····.local·v3,·"remaining":Ljava/lang/String;2841 ····.local·v3,·"remaining":Ljava/lang/String;
2842 ····new-instance·v5,·Ljava/lang/StringBuilder;2842 ····new-instance·v5,·Ljava/lang/StringBuilder;
  
 2843 ····const-string·v6,·"("
2843 ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V 
  
2844 ····const/16·v6,·0x28 
  
2845 ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; 
  
2846 ····move-result-object·v52844 ····invoke-direct·{v5,·v6},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
2847 ····invoke-virtual·{v5,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;2845 ····invoke-virtual·{v5,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
2848 ····move-result-object·v52846 ····move-result-object·v5
  
2849 ····const/16·v6,·0x292847 ····const/16·v6,·0x29
  
Offset 2951, 21 lines modifiedOffset 2947, 17 lines modified
  
2951 ····move-result-object·v42947 ····move-result-object·v4
  
2952 ····.line·2872948 ····.line·287
2953 ····.local·v4,·"remaining":Ljava/lang/String;2949 ····.local·v4,·"remaining":Ljava/lang/String;
2954 ····new-instance·v6,·Ljava/lang/StringBuilder;2950 ····new-instance·v6,·Ljava/lang/StringBuilder;
  
 2951 ····const-string·v7,·"("
2955 ····invoke-direct·{v6},·Ljava/lang/StringBuilder;-><init>()V 
  
2956 ····const/16·v7,·0x28 
  
2957 ····invoke-virtual·{v6,·v7},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;2952 ····invoke-direct·{v6,·v7},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
2958 ····move-result-object·v6 
  
2959 ····invoke-virtual·{v6,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;2953 ····invoke-virtual·{v6,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
2960 ····move-result-object·v62954 ····move-result-object·v6
  
2961 ····const/16·v7,·0x292955 ····const/16·v7,·0x29
  
647 B
smali/com/google/zxing/oned/rss/expanded/decoders/AI01weightDecoder.smali
    
Offset 20, 15 lines modifiedOffset 20, 15 lines modified
20 #·virtual·methods20 #·virtual·methods
21 .method·protected·abstract·addWeightCode(Ljava/lang/StringBuilder;I)V21 .method·protected·abstract·addWeightCode(Ljava/lang/StringBuilder;I)V
22 .end·method22 .end·method
  
23 .method·protected·abstract·checkWeight(I)I23 .method·protected·abstract·checkWeight(I)I
24 .end·method24 .end·method
  
25 .method·protected·final·encodeCompressedWeight(Ljava/lang/StringBuilder;II)V25 .method·final·encodeCompressedWeight(Ljava/lang/StringBuilder;II)V
26 ····.locals·526 ····.locals·5
27 ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder;27 ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder;
28 ····.param·p2,·"currentPos"····#·I28 ····.param·p2,·"currentPos"····#·I
29 ····.param·p3,·"weightSize"····#·I29 ····.param·p3,·"weightSize"····#·I
  
30 ····.prologue30 ····.prologue
31 ····.line·4131 ····.line·41
18.0 KB
smali/com/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder.smali
    
Offset 129, 21 lines modifiedOffset 129, 17 lines modified
129 ····packed-switch·v2,·:pswitch_data_0129 ····packed-switch·v2,·:pswitch_data_0
  
130 ····.line·418130 ····.line·418
131 ····new-instance·v3,·Ljava/lang/IllegalStateException;131 ····new-instance·v3,·Ljava/lang/IllegalStateException;
  
132 ····new-instance·v4,·Ljava/lang/StringBuilder;132 ····new-instance·v4,·Ljava/lang/StringBuilder;
  
133 ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V 
  
134 ····const-string·v5,·"Decoding·invalid·alphanumeric·value:·"133 ····const-string·v5,·"Decoding·invalid·alphanumeric·value:·"
  
135 ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;134 ····invoke-direct·{v4,·v5},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
136 ····move-result-object·v4 
  
137 ····invoke-virtual·{v4,·v2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;135 ····invoke-virtual·{v4,·v2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
138 ····move-result-object·v4136 ····move-result-object·v4
  
139 ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;137 ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
Offset 212, 153 lines modifiedOffset 208, 152 lines modified
212 ········:pswitch_2208 ········:pswitch_2
213 ········:pswitch_3209 ········:pswitch_3
214 ········:pswitch_4210 ········:pswitch_4
215 ····.end·packed-switch211 ····.end·packed-switch
216 .end·method212 .end·method
  
217 .method·private·decodeIsoIec646(I)Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;213 .method·private·decodeIsoIec646(I)Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;
218 ····.locals·7214 ····.locals·6
219 ····.param·p1,·"pos"····#·I215 ····.param·p1,·"pos"····#·I
220 ····.annotation·system·Ldalvik/annotation/Throws;216 ····.annotation·system·Ldalvik/annotation/Throws;
221 ········value·=·{217 ········value·=·{
222 ············Lcom/google/zxing/FormatException;218 ············Lcom/google/zxing/FormatException;
223 ········}219 ········}
224 ····.end·annotation220 ····.end·annotation
  
225 ····.prologue221 ····.prologue
226 ····const/16·v6,·0x5a222 ····const/16·v5,·0x5a
  
227 ····const/16·v5,·0xf223 ····const/16·v4,·0xf
  
228 ····const/4·v4,·0x5224 ····const/4·v3,·0x5
  
229 ····.line·274225 ····.line·274
230 ····invoke-virtual·{p0,·p1,·v4},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(II)I226 ····invoke-virtual·{p0,·p1,·v3},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(II)I
  
231 ····move-result·v2227 ····move-result·v1
  
232 ····.line·275228 ····.line·275
233 ····.local·v2,·"fiveBitValue":I229 ····.local·v1,·"fiveBitValue":I
234 ····if-ne·v2,·v5,·:cond_0230 ····if-ne·v1,·v4,·:cond_0
  
235 ····.line·276231 ····.line·276
236 ····new-instance·v4,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;232 ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;
  
237 ····add-int/lit8·v5,·p1,·0x5233 ····add-int/lit8·v4,·p1,·0x5
  
238 ····const/16·v6,·0x24234 ····const/16·v5,·0x24
  
239 ····invoke-direct·{v4,·v5,·v6},·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;-><init>(IC)V235 ····invoke-direct·{v3,·v4,·v5},·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;-><init>(IC)V
  
240 ····.line·362236 ····.line·362
241 ····:goto_0237 ····:goto_0
242 ····return-object·v4238 ····return-object·v3
  
243 ····.line·279239 ····.line·279
244 ····:cond_0240 ····:cond_0
245 ····if-lt·v2,·v4,·:cond_1241 ····if-lt·v1,·v3,·:cond_1
  
246 ····if-ge·v2,·v5,·:cond_1242 ····if-ge·v1,·v4,·:cond_1
  
247 ····.line·280243 ····.line·280
248 ····new-instance·v4,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;244 ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;
  
249 ····add-int/lit8·v5,·p1,·0x5245 ····add-int/lit8·v4,·p1,·0x5
  
250 ····add-int/lit8·v6,·v2,·0x30246 ····add-int/lit8·v5,·v1,·0x30
  
251 ····add-int/lit8·v6,·v6,·-0x5247 ····add-int/lit8·v5,·v5,·-0x5
  
252 ····int-to-char·v6,·v6248 ····int-to-char·v5,·v5
  
253 ····invoke-direct·{v4,·v5,·v6},·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;-><init>(IC)V249 ····invoke-direct·{v3,·v4,·v5},·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;-><init>(IC)V
  
254 ····goto·:goto_0250 ····goto·:goto_0
  
255 ····.line·283251 ····.line·283
256 ····:cond_1252 ····:cond_1
257 ····const/4·v4,·0x7253 ····const/4·v3,·0x7
  
258 ····invoke-virtual·{p0,·p1,·v4},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(II)I254 ····invoke-virtual·{p0,·p1,·v3},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(II)I
  
259 ····move-result·v3255 ····move-result·v2
  
260 ····.line·285256 ····.line·285
261 ····.local·v3,·"sevenBitValue":I257 ····.local·v2,·"sevenBitValue":I
262 ····const/16·v4,·0x40258 ····const/16·v3,·0x40
  
263 ····if-lt·v3,·v4,·:cond_2259 ····if-lt·v2,·v3,·:cond_2
  
264 ····if-ge·v3,·v6,·:cond_2260 ····if-ge·v2,·v5,·:cond_2
  
265 ····.line·286261 ····.line·286
266 ····new-instance·v4,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;262 ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;
  
267 ····add-int/lit8·v5,·p1,·0x7263 ····add-int/lit8·v4,·p1,·0x7
  
268 ····add-int/lit8·v6,·v3,·0x1264 ····add-int/lit8·v5,·v2,·0x1
  
269 ····int-to-char·v6,·v6265 ····int-to-char·v5,·v5
  
270 ····invoke-direct·{v4,·v5,·v6},·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;-><init>(IC)V266 ····invoke-direct·{v3,·v4,·v5},·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;-><init>(IC)V
  
271 ····goto·:goto_0267 ····goto·:goto_0
  
272 ····.line·289268 ····.line·289
273 ····:cond_2269 ····:cond_2
274 ····if-lt·v3,·v6,·:cond_3270 ····if-lt·v2,·v5,·:cond_3
  
275 ····const/16·v4,·0x74271 ····const/16·v3,·0x74
  
276 ····if-ge·v3,·v4,·:cond_3272 ····if-ge·v2,·v3,·:cond_3
  
277 ····.line·290273 ····.line·290
278 ····new-instance·v4,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;274 ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;
  
Max diff block lines reached; 13459/18257 bytes (73.72%) of diff not shown.
5.8 KB
smali/com/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder.smali
    
Offset 35, 159 lines modifiedOffset 35, 153 lines modified
35 ····iput-object·p2,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->firstAIdigits:Ljava/lang/String;35 ····iput-object·p2,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->firstAIdigits:Ljava/lang/String;
  
36 ····.line·4936 ····.line·49
37 ····return-void37 ····return-void
38 .end·method38 .end·method
  
39 .method·private·encodeCompressedDate(Ljava/lang/StringBuilder;I)V39 .method·private·encodeCompressedDate(Ljava/lang/StringBuilder;I)V
40 ····.locals·740 ····.locals·6
41 ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder;41 ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder;
42 ····.param·p2,·"currentPos"····#·I42 ····.param·p2,·"currentPos"····#·I
  
43 ····.prologue43 ····.prologue
44 ····const/16·v6,·0x3044 ····const/16·v5,·0x30
  
45 ····.line·6745 ····.line·67
46 ····invoke-virtual·{p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->getGeneralDecoder()Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;46 ····invoke-virtual·{p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->getGeneralDecoder()Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;
  
47 ····move-result-object·v447 ····move-result-object·v3
  
48 ····const/16·v5,·0x1048 ····const/16·v4,·0x10
  
49 ····invoke-virtual·{v4,·p2,·v5},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(II)I49 ····invoke-virtual·{v3,·p2,·v4},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(II)I
  
50 ····move-result·v250 ····move-result·v2
  
51 ····.line·6851 ····.line·68
52 ····.local·v2,·"numericDate":I52 ····.local·v2,·"numericDate":I
53 ····const·v4,·0x960053 ····const·v3,·0x9600
  
54 ····if-ne·v2,·v4,·:cond_054 ····if-ne·v2,·v3,·:cond_0
  
55 ····.line·9455 ····.line·94
56 ····:goto_056 ····:goto_0
57 ····return-void57 ····return-void
  
58 ····.line·7258 ····.line·72
59 ····:cond_059 ····:cond_0
60 ····const/16·v4,·0x2860 ····const/16·v3,·0x28
  
61 ····invoke-virtual·{p1,·v4},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;61 ····invoke-virtual·{p1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
62 ····.line·7362 ····.line·73
63 ····iget-object·v4,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->dateCode:Ljava/lang/String;63 ····iget-object·v3,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->dateCode:Ljava/lang/String;
  
64 ····invoke-virtual·{p1,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;64 ····invoke-virtual·{p1,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
65 ····.line·7465 ····.line·74
66 ····const/16·v4,·0x2966 ····const/16·v3,·0x29
  
67 ····invoke-virtual·{p1,·v4},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;67 ····invoke-virtual·{p1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
68 ····.line·7668 ····.line·76
69 ····rem-int/lit8·v0,·v2,·0x2069 ····rem-int/lit8·v0,·v2,·0x20
  
70 ····.line·7770 ····.line·77
71 ····.local·v0,·"day":I71 ····.local·v0,·"day":I
72 ····div-int/lit8·v2,·v2,·0x2072 ····div-int/lit8·v2,·v2,·0x20
  
73 ····.line·7873 ····.line·78
74 ····rem-int/lit8·v4,·v2,·0xc74 ····rem-int/lit8·v3,·v2,·0xc
  
75 ····add-int/lit8·v1,·v4,·0x175 ····add-int/lit8·v1,·v3,·0x1
  
76 ····.line·7976 ····.line·79
77 ····.local·v1,·"month":I77 ····.local·v1,·"month":I
78 ····div-int/lit8·v2,·v2,·0xc78 ····div-int/lit8·v2,·v2,·0xc
  
79 ····.line·80 
80 ····move·v3,·v2 
  
81 ····.line·8279 ····.line·82
82 ····.local·v3,·"year":I 
83 ····div-int/lit8·v4,·v3,·0xa80 ····div-int/lit8·v3,·v2,·0xa
  
84 ····if-nez·v4,·:cond_181 ····if-nez·v3,·:cond_1
  
85 ····.line·8382 ····.line·83
86 ····invoke-virtual·{p1,·v6},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;83 ····invoke-virtual·{p1,·v5},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
87 ····.line·8584 ····.line·85
88 ····:cond_185 ····:cond_1
89 ····invoke-virtual·{p1,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;86 ····invoke-virtual·{p1,·v2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
90 ····.line·8687 ····.line·86
91 ····div-int/lit8·v4,·v1,·0xa88 ····div-int/lit8·v3,·v1,·0xa
  
92 ····if-nez·v4,·:cond_289 ····if-nez·v3,·:cond_2
  
93 ····.line·8790 ····.line·87
94 ····invoke-virtual·{p1,·v6},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;91 ····invoke-virtual·{p1,·v5},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
95 ····.line·8992 ····.line·89
96 ····:cond_293 ····:cond_2
97 ····invoke-virtual·{p1,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;94 ····invoke-virtual·{p1,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
98 ····.line·9095 ····.line·90
99 ····div-int/lit8·v4,·v0,·0xa96 ····div-int/lit8·v3,·v0,·0xa
  
100 ····if-nez·v4,·:cond_397 ····if-nez·v3,·:cond_3
  
101 ····.line·9198 ····.line·91
102 ····invoke-virtual·{p1,·v6},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;99 ····invoke-virtual·{p1,·v5},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
103 ····.line·93100 ····.line·93
104 ····:cond_3101 ····:cond_3
105 ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;102 ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
106 ····goto·:goto_0103 ····goto·:goto_0
107 .end·method104 .end·method
  
  
108 #·virtual·methods105 #·virtual·methods
109 .method·protected·addWeightCode(Ljava/lang/StringBuilder;I)V106 .method·protected·addWeightCode(Ljava/lang/StringBuilder;I)V
110 ····.locals·2107 ····.locals·1
111 ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder;108 ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder;
112 ····.param·p2,·"weight"····#·I109 ····.param·p2,·"weight"····#·I
  
113 ····.prologue110 ····.prologue
114 ····.line·98111 ····.line·98
115 ····const·v1,·0x186a0112 ····const/16·v0,·0x28
  
116 ····div-int·v0,·p2,·v1113 ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
117 ····.line·99114 ····.line·99
 115 ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->firstAIdigits:Ljava/lang/String;
118 ····.local·v0,·"lastAI":I 
119 ····const/16·v1,·0x28 
Max diff block lines reached; 1146/5797 bytes (19.77%) of diff not shown.
12.9 KB
smali/com/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder.smali
    
Offset 29, 241 lines modifiedOffset 29, 230 lines modified
29 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder;->generalDecoder:Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;29 ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder;->generalDecoder:Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;
  
30 ····.line·4530 ····.line·45
31 ····return-void31 ····return-void
32 .end·method32 .end·method
  
33 .method·public·static·createDecoder(Lcom/google/zxing/common/BitArray;)Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder;33 .method·public·static·createDecoder(Lcom/google/zxing/common/BitArray;)Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder;
34 ····.locals·634 ····.locals·3
35 ····.param·p0,·"information"····#·Lcom/google/zxing/common/BitArray;35 ····.param·p0,·"information"····#·Lcom/google/zxing/common/BitArray;
  
36 ····.prologue36 ····.prologue
37 ····const/4·v4,·0x137 ····const/4·v1,·0x1
  
38 ····.line·5838 ····.line·58
39 ····invoke-virtual·{p0,·v4},·Lcom/google/zxing/common/BitArray;->get(I)Z39 ····invoke-virtual·{p0,·v1},·Lcom/google/zxing/common/BitArray;->get(I)Z
  
40 ····move-result·v340 ····move-result·v0
  
41 ····if-eqz·v3,·:cond_041 ····if-eqz·v0,·:cond_0
  
42 ····.line·5942 ····.line·59
43 ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/AI01AndOtherAIs;43 ····new-instance·v0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI01AndOtherAIs;
  
44 ····invoke-direct·{v3,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI01AndOtherAIs;-><init>(Lcom/google/zxing/common/BitArray;)V44 ····invoke-direct·{v0,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI01AndOtherAIs;-><init>(Lcom/google/zxing/common/BitArray;)V
  
45 ····.line·8745 ····.line·87
46 ····:goto_046 ····:goto_0
47 ····return-object·v347 ····return-object·v0
  
48 ····.line·6148 ····.line·61
49 ····:cond_049 ····:cond_0
50 ····const/4·v3,·0x250 ····const/4·v0,·0x2
  
51 ····invoke-virtual·{p0,·v3},·Lcom/google/zxing/common/BitArray;->get(I)Z51 ····invoke-virtual·{p0,·v0},·Lcom/google/zxing/common/BitArray;->get(I)Z
  
52 ····move-result·v352 ····move-result·v0
  
53 ····if-nez·v3,·:cond_153 ····if-nez·v0,·:cond_1
  
54 ····.line·6254 ····.line·62
55 ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/AnyAIDecoder;55 ····new-instance·v0,·Lcom/google/zxing/oned/rss/expanded/decoders/AnyAIDecoder;
  
56 ····invoke-direct·{v3,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AnyAIDecoder;-><init>(Lcom/google/zxing/common/BitArray;)V56 ····invoke-direct·{v0,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AnyAIDecoder;-><init>(Lcom/google/zxing/common/BitArray;)V
  
57 ····goto·:goto_057 ····goto·:goto_0
  
58 ····.line·6558 ····.line·65
59 ····:cond_159 ····:cond_1
60 ····const/4·v3,·0x460 ····const/4·v0,·0x4
  
61 ····invoke-static·{p0,·v4,·v3},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(Lcom/google/zxing/common/BitArray;II)I61 ····invoke-static·{p0,·v1,·v0},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(Lcom/google/zxing/common/BitArray;II)I
  
62 ····move-result·v162 ····move-result·v0
  
63 ····.line·6763 ····.line·67
64 ····.local·v1,·"fourBitEncodationMethod":I 
65 ····packed-switch·v1,·:pswitch_data_064 ····packed-switch·v0,·:pswitch_data_0
  
66 ····.line·7265 ····.line·72
67 ····const/4·v3,·0x566 ····const/4·v0,·0x5
  
68 ····invoke-static·{p0,·v4,·v3},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(Lcom/google/zxing/common/BitArray;II)I67 ····invoke-static·{p0,·v1,·v0},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(Lcom/google/zxing/common/BitArray;II)I
  
69 ····move-result·v068 ····move-result·v0
  
70 ····.line·7369 ····.line·73
71 ····.local·v0,·"fiveBitEncodationMethod":I 
72 ····packed-switch·v0,·:pswitch_data_170 ····packed-switch·v0,·:pswitch_data_1
  
73 ····.line·7871 ····.line·78
74 ····const/4·v3,·0x772 ····const/4·v0,·0x7
  
75 ····invoke-static·{p0,·v4,·v3},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(Lcom/google/zxing/common/BitArray;II)I73 ····invoke-static·{p0,·v1,·v0},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(Lcom/google/zxing/common/BitArray;II)I
  
76 ····move-result·v274 ····move-result·v0
  
77 ····.line·7975 ····.line·79
78 ····.local·v2,·"sevenBitEncodationMethod":I 
79 ····packed-switch·v2,·:pswitch_data_276 ····packed-switch·v0,·:pswitch_data_2
  
80 ····.line·9077 ····.line·90
81 ····new-instance·v3,·Ljava/lang/IllegalStateException;78 ····new-instance·v0,·Ljava/lang/IllegalStateException;
  
82 ····new-instance·v4,·Ljava/lang/StringBuilder; 
  
83 ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V 
  
84 ····const-string·v5,·"unknown·decoder:·"79 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
85 ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;80 ····const-string·v2,·"unknown·decoder:·"
  
86 ····move-result-object·v481 ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
87 ····invoke-virtual·{v4,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;82 ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
88 ····move-result-object·v483 ····move-result-object·v1
  
89 ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;84 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
90 ····move-result-object·v485 ····move-result-object·v1
  
91 ····invoke-direct·{v3,·v4},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V86 ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
92 ····throw·v387 ····throw·v0
  
93 ····.line·6888 ····.line·68
94 ····.end·local·v0····#·"fiveBitEncodationMethod":I 
95 ····.end·local·v2····#·"sevenBitEncodationMethod":I 
96 ····:pswitch_089 ····:pswitch_0
97 ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013103decoder;90 ····new-instance·v0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013103decoder;
  
98 ····invoke-direct·{v3,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI013103decoder;-><init>(Lcom/google/zxing/common/BitArray;)V91 ····invoke-direct·{v0,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI013103decoder;-><init>(Lcom/google/zxing/common/BitArray;)V
  
99 ····goto·:goto_092 ····goto·:goto_0
  
100 ····.line·6993 ····.line·69
101 ····:pswitch_194 ····:pswitch_1
102 ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/AI01320xDecoder;95 ····new-instance·v0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI01320xDecoder;
  
103 ····invoke-direct·{v3,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI01320xDecoder;-><init>(Lcom/google/zxing/common/BitArray;)V96 ····invoke-direct·{v0,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI01320xDecoder;-><init>(Lcom/google/zxing/common/BitArray;)V
  
104 ····goto·:goto_097 ····goto·:goto_0
  
105 ····.line·7498 ····.line·74
106 ····.restart·local·v0····#·"fiveBitEncodationMethod":I 
107 ····:pswitch_299 ····:pswitch_2
108 ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/AI01392xDecoder;100 ····new-instance·v0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI01392xDecoder;
Max diff block lines reached; 6535/13015 bytes (50.21%) of diff not shown.
1.53 KB
smali/com/google/zxing/aztec/AztecDetectorResult.smali
    
Offset 17, 54 lines modifiedOffset 17, 54 lines modified
17 ····.param·p1,·"bits"····#·Lcom/google/zxing/common/BitMatrix;17 ····.param·p1,·"bits"····#·Lcom/google/zxing/common/BitMatrix;
18 ····.param·p2,·"points"····#·[Lcom/google/zxing/ResultPoint;18 ····.param·p2,·"points"····#·[Lcom/google/zxing/ResultPoint;
19 ····.param·p3,·"compact"····#·Z19 ····.param·p3,·"compact"····#·Z
20 ····.param·p4,·"nbDatablocks"····#·I20 ····.param·p4,·"nbDatablocks"····#·I
21 ····.param·p5,·"nbLayers"····#·I21 ····.param·p5,·"nbLayers"····#·I
  
22 ····.prologue22 ····.prologue
23 ····.line·3423 ····.line·40
24 ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/common/DetectorResult;-><init>(Lcom/google/zxing/common/BitMatrix;[Lcom/google/zxing/ResultPoint;)V24 ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/common/DetectorResult;-><init>(Lcom/google/zxing/common/BitMatrix;[Lcom/google/zxing/ResultPoint;)V
  
25 ····.line·3525 ····.line·41
26 ····iput-boolean·p3,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->compact:Z26 ····iput-boolean·p3,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->compact:Z
  
27 ····.line·3627 ····.line·42
28 ····iput·p4,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbDatablocks:I28 ····iput·p4,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbDatablocks:I
  
29 ····.line·3729 ····.line·43
30 ····iput·p5,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbLayers:I30 ····iput·p5,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbLayers:I
  
31 ····.line·3831 ····.line·44
32 ····return-void32 ····return-void
33 .end·method33 .end·method
  
  
34 #·virtual·methods34 #·virtual·methods
35 .method·public·getNbDatablocks()I35 .method·public·getNbDatablocks()I
36 ····.locals·136 ····.locals·1
  
37 ····.prologue37 ····.prologue
38 ····.line·4538 ····.line·51
39 ····iget·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbDatablocks:I39 ····iget·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbDatablocks:I
  
40 ····return·v040 ····return·v0
41 .end·method41 .end·method
  
42 .method·public·getNbLayers()I42 .method·public·getNbLayers()I
43 ····.locals·143 ····.locals·1
  
44 ····.prologue44 ····.prologue
45 ····.line·4145 ····.line·47
46 ····iget·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbLayers:I46 ····iget·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbLayers:I
  
47 ····return·v047 ····return·v0
48 .end·method48 .end·method
  
49 .method·public·isCompact()Z49 .method·public·isCompact()Z
50 ····.locals·150 ····.locals·1
  
51 ····.prologue51 ····.prologue
52 ····.line·4952 ····.line·55
53 ····iget-boolean·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->compact:Z53 ····iget-boolean·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->compact:Z
  
54 ····return·v054 ····return·v0
55 .end·method55 .end·method
13.3 KB
smali/com/google/zxing/aztec/AztecReader.smali
    
Offset 37, 15 lines modifiedOffset 37, 15 lines modified
  
37 ····move-result-object·v037 ····move-result-object·v0
  
38 ····return-object·v038 ····return-object·v0
39 .end·method39 .end·method
  
40 .method·public·decode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result;40 .method·public·decode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result;
41 ····.locals·1641 ····.locals·20
42 ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap;42 ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap;
43 ····.annotation·system·Ldalvik/annotation/Signature;43 ····.annotation·system·Ldalvik/annotation/Signature;
44 ········value·=·{44 ········value·=·{
45 ············"(",45 ············"(",
46 ············"Lcom/google/zxing/BinaryBitmap;",46 ············"Lcom/google/zxing/BinaryBitmap;",
47 ············"Ljava/util/Map",47 ············"Ljava/util/Map",
48 ············"<",48 ············"<",
Offset 61, 248 lines modifiedOffset 61, 253 lines modified
61 ············Lcom/google/zxing/FormatException;61 ············Lcom/google/zxing/FormatException;
62 ········}62 ········}
63 ····.end·annotation63 ····.end·annotation
  
64 ····.prologue64 ····.prologue
65 ····.line·5965 ····.line·59
66 ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"66 ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"
67 ····const/4·v8,·0x067 ····const/16·v17,·0x0
  
68 ····.line·6068 ····.line·60
69 ····.local·v8,·"notFoundException":Lcom/google/zxing/NotFoundException;69 ····.local·v17,·"notFoundException":Lcom/google/zxing/NotFoundException;
70 ····const/4·v7,·0x070 ····const/16·v16,·0x0
  
71 ····.line·6171 ····.line·61
72 ····.local·v7,·"formatException":Lcom/google/zxing/FormatException;72 ····.local·v16,·"formatException":Lcom/google/zxing/FormatException;
73 ····new-instance·v3,·Lcom/google/zxing/aztec/detector/Detector;73 ····new-instance·v12,·Lcom/google/zxing/aztec/detector/Detector;
  
74 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getBlackMatrix()Lcom/google/zxing/common/BitMatrix;74 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getBlackMatrix()Lcom/google/zxing/common/BitMatrix;
  
75 ····move-result-object·v1375 ····move-result-object·v3
  
76 ····invoke-direct·{v3,·v13},·Lcom/google/zxing/aztec/detector/Detector;-><init>(Lcom/google/zxing/common/BitMatrix;)V76 ····invoke-direct·{v12,·v3},·Lcom/google/zxing/aztec/detector/Detector;-><init>(Lcom/google/zxing/common/BitMatrix;)V
  
77 ····.line·6277 ····.line·62
78 ····.local·v3,·"detector":Lcom/google/zxing/aztec/detector/Detector;78 ····.local·v12,·"detector":Lcom/google/zxing/aztec/detector/Detector;
79 ····const/4·v10,·0x079 ····const/4·v6,·0x0
  
80 ····.line·6380 ····.line·63
81 ····.local·v10,·"points":[Lcom/google/zxing/ResultPoint;81 ····.local·v6,·"points":[Lcom/google/zxing/ResultPoint;
82 ····const/4·v2,·0x082 ····const/4·v11,·0x0
  
83 ····.line·6583 ····.line·65
84 ····.local·v2,·"decoderResult":Lcom/google/zxing/common/DecoderResult;84 ····.local·v11,·"decoderResult":Lcom/google/zxing/common/DecoderResult;
85 ····const/4·v13,·0x085 ····const/4·v3,·0x0
  
86 ····:try_start_086 ····:try_start_0
87 ····invoke-virtual·{v3,·v13},·Lcom/google/zxing/aztec/detector/Detector;->detect(Z)Lcom/google/zxing/aztec/AztecDetectorResult;87 ····invoke-virtual·{v12,·v3},·Lcom/google/zxing/aztec/detector/Detector;->detect(Z)Lcom/google/zxing/aztec/AztecDetectorResult;
  
88 ····move-result-object·v488 ····move-result-object·v13
  
89 ····.line·6689 ····.line·66
90 ····.local·v4,·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult;90 ····.local·v13,·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult;
91 ····invoke-virtual·{v4},·Lcom/google/zxing/aztec/AztecDetectorResult;->getPoints()[Lcom/google/zxing/ResultPoint;91 ····invoke-virtual·{v13},·Lcom/google/zxing/aztec/AztecDetectorResult;->getPoints()[Lcom/google/zxing/ResultPoint;
  
92 ····move-result-object·v1092 ····move-result-object·v6
  
93 ····.line·6793 ····.line·67
94 ····new-instance·v13,·Lcom/google/zxing/aztec/decoder/Decoder;94 ····new-instance·v3,·Lcom/google/zxing/aztec/decoder/Decoder;
  
95 ····invoke-direct·{v13},·Lcom/google/zxing/aztec/decoder/Decoder;-><init>()V95 ····invoke-direct·{v3},·Lcom/google/zxing/aztec/decoder/Decoder;-><init>()V
  
96 ····invoke-virtual·{v13,·v4},·Lcom/google/zxing/aztec/decoder/Decoder;->decode(Lcom/google/zxing/aztec/AztecDetectorResult;)Lcom/google/zxing/common/DecoderResult;96 ····invoke-virtual·{v3,·v13},·Lcom/google/zxing/aztec/decoder/Decoder;->decode(Lcom/google/zxing/aztec/AztecDetectorResult;)Lcom/google/zxing/common/DecoderResult;
97 ····:try_end_097 ····:try_end_0
98 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_0·..·:try_end_0}·:catch_098 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0
99 ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_199 ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_1
  
100 ····move-result-object·v2100 ····move-result-object·v11
  
101 ····.line·73101 ····.line·73
102 ····.end·local·v4····#·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult;102 ····.end·local·v13····#·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult;
103 ····:goto_0103 ····:goto_0
104 ····if-nez·v2,·:cond_0104 ····if-nez·v11,·:cond_0
  
105 ····.line·75105 ····.line·75
106 ····const/4·v13,·0x1106 ····const/4·v3,·0x1
  
107 ····:try_start_1107 ····:try_start_1
108 ····invoke-virtual·{v3,·v13},·Lcom/google/zxing/aztec/detector/Detector;->detect(Z)Lcom/google/zxing/aztec/AztecDetectorResult;108 ····invoke-virtual·{v12,·v3},·Lcom/google/zxing/aztec/detector/Detector;->detect(Z)Lcom/google/zxing/aztec/AztecDetectorResult;
  
109 ····move-result-object·v4109 ····move-result-object·v13
  
110 ····.line·76110 ····.line·76
111 ····.restart·local·v4····#·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult;111 ····.restart·local·v13····#·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult;
112 ····invoke-virtual·{v4},·Lcom/google/zxing/aztec/AztecDetectorResult;->getPoints()[Lcom/google/zxing/ResultPoint;112 ····invoke-virtual·{v13},·Lcom/google/zxing/aztec/AztecDetectorResult;->getPoints()[Lcom/google/zxing/ResultPoint;
  
113 ····move-result-object·v10113 ····move-result-object·v6
  
114 ····.line·77114 ····.line·77
115 ····new-instance·v13,·Lcom/google/zxing/aztec/decoder/Decoder;115 ····new-instance·v3,·Lcom/google/zxing/aztec/decoder/Decoder;
  
116 ····invoke-direct·{v13},·Lcom/google/zxing/aztec/decoder/Decoder;-><init>()V116 ····invoke-direct·{v3},·Lcom/google/zxing/aztec/decoder/Decoder;-><init>()V
  
117 ····invoke-virtual·{v13,·v4},·Lcom/google/zxing/aztec/decoder/Decoder;->decode(Lcom/google/zxing/aztec/AztecDetectorResult;)Lcom/google/zxing/common/DecoderResult;117 ····invoke-virtual·{v3,·v13},·Lcom/google/zxing/aztec/decoder/Decoder;->decode(Lcom/google/zxing/aztec/AztecDetectorResult;)Lcom/google/zxing/common/DecoderResult;
118 ····:try_end_1118 ····:try_end_1
119 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_1·..·:try_end_1}·:catch_2119 ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_1·..·:try_end_1}·:catch_2
120 ····.catch·Lcom/google/zxing/FormatException;·{:try_start_1·..·:try_end_1}·:catch_3120 ····.catch·Lcom/google/zxing/FormatException;·{:try_start_1·..·:try_end_1}·:catch_3
  
121 ····move-result-object·v2121 ····move-result-object·v11
  
122 ····.line·89122 ····.line·89
123 ····.end·local·v4····#·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult;123 ····.end·local·v13····#·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult;
124 ····:cond_0124 ····:cond_0
125 ····if-eqz·p2,·:cond_3125 ····if-eqz·p2,·:cond_3
  
126 ····.line·90126 ····.line·90
127 ····sget-object·v13,·Lcom/google/zxing/DecodeHintType;->NEED_RESULT_POINT_CALLBACK:Lcom/google/zxing/DecodeHintType;127 ····sget-object·v3,·Lcom/google/zxing/DecodeHintType;->NEED_RESULT_POINT_CALLBACK:Lcom/google/zxing/DecodeHintType;
  
128 ····move-object/from16·v0,·p2128 ····move-object/from16·v0,·p2
  
129 ····invoke-interface·{v0,·v13},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;129 ····invoke-interface·{v0,·v3},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
130 ····move-result-object·v12130 ····move-result-object·v19
  
131 ····check-cast·v12,·Lcom/google/zxing/ResultPointCallback;131 ····check-cast·v19,·Lcom/google/zxing/ResultPointCallback;
  
132 ····.line·91132 ····.line·91
133 ····.local·v12,·"rpcb":Lcom/google/zxing/ResultPointCallback;133 ····.local·v19,·"rpcb":Lcom/google/zxing/ResultPointCallback;
134 ····if-eqz·v12,·:cond_3134 ····if-eqz·v19,·:cond_3
  
135 ····.line·92135 ····.line·92
136 ····array-length·v14,·v10136 ····array-length·v4,·v6
Max diff block lines reached; 6463/13510 bytes (47.84%) of diff not shown.
13.1 KB
smali/com/google/zxing/aztec/AztecWriter.smali
    
Offset 11, 15 lines modifiedOffset 11, 15 lines modified
  
  
11 #·direct·methods11 #·direct·methods
12 .method·static·constructor·<clinit>()V12 .method·static·constructor·<clinit>()V
13 ····.locals·113 ····.locals·1
  
14 ····.prologue14 ····.prologue
15 ····.line·3115 ····.line·34
16 ····const-string·v0,·"ISO-8859-1"16 ····const-string·v0,·"ISO-8859-1"
  
17 ····invoke-static·{v0},·Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;17 ····invoke-static·{v0},·Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
  
18 ····move-result-object·v018 ····move-result-object·v0
  
19 ····sput-object·v0,·Lcom/google/zxing/aztec/AztecWriter;->DEFAULT_CHARSET:Ljava/nio/charset/Charset;19 ····sput-object·v0,·Lcom/google/zxing/aztec/AztecWriter;->DEFAULT_CHARSET:Ljava/nio/charset/Charset;
Offset 27, 211 lines modifiedOffset 27, 206 lines modified
27 ····return-void27 ····return-void
28 .end·method28 .end·method
  
29 .method·public·constructor·<init>()V29 .method·public·constructor·<init>()V
30 ····.locals·030 ····.locals·0
  
31 ····.prologue31 ····.prologue
32 ····.line·2932 ····.line·32
33 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V33 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
34 ····return-void34 ····return-void
35 .end·method35 .end·method
  
36 .method·private·static·encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;IILjava/nio/charset/Charset;II)Lcom/google/zxing/common/BitMatrix;36 .method·private·static·encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;IILjava/nio/charset/Charset;II)Lcom/google/zxing/common/BitMatrix;
37 ····.locals·437 ····.locals·3
38 ····.param·p0,·"contents"····#·Ljava/lang/String;38 ····.param·p0,·"contents"····#·Ljava/lang/String;
39 ····.param·p1,·"format"····#·Lcom/google/zxing/BarcodeFormat;39 ····.param·p1,·"format"····#·Lcom/google/zxing/BarcodeFormat;
40 ····.param·p2,·"width"····#·I40 ····.param·p2,·"width"····#·I
41 ····.param·p3,·"height"····#·I41 ····.param·p3,·"height"····#·I
42 ····.param·p4,·"charset"····#·Ljava/nio/charset/Charset;42 ····.param·p4,·"charset"····#·Ljava/nio/charset/Charset;
43 ····.param·p5,·"eccPercent"····#·I43 ····.param·p5,·"eccPercent"····#·I
44 ····.param·p6,·"layers"····#·I44 ····.param·p6,·"layers"····#·I
  
45 ····.prologue45 ····.prologue
46 ····.line·5546 ····.line·63
47 ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->AZTEC:Lcom/google/zxing/BarcodeFormat;47 ····sget-object·v0,·Lcom/google/zxing/BarcodeFormat;->AZTEC:Lcom/google/zxing/BarcodeFormat;
  
48 ····if-eq·p1,·v1,·:cond_0 
  
49 ····.line·56 
50 ····new-instance·v1,·Ljava/lang/IllegalArgumentException; 
  
51 ····new-instance·v2,·Ljava/lang/StringBuilder;48 ····if-eq·p1,·v0,·:cond_0
  
52 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V49 ····.line·64
 50 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;
  
53 ····const-string·v3,·"Can·only·encode·AZTEC,·but·got·"51 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
54 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;52 ····const-string·v2,·"Can·only·encode·AZTEC,·but·got·"
  
55 ····move-result-object·v253 ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
56 ····invoke-virtual·{v2,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;54 ····invoke-virtual·{v1,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
57 ····move-result-object·v255 ····move-result-object·v1
  
58 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;56 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
59 ····move-result-object·v257 ····move-result-object·v1
  
60 ····invoke-direct·{v1,·v2},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V58 ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
61 ····throw·v159 ····throw·v0
  
62 ····.line·5860 ····.line·66
63 ····:cond_061 ····:cond_0
64 ····invoke-virtual·{p0,·p4},·Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B62 ····invoke-virtual·{p0,·p4},·Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
  
65 ····move-result-object·v163 ····move-result-object·v0
  
66 ····invoke-static·{v1,·p5,·p6},·Lcom/google/zxing/aztec/encoder/Encoder;->encode([BII)Lcom/google/zxing/aztec/encoder/AztecCode;64 ····invoke-static·{v0,·p5,·p6},·Lcom/google/zxing/aztec/encoder/Encoder;->encode([BII)Lcom/google/zxing/aztec/encoder/AztecCode;
  
67 ····move-result-object·v065 ····move-result-object·v0
  
68 ····.line·5966 ····.line·67
69 ····.local·v0,·"aztec":Lcom/google/zxing/aztec/encoder/AztecCode; 
70 ····invoke-static·{v0,·p2,·p3},·Lcom/google/zxing/aztec/AztecWriter;->renderResult(Lcom/google/zxing/aztec/encoder/AztecCode;II)Lcom/google/zxing/common/BitMatrix;67 ····invoke-static·{v0,·p2,·p3},·Lcom/google/zxing/aztec/AztecWriter;->renderResult(Lcom/google/zxing/aztec/encoder/AztecCode;II)Lcom/google/zxing/common/BitMatrix;
  
71 ····move-result-object·v168 ····move-result-object·v0
  
72 ····return-object·v169 ····return-object·v0
73 .end·method70 .end·method
  
74 .method·private·static·renderResult(Lcom/google/zxing/aztec/encoder/AztecCode;II)Lcom/google/zxing/common/BitMatrix;71 .method·private·static·renderResult(Lcom/google/zxing/aztec/encoder/AztecCode;II)Lcom/google/zxing/common/BitMatrix;
75 ····.locals·1672 ····.locals·16
76 ····.param·p0,·"code"····#·Lcom/google/zxing/aztec/encoder/AztecCode;73 ····.param·p0,·"code"····#·Lcom/google/zxing/aztec/encoder/AztecCode;
77 ····.param·p1,·"width"····#·I74 ····.param·p1,·"width"····#·I
78 ····.param·p2,·"height"····#·I75 ····.param·p2,·"height"····#·I
  
79 ····.prologue76 ····.prologue
80 ····.line·6377 ····.line·71
81 ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/aztec/encoder/AztecCode;->getMatrix()Lcom/google/zxing/common/BitMatrix;78 ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/aztec/encoder/AztecCode;->getMatrix()Lcom/google/zxing/common/BitMatrix;
  
82 ····move-result-object·v179 ····move-result-object·v1
  
83 ····.line·6480 ····.line·72
84 ····.local·v1,·"input":Lcom/google/zxing/common/BitMatrix;81 ····.local·v1,·"input":Lcom/google/zxing/common/BitMatrix;
85 ····if-nez·v1,·:cond_082 ····if-nez·v1,·:cond_0
  
86 ····.line·6583 ····.line·73
87 ····new-instance·v14,·Ljava/lang/IllegalStateException;84 ····new-instance·v14,·Ljava/lang/IllegalStateException;
  
88 ····invoke-direct·{v14},·Ljava/lang/IllegalStateException;-><init>()V85 ····invoke-direct·{v14},·Ljava/lang/IllegalStateException;-><init>()V
  
89 ····throw·v1486 ····throw·v14
  
90 ····.line·6787 ····.line·75
91 ····:cond_088 ····:cond_0
92 ····invoke-virtual·{v1},·Lcom/google/zxing/common/BitMatrix;->getWidth()I89 ····invoke-virtual·{v1},·Lcom/google/zxing/common/BitMatrix;->getWidth()I
  
93 ····move-result·v390 ····move-result·v3
  
94 ····.line·6891 ····.line·76
95 ····.local·v3,·"inputWidth":I92 ····.local·v3,·"inputWidth":I
96 ····invoke-virtual·{v1},·Lcom/google/zxing/common/BitMatrix;->getHeight()I93 ····invoke-virtual·{v1},·Lcom/google/zxing/common/BitMatrix;->getHeight()I
  
97 ····move-result·v294 ····move-result·v2
  
98 ····.line·6995 ····.line·77
99 ····.local·v2,·"inputHeight":I96 ····.local·v2,·"inputHeight":I
Max diff block lines reached; 8509/13312 bytes (63.92%) of diff not shown.
2.0 KB
smali/com/google/zxing/aztec/detector/Detector$Point.smali
    
Offset 23, 54 lines modifiedOffset 23, 54 lines modified
23 #·direct·methods23 #·direct·methods
24 .method·constructor·<init>(II)V24 .method·constructor·<init>(II)V
25 ····.locals·025 ····.locals·0
26 ····.param·p1,·"x"····#·I26 ····.param·p1,·"x"····#·I
27 ····.param·p2,·"y"····#·I27 ····.param·p2,·"y"····#·I
  
28 ····.prologue28 ····.prologue
29 ····.line·58229 ····.line·583
30 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V30 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
31 ····.line·58331 ····.line·584
32 ····iput·p1,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I32 ····iput·p1,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I
  
33 ····.line·58433 ····.line·585
34 ····iput·p2,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->y:I34 ····iput·p2,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->y:I
  
35 ····.line·58535 ····.line·586
36 ····return-void36 ····return-void
37 .end·method37 .end·method
  
  
38 #·virtual·methods38 #·virtual·methods
39 .method·getX()I39 .method·getX()I
40 ····.locals·140 ····.locals·1
  
41 ····.prologue41 ····.prologue
42 ····.line·58842 ····.line·589
43 ····iget·v0,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I43 ····iget·v0,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I
  
44 ····return·v044 ····return·v0
45 .end·method45 .end·method
  
46 .method·getY()I46 .method·getY()I
47 ····.locals·147 ····.locals·1
  
48 ····.prologue48 ····.prologue
49 ····.line·59249 ····.line·593
50 ····iget·v0,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->y:I50 ····iget·v0,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->y:I
  
51 ····return·v051 ····return·v0
52 .end·method52 .end·method
  
53 .method·toResultPoint()Lcom/google/zxing/ResultPoint;53 .method·toResultPoint()Lcom/google/zxing/ResultPoint;
54 ····.locals·354 ····.locals·3
  
55 ····.prologue55 ····.prologue
56 ····.line·57956 ····.line·580
57 ····new-instance·v0,·Lcom/google/zxing/ResultPoint;57 ····new-instance·v0,·Lcom/google/zxing/ResultPoint;
  
58 ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getX()I58 ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getX()I
  
59 ····move-result·v159 ····move-result·v1
  
60 ····int-to-float·v1,·v160 ····int-to-float·v1,·v1
Offset 86, 24 lines modifiedOffset 86, 20 lines modified
86 ····return-object·v086 ····return-object·v0
87 .end·method87 .end·method
  
88 .method·public·toString()Ljava/lang/String;88 .method·public·toString()Ljava/lang/String;
89 ····.locals·289 ····.locals·2
  
90 ····.prologue90 ····.prologue
91 ····.line·59791 ····.line·598
92 ····new-instance·v0,·Ljava/lang/StringBuilder;92 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
93 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V 
  
94 ····const-string·v1,·"<"93 ····const-string·v1,·"<"
  
95 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;94 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
96 ····move-result-object·v0 
  
97 ····iget·v1,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I95 ····iget·v1,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I
  
98 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;96 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
99 ····move-result-object·v097 ····move-result-object·v0
  
54.5 KB
smali/com/google/zxing/aztec/detector/Detector.smali
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
  
73 .method·private·static·distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F73 .method·private·static·distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F
74 ····.locals·474 ····.locals·4
75 ····.param·p0,·"a"····#·Lcom/google/zxing/ResultPoint;75 ····.param·p0,·"a"····#·Lcom/google/zxing/ResultPoint;
76 ····.param·p1,·"b"····#·Lcom/google/zxing/ResultPoint;76 ····.param·p1,·"b"····#·Lcom/google/zxing/ResultPoint;
  
77 ····.prologue77 ····.prologue
78 ····.line·56178 ····.line·562
79 ····invoke-virtual·{p0},·Lcom/google/zxing/ResultPoint;->getX()F79 ····invoke-virtual·{p0},·Lcom/google/zxing/ResultPoint;->getX()F
  
80 ····move-result·v080 ····move-result·v0
  
81 ····invoke-virtual·{p0},·Lcom/google/zxing/ResultPoint;->getY()F81 ····invoke-virtual·{p0},·Lcom/google/zxing/ResultPoint;->getY()F
  
82 ····move-result·v182 ····move-result·v1
Offset 103, 15 lines modifiedOffset 103, 15 lines modified
  
103 .method·private·static·distance(Lcom/google/zxing/aztec/detector/Detector$Point;Lcom/google/zxing/aztec/detector/Detector$Point;)F103 .method·private·static·distance(Lcom/google/zxing/aztec/detector/Detector$Point;Lcom/google/zxing/aztec/detector/Detector$Point;)F
104 ····.locals·4104 ····.locals·4
105 ····.param·p0,·"a"····#·Lcom/google/zxing/aztec/detector/Detector$Point;105 ····.param·p0,·"a"····#·Lcom/google/zxing/aztec/detector/Detector$Point;
106 ····.param·p1,·"b"····#·Lcom/google/zxing/aztec/detector/Detector$Point;106 ····.param·p1,·"b"····#·Lcom/google/zxing/aztec/detector/Detector$Point;
  
107 ····.prologue107 ····.prologue
108 ····.line·557108 ····.line·558
109 ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getX()I109 ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getX()I
  
110 ····move-result·v0110 ····move-result·v0
  
111 ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getY()I111 ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getY()I
  
112 ····move-result·v1112 ····move-result·v1
Offset 134, 22 lines modifiedOffset 134, 22 lines modified
134 .method·private·static·expandSquare([Lcom/google/zxing/ResultPoint;FF)[Lcom/google/zxing/ResultPoint;134 .method·private·static·expandSquare([Lcom/google/zxing/ResultPoint;FF)[Lcom/google/zxing/ResultPoint;
135 ····.locals·11135 ····.locals·11
136 ····.param·p0,·"cornerPoints"····#·[Lcom/google/zxing/ResultPoint;136 ····.param·p0,·"cornerPoints"····#·[Lcom/google/zxing/ResultPoint;
137 ····.param·p1,·"oldSide"····#·F137 ····.param·p1,·"oldSide"····#·F
138 ····.param·p2,·"newSide"····#·F138 ····.param·p2,·"newSide"····#·F
  
139 ····.prologue139 ····.prologue
140 ····.line·527140 ····.line·528
141 ····const/high16·v9,·0x40000000····#·2.0f141 ····const/high16·v9,·0x40000000····#·2.0f
  
142 ····mul-float/2addr·v9,·p1142 ····mul-float/2addr·v9,·p1
  
143 ····div-float·v4,·p2,·v9143 ····div-float·v4,·p2,·v9
  
144 ····.line·528144 ····.line·529
145 ····.local·v4,·"ratio":F145 ····.local·v4,·"ratio":F
146 ····const/4·v9,·0x0146 ····const/4·v9,·0x0
  
147 ····aget-object·v9,·p0,·v9147 ····aget-object·v9,·p0,·v9
  
148 ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getX()F148 ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getX()F
  
Offset 161, 15 lines modifiedOffset 161, 15 lines modified
  
161 ····invoke-virtual·{v10},·Lcom/google/zxing/ResultPoint;->getX()F161 ····invoke-virtual·{v10},·Lcom/google/zxing/ResultPoint;->getX()F
  
162 ····move-result·v10162 ····move-result·v10
  
163 ····sub-float·v2,·v9,·v10163 ····sub-float·v2,·v9,·v10
  
164 ····.line·529164 ····.line·530
165 ····.local·v2,·"dx":F165 ····.local·v2,·"dx":F
166 ····const/4·v9,·0x0166 ····const/4·v9,·0x0
  
167 ····aget-object·v9,·p0,·v9167 ····aget-object·v9,·p0,·v9
  
168 ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getY()F168 ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getY()F
  
Offset 181, 15 lines modifiedOffset 181, 15 lines modified
  
181 ····invoke-virtual·{v10},·Lcom/google/zxing/ResultPoint;->getY()F181 ····invoke-virtual·{v10},·Lcom/google/zxing/ResultPoint;->getY()F
  
182 ····move-result·v10182 ····move-result·v10
  
183 ····sub-float·v3,·v9,·v10183 ····sub-float·v3,·v9,·v10
  
184 ····.line·530184 ····.line·531
185 ····.local·v3,·"dy":F185 ····.local·v3,·"dy":F
186 ····const/4·v9,·0x0186 ····const/4·v9,·0x0
  
187 ····aget-object·v9,·p0,·v9187 ····aget-object·v9,·p0,·v9
  
188 ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getX()F188 ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getX()F
  
Offset 205, 15 lines modifiedOffset 205, 15 lines modified
  
205 ····add-float/2addr·v9,·v10205 ····add-float/2addr·v9,·v10
  
206 ····const/high16·v10,·0x40000000····#·2.0f206 ····const/high16·v10,·0x40000000····#·2.0f
  
207 ····div-float·v0,·v9,·v10207 ····div-float·v0,·v9,·v10
  
208 ····.line·531208 ····.line·532
209 ····.local·v0,·"centerx":F209 ····.local·v0,·"centerx":F
210 ····const/4·v9,·0x0210 ····const/4·v9,·0x0
  
211 ····aget-object·v9,·p0,·v9211 ····aget-object·v9,·p0,·v9
  
212 ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getY()F212 ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getY()F
  
Offset 229, 43 lines modifiedOffset 229, 43 lines modified
  
229 ····add-float/2addr·v9,·v10229 ····add-float/2addr·v9,·v10
  
230 ····const/high16·v10,·0x40000000····#·2.0f230 ····const/high16·v10,·0x40000000····#·2.0f
  
231 ····div-float·v1,·v9,·v10231 ····div-float·v1,·v9,·v10
  
232 ····.line·533232 ····.line·534
233 ····.local·v1,·"centery":F233 ····.local·v1,·"centery":F
234 ····new-instance·v5,·Lcom/google/zxing/ResultPoint;234 ····new-instance·v5,·Lcom/google/zxing/ResultPoint;
  
235 ····mul-float·v9,·v4,·v2235 ····mul-float·v9,·v4,·v2
  
236 ····add-float/2addr·v9,·v0236 ····add-float/2addr·v9,·v0
  
237 ····mul-float·v10,·v4,·v3237 ····mul-float·v10,·v4,·v3
  
238 ····add-float/2addr·v10,·v1238 ····add-float/2addr·v10,·v1
  
239 ····invoke-direct·{v5,·v9,·v10},·Lcom/google/zxing/ResultPoint;-><init>(FF)V239 ····invoke-direct·{v5,·v9,·v10},·Lcom/google/zxing/ResultPoint;-><init>(FF)V
  
240 ····.line·534240 ····.line·535
241 ····.local·v5,·"result0":Lcom/google/zxing/ResultPoint;241 ····.local·v5,·"result0":Lcom/google/zxing/ResultPoint;
242 ····new-instance·v7,·Lcom/google/zxing/ResultPoint;242 ····new-instance·v7,·Lcom/google/zxing/ResultPoint;
Max diff block lines reached; 52571/55753 bytes (94.29%) of diff not shown.
45.7 KB
smali/com/google/zxing/aztec/decoder/Decoder.smali
    
Offset 897, 521 lines modifiedOffset 897, 903 lines modified
897 .method·public·constructor·<init>()V897 .method·public·constructor·<init>()V
898 ····.locals·0898 ····.locals·0
  
899 ····.prologue899 ····.prologue
900 ····.line·35900 ····.line·35
901 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V901 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
902 ····.line·37 
903 ····return-void902 ····return-void
904 .end·method903 .end·method
  
 904 .method·static·convertBoolArrayToByteArray([Z)[B
 905 ····.locals·3
 906 ····.param·p0,·"boolArr"····#·[Z
  
 907 ····.prologue
 908 ····.line·356
 909 ····array-length·v2,·p0
  
 910 ····add-int/lit8·v2,·v2,·0x7
  
 911 ····div-int/lit8·v2,·v2,·0x8
  
 912 ····new-array·v0,·v2,·[B
  
 913 ····.line·357
 914 ····.local·v0,·"byteArr":[B
 915 ····const/4·v1,·0x0
  
 916 ····.local·v1,·"i":I
 917 ····:goto_0
 918 ····array-length·v2,·v0
  
 919 ····if-ge·v1,·v2,·:cond_0
  
 920 ····.line·358
 921 ····shl-int/lit8·v2,·v1,·0x3
  
 922 ····invoke-static·{p0,·v2},·Lcom/google/zxing/aztec/decoder/Decoder;->readByte([ZI)B
  
 923 ····move-result·v2
  
 924 ····aput-byte·v2,·v0,·v1
  
 925 ····.line·357
 926 ····add-int/lit8·v1,·v1,·0x1
  
 927 ····goto·:goto_0
  
 928 ····.line·360
 929 ····:cond_0
 930 ····return-object·v0
 931 .end·method
  
905 .method·private·correctBits([Z)[Z932 .method·private·correctBits([Z)[Z
906 ····.locals·21933 ····.locals·17
907 ····.param·p1,·"rawbits"····#·[Z934 ····.param·p1,·"rawbits"····#·[Z
908 ····.annotation·system·Ldalvik/annotation/Throws;935 ····.annotation·system·Ldalvik/annotation/Throws;
909 ········value·=·{936 ········value·=·{
910 ············Lcom/google/zxing/FormatException;937 ············Lcom/google/zxing/FormatException;
911 ········}938 ········}
912 ····.end·annotation939 ····.end·annotation
  
913 ····.prologue940 ····.prologue
914 ····.line·202941 ····.line·209
915 ····move-object/from16·v0,·p0942 ····move-object/from16·v0,·p0
  
916 ····iget-object·v0,·v0,·Lcom/google/zxing/aztec/decoder/Decoder;->ddata:Lcom/google/zxing/aztec/AztecDetectorResult;943 ····iget-object·v15,·v0,·Lcom/google/zxing/aztec/decoder/Decoder;->ddata:Lcom/google/zxing/aztec/AztecDetectorResult;
  
917 ····move-object/from16·v19,·v0 
  
918 ····invoke-virtual/range·{v19·..·v19},·Lcom/google/zxing/aztec/AztecDetectorResult;->getNbLayers()I944 ····invoke-virtual·{v15},·Lcom/google/zxing/aztec/AztecDetectorResult;->getNbLayers()I
  
919 ····move-result·v19945 ····move-result·v15
  
920 ····const/16·v20,·0x2946 ····const/16·v16,·0x2
  
921 ····move/from16·v0,·v19 
  
922 ····move/from16·v1,·v20947 ····move/from16·v0,·v16
  
923 ····if-gt·v0,·v1,·:cond_0948 ····if-gt·v15,·v0,·:cond_0
  
924 ····.line·203949 ····.line·210
925 ····const/4·v3,·0x6950 ····const/4·v2,·0x6
  
926 ····.line·204951 ····.line·211
927 ····.local·v3,·"codewordSize":I952 ····.local·v2,·"codewordSize":I
928 ····sget-object·v8,·Lcom/google/zxing/common/reedsolomon/GenericGF;->AZTEC_DATA_6:Lcom/google/zxing/common/reedsolomon/GenericGF;953 ····sget-object·v6,·Lcom/google/zxing/common/reedsolomon/GenericGF;->AZTEC_DATA_6:Lcom/google/zxing/common/reedsolomon/GenericGF;
  
929 ····.line·216954 ····.line·223
930 ····.local·v8,·"gf":Lcom/google/zxing/common/reedsolomon/GenericGF;955 ····.local·v6,·"gf":Lcom/google/zxing/common/reedsolomon/GenericGF;
931 ····:goto_0956 ····:goto_0
932 ····move-object/from16·v0,·p0957 ····move-object/from16·v0,·p0
  
933 ····iget-object·v0,·v0,·Lcom/google/zxing/aztec/decoder/Decoder;->ddata:Lcom/google/zxing/aztec/AztecDetectorResult;958 ····iget-object·v15,·v0,·Lcom/google/zxing/aztec/decoder/Decoder;->ddata:Lcom/google/zxing/aztec/AztecDetectorResult;
  
934 ····move-object/from16·v19,·v0 
  
935 ····invoke-virtual/range·{v19·..·v19},·Lcom/google/zxing/aztec/AztecDetectorResult;->getNbDatablocks()I959 ····invoke-virtual·{v15},·Lcom/google/zxing/aztec/AztecDetectorResult;->getNbDatablocks()I
  
936 ····move-result·v14960 ····move-result·v12
  
937 ····.line·217961 ····.line·224
938 ····.local·v14,·"numDataCodewords":I962 ····.local·v12,·"numDataCodewords":I
939 ····move-object/from16·v0,·p1963 ····move-object/from16·v0,·p1
  
940 ····array-length·v0,·v0964 ····array-length·v15,·v0
  
941 ····move/from16·v19,·v0965 ····div-int·v11,·v15,·v2
  
942 ····div-int·v13,·v19,·v3 
  
943 ····.line·218966 ····.line·225
944 ····.local·v13,·"numCodewords":I967 ····.local·v11,·"numCodewords":I
945 ····if-ge·v13,·v14,·:cond_3968 ····if-ge·v11,·v12,·:cond_3
  
946 ····.line·219969 ····.line·226
947 ····invoke-static·{},·Lcom/google/zxing/FormatException;->getFormatInstance()Lcom/google/zxing/FormatException;970 ····invoke-static·{},·Lcom/google/zxing/FormatException;->getFormatInstance()Lcom/google/zxing/FormatException;
  
948 ····move-result-object·v19971 ····move-result-object·v15
  
949 ····throw·v19972 ····throw·v15
  
950 ····.line·205973 ····.line·212
951 ····.end·local·v3····#·"codewordSize":I974 ····.end·local·v2····#·"codewordSize":I
952 ····.end·local·v8····#·"gf":Lcom/google/zxing/common/reedsolomon/GenericGF;975 ····.end·local·v6····#·"gf":Lcom/google/zxing/common/reedsolomon/GenericGF;
Max diff block lines reached; 42471/46715 bytes (90.92%) of diff not shown.
459 B
smali/com/google/zxing/aztec/decoder/Decoder$1.smali
    
Offset 19, 15 lines modifiedOffset 19, 15 lines modified
  
  
19 #·direct·methods19 #·direct·methods
20 .method·static·constructor·<clinit>()V20 .method·static·constructor·<clinit>()V
21 ····.locals·321 ····.locals·3
  
22 ····.prologue22 ····.prologue
23 ····.line·17523 ····.line·182
24 ····invoke-static·{},·Lcom/google/zxing/aztec/decoder/Decoder$Table;->values()[Lcom/google/zxing/aztec/decoder/Decoder$Table;24 ····invoke-static·{},·Lcom/google/zxing/aztec/decoder/Decoder$Table;->values()[Lcom/google/zxing/aztec/decoder/Decoder$Table;
  
25 ····move-result-object·v025 ····move-result-object·v0
  
26 ····array-length·v0,·v026 ····array-length·v0,·v0
  
27 ····new-array·v0,·v0,·[I27 ····new-array·v0,·v0,·[I
14.7 KB
smali/com/google/zxing/aztec/encoder/Encoder.smali
    
Offset 636, 27 lines modifiedOffset 636, 27 lines modified
  
636 ····invoke-direct/range·{v29·..·v30},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V636 ····invoke-direct/range·{v29·..·v30},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
637 ····throw·v29637 ····throw·v29
  
638 ····.line·89638 ····.line·89
639 ····:cond_3639 ····:cond_3
640 ····if-eqz·v9,·:cond_c640 ····if-eqz·v9,·:cond_b
  
641 ····invoke-virtual/range·{v24·..·v24},·Lcom/google/zxing/common/BitArray;->getSize()I641 ····invoke-virtual/range·{v24·..·v24},·Lcom/google/zxing/common/BitArray;->getSize()I
  
642 ····move-result·v29642 ····move-result·v29
  
643 ····mul-int/lit8·v30,·v28,·0x40643 ····shl-int/lit8·v30,·v28,·0x6
  
644 ····move/from16·v0,·v29644 ····move/from16·v0,·v29
  
645 ····move/from16·v1,·v30645 ····move/from16·v1,·v30
  
646 ····if-le·v0,·v1,·:cond_c646 ····if-le·v0,·v1,·:cond_b
  
647 ····.line·91647 ····.line·91
648 ····new-instance·v29,·Ljava/lang/IllegalArgumentException;648 ····new-instance·v29,·Ljava/lang/IllegalArgumentException;
  
649 ····const-string·v30,·"Data·to·large·for·user·specified·layer"649 ····const-string·v30,·"Data·to·large·for·user·specified·layer"
  
650 ····invoke-direct/range·{v29·..·v30},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V650 ····invoke-direct/range·{v29·..·v30},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
Offset 701, 22 lines modifiedOffset 701, 22 lines modified
  
701 ····.line·103701 ····.line·103
702 ····:cond_5702 ····:cond_5
703 ····const/16·v29,·0x3703 ····const/16·v29,·0x3
  
704 ····move/from16·v0,·v29704 ····move/from16·v0,·v29
  
705 ····if-gt·v11,·v0,·:cond_7705 ····if-gt·v11,·v0,·:cond_9
  
706 ····const/4·v9,·0x1706 ····const/4·v9,·0x1
  
707 ····.line·104707 ····.line·104
708 ····.restart·local·v9····#·"compact":Z708 ····.restart·local·v9····#·"compact":Z
709 ····:goto_3709 ····:goto_3
710 ····if-eqz·v9,·:cond_8710 ····if-eqz·v9,·:cond_a
  
711 ····add-int/lit8·v14,·v11,·0x1711 ····add-int/lit8·v14,·v11,·0x1
  
712 ····.line·105712 ····.line·105
713 ····.restart·local·v14····#·"layers":I713 ····.restart·local·v14····#·"layers":I
714 ····:goto_4714 ····:goto_4
715 ····invoke-static·{v14,·v9},·Lcom/google/zxing/aztec/encoder/Encoder;->totalBitsInLayer(IZ)I715 ····invoke-static·{v14,·v9},·Lcom/google/zxing/aztec/encoder/Encoder;->totalBitsInLayer(IZ)I
Offset 725, 103 lines modifiedOffset 725, 104 lines modified
  
725 ····.line·106725 ····.line·106
726 ····.restart·local·v25····#·"totalBitsInLayer":I726 ····.restart·local·v25····#·"totalBitsInLayer":I
727 ····move/from16·v0,·v26727 ····move/from16·v0,·v26
  
728 ····move/from16·v1,·v25728 ····move/from16·v1,·v25
  
729 ····if-le·v0,·v1,·:cond_9729 ····if-gt·v0,·v1,·:cond_8
  
730 ····.line·99 
731 ····:cond_6 
732 ····add-int/lit8·v11,·v11,·0x1 
  
733 ····goto·:goto_2 
  
734 ····.line·103 
735 ····.end·local·v9····#·"compact":Z 
736 ····.end·local·v14····#·"layers":I 
737 ····.end·local·v25····#·"totalBitsInLayer":I 
738 ····:cond_7 
739 ····const/4·v9,·0x0 
  
740 ····goto·:goto_3 
  
741 ····.restart·local·v9····#·"compact":Z 
742 ····:cond_8 
743 ····move·v14,·v11 
  
744 ····.line·104 
745 ····goto·:goto_4 
  
746 ····.line·111730 ····.line·111
747 ····.restart·local·v14····#·"layers":I 
748 ····.restart·local·v25····#·"totalBitsInLayer":I 
749 ····:cond_9 
750 ····sget-object·v29,·Lcom/google/zxing/aztec/encoder/Encoder;->WORD_SIZE:[I731 ····sget-object·v29,·Lcom/google/zxing/aztec/encoder/Encoder;->WORD_SIZE:[I
  
751 ····aget·v29,·v29,·v14732 ····aget·v29,·v29,·v14
  
752 ····move/from16·v0,·v28733 ····move/from16·v0,·v28
  
753 ····move/from16·v1,·v29734 ····move/from16·v1,·v29
  
754 ····if-eq·v0,·v1,·:cond_a735 ····if-eq·v0,·v1,·:cond_6
  
755 ····.line·112736 ····.line·112
756 ····sget-object·v29,·Lcom/google/zxing/aztec/encoder/Encoder;->WORD_SIZE:[I737 ····sget-object·v29,·Lcom/google/zxing/aztec/encoder/Encoder;->WORD_SIZE:[I
  
757 ····aget·v28,·v29,·v14738 ····aget·v28,·v29,·v14
  
758 ····.line·113739 ····.line·113
759 ····move/from16·v0,·v28740 ····move/from16·v0,·v28
  
760 ····invoke-static·{v6,·v0},·Lcom/google/zxing/aztec/encoder/Encoder;->stuffBits(Lcom/google/zxing/common/BitArray;I)Lcom/google/zxing/common/BitArray;741 ····invoke-static·{v6,·v0},·Lcom/google/zxing/aztec/encoder/Encoder;->stuffBits(Lcom/google/zxing/common/BitArray;I)Lcom/google/zxing/common/BitArray;
  
761 ····move-result-object·v24742 ····move-result-object·v24
  
762 ····.line·115743 ····.line·115
763 ····:cond_a744 ····:cond_6
764 ····rem-int·v29,·v25,·v28745 ····rem-int·v29,·v25,·v28
  
765 ····sub-int·v27,·v25,·v29746 ····sub-int·v27,·v25,·v29
  
766 ····.line·116747 ····.line·116
767 ····.restart·local·v27····#·"usableBitsInLayers":I748 ····.restart·local·v27····#·"usableBitsInLayers":I
768 ····if-eqz·v9,·:cond_b749 ····if-eqz·v9,·:cond_7
  
769 ····invoke-virtual/range·{v24·..·v24},·Lcom/google/zxing/common/BitArray;->getSize()I750 ····invoke-virtual/range·{v24·..·v24},·Lcom/google/zxing/common/BitArray;->getSize()I
  
770 ····move-result·v29751 ····move-result·v29
  
771 ····mul-int/lit8·v30,·v28,·0x40752 ····shl-int/lit8·v30,·v28,·0x6
  
772 ····move/from16·v0,·v29753 ····move/from16·v0,·v29
  
773 ····move/from16·v1,·v30754 ····move/from16·v1,·v30
Max diff block lines reached; 11941/14909 bytes (80.09%) of diff not shown.
1.15 KB
smali/com/google/zxing/aztec/encoder/SimpleToken.smali
    
Offset 64, 34 lines modifiedOffset 64, 30 lines modified
  
64 ····iget-short·v2,·p0,·Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S64 ····iget-short·v2,·p0,·Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S
  
65 ····shl-int·v2,·v3,·v265 ····shl-int·v2,·v3,·v2
  
66 ····add-int/lit8·v2,·v2,·-0x166 ····add-int/lit8·v2,·v2,·-0x1
  
67 ····and-int·v0,·v1,·v267 ····and-int/2addr·v1,·v2
  
68 ····.line·4168 ····.line·41
69 ····.local·v0,·"value":I 
70 ····iget-short·v1,·p0,·Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S69 ····iget-short·v2,·p0,·Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S
  
71 ····shl-int·v1,·v3,·v170 ····shl-int·v2,·v3,·v2
  
72 ····or-int/2addr·v0,·v171 ····or-int·v0,·v1,·v2
  
73 ····.line·4272 ····.line·42
 73 ····.local·v0,·"value":I
74 ····new-instance·v1,·Ljava/lang/StringBuilder;74 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
 75 ····const-string·v2,·"<"
75 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
76 ····const/16·v2,·0x3c 
  
77 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; 
  
78 ····move-result-object·v176 ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
79 ····iget-short·v2,·p0,·Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S77 ····iget-short·v2,·p0,·Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S
  
80 ····shl-int·v2,·v3,·v278 ····shl-int·v2,·v3,·v2
  
81 ····or-int/2addr·v2,·v079 ····or-int/2addr·v2,·v0
  
20.5 KB
smali/com/google/zxing/aztec/encoder/HighLevelEncoder.smali
    
Offset 30, 390 lines modifiedOffset 30, 384 lines modified
30 #·direct·methods30 #·direct·methods
31 .method·static·constructor·<clinit>()V31 .method·static·constructor·<clinit>()V
32 ····.locals·1332 ····.locals·13
  
33 ····.prologue33 ····.prologue
34 ····const/4·v12,·0x434 ····const/4·v12,·0x4
  
35 ····const/4·v9,·0x535 ····const/4·v8,·0x5
  
36 ····const/4·v11,·0x236 ····const/4·v11,·0x2
  
37 ····const/4·v10,·0x137 ····const/4·v10,·0x1
  
38 ····const/4·v6,·0x038 ····const/4·v6,·0x0
  
39 ····.line·4339 ····.line·43
40 ····new-array·v5,·v9,·[Ljava/lang/String;40 ····new-array·v4,·v8,·[Ljava/lang/String;
  
41 ····const-string·v7,·"UPPER"41 ····const-string·v5,·"UPPER"
  
42 ····aput-object·v7,·v5,·v642 ····aput-object·v5,·v4,·v6
  
43 ····const-string·v7,·"LOWER"43 ····const-string·v5,·"LOWER"
  
44 ····aput-object·v7,·v5,·v1044 ····aput-object·v5,·v4,·v10
  
45 ····const-string·v7,·"DIGIT"45 ····const-string·v5,·"DIGIT"
  
46 ····aput-object·v7,·v5,·v1146 ····aput-object·v5,·v4,·v11
  
47 ····const/4·v7,·0x347 ····const/4·v5,·0x3
  
48 ····const-string·v8,·"MIXED"48 ····const-string·v7,·"MIXED"
  
49 ····aput-object·v8,·v5,·v749 ····aput-object·v7,·v4,·v5
  
50 ····const-string·v7,·"PUNCT"50 ····const-string·v5,·"PUNCT"
  
51 ····aput-object·v7,·v5,·v1251 ····aput-object·v5,·v4,·v12
  
52 ····sput-object·v5,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->MODE_NAMES:[Ljava/lang/String;52 ····sput-object·v4,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->MODE_NAMES:[Ljava/lang/String;
  
53 ····.line·5653 ····.line·56
54 ····new-array·v5,·v9,·[[I54 ····new-array·v4,·v8,·[[I
  
55 ····new-array·v7,·v9,·[I55 ····new-array·v5,·v8,·[I
  
56 ····fill-array-data·v7,·:array_056 ····fill-array-data·v5,·:array_0
  
57 ····aput-object·v7,·v5,·v657 ····aput-object·v5,·v4,·v6
  
58 ····new-array·v7,·v9,·[I58 ····new-array·v5,·v8,·[I
  
59 ····fill-array-data·v7,·:array_159 ····fill-array-data·v5,·:array_1
  
60 ····aput-object·v7,·v5,·v1060 ····aput-object·v5,·v4,·v10
  
61 ····new-array·v7,·v9,·[I61 ····new-array·v5,·v8,·[I
  
62 ····fill-array-data·v7,·:array_262 ····fill-array-data·v5,·:array_2
  
63 ····aput-object·v7,·v5,·v1163 ····aput-object·v5,·v4,·v11
  
64 ····const/4·v7,·0x364 ····const/4·v5,·0x3
  
65 ····new-array·v8,·v9,·[I65 ····new-array·v7,·v8,·[I
  
66 ····fill-array-data·v8,·:array_366 ····fill-array-data·v7,·:array_3
  
67 ····aput-object·v8,·v5,·v767 ····aput-object·v7,·v4,·v5
  
68 ····new-array·v7,·v9,·[I68 ····new-array·v5,·v8,·[I
  
69 ····fill-array-data·v7,·:array_469 ····fill-array-data·v5,·:array_4
  
70 ····aput-object·v7,·v5,·v1270 ····aput-object·v5,·v4,·v12
  
71 ····sput-object·v5,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->LATCH_TABLE:[[I71 ····sput-object·v4,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->LATCH_TABLE:[[I
  
72 ····.line·9772 ····.line·97
73 ····const/16·v5,·0x10073 ····const/16·v4,·0x100
  
74 ····filled-new-array·{v9,·v5},·[I74 ····filled-new-array·{v8,·v4},·[I
  
75 ····move-result-object·v575 ····move-result-object·v4
  
76 ····sget-object·v7,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; 
  
77 ····invoke-static·{v7,·v5},·Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;76 ····sget-object·v5,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
  
78 ····move-result-object·v577 ····invoke-static·{v5,·v4},·Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;
  
79 ····check-cast·v5,·[[I78 ····move-result-object·v4
  
80 ····sput-object·v5,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->CHAR_MAP:[[I79 ····check-cast·v4,·[[I
  
81 ····.line·9980 ····.line·99
82 ····sget-object·v5,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->CHAR_MAP:[[I81 ····sput-object·v4,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->CHAR_MAP:[[I
  
83 ····aget-object·v5,·v5,·v682 ····aget-object·v4,·v4,·v6
  
84 ····const/16·v7,·0x2083 ····const/16·v5,·0x20
  
85 ····aput·v10,·v5,·v784 ····aput·v10,·v4,·v5
  
86 ····.line·10085 ····.line·100
87 ····const/16·v0,·0x4186 ····const/16·v0,·0x41
  
88 ····.local·v0,·"c":I87 ····.local·v0,·"c":I
89 ····:goto_088 ····:goto_0
90 ····const/16·v5,·0x5a89 ····const/16·v4,·0x5a
  
91 ····if-gt·v0,·v5,·:cond_090 ····if-gt·v0,·v4,·:cond_0
  
92 ····.line·10191 ····.line·101
93 ····sget-object·v5,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->CHAR_MAP:[[I92 ····sget-object·v4,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->CHAR_MAP:[[I
  
94 ····aget-object·v5,·v5,·v693 ····aget-object·v4,·v4,·v6
  
95 ····add-int/lit8·v7,·v0,·-0x4194 ····add-int/lit8·v5,·v0,·-0x41
  
96 ····add-int/lit8·v7,·v7,·0x295 ····add-int/lit8·v5,·v5,·0x2
  
97 ····aput·v7,·v5,·v096 ····aput·v5,·v4,·v0
  
98 ····.line·10097 ····.line·100
99 ····add-int/lit8·v0,·v0,·0x198 ····add-int/lit8·v0,·v0,·0x1
Max diff block lines reached; 16715/20849 bytes (80.17%) of diff not shown.
5.49 KB
smali/com/google/zxing/aztec/encoder/State.smali
    
Offset 207, 29 lines modifiedOffset 207, 29 lines modified
207 ····.end·local·p0····#·"this":Lcom/google/zxing/aztec/encoder/State;207 ····.end·local·p0····#·"this":Lcom/google/zxing/aztec/encoder/State;
208 ····:goto_0208 ····:goto_0
209 ····return-object·p0209 ····return-object·p0
  
210 ····.line·131210 ····.line·131
211 ····.restart·local·p0····#·"this":Lcom/google/zxing/aztec/encoder/State;211 ····.restart·local·p0····#·"this":Lcom/google/zxing/aztec/encoder/State;
212 ····:cond_0212 ····:cond_0
213 ····iget-object·v0,·p0,·Lcom/google/zxing/aztec/encoder/State;->token:Lcom/google/zxing/aztec/encoder/Token;213 ····iget-object·v1,·p0,·Lcom/google/zxing/aztec/encoder/State;->token:Lcom/google/zxing/aztec/encoder/Token;
  
214 ····.line·132214 ····.line·132
215 ····.local·v0,·"token":Lcom/google/zxing/aztec/encoder/Token; 
216 ····iget·v1,·p0,·Lcom/google/zxing/aztec/encoder/State;->binaryShiftByteCount:I215 ····iget·v2,·p0,·Lcom/google/zxing/aztec/encoder/State;->binaryShiftByteCount:I
  
217 ····sub-int·v1,·p1,·v1216 ····sub-int·v2,·p1,·v2
  
218 ····iget·v2,·p0,·Lcom/google/zxing/aztec/encoder/State;->binaryShiftByteCount:I217 ····iget·v3,·p0,·Lcom/google/zxing/aztec/encoder/State;->binaryShiftByteCount:I
  
219 ····invoke-virtual·{v0,·v1,·v2},·Lcom/google/zxing/aztec/encoder/Token;->addBinaryShift(II)Lcom/google/zxing/aztec/encoder/Token;218 ····invoke-virtual·{v1,·v2,·v3},·Lcom/google/zxing/aztec/encoder/Token;->addBinaryShift(II)Lcom/google/zxing/aztec/encoder/Token;
  
220 ····move-result-object·v0219 ····move-result-object·v0
  
221 ····.line·134220 ····.line·134
 221 ····.local·v0,·"token":Lcom/google/zxing/aztec/encoder/Token;
222 ····new-instance·v1,·Lcom/google/zxing/aztec/encoder/State;222 ····new-instance·v1,·Lcom/google/zxing/aztec/encoder/State;
  
223 ····iget·v2,·p0,·Lcom/google/zxing/aztec/encoder/State;->mode:I223 ····iget·v2,·p0,·Lcom/google/zxing/aztec/encoder/State;->mode:I
  
224 ····const/4·v3,·0x0224 ····const/4·v3,·0x0
  
225 ····iget·v4,·p0,·Lcom/google/zxing/aztec/encoder/State;->bitCount:I225 ····iget·v4,·p0,·Lcom/google/zxing/aztec/encoder/State;->bitCount:I
Offset 450, 18 lines modifiedOffset 450, 18 lines modified
  
450 ····aget-object·v3,·v3,·v4450 ····aget-object·v3,·v3,·v4
  
451 ····aget·v3,·v3,·p1451 ····aget·v3,·v3,·p1
  
452 ····invoke-virtual·{v1,·v3,·v0},·Lcom/google/zxing/aztec/encoder/Token;->add(II)Lcom/google/zxing/aztec/encoder/Token;452 ····invoke-virtual·{v1,·v3,·v0},·Lcom/google/zxing/aztec/encoder/Token;->add(II)Lcom/google/zxing/aztec/encoder/Token;
  
453 ····move-result-object·v1453 ····move-result-object·v3
  
454 ····.line·97454 ····.line·97
455 ····invoke-virtual·{v1,·p2,·v2},·Lcom/google/zxing/aztec/encoder/Token;->add(II)Lcom/google/zxing/aztec/encoder/Token;455 ····invoke-virtual·{v3,·p2,·v2},·Lcom/google/zxing/aztec/encoder/Token;->add(II)Lcom/google/zxing/aztec/encoder/Token;
  
456 ····move-result-object·v1456 ····move-result-object·v1
  
457 ····.line·98457 ····.line·98
458 ····new-instance·v2,·Lcom/google/zxing/aztec/encoder/State;458 ····new-instance·v2,·Lcom/google/zxing/aztec/encoder/State;
  
459 ····iget·v3,·p0,·Lcom/google/zxing/aztec/encoder/State;->mode:I459 ····iget·v3,·p0,·Lcom/google/zxing/aztec/encoder/State;->mode:I
Offset 483, 80 lines modifiedOffset 483, 78 lines modified
483 ····move·v0,·v2483 ····move·v0,·v2
  
484 ····.line·94484 ····.line·94
485 ····goto·:goto_0485 ····goto·:goto_0
486 .end·method486 .end·method
  
487 .method·toBitArray([B)Lcom/google/zxing/common/BitArray;487 .method·toBitArray([B)Lcom/google/zxing/common/BitArray;
488 ····.locals·6488 ····.locals·5
489 ····.param·p1,·"text"····#·[B489 ····.param·p1,·"text"····#·[B
  
490 ····.prologue490 ····.prologue
491 ····.line·151491 ····.line·151
492 ····new-instance·v2,·Ljava/util/LinkedList;492 ····new-instance·v1,·Ljava/util/LinkedList;
  
493 ····invoke-direct·{v2},·Ljava/util/LinkedList;-><init>()V493 ····invoke-direct·{v1},·Ljava/util/LinkedList;-><init>()V
  
494 ····.line·152494 ····.line·152
495 ····.local·v2,·"symbols":Ljava/util/Deque;,·"Ljava/util/Deque<Lcom/google/zxing/aztec/encoder/Token;>;"495 ····.local·v1,·"symbols":Ljava/util/Deque;,·"Ljava/util/Deque<Lcom/google/zxing/aztec/encoder/Token;>;"
496 ····array-length·v4,·p1496 ····array-length·v3,·p1
  
497 ····invoke-virtual·{p0,·v4},·Lcom/google/zxing/aztec/encoder/State;->endBinaryShift(I)Lcom/google/zxing/aztec/encoder/State;497 ····invoke-virtual·{p0,·v3},·Lcom/google/zxing/aztec/encoder/State;->endBinaryShift(I)Lcom/google/zxing/aztec/encoder/State;
  
498 ····move-result-object·v4498 ····move-result-object·v3
  
499 ····iget-object·v3,·v4,·Lcom/google/zxing/aztec/encoder/State;->token:Lcom/google/zxing/aztec/encoder/Token;499 ····iget-object·v2,·v3,·Lcom/google/zxing/aztec/encoder/State;->token:Lcom/google/zxing/aztec/encoder/Token;
  
500 ····.local·v3,·"token":Lcom/google/zxing/aztec/encoder/Token;500 ····.local·v2,·"token":Lcom/google/zxing/aztec/encoder/Token;
501 ····:goto_0501 ····:goto_0
502 ····if-eqz·v3,·:cond_0502 ····if-eqz·v2,·:cond_0
  
503 ····.line·153503 ····.line·153
504 ····invoke-interface·{v2,·v3},·Ljava/util/Deque;->addFirst(Ljava/lang/Object;)V504 ····invoke-interface·{v1,·v2},·Ljava/util/Deque;->addFirst(Ljava/lang/Object;)V
  
505 ····.line·152505 ····.line·152
506 ····invoke-virtual·{v3},·Lcom/google/zxing/aztec/encoder/Token;->getPrevious()Lcom/google/zxing/aztec/encoder/Token;506 ····invoke-virtual·{v2},·Lcom/google/zxing/aztec/encoder/Token;->getPrevious()Lcom/google/zxing/aztec/encoder/Token;
  
507 ····move-result-object·v3507 ····move-result-object·v2
  
508 ····goto·:goto_0508 ····goto·:goto_0
  
509 ····.line·155509 ····.line·155
510 ····:cond_0510 ····:cond_0
511 ····new-instance·v0,·Lcom/google/zxing/common/BitArray;511 ····new-instance·v0,·Lcom/google/zxing/common/BitArray;
  
512 ····invoke-direct·{v0},·Lcom/google/zxing/common/BitArray;-><init>()V512 ····invoke-direct·{v0},·Lcom/google/zxing/common/BitArray;-><init>()V
  
513 ····.line·157513 ····.line·157
514 ····.local·v0,·"bitArray":Lcom/google/zxing/common/BitArray;514 ····.local·v0,·"bitArray":Lcom/google/zxing/common/BitArray;
515 ····invoke-interface·{v2},·Ljava/util/Deque;->iterator()Ljava/util/Iterator;515 ····invoke-interface·{v1},·Ljava/util/Deque;->iterator()Ljava/util/Iterator;
  
516 ····move-result-object·v4516 ····move-result-object·v4
  
517 ····:goto_1517 ····:goto_1
518 ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z518 ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z
  
519 ····move-result·v5519 ····move-result·v3
  
520 ····if-eqz·v5,·:cond_1520 ····if-eqz·v3,·:cond_1
  
521 ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object;521 ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
522 ····move-result-object·v1522 ····move-result-object·v3
  
523 ····check-cast·v1,·Lcom/google/zxing/aztec/encoder/Token;523 ····check-cast·v3,·Lcom/google/zxing/aztec/encoder/Token;
  
524 ····.line·158524 ····.line·158
525 ····.local·v1,·"symbol":Lcom/google/zxing/aztec/encoder/Token; 
526 ····invoke-virtual·{v1,·v0,·p1},·Lcom/google/zxing/aztec/encoder/Token;->appendTo(Lcom/google/zxing/common/BitArray;[B)V525 ····invoke-virtual·{v3,·v0,·p1},·Lcom/google/zxing/aztec/encoder/Token;->appendTo(Lcom/google/zxing/common/BitArray;[B)V
  
527 ····goto·:goto_1526 ····goto·:goto_1
  
528 ····.line·161527 ····.line·161
529 ····.end·local·v1····#·"symbol":Lcom/google/zxing/aztec/encoder/Token; 
530 ····:cond_1528 ····:cond_1
531 ····return-object·v0529 ····return-object·v0
532 .end·method530 .end·method
  
Max diff block lines reached; 17/5530 bytes (0.31%) of diff not shown.
816 B
smali/com/google/zxing/aztec/encoder/BinaryShiftToken.smali
    
Offset 135, 21 lines modifiedOffset 135, 17 lines modified
135 .method·public·toString()Ljava/lang/String;135 .method·public·toString()Ljava/lang/String;
136 ····.locals·3136 ····.locals·3
  
137 ····.prologue137 ····.prologue
138 ····.line·57138 ····.line·57
139 ····new-instance·v0,·Ljava/lang/StringBuilder;139 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
140 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V 
  
141 ····const-string·v1,·"<"140 ····const-string·v1,·"<"
  
142 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;141 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
143 ····move-result-object·v0 
  
144 ····iget-short·v1,·p0,·Lcom/google/zxing/aztec/encoder/BinaryShiftToken;->binaryShiftStart:S142 ····iget-short·v1,·p0,·Lcom/google/zxing/aztec/encoder/BinaryShiftToken;->binaryShiftStart:S
  
145 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;143 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
146 ····move-result-object·v0144 ····move-result-object·v0
  
4.42 KB
smali/com/google/zxing/datamatrix/DataMatrixReader.smali
    
Offset 52, 165 lines modifiedOffset 52, 160 lines modified
52 ····.annotation·system·Ldalvik/annotation/Throws;52 ····.annotation·system·Ldalvik/annotation/Throws;
53 ········value·=·{53 ········value·=·{
54 ············Lcom/google/zxing/NotFoundException;54 ············Lcom/google/zxing/NotFoundException;
55 ········}55 ········}
56 ····.end·annotation56 ····.end·annotation
  
57 ····.prologue57 ····.prologue
 58 ····const/4·v14,·0x1
  
 59 ····const/4·v13,·0x0
  
58 ····.line·10460 ····.line·104
59 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getTopLeftOnBit()[I61 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getTopLeftOnBit()[I
  
60 ····move-result-object·v462 ····move-result-object·v4
  
61 ····.line·10563 ····.line·105
62 ····.local·v4,·"leftTopBlack":[I64 ····.local·v4,·"leftTopBlack":[I
63 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getBottomRightOnBit()[I65 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getBottomRightOnBit()[I
  
64 ····move-result-object·v1066 ····move-result-object·v9
  
65 ····.line·10667 ····.line·106
66 ····.local·v10,·"rightBottomBlack":[I68 ····.local·v9,·"rightBottomBlack":[I
67 ····if-eqz·v4,·:cond_069 ····if-eqz·v4,·:cond_0
  
68 ····if-nez·v10,·:cond_170 ····if-nez·v9,·:cond_1
  
69 ····.line·10771 ····.line·107
70 ····:cond_072 ····:cond_0
71 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;73 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
72 ····move-result-object·v1474 ····move-result-object·v13
  
73 ····throw·v1475 ····throw·v13
  
74 ····.line·11076 ····.line·110
75 ····:cond_177 ····:cond_1
76 ····invoke-static·{v4,·p0},·Lcom/google/zxing/datamatrix/DataMatrixReader;->moduleSize([ILcom/google/zxing/common/BitMatrix;)I78 ····invoke-static·{v4,·p0},·Lcom/google/zxing/datamatrix/DataMatrixReader;->moduleSize([ILcom/google/zxing/common/BitMatrix;)I
  
77 ····move-result·v779 ····move-result·v7
  
78 ····.line·11280 ····.line·112
79 ····.local·v7,·"moduleSize":I81 ····.local·v7,·"moduleSize":I
80 ····const/4·v14,·0x1 
  
81 ····aget·v11,·v4,·v1482 ····aget·v10,·v4,·v14
  
82 ····.line·11383 ····.line·113
83 ····.local·v11,·"top":I84 ····.local·v10,·"top":I
84 ····const/4·v14,·0x1 
  
85 ····aget·v1,·v10,·v1485 ····aget·v1,·v9,·v14
  
86 ····.line·11486 ····.line·114
87 ····.local·v1,·"bottom":I87 ····.local·v1,·"bottom":I
88 ····const/4·v14,·0x0 
  
89 ····aget·v3,·v4,·v1488 ····aget·v3,·v4,·v13
  
90 ····.line·11589 ····.line·115
91 ····.local·v3,·"left":I90 ····.local·v3,·"left":I
 91 ····aget·v13,·v9,·v13
92 ····const/4·v14,·0x0 
  
93 ····aget·v9,·v10,·v14 
  
94 ····.line·11792 ····.line·117
95 ····.local·v9,·"right":I 
96 ····sub-int·v14,·v9,·v393 ····sub-int/2addr·v13,·v3
  
97 ····add-int/lit8·v14,·v14,·0x194 ····add-int/lit8·v13,·v13,·0x1
  
98 ····div-int·v6,·v14,·v795 ····div-int·v6,·v13,·v7
  
99 ····.line·11896 ····.line·118
100 ····.local·v6,·"matrixWidth":I97 ····.local·v6,·"matrixWidth":I
101 ····sub-int·v14,·v1,·v1198 ····sub-int·v13,·v1,·v10
  
102 ····add-int/lit8·v14,·v14,·0x199 ····add-int/lit8·v13,·v13,·0x1
  
103 ····div-int·v5,·v14,·v7100 ····div-int·v5,·v13,·v7
  
104 ····.line·119101 ····.line·119
105 ····.local·v5,·"matrixHeight":I102 ····.local·v5,·"matrixHeight":I
106 ····if-lez·v6,·:cond_2103 ····if-lez·v6,·:cond_2
  
107 ····if-gtz·v5,·:cond_3104 ····if-gtz·v5,·:cond_3
  
108 ····.line·120105 ····.line·120
109 ····:cond_2106 ····:cond_2
110 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;107 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
111 ····move-result-object·v14108 ····move-result-object·v13
  
112 ····throw·v14109 ····throw·v13
  
113 ····.line·126110 ····.line·126
114 ····:cond_3111 ····:cond_3
115 ····div-int/lit8·v8,·v7,·0x2112 ····div-int/lit8·v8,·v7,·0x2
  
116 ····.line·127113 ····.line·127
117 ····.local·v8,·"nudge":I114 ····.local·v8,·"nudge":I
118 ····add-int/2addr·v11,·v8115 ····add-int/2addr·v10,·v8
  
119 ····.line·128116 ····.line·128
120 ····add-int/2addr·v3,·v8117 ····add-int/2addr·v3,·v8
  
121 ····.line·131118 ····.line·131
122 ····new-instance·v0,·Lcom/google/zxing/common/BitMatrix;119 ····new-instance·v0,·Lcom/google/zxing/common/BitMatrix;
  
123 ····invoke-direct·{v0,·v6,·v5},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V120 ····invoke-direct·{v0,·v6,·v5},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V
  
124 ····.line·132121 ····.line·132
125 ····.local·v0,·"bits":Lcom/google/zxing/common/BitMatrix;122 ····.local·v0,·"bits":Lcom/google/zxing/common/BitMatrix;
126 ····const/4·v13,·0x0123 ····const/4·v12,·0x0
  
127 ····.local·v13,·"y":I124 ····.local·v12,·"y":I
128 ····:goto_0125 ····:goto_0
129 ····if-ge·v13,·v5,·:cond_6126 ····if-ge·v12,·v5,·:cond_6
  
130 ····.line·133127 ····.line·133
131 ····mul-int·v14,·v13,·v7128 ····mul-int·v13,·v12,·v7
  
132 ····add-int·v2,·v11,·v14129 ····add-int·v2,·v10,·v13
  
133 ····.line·134130 ····.line·134
Max diff block lines reached; 1249/4411 bytes (28.32%) of diff not shown.
1.46 KB
smali/com/google/zxing/datamatrix/DataMatrixWriter.smali
    
Offset 395, 21 lines modifiedOffset 395, 17 lines modified
395 ····if-eq·v0,·v11,·:cond_1395 ····if-eq·v0,·v11,·:cond_1
  
396 ····.line·54396 ····.line·54
397 ····new-instance·v11,·Ljava/lang/IllegalArgumentException;397 ····new-instance·v11,·Ljava/lang/IllegalArgumentException;
  
398 ····new-instance·v12,·Ljava/lang/StringBuilder;398 ····new-instance·v12,·Ljava/lang/StringBuilder;
  
399 ····invoke-direct·{v12},·Ljava/lang/StringBuilder;-><init>()V 
  
400 ····const-string·v13,·"Can·only·encode·DATA_MATRIX,·but·got·"399 ····const-string·v13,·"Can·only·encode·DATA_MATRIX,·but·got·"
  
401 ····invoke-virtual·{v12,·v13},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;400 ····invoke-direct·{v12,·v13},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
402 ····move-result-object·v12 
  
403 ····move-object/from16·v0,·p2401 ····move-object/from16·v0,·p2
  
404 ····invoke-virtual·{v12,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;402 ····invoke-virtual·{v12,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
405 ····move-result-object·v12403 ····move-result-object·v12
  
Offset 429, 21 lines modifiedOffset 425, 17 lines modified
  
429 ····.line·58425 ····.line·58
430 ····:cond_2426 ····:cond_2
431 ····new-instance·v11,·Ljava/lang/IllegalArgumentException;427 ····new-instance·v11,·Ljava/lang/IllegalArgumentException;
  
432 ····new-instance·v12,·Ljava/lang/StringBuilder;428 ····new-instance·v12,·Ljava/lang/StringBuilder;
  
433 ····invoke-direct·{v12},·Ljava/lang/StringBuilder;-><init>()V 
  
434 ····const-string·v13,·"Requested·dimensions·are·too·small:·"429 ····const-string·v13,·"Requested·dimensions·are·too·small:·"
  
435 ····invoke-virtual·{v12,·v13},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;430 ····invoke-direct·{v12,·v13},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
436 ····move-result-object·v12 
  
437 ····move/from16·v0,·p3431 ····move/from16·v0,·p3
  
438 ····invoke-virtual·{v12,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;432 ····invoke-virtual·{v12,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
439 ····move-result-object·v12433 ····move-result-object·v12
  
1.15 KB
smali/com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitionsComparator.smali
    
Offset 1, 14 lines modifiedOffset 1, 14 lines modified
1 .class·final·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitionsComparator;1 .class·final·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitionsComparator;
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Object;
3 .source·"Detector.java"3 .source·"Detector.java"
  
4 #·interfaces4 #·interfaces
5 .implements·Ljava/util/Comparator; 
6 .implements·Ljava/io/Serializable;5 .implements·Ljava/io/Serializable;
 6 .implements·Ljava/util/Comparator;
  
  
7 #·annotations7 #·annotations
8 .annotation·system·Ldalvik/annotation/EnclosingClass;8 .annotation·system·Ldalvik/annotation/EnclosingClass;
9 ····value·=·Lcom/google/zxing/datamatrix/detector/Detector;9 ····value·=·Lcom/google/zxing/datamatrix/detector/Detector;
10 .end·annotation10 .end·annotation
  
Offset 16, 19 lines modifiedOffset 16, 19 lines modified
16 ····accessFlags·=·0x1a16 ····accessFlags·=·0x1a
17 ····name·=·"ResultPointsAndTransitionsComparator"17 ····name·=·"ResultPointsAndTransitionsComparator"
18 .end·annotation18 .end·annotation
  
19 .annotation·system·Ldalvik/annotation/Signature;19 .annotation·system·Ldalvik/annotation/Signature;
20 ····value·=·{20 ····value·=·{
21 ········"Ljava/lang/Object;",21 ········"Ljava/lang/Object;",
 22 ········"Ljava/io/Serializable;",
22 ········"Ljava/util/Comparator",23 ········"Ljava/util/Comparator",
23 ········"<",24 ········"<",
24 ········"Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;",25 ········"Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;",
25 ········">;",26 ········">;"
26 ········"Ljava/io/Serializable;" 
27 ····}27 ····}
28 .end·annotation28 .end·annotation
  
  
29 #·direct·methods29 #·direct·methods
30 .method·private·constructor·<init>()V30 .method·private·constructor·<init>()V
31 ····.locals·031 ····.locals·0
8.16 KB
smali/com/google/zxing/datamatrix/detector/Detector.smali
    
Offset 211, 38 lines modifiedOffset 211, 42 lines modified
211 ····.line·288211 ····.line·288
212 ····invoke-direct·{p0,·v2},·Lcom/google/zxing/datamatrix/detector/Detector;->isValid(Lcom/google/zxing/ResultPoint;)Z212 ····invoke-direct·{p0,·v2},·Lcom/google/zxing/datamatrix/detector/Detector;->isValid(Lcom/google/zxing/ResultPoint;)Z
  
213 ····move-result·v9213 ····move-result·v9
  
214 ····if-eqz·v9,·:cond_1214 ····if-eqz·v9,·:cond_1
  
215 ····move-object·v1,·v2 
  
216 ····.line·302215 ····.line·302
217 ····.end·local·v1····#·"c1":Lcom/google/zxing/ResultPoint;216 ····.end·local·v2····#·"c2":Lcom/google/zxing/ResultPoint;
218 ····:cond_0217 ····:cond_0
219 ····:goto_0218 ····:goto_0
220 ····return-object·v1219 ····return-object·v2
  
221 ····.line·291220 ····.line·291
222 ····.restart·local·v1····#·"c1":Lcom/google/zxing/ResultPoint;221 ····.restart·local·v2····#·"c2":Lcom/google/zxing/ResultPoint;
223 ····:cond_1222 ····:cond_1
224 ····const/4·v1,·0x0223 ····const/4·v2,·0x0
  
225 ····goto·:goto_0224 ····goto·:goto_0
  
226 ····.line·293225 ····.line·293
227 ····:cond_2226 ····:cond_2
228 ····invoke-direct·{p0,·v2},·Lcom/google/zxing/datamatrix/detector/Detector;->isValid(Lcom/google/zxing/ResultPoint;)Z227 ····invoke-direct·{p0,·v2},·Lcom/google/zxing/datamatrix/detector/Detector;->isValid(Lcom/google/zxing/ResultPoint;)Z
  
229 ····move-result·v9228 ····move-result·v9
  
230 ····if-eqz·v9,·:cond_0229 ····if-nez·v9,·:cond_3
  
 230 ····move-object·v2,·v1
  
 231 ····.line·294
 232 ····goto·:goto_0
  
231 ····.line·297233 ····.line·297
 234 ····:cond_3
232 ····invoke-direct·{p0,·p3,·v1},·Lcom/google/zxing/datamatrix/detector/Detector;->transitionsBetween(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;235 ····invoke-direct·{p0,·p3,·v1},·Lcom/google/zxing/datamatrix/detector/Detector;->transitionsBetween(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;
  
233 ····move-result-object·v9236 ····move-result-object·v9
  
234 ····invoke-virtual·{v9},·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->getTransitions()I237 ····invoke-virtual·{v9},·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->getTransitions()I
  
235 ····move-result·v9238 ····move-result·v9
Offset 287, 17 lines modifiedOffset 291, 17 lines modified
287 ····.line·299291 ····.line·299
288 ····invoke-static·{v9},·Ljava/lang/Math;->abs(I)I292 ····invoke-static·{v9},·Ljava/lang/Math;->abs(I)I
  
289 ····move-result·v6293 ····move-result·v6
  
290 ····.line·302294 ····.line·302
291 ····.local·v6,·"l2":I295 ····.local·v6,·"l2":I
292 ····if-le·v5,·v6,·:cond_0296 ····if-gt·v5,·v6,·:cond_0
  
293 ····move-object·v1,·v2297 ····move-object·v2,·v1
  
294 ····goto·:goto_0298 ····goto·:goto_0
295 .end·method299 .end·method
  
296 .method·private·correctTopRightRectangular(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;II)Lcom/google/zxing/ResultPoint;300 .method·private·correctTopRightRectangular(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;II)Lcom/google/zxing/ResultPoint;
297 ····.locals·12301 ····.locals·12
298 ····.param·p1,·"bottomLeft"····#·Lcom/google/zxing/ResultPoint;302 ····.param·p1,·"bottomLeft"····#·Lcom/google/zxing/ResultPoint;
Offset 725, 15 lines modifiedOffset 729, 14 lines modified
725 ····.prologue729 ····.prologue
726 ····.line·329730 ····.line·329
727 ····invoke-static·{},·Lcom/google/zxing/common/GridSampler;->getInstance()Lcom/google/zxing/common/GridSampler;731 ····invoke-static·{},·Lcom/google/zxing/common/GridSampler;->getInstance()Lcom/google/zxing/common/GridSampler;
  
728 ····move-result-object·v1732 ····move-result-object·v1
  
729 ····.line·331733 ····.line·331
730 ····.local·v1,·"sampler":Lcom/google/zxing/common/GridSampler; 
731 ····const/high16·v5,·0x3f000000····#·0.5f734 ····const/high16·v5,·0x3f000000····#·0.5f
  
732 ····const/high16·v6,·0x3f000000····#·0.5f735 ····const/high16·v6,·0x3f000000····#·0.5f
  
733 ····move/from16·v0,·p5736 ····move/from16·v0,·p5
  
734 ····int-to-float·v2,·v0737 ····int-to-float·v2,·v0
Offset 815, 17 lines modifiedOffset 818, 17 lines modified
815 ····move/from16·v3,·p5818 ····move/from16·v3,·p5
  
816 ····move/from16·v4,·p6819 ····move/from16·v4,·p6
  
817 ····.line·331820 ····.line·331
818 ····invoke-virtual/range·{v1·..·v20},·Lcom/google/zxing/common/GridSampler;->sampleGrid(Lcom/google/zxing/common/BitMatrix;IIFFFFFFFFFFFFFFFF)Lcom/google/zxing/common/BitMatrix;821 ····invoke-virtual/range·{v1·..·v20},·Lcom/google/zxing/common/GridSampler;->sampleGrid(Lcom/google/zxing/common/BitMatrix;IIFFFFFFFFFFFFFFFF)Lcom/google/zxing/common/BitMatrix;
  
819 ····move-result-object·v2822 ····move-result-object·v1
  
820 ····return-object·v2823 ····return-object·v1
821 .end·method824 .end·method
  
822 .method·private·transitionsBetween(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;825 .method·private·transitionsBetween(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;
823 ····.locals·23826 ····.locals·23
824 ····.param·p1,·"from"····#·Lcom/google/zxing/ResultPoint;827 ····.param·p1,·"from"····#·Lcom/google/zxing/ResultPoint;
825 ····.param·p2,·"to"····#·Lcom/google/zxing/ResultPoint;828 ····.param·p2,·"to"····#·Lcom/google/zxing/ResultPoint;
  
Offset 993, 15 lines modifiedOffset 996, 15 lines modified
993 ····.local·v16,·"x":I996 ····.local·v16,·"x":I
994 ····move/from16·v18,·v8997 ····move/from16·v18,·v8
  
995 ····.local·v18,·"y":I998 ····.local·v18,·"y":I
996 ····:goto_5999 ····:goto_5
997 ····move/from16·v0,·v161000 ····move/from16·v0,·v16
  
998 ····if-eq·v0,·v13,·:cond_21001 ····if-eq·v0,·v13,·:cond_a
  
999 ····.line·3791002 ····.line·379
1000 ····move-object/from16·v0,·p01003 ····move-object/from16·v0,·p0
  
1001 ····iget-object·v0,·v0,·Lcom/google/zxing/datamatrix/detector/Detector;->image:Lcom/google/zxing/common/BitMatrix;1004 ····iget-object·v0,·v0,·Lcom/google/zxing/datamatrix/detector/Detector;->image:Lcom/google/zxing/common/BitMatrix;
  
1002 ····move-object/from16·v22,·v01005 ····move-object/from16·v22,·v0
Offset 1037, 45 lines modifiedOffset 1040, 39 lines modified
1037 ····move·v9,·v101040 ····move·v9,·v10
  
1038 ····.line·3841041 ····.line·384
1039 ····:cond_11042 ····:cond_1
1040 ····add-int/2addr·v6,·v51043 ····add-int/2addr·v6,·v5
  
1041 ····.line·3851044 ····.line·385
1042 ····if-lez·v6,·:cond_b1045 ····if-lez·v6,·:cond_2
  
1043 ····.line·3861046 ····.line·386
1044 ····move/from16·v0,·v181047 ····move/from16·v0,·v18
  
1045 ····if-ne·v0,·v14,·:cond_a1048 ····if-eq·v0,·v14,·:cond_a
  
Max diff block lines reached; 4198/8240 bytes (50.95%) of diff not shown.
625 B
smali/com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions.smali
    
Offset 78, 15 lines modifiedOffset 78, 15 lines modified
78 ····.prologue78 ····.prologue
79 ····.line·41679 ····.line·416
80 ····iget-object·v0,·p0,·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->to:Lcom/google/zxing/ResultPoint;80 ····iget-object·v0,·p0,·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->to:Lcom/google/zxing/ResultPoint;
  
81 ····return-object·v081 ····return-object·v0
82 .end·method82 .end·method
  
83 .method·public·getTransitions()I83 .method·getTransitions()I
84 ····.locals·184 ····.locals·1
  
85 ····.prologue85 ····.prologue
86 ····.line·42086 ····.line·420
87 ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->transitions:I87 ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->transitions:I
  
88 ····return·v088 ····return·v0
15.3 KB
smali/com/google/zxing/datamatrix/decoder/DataBlock.smali
    
Offset 26, 419 lines modifiedOffset 26, 420 lines modified
26 ····iput-object·p2,·p0,·Lcom/google/zxing/datamatrix/decoder/DataBlock;->codewords:[B26 ····iput-object·p2,·p0,·Lcom/google/zxing/datamatrix/decoder/DataBlock;->codewords:[B
  
27 ····.line·3427 ····.line·34
28 ····return-void28 ····return-void
29 .end·method29 .end·method
  
30 .method·static·getDataBlocks([BLcom/google/zxing/datamatrix/decoder/Version;)[Lcom/google/zxing/datamatrix/decoder/DataBlock;30 .method·static·getDataBlocks([BLcom/google/zxing/datamatrix/decoder/Version;)[Lcom/google/zxing/datamatrix/decoder/DataBlock;
31 ····.locals·2731 ····.locals·26
32 ····.param·p0,·"rawCodewords"····#·[B32 ····.param·p0,·"rawCodewords"····#·[B
33 ····.param·p1,·"version"····#·Lcom/google/zxing/datamatrix/decoder/Version;33 ····.param·p1,·"version"····#·Lcom/google/zxing/datamatrix/decoder/Version;
  
34 ····.prologue34 ····.prologue
35 ····.line·4935 ····.line·49
36 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/datamatrix/decoder/Version;->getECBlocks()Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;36 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/datamatrix/decoder/Version;->getECBlocks()Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;
  
37 ····move-result-object·v437 ····move-result-object·v4
  
38 ····.line·5238 ····.line·52
39 ····.local·v4,·"ecBlocks":Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;39 ····.local·v4,·"ecBlocks":Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;
40 ····const/16·v22,·0x040 ····const/16·v21,·0x0
  
41 ····.line·5341 ····.line·53
42 ····.local·v22,·"totalBlocks":I42 ····.local·v21,·"totalBlocks":I
43 ····invoke-virtual·{v4},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/datamatrix/decoder/Version$ECB;43 ····invoke-virtual·{v4},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/datamatrix/decoder/Version$ECB;
  
44 ····move-result-object·v344 ····move-result-object·v3
  
45 ····.line·5445 ····.line·54
46 ····.local·v3,·"ecBlockArray":[Lcom/google/zxing/datamatrix/decoder/Version$ECB;46 ····.local·v3,·"ecBlockArray":[Lcom/google/zxing/datamatrix/decoder/Version$ECB;
47 ····array-length·v0,·v347 ····array-length·v0,·v3
  
48 ····move/from16·v24,·v048 ····move/from16·v23,·v0
  
49 ····const/16·v23,·0x049 ····const/16·v22,·0x0
  
50 ····:goto_050 ····:goto_0
51 ····move/from16·v0,·v2351 ····move/from16·v0,·v22
  
52 ····move/from16·v1,·v2452 ····move/from16·v1,·v23
  
53 ····if-ge·v0,·v1,·:cond_053 ····if-ge·v0,·v1,·:cond_0
  
54 ····aget-object·v2,·v3,·v2354 ····aget-object·v2,·v3,·v22
  
55 ····.line·5555 ····.line·55
56 ····.local·v2,·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB;56 ····.local·v2,·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB;
57 ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I57 ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I
  
58 ····move-result·v2558 ····move-result·v24
  
59 ····add-int·v22,·v22,·v2559 ····add-int·v21,·v21,·v24
  
60 ····.line·5460 ····.line·54
61 ····add-int/lit8·v23,·v23,·0x161 ····add-int/lit8·v22,·v22,·0x1
  
62 ····goto·:goto_062 ····goto·:goto_0
  
63 ····.line·5963 ····.line·59
64 ····.end·local·v2····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB;64 ····.end·local·v2····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB;
65 ····:cond_065 ····:cond_0
66 ····move/from16·v0,·v2266 ····move/from16·v0,·v21
  
67 ····new-array·v0,·v0,·[Lcom/google/zxing/datamatrix/decoder/DataBlock;67 ····new-array·v0,·v0,·[Lcom/google/zxing/datamatrix/decoder/DataBlock;
  
68 ····move-object/from16·v19,·v068 ····move-object/from16·v18,·v0
  
69 ····.line·6069 ····.line·60
70 ····.local·v19,·"result":[Lcom/google/zxing/datamatrix/decoder/DataBlock;70 ····.local·v18,·"result":[Lcom/google/zxing/datamatrix/decoder/DataBlock;
71 ····const/4·v15,·0x071 ····const/4·v14,·0x0
  
72 ····.line·6172 ····.line·61
73 ····.local·v15,·"numResultBlocks":I73 ····.local·v14,·"numResultBlocks":I
74 ····array-length·v0,·v374 ····array-length·v0,·v3
  
75 ····move/from16·v24,·v075 ····move/from16·v23,·v0
  
76 ····const/16·v23,·0x076 ····const/16·v22,·0x0
  
77 ····:goto_177 ····:goto_1
78 ····move/from16·v0,·v2378 ····move/from16·v0,·v22
  
79 ····move/from16·v1,·v2479 ····move/from16·v1,·v23
  
80 ····if-ge·v0,·v1,·:cond_280 ····if-ge·v0,·v1,·:cond_2
  
81 ····aget-object·v2,·v3,·v2381 ····aget-object·v2,·v3,·v22
  
82 ····.line·6282 ····.line·62
83 ····.restart·local·v2····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB;83 ····.restart·local·v2····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB;
84 ····const/4·v5,·0x084 ····const/4·v5,·0x0
  
85 ····.local·v5,·"i":I85 ····.local·v5,·"i":I
86 ····:goto_286 ····:goto_2
87 ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I87 ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I
  
88 ····move-result·v2588 ····move-result·v24
  
89 ····move/from16·v0,·v2589 ····move/from16·v0,·v24
  
90 ····if-ge·v5,·v0,·:cond_190 ····if-ge·v5,·v0,·:cond_1
  
91 ····.line·6391 ····.line·63
92 ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getDataCodewords()I92 ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getDataCodewords()I
  
93 ····move-result·v1393 ····move-result·v12
  
94 ····.line·6494 ····.line·64
95 ····.local·v13,·"numDataCodewords":I95 ····.local·v12,·"numDataCodewords":I
96 ····invoke-virtual·{v4},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECCodewords()I96 ····invoke-virtual·{v4},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECCodewords()I
  
97 ····move-result·v2597 ····move-result·v24
  
98 ····add-int·v12,·v25,·v1398 ····add-int·v11,·v24,·v12
  
99 ····.line·6599 ····.line·65
100 ····.local·v12,·"numBlockCodewords":I100 ····.local·v11,·"numBlockCodewords":I
101 ····add-int/lit8·v16,·v15,·0x1101 ····add-int/lit8·v15,·v14,·0x1
  
102 ····.end·local·v15····#·"numResultBlocks":I102 ····.end·local·v14····#·"numResultBlocks":I
103 ····.local·v16,·"numResultBlocks":I103 ····.local·v15,·"numResultBlocks":I
104 ····new-instance·v25,·Lcom/google/zxing/datamatrix/decoder/DataBlock;104 ····new-instance·v24,·Lcom/google/zxing/datamatrix/decoder/DataBlock;
  
105 ····new-array·v0,·v12,·[B105 ····new-array·v0,·v11,·[B
  
106 ····move-object/from16·v26,·v0106 ····move-object/from16·v25,·v0
  
107 ····move-object/from16·v0,·v25107 ····move-object/from16·v0,·v24
Max diff block lines reached; 11250/15521 bytes (72.48%) of diff not shown.
1.31 KB
smali/com/google/zxing/datamatrix/decoder/DecodedBitStreamParser.smali
    
Offset 1031, 34 lines modifiedOffset 1031, 30 lines modified
  
1031 ····invoke-direct·{v7,·v0,·v8},·Ljava/lang/String;-><init>([BLjava/lang/String;)V1031 ····invoke-direct·{v7,·v0,·v8},·Ljava/lang/String;-><init>([BLjava/lang/String;)V
  
1032 ····invoke-virtual·{p1,·v7},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;1032 ····invoke-virtual·{p1,·v7},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
1033 ····:try_end_01033 ····:try_end_0
1034 ····.catch·Ljava/io/UnsupportedEncodingException;·{:try_start_0·..·:try_end_0}·:catch_01034 ····.catch·Ljava/io/UnsupportedEncodingException;·{:try_start_0·..·:try_end_0}·:catch_0
  
1035 ····.line·4851035 ····.line·484
1036 ····return-void1036 ····return-void
  
1037 ····.line·4821037 ····.line·482
1038 ····:catch_01038 ····:catch_0
1039 ····move-exception·v61039 ····move-exception·v6
  
1040 ····.line·4831040 ····.line·483
1041 ····.local·v6,·"uee":Ljava/io/UnsupportedEncodingException;1041 ····.local·v6,·"uee":Ljava/io/UnsupportedEncodingException;
1042 ····new-instance·v7,·Ljava/lang/IllegalStateException;1042 ····new-instance·v7,·Ljava/lang/IllegalStateException;
  
1043 ····new-instance·v8,·Ljava/lang/StringBuilder;1043 ····new-instance·v8,·Ljava/lang/StringBuilder;
  
1044 ····invoke-direct·{v8},·Ljava/lang/StringBuilder;-><init>()V 
  
1045 ····const-string·v9,·"Platform·does·not·support·required·encoding:·"1044 ····const-string·v9,·"Platform·does·not·support·required·encoding:·"
  
1046 ····invoke-virtual·{v8,·v9},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;1045 ····invoke-direct·{v8,·v9},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
1047 ····move-result-object·v8 
  
1048 ····invoke-virtual·{v8,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;1046 ····invoke-virtual·{v8,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
1049 ····move-result-object·v81047 ····move-result-object·v8
  
1050 ····invoke-virtual·{v8},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;1048 ····invoke-virtual·{v8},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
9.73 KB
smali/com/google/zxing/datamatrix/decoder/Decoder.smali
    
Offset 25, 244 lines modifiedOffset 25, 238 lines modified
25 ····iput-object·v0,·p0,·Lcom/google/zxing/datamatrix/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;25 ····iput-object·v0,·p0,·Lcom/google/zxing/datamatrix/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;
  
26 ····.line·3926 ····.line·39
27 ····return-void27 ····return-void
28 .end·method28 .end·method
  
29 .method·private·correctErrors([BI)V29 .method·private·correctErrors([BI)V
30 ····.locals·630 ····.locals·5
31 ····.param·p1,·"codewordBytes"····#·[B31 ····.param·p1,·"codewordBytes"····#·[B
32 ····.param·p2,·"numDataCodewords"····#·I32 ····.param·p2,·"numDataCodewords"····#·I
33 ····.annotation·system·Ldalvik/annotation/Throws;33 ····.annotation·system·Ldalvik/annotation/Throws;
34 ········value·=·{34 ········value·=·{
35 ············Lcom/google/zxing/ChecksumException;35 ············Lcom/google/zxing/ChecksumException;
36 ········}36 ········}
37 ····.end·annotation37 ····.end·annotation
  
38 ····.prologue38 ····.prologue
39 ····.line·11739 ····.line·116
40 ····array-length·v3,·p140 ····array-length·v2,·p1
  
41 ····.line·11941 ····.line·118
42 ····.local·v3,·"numCodewords":I42 ····.local·v2,·"numCodewords":I
43 ····new-array·v0,·v3,·[I43 ····new-array·v0,·v2,·[I
  
44 ····.line·12044 ····.line·119
45 ····.local·v0,·"codewordsInts":[I45 ····.local·v0,·"codewordsInts":[I
46 ····const/4·v1,·0x046 ····const/4·v1,·0x0
  
47 ····.local·v1,·"i":I47 ····.local·v1,·"i":I
48 ····:goto_048 ····:goto_0
49 ····if-ge·v1,·v3,·:cond_049 ····if-ge·v1,·v2,·:cond_0
  
50 ····.line·12150 ····.line·120
51 ····aget-byte·v5,·p1,·v151 ····aget-byte·v3,·p1,·v1
  
52 ····and-int/lit16·v5,·v5,·0xff52 ····and-int/lit16·v3,·v3,·0xff
  
53 ····aput·v5,·v0,·v153 ····aput·v3,·v0,·v1
  
54 ····.line·12054 ····.line·119
55 ····add-int/lit8·v1,·v1,·0x155 ····add-int/lit8·v1,·v1,·0x1
  
56 ····goto·:goto_056 ····goto·:goto_0
  
57 ····.line·12357 ····.line·123
58 ····:cond_058 ····:cond_0
59 ····array-length·v5,·p159 ····:try_start_0
 60 ····iget-object·v3,·p0,·Lcom/google/zxing/datamatrix/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;
  
60 ····sub-int·v4,·v5,·p261 ····array-length·v4,·p1
  
 62 ····sub-int/2addr·v4,·p2
61 ····.line·125 
62 ····.local·v4,·"numECCodewords":I 
63 ····:try_start_0 
64 ····iget-object·v5,·p0,·Lcom/google/zxing/datamatrix/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; 
  
65 ····invoke-virtual·{v5,·v0,·v4},·Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;->decode([II)V63 ····invoke-virtual·{v3,·v0,·v4},·Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;->decode([II)V
66 ····:try_end_064 ····:try_end_0
67 ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_065 ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_0
  
68 ····.line·13166 ····.line·129
69 ····const/4·v1,·0x067 ····const/4·v1,·0x0
  
70 ····:goto_168 ····:goto_1
71 ····if-ge·v1,·p2,·:cond_169 ····if-ge·v1,·p2,·:cond_1
  
72 ····.line·13270 ····.line·130
73 ····aget·v5,·v0,·v171 ····aget·v3,·v0,·v1
  
74 ····int-to-byte·v5,·v572 ····int-to-byte·v3,·v3
  
75 ····aput-byte·v5,·p1,·v173 ····aput-byte·v3,·p1,·v1
  
76 ····.line·13174 ····.line·129
77 ····add-int/lit8·v1,·v1,·0x175 ····add-int/lit8·v1,·v1,·0x1
  
78 ····goto·:goto_176 ····goto·:goto_1
  
79 ····.line·12677 ····.line·125
80 ····:catch_078 ····:catch_0
81 ····move-exception·v279 ····move-exception·v3
  
82 ····.line·127 
83 ····.local·v2,·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; 
84 ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException;80 ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException;
  
85 ····move-result-object·v581 ····move-result-object·v3
  
86 ····throw·v582 ····throw·v3
  
87 ····.line·13483 ····.line·132
88 ····.end·local·v2····#·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; 
89 ····:cond_184 ····:cond_1
90 ····return-void85 ····return-void
91 .end·method86 .end·method
  
  
92 #·virtual·methods87 #·virtual·methods
93 .method·public·decode(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/common/DecoderResult;88 .method·public·decode(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/common/DecoderResult;
94 ····.locals·1789 ····.locals·16
95 ····.param·p1,·"bits"····#·Lcom/google/zxing/common/BitMatrix;90 ····.param·p1,·"bits"····#·Lcom/google/zxing/common/BitMatrix;
96 ····.annotation·system·Ldalvik/annotation/Throws;91 ····.annotation·system·Ldalvik/annotation/Throws;
97 ········value·=·{92 ········value·=·{
98 ············Lcom/google/zxing/FormatException;,93 ············Lcom/google/zxing/FormatException;,
99 ············Lcom/google/zxing/ChecksumException;94 ············Lcom/google/zxing/ChecksumException;
100 ········}95 ········}
101 ····.end·annotation96 ····.end·annotation
  
102 ····.prologue97 ····.prologue
103 ····.line·7598 ····.line·75
104 ····new-instance·v10,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;99 ····new-instance·v9,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;
  
105 ····move-object/from16·v0,·p1100 ····move-object/from16·v0,·p1
  
106 ····invoke-direct·{v10,·v0},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;-><init>(Lcom/google/zxing/common/BitMatrix;)V101 ····invoke-direct·{v9,·v0},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;-><init>(Lcom/google/zxing/common/BitMatrix;)V
  
107 ····.line·76102 ····.line·76
108 ····.local·v10,·"parser":Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;103 ····.local·v9,·"parser":Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;
109 ····invoke-virtual·{v10},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->getVersion()Lcom/google/zxing/datamatrix/decoder/Version;104 ····invoke-virtual·{v9},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->getVersion()Lcom/google/zxing/datamatrix/decoder/Version;
  
110 ····move-result-object·v13105 ····move-result-object·v12
  
111 ····.line·79106 ····.line·79
112 ····.local·v13,·"version":Lcom/google/zxing/datamatrix/decoder/Version;107 ····.local·v12,·"version":Lcom/google/zxing/datamatrix/decoder/Version;
113 ····invoke-virtual·{v10},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->readCodewords()[B108 ····invoke-virtual·{v9},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->readCodewords()[B
  
Max diff block lines reached; 5056/9854 bytes (51.31%) of diff not shown.
2.03 KB
smali/com/google/zxing/datamatrix/decoder/Version.smali
    
Offset 75, 38 lines modifiedOffset 75, 37 lines modified
75 ····.line·4975 ····.line·49
76 ····iput·p5,·p0,·Lcom/google/zxing/datamatrix/decoder/Version;->dataRegionSizeColumns:I76 ····iput·p5,·p0,·Lcom/google/zxing/datamatrix/decoder/Version;->dataRegionSizeColumns:I
  
77 ····.line·5077 ····.line·50
78 ····iput-object·p6,·p0,·Lcom/google/zxing/datamatrix/decoder/Version;->ecBlocks:Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;78 ····iput-object·p6,·p0,·Lcom/google/zxing/datamatrix/decoder/Version;->ecBlocks:Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;
  
79 ····.line·5379 ····.line·53
80 ····const/4·v3,·0x080 ····const/4·v2,·0x0
  
81 ····.line·5481 ····.line·54
82 ····.local·v3,·"total":I82 ····.local·v2,·"total":I
83 ····invoke-virtual·{p6},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECCodewords()I83 ····invoke-virtual·{p6},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECCodewords()I
  
84 ····move-result·v184 ····move-result·v1
  
85 ····.line·5585 ····.line·55
86 ····.local·v1,·"ecCodewords":I86 ····.local·v1,·"ecCodewords":I
87 ····invoke-virtual·{p6},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/datamatrix/decoder/Version$ECB;87 ····invoke-virtual·{p6},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/datamatrix/decoder/Version$ECB;
  
88 ····move-result-object·v288 ····move-result-object·v4
  
89 ····.line·5689 ····.line·56
90 ····.local·v2,·"ecbArray":[Lcom/google/zxing/datamatrix/decoder/Version$ECB; 
91 ····array-length·v5,·v290 ····array-length·v5,·v4
  
92 ····const/4·v4,·0x091 ····const/4·v3,·0x0
  
93 ····:goto_092 ····:goto_0
94 ····if-ge·v4,·v5,·:cond_093 ····if-ge·v3,·v5,·:cond_0
  
95 ····aget-object·v0,·v2,·v494 ····aget-object·v0,·v4,·v3
  
96 ····.line·5795 ····.line·57
97 ····.local·v0,·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB;96 ····.local·v0,·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB;
98 ····invoke-virtual·{v0},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I97 ····invoke-virtual·{v0},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I
  
99 ····move-result·v698 ····move-result·v6
  
Offset 114, 25 lines modifiedOffset 113, 25 lines modified
  
114 ····move-result·v7113 ····move-result·v7
  
115 ····add-int/2addr·v7,·v1114 ····add-int/2addr·v7,·v1
  
116 ····mul-int/2addr·v6,·v7115 ····mul-int/2addr·v6,·v7
  
117 ····add-int/2addr·v3,·v6116 ····add-int/2addr·v2,·v6
  
118 ····.line·56117 ····.line·56
119 ····add-int/lit8·v4,·v4,·0x1118 ····add-int/lit8·v3,·v3,·0x1
  
120 ····goto·:goto_0119 ····goto·:goto_0
  
121 ····.line·59120 ····.line·59
122 ····.end·local·v0····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB;121 ····.end·local·v0····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB;
123 ····:cond_0122 ····:cond_0
124 ····iput·v3,·p0,·Lcom/google/zxing/datamatrix/decoder/Version;->totalCodewords:I123 ····iput·v2,·p0,·Lcom/google/zxing/datamatrix/decoder/Version;->totalCodewords:I
  
125 ····.line·60124 ····.line·60
126 ····return-void125 ····return-void
127 .end·method126 .end·method
  
128 .method·private·static·buildVersions()[Lcom/google/zxing/datamatrix/decoder/Version;127 .method·private·static·buildVersions()[Lcom/google/zxing/datamatrix/decoder/Version;
129 ····.locals·15128 ····.locals·15
39.3 KB
smali/com/google/zxing/datamatrix/decoder/BitMatrixParser.smali
    
Offset 57, 15 lines modifiedOffset 57, 15 lines modified
57 ····invoke-static·{p1},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->readVersion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/datamatrix/decoder/Version;57 ····invoke-static·{p1},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->readVersion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/datamatrix/decoder/Version;
  
58 ····move-result-object·v158 ····move-result-object·v1
  
59 ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->version:Lcom/google/zxing/datamatrix/decoder/Version;59 ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->version:Lcom/google/zxing/datamatrix/decoder/Version;
  
60 ····.line·4260 ····.line·42
61 ····invoke-virtual·{p0,·p1},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->extractDataRegion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/common/BitMatrix;61 ····invoke-direct·{p0,·p1},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->extractDataRegion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/common/BitMatrix;
  
62 ····move-result-object·v162 ····move-result-object·v1
  
63 ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->mappingBitMatrix:Lcom/google/zxing/common/BitMatrix;63 ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->mappingBitMatrix:Lcom/google/zxing/common/BitMatrix;
  
64 ····.line·4364 ····.line·43
65 ····new-instance·v1,·Lcom/google/zxing/common/BitMatrix;65 ····new-instance·v1,·Lcom/google/zxing/common/BitMatrix;
Offset 86, 47 lines modifiedOffset 86, 15 lines modified
  
86 ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->readMappingMatrix:Lcom/google/zxing/common/BitMatrix;86 ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->readMappingMatrix:Lcom/google/zxing/common/BitMatrix;
  
87 ····.line·4487 ····.line·44
88 ····return-void88 ····return-void
89 .end·method89 .end·method
  
90 .method·private·static·readVersion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/datamatrix/decoder/Version; 
91 ····.locals·3 
92 ····.param·p0,·"bitMatrix"····#·Lcom/google/zxing/common/BitMatrix; 
93 ····.annotation·system·Ldalvik/annotation/Throws; 
94 ········value·=·{ 
95 ············Lcom/google/zxing/FormatException; 
96 ········} 
97 ····.end·annotation 
  
98 ····.prologue 
99 ····.line·62 
100 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getHeight()I 
  
101 ····move-result·v1 
  
102 ····.line·63 
103 ····.local·v1,·"numRows":I 
104 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getWidth()I 
  
105 ····move-result·v0 
  
106 ····.line·64 
107 ····.local·v0,·"numColumns":I 
108 ····invoke-static·{v1,·v0},·Lcom/google/zxing/datamatrix/decoder/Version;->getVersionForDimensions(II)Lcom/google/zxing/datamatrix/decoder/Version; 
  
109 ····move-result-object·v2 
  
110 ····return-object·v2 
111 .end·method 
  
  
112 #·virtual·methods 
113 .method·extractDataRegion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/common/BitMatrix;90 .method·private·extractDataRegion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/common/BitMatrix;
114 ····.locals·2391 ····.locals·23
115 ····.param·p1,·"bitMatrix"····#·Lcom/google/zxing/common/BitMatrix;92 ····.param·p1,·"bitMatrix"····#·Lcom/google/zxing/common/BitMatrix;
  
116 ····.prologue93 ····.prologue
117 ····.line·40394 ····.line·403
118 ····move-object/from16·v0,·p095 ····move-object/from16·v0,·p0
  
Offset 334, 408 lines modifiedOffset 302, 15 lines modified
334 ····.line·437302 ····.line·437
335 ····.end·local·v3····#·"dataRegionColumn":I303 ····.end·local·v3····#·"dataRegionColumn":I
336 ····.end·local·v6····#·"dataRegionRowOffset":I304 ····.end·local·v6····#·"dataRegionRowOffset":I
337 ····:cond_5305 ····:cond_5
338 ····return-object·v2306 ····return-object·v2
339 .end·method307 .end·method
  
340 .method·getVersion()Lcom/google/zxing/datamatrix/decoder/Version; 
341 ····.locals·1 
  
342 ····.prologue 
343 ····.line·47 
344 ····iget-object·v0,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->version:Lcom/google/zxing/datamatrix/decoder/Version; 
  
345 ····return-object·v0 
346 .end·method 
  
347 .method·readCodewords()[B 
348 ····.locals·13 
349 ····.annotation·system·Ldalvik/annotation/Throws; 
350 ········value·=·{ 
351 ············Lcom/google/zxing/FormatException; 
352 ········} 
353 ····.end·annotation 
  
354 ····.prologue 
355 ····.line·77 
356 ····iget-object·v11,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->version:Lcom/google/zxing/datamatrix/decoder/Version; 
  
357 ····invoke-virtual·{v11},·Lcom/google/zxing/datamatrix/decoder/Version;->getTotalCodewords()I 
  
358 ····move-result·v11 
  
359 ····new-array·v7,·v11,·[B 
  
360 ····.line·78 
361 ····.local·v7,·"result":[B 
362 ····const/4·v8,·0x0 
  
363 ····.line·80 
364 ····.local·v8,·"resultOffset":I 
365 ····const/4·v10,·0x4 
  
366 ····.line·81 
367 ····.local·v10,·"row":I 
368 ····const/4·v0,·0x0 
  
369 ····.line·83 
370 ····.local·v0,·"column":I 
371 ····iget-object·v11,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->mappingBitMatrix:Lcom/google/zxing/common/BitMatrix; 
  
372 ····invoke-virtual·{v11},·Lcom/google/zxing/common/BitMatrix;->getHeight()I 
  
373 ····move-result·v6 
  
374 ····.line·84 
375 ····.local·v6,·"numRows":I 
376 ····iget-object·v11,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->mappingBitMatrix:Lcom/google/zxing/common/BitMatrix; 
  
377 ····invoke-virtual·{v11},·Lcom/google/zxing/common/BitMatrix;->getWidth()I 
  
378 ····move-result·v5 
  
Max diff block lines reached; 29030/40133 bytes (72.33%) of diff not shown.
13.0 KB
smali/com/google/zxing/datamatrix/encoder/ASCIIEncoder.smali
    
Offset 14, 142 lines modifiedOffset 14, 135 lines modified
14 ····.line·1914 ····.line·19
15 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V15 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
16 ····return-void16 ····return-void
17 .end·method17 .end·method
  
18 .method·private·static·encodeASCIIDigits(CC)C18 .method·private·static·encodeASCIIDigits(CC)C
19 ····.locals·419 ····.locals·3
20 ····.param·p0,·"digit1"····#·C20 ····.param·p0,·"digit1"····#·C
21 ····.param·p1,·"digit2"····#·C21 ····.param·p1,·"digit2"····#·C
  
22 ····.prologue22 ····.prologue
23 ····.line·7523 ····.line·75
24 ····invoke-static·{p0},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->isDigit(C)Z24 ····invoke-static·{p0},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->isDigit(C)Z
  
25 ····move-result·v125 ····move-result·v0
  
26 ····if-eqz·v1,·:cond_026 ····if-eqz·v0,·:cond_0
  
27 ····invoke-static·{p1},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->isDigit(C)Z27 ····invoke-static·{p1},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->isDigit(C)Z
  
28 ····move-result·v128 ····move-result·v0
  
29 ····if-eqz·v1,·:cond_029 ····if-eqz·v0,·:cond_0
  
30 ····.line·7630 ····.line·76
31 ····add-int/lit8·v1,·p0,·-0x3031 ····add-int/lit8·v0,·p0,·-0x30
  
32 ····mul-int/lit8·v1,·v1,·0xa32 ····mul-int/lit8·v0,·v0,·0xa
  
33 ····add-int/lit8·v2,·p1,·-0x3033 ····add-int/lit8·v1,·p1,·-0x30
  
34 ····add-int·v0,·v1,·v234 ····add-int/2addr·v0,·v1
  
35 ····.line·7735 ····.line·77
36 ····.local·v0,·"num":I 
37 ····add-int/lit16·v1,·v0,·0x8236 ····add-int/lit16·v0,·v0,·0x82
  
38 ····int-to-char·v1,·v137 ····int-to-char·v0,·v0
  
39 ····return·v138 ····return·v0
  
40 ····.line·7939 ····.line·79
41 ····.end·local·v0····#·"num":I 
42 ····:cond_040 ····:cond_0
43 ····new-instance·v1,·Ljava/lang/IllegalArgumentException;41 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;
  
44 ····new-instance·v2,·Ljava/lang/StringBuilder; 
  
45 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V 
  
46 ····const-string·v3,·"not·digits:·"42 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
47 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;43 ····const-string·v2,·"not·digits:·"
  
48 ····move-result-object·v244 ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
49 ····invoke-virtual·{v2,·p0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;45 ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
50 ····move-result-object·v246 ····move-result-object·v1
  
51 ····invoke-virtual·{v2,·p1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;47 ····invoke-virtual·{v1,·p1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
52 ····move-result-object·v248 ····move-result-object·v1
  
53 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;49 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
54 ····move-result-object·v250 ····move-result-object·v1
  
55 ····invoke-direct·{v1,·v2},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V51 ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
56 ····throw·v152 ····throw·v0
57 .end·method53 .end·method
  
  
58 #·virtual·methods54 #·virtual·methods
59 .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V55 .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V
60 ····.locals·756 ····.locals·6
61 ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext;57 ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext;
  
62 ····.prologue58 ····.prologue
63 ····const/4·v6,·0x259 ····const/4·v5,·0x2
  
64 ····.line·2960 ····.line·29
65 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String;61 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String;
  
66 ····move-result-object·v362 ····move-result-object·v2
  
67 ····iget·v4,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I63 ····iget·v3,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
68 ····invoke-static·{v3,·v4},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->determineConsecutiveDigitCount(Ljava/lang/CharSequence;I)I64 ····invoke-static·{v2,·v3},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->determineConsecutiveDigitCount(Ljava/lang/CharSequence;I)I
  
69 ····move-result·v165 ····move-result·v2
  
70 ····.line·3066 ····.line·30
71 ····.local·v1,·"n":I 
72 ····if-lt·v1,·v6,·:cond_067 ····if-lt·v2,·v5,·:cond_0
  
73 ····.line·3168 ····.line·31
74 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String;69 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String;
  
75 ····move-result-object·v370 ····move-result-object·v2
  
76 ····iget·v4,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I71 ····iget·v3,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
77 ····invoke-virtual·{v3,·v4},·Ljava/lang/String;->charAt(I)C72 ····invoke-virtual·{v2,·v3},·Ljava/lang/String;->charAt(I)C
  
78 ····move-result·v373 ····move-result·v2
  
79 ····.line·3274 ····.line·32
80 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String;75 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String;
  
81 ····move-result-object·v476 ····move-result-object·v3
  
82 ····iget·v5,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I77 ····iget·v4,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
83 ····add-int/lit8·v5,·v5,·0x178 ····add-int/lit8·v4,·v4,·0x1
  
84 ····invoke-virtual·{v4,·v5},·Ljava/lang/String;->charAt(I)C79 ····invoke-virtual·{v3,·v4},·Ljava/lang/String;->charAt(I)C
  
85 ····move-result·v480 ····move-result·v3
  
86 ····.line·3181 ····.line·31
87 ····invoke-static·{v3,·v4},·Lcom/google/zxing/datamatrix/encoder/ASCIIEncoder;->encodeASCIIDigits(CC)C82 ····invoke-static·{v2,·v3},·Lcom/google/zxing/datamatrix/encoder/ASCIIEncoder;->encodeASCIIDigits(CC)C
  
88 ····move-result·v383 ····move-result·v2
  
Max diff block lines reached; 7955/13241 bytes (60.08%) of diff not shown.
6.53 KB
smali/com/google/zxing/datamatrix/encoder/DefaultPlacement.smali
    
Offset 383, 16 lines modifiedOffset 383, 46 lines modified
  
383 ····invoke-direct·{p0,·v4,·v0,·p1,·v1},·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->module(IIII)V383 ····invoke-direct·{p0,·v4,·v0,·p1,·v1},·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->module(IIII)V
  
384 ····.line·196384 ····.line·196
385 ····return-void385 ····return-void
386 .end·method386 .end·method
  
 387 .method·private·hasBit(II)Z
 388 ····.locals·2
 389 ····.param·p1,·"col"····#·I
 390 ····.param·p2,·"row"····#·I
  
 391 ····.prologue
 392 ····.line·67
 393 ····iget-object·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->bits:[B
  
 394 ····iget·v1,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->numcols:I
  
 395 ····mul-int/2addr·v1,·p2
  
 396 ····add-int/2addr·v1,·p1
  
 397 ····aget-byte·v0,·v0,·v1
  
 398 ····if-ltz·v0,·:cond_0
  
 399 ····const/4·v0,·0x1
  
 400 ····:goto_0
 401 ····return·v0
  
 402 ····:cond_0
 403 ····const/4·v0,·0x0
  
 404 ····goto·:goto_0
 405 .end·method
  
387 .method·private·module(IIII)V406 .method·private·module(IIII)V
388 ····.locals·3407 ····.locals·4
389 ····.param·p1,·"row"····#·I408 ····.param·p1,·"row"····#·I
390 ····.param·p2,·"col"····#·I409 ····.param·p2,·"col"····#·I
391 ····.param·p3,·"pos"····#·I410 ····.param·p3,·"pos"····#·I
392 ····.param·p4,·"bit"····#·I411 ····.param·p4,·"bit"····#·I
  
393 ····.prologue412 ····.prologue
394 ····const/4·v1,·0x1413 ····const/4·v1,·0x1
Offset 438, 40 lines modifiedOffset 468, 75 lines modified
  
438 ····.line·131468 ····.line·131
439 ····:cond_1469 ····:cond_1
440 ····iget-object·v2,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->codewords:Ljava/lang/CharSequence;470 ····iget-object·v2,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->codewords:Ljava/lang/CharSequence;
  
441 ····invoke-interface·{v2,·p3},·Ljava/lang/CharSequence;->charAt(I)C471 ····invoke-interface·{v2,·p3},·Ljava/lang/CharSequence;->charAt(I)C
  
442 ····move-result·v0472 ····move-result·v2
  
443 ····.line·132473 ····.line·132
444 ····.local·v0,·"v":I 
445 ····rsub-int/lit8·v2,·p4,·0x8474 ····rsub-int/lit8·v3,·p4,·0x8
  
446 ····shl-int·v2,·v1,·v2475 ····shl-int·v3,·v1,·v3
  
447 ····and-int/2addr·v0,·v2476 ····and-int·v0,·v2,·v3
  
448 ····.line·133477 ····.line·133
 478 ····.local·v0,·"v":I
449 ····if-eqz·v0,·:cond_2479 ····if-eqz·v0,·:cond_2
  
450 ····:goto_0480 ····:goto_0
451 ····invoke-virtual·{p0,·p2,·p1,·v1},·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->setBit(IIZ)V481 ····invoke-direct·{p0,·p2,·p1,·v1},·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->setBit(IIZ)V
  
452 ····.line·134482 ····.line·134
453 ····return-void483 ····return-void
  
454 ····.line·133484 ····.line·133
455 ····:cond_2485 ····:cond_2
456 ····const/4·v1,·0x0486 ····const/4·v1,·0x0
  
457 ····goto·:goto_0487 ····goto·:goto_0
458 .end·method488 .end·method
  
 489 .method·private·setBit(IIZ)V
 490 ····.locals·3
 491 ····.param·p1,·"col"····#·I
 492 ····.param·p2,·"row"····#·I
 493 ····.param·p3,·"bit"····#·Z
  
 494 ····.prologue
 495 ····.line·63
 496 ····iget-object·v1,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->bits:[B
  
 497 ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->numcols:I
  
 498 ····mul-int/2addr·v0,·p2
  
 499 ····add-int·v2,·v0,·p1
  
 500 ····if-eqz·p3,·:cond_0
  
 501 ····const/4·v0,·0x1
  
 502 ····:goto_0
 503 ····int-to-byte·v0,·v0
  
 504 ····aput-byte·v0,·v1,·v2
  
 505 ····.line·64
 506 ····return-void
  
 507 ····.line·63
 508 ····:cond_0
 509 ····const/4·v0,·0x0
  
 510 ····goto·:goto_0
 511 .end·method
  
459 .method·private·utah(III)V512 .method·private·utah(III)V
460 ····.locals·3513 ····.locals·3
461 ····.param·p1,·"row"····#·I514 ····.param·p1,·"row"····#·I
462 ····.param·p2,·"col"····#·I515 ····.param·p2,·"col"····#·I
463 ····.param·p3,·"pos"····#·I516 ····.param·p3,·"pos"····#·I
  
464 ····.prologue517 ····.prologue
Offset 599, 44 lines modifiedOffset 664, 14 lines modified
599 ····.prologue664 ····.prologue
600 ····.line·47665 ····.line·47
601 ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->numrows:I666 ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->numrows:I
Max diff block lines reached; 3809/6555 bytes (58.11%) of diff not shown.
5.62 KB
smali/com/google/zxing/datamatrix/encoder/TextEncoder.smali
    
Offset 87, 17 lines modifiedOffset 87, 17 lines modified
87 ····if-ltz·p1,·:cond_387 ····if-ltz·p1,·:cond_3
  
88 ····const/16·v2,·0x1f88 ····const/16·v2,·0x1f
  
89 ····if-gt·p1,·v2,·:cond_389 ····if-gt·p1,·v2,·:cond_3
  
90 ····.line·4190 ····.line·41
91 ····const/4·v2,·0x091 ····const/4·v0,·0x0
  
92 ····invoke-virtual·{p2,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;92 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
93 ····.line·4293 ····.line·42
94 ····invoke-virtual·{p2,·p1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;94 ····invoke-virtual·{p2,·p1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
95 ····move·v0,·v195 ····move·v0,·v1
  
96 ····.line·4396 ····.line·43
Offset 113, 19 lines modifiedOffset 113, 19 lines modified
  
113 ····if-gt·p1,·v2,·:cond_4113 ····if-gt·p1,·v2,·:cond_4
  
114 ····.line·46114 ····.line·46
115 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;115 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
116 ····.line·47116 ····.line·47
117 ····add-int/lit8·v2,·p1,·-0x21117 ····add-int/lit8·v0,·p1,·-0x21
  
118 ····int-to-char·v2,·v2118 ····int-to-char·v0,·v0
  
119 ····invoke-virtual·{p2,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;119 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
120 ····move·v0,·v1120 ····move·v0,·v1
  
121 ····.line·48121 ····.line·48
122 ····goto·:goto_0122 ····goto·:goto_0
  
123 ····.line·50123 ····.line·50
Offset 138, 21 lines modifiedOffset 138, 21 lines modified
  
138 ····if-gt·p1,·v2,·:cond_5138 ····if-gt·p1,·v2,·:cond_5
  
139 ····.line·51139 ····.line·51
140 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;140 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
141 ····.line·52141 ····.line·52
142 ····add-int/lit8·v2,·p1,·-0x3a142 ····add-int/lit8·v0,·p1,·-0x3a
  
143 ····add-int/lit8·v2,·v2,·0xf143 ····add-int/lit8·v0,·v0,·0xf
  
144 ····int-to-char·v2,·v2144 ····int-to-char·v0,·v0
  
145 ····invoke-virtual·{p2,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;145 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
146 ····move·v0,·v1146 ····move·v0,·v1
  
147 ····.line·53147 ····.line·53
148 ····goto·:goto_0148 ····goto·:goto_0
  
149 ····.line·55149 ····.line·55
Offset 165, 133 lines modifiedOffset 165, 128 lines modified
  
165 ····if-gt·p1,·v2,·:cond_6165 ····if-gt·p1,·v2,·:cond_6
  
166 ····.line·56166 ····.line·56
167 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;167 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
168 ····.line·57168 ····.line·57
169 ····add-int/lit8·v2,·p1,·-0x5b169 ····add-int/lit8·v0,·p1,·-0x5b
  
170 ····add-int/lit8·v2,·v2,·0x16170 ····add-int/lit8·v0,·v0,·0x16
  
171 ····int-to-char·v2,·v2171 ····int-to-char·v0,·v0
  
172 ····invoke-virtual·{p2,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;172 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
173 ····move·v0,·v1173 ····move·v0,·v1
  
174 ····.line·58174 ····.line·58
175 ····goto·:goto_0175 ····goto·:goto_0
  
176 ····.line·60176 ····.line·60
177 ····:cond_6177 ····:cond_6
178 ····const/16·v2,·0x60178 ····const/16·v0,·0x60
  
179 ····if-ne·p1,·v2,·:cond_7179 ····if-ne·p1,·v0,·:cond_7
  
180 ····.line·61180 ····.line·61
181 ····invoke-virtual·{p2,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;181 ····invoke-virtual·{p2,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
182 ····.line·62182 ····.line·62
183 ····add-int/lit8·v2,·p1,·-0x60183 ····add-int/lit8·v0,·p1,·-0x60
  
184 ····int-to-char·v2,·v2184 ····int-to-char·v0,·v0
  
185 ····invoke-virtual·{p2,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;185 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
186 ····move·v0,·v1186 ····move·v0,·v1
  
187 ····.line·63187 ····.line·63
188 ····goto·:goto_0188 ····goto·:goto_0
  
189 ····.line·65189 ····.line·65
190 ····:cond_7190 ····:cond_7
191 ····const/16·v2,·0x41191 ····const/16·v0,·0x41
  
192 ····if-lt·p1,·v2,·:cond_8192 ····if-lt·p1,·v0,·:cond_8
  
193 ····const/16·v2,·0x5a193 ····const/16·v0,·0x5a
  
194 ····if-gt·p1,·v2,·:cond_8194 ····if-gt·p1,·v0,·:cond_8
  
195 ····.line·66195 ····.line·66
196 ····invoke-virtual·{p2,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;196 ····invoke-virtual·{p2,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
197 ····.line·67197 ····.line·67
198 ····add-int/lit8·v2,·p1,·-0x41198 ····add-int/lit8·v0,·p1,·-0x41
  
199 ····add-int/lit8·v2,·v2,·0x1199 ····add-int/lit8·v0,·v0,·0x1
  
200 ····int-to-char·v2,·v2200 ····int-to-char·v0,·v0
  
201 ····invoke-virtual·{p2,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;201 ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
202 ····move·v0,·v1202 ····move·v0,·v1
  
203 ····.line·68203 ····.line·68
204 ····goto/16·:goto_0204 ····goto/16·:goto_0
Max diff block lines reached; 2022/5638 bytes (35.86%) of diff not shown.
3.54 KB
smali/com/google/zxing/datamatrix/encoder/X12Encoder.smali
    
Offset 13, 92 lines modifiedOffset 13, 90 lines modified
  
13 ····return-void13 ····return-void
14 .end·method14 .end·method
  
  
15 #·virtual·methods15 #·virtual·methods
16 .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V16 .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V
17 ····.locals·717 ····.locals·6
18 ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext;18 ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext;
  
19 ····.prologue19 ····.prologue
20 ····.line·2920 ····.line·29
21 ····new-instance·v0,·Ljava/lang/StringBuilder;21 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
22 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V22 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
23 ····.line·3023 ····.line·30
24 ····.local·v0,·"buffer":Ljava/lang/StringBuilder;24 ····.local·v0,·"buffer":Ljava/lang/StringBuilder;
25 ····:cond_025 ····:cond_0
26 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z26 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z
  
27 ····move-result·v427 ····move-result·v3
  
28 ····if-eqz·v4,·:cond_128 ····if-eqz·v3,·:cond_1
  
29 ····.line·3129 ····.line·31
30 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C30 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C
  
31 ····move-result·v131 ····move-result·v1
  
32 ····.line·3232 ····.line·32
33 ····.local·v1,·"c":C33 ····.local·v1,·"c":C
34 ····iget·v4,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I34 ····iget·v3,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
35 ····add-int/lit8·v4,·v4,·0x135 ····add-int/lit8·v3,·v3,·0x1
  
36 ····iput·v4,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I36 ····iput·v3,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
37 ····.line·3437 ····.line·34
38 ····invoke-virtual·{p0,·v1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->encodeChar(CLjava/lang/StringBuilder;)I38 ····invoke-virtual·{p0,·v1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->encodeChar(CLjava/lang/StringBuilder;)I
  
39 ····.line·3639 ····.line·36
40 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->length()I40 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->length()I
  
41 ····move-result·v241 ····move-result·v3
  
42 ····.line·3742 ····.line·37
43 ····.local·v2,·"count":I 
44 ····rem-int/lit8·v4,·v2,·0x343 ····rem-int/lit8·v3,·v3,·0x3
  
45 ····if-nez·v4,·:cond_044 ····if-nez·v3,·:cond_0
  
46 ····.line·3845 ····.line·38
47 ····invoke-static·{p1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->writeNextTriplet(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V46 ····invoke-static·{p1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->writeNextTriplet(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V
  
48 ····.line·4047 ····.line·40
49 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String;48 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String;
  
50 ····move-result-object·v449 ····move-result-object·v3
  
51 ····iget·v5,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I50 ····iget·v4,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
52 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->getEncodingMode()I51 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->getEncodingMode()I
  
53 ····move-result·v652 ····move-result·v5
  
54 ····invoke-static·{v4,·v5,·v6},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->lookAheadTest(Ljava/lang/CharSequence;II)I53 ····invoke-static·{v3,·v4,·v5},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->lookAheadTest(Ljava/lang/CharSequence;II)I
  
55 ····move-result·v354 ····move-result·v2
  
56 ····.line·4155 ····.line·41
57 ····.local·v3,·"newMode":I56 ····.local·v2,·"newMode":I
58 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->getEncodingMode()I57 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->getEncodingMode()I
  
59 ····move-result·v458 ····move-result·v3
  
60 ····if-eq·v3,·v4,·:cond_059 ····if-eq·v2,·v3,·:cond_0
  
61 ····.line·4260 ····.line·42
62 ····invoke-virtual·{p1,·v3},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V61 ····invoke-virtual·{p1,·v2},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V
  
63 ····.line·4762 ····.line·47
64 ····.end·local·v1····#·"c":C63 ····.end·local·v1····#·"c":C
65 ····.end·local·v2····#·"count":I 
66 ····.end·local·v3····#·"newMode":I64 ····.end·local·v2····#·"newMode":I
67 ····:cond_165 ····:cond_1
68 ····invoke-virtual·{p0,·p1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->handleEOD(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V66 ····invoke-virtual·{p0,·p1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->handleEOD(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V
  
69 ····.line·4867 ····.line·48
70 ····return-void68 ····return-void
71 .end·method69 .end·method
  
19.0 KB
smali/com/google/zxing/datamatrix/encoder/SymbolInfo.smali
    
Offset 657, 20 lines modifiedOffset 657, 18 lines modified
  
657 ····new-instance·v1,·Lcom/google/zxing/datamatrix/encoder/DataMatrixSymbolInfo144;657 ····new-instance·v1,·Lcom/google/zxing/datamatrix/encoder/DataMatrixSymbolInfo144;
  
658 ····invoke-direct·{v1},·Lcom/google/zxing/datamatrix/encoder/DataMatrixSymbolInfo144;-><init>()V658 ····invoke-direct·{v1},·Lcom/google/zxing/datamatrix/encoder/DataMatrixSymbolInfo144;-><init>()V
  
659 ····aput-object·v1,·v9,·v0659 ····aput-object·v1,·v9,·v0
  
660 ····sput-object·v9,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->PROD_SYMBOLS:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo; 
  
661 ····.line·64660 ····.line·64
662 ····sget-object·v0,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->PROD_SYMBOLS:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo;661 ····sput-object·v9,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->PROD_SYMBOLS:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
  
663 ····sput-object·v0,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->symbols:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo;662 ····sput-object·v9,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->symbols:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
  
664 ····return-void663 ····return-void
665 .end·method664 .end·method
  
666 .method·public·constructor·<init>(ZIIIII)V665 .method·public·constructor·<init>(ZIIIII)V
667 ····.locals·9666 ····.locals·9
668 ····.param·p1,·"rectangular"····#·Z667 ····.param·p1,·"rectangular"····#·Z
Offset 745, 14 lines modifiedOffset 743, 128 lines modified
745 ····.line·100743 ····.line·100
746 ····iput·p8,·p0,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rsBlockError:I744 ····iput·p8,·p0,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rsBlockError:I
  
747 ····.line·101745 ····.line·101
748 ····return-void746 ····return-void
749 .end·method747 .end·method
  
 748 .method·private·getHorizontalDataRegions()I
 749 ····.locals·2
  
 750 ····.prologue
 751 ····.line·156
 752 ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataRegions:I
  
 753 ····sparse-switch·v0,·:sswitch_data_0
  
 754 ····.line·167
 755 ····new-instance·v0,·Ljava/lang/IllegalStateException;
  
 756 ····const-string·v1,·"Cannot·handle·this·number·of·data·regions"
  
 757 ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
 758 ····throw·v0
  
 759 ····.line·158
 760 ····:sswitch_0
 761 ····const/4·v0,·0x1
  
 762 ····.line·165
 763 ····:goto_0
 764 ····return·v0
  
 765 ····.line·161
 766 ····:sswitch_1
 767 ····const/4·v0,·0x2
  
 768 ····goto·:goto_0
  
 769 ····.line·163
 770 ····:sswitch_2
 771 ····const/4·v0,·0x4
  
 772 ····goto·:goto_0
  
 773 ····.line·165
 774 ····:sswitch_3
 775 ····const/4·v0,·0x6
  
 776 ····goto·:goto_0
  
 777 ····.line·156
 778 ····nop
  
 779 ····:sswitch_data_0
 780 ····.sparse-switch
 781 ········0x1·->·:sswitch_0
 782 ········0x2·->·:sswitch_1
 783 ········0x4·->·:sswitch_1
 784 ········0x10·->·:sswitch_2
 785 ········0x24·->·:sswitch_3
 786 ····.end·sparse-switch
 787 .end·method
  
 788 .method·private·getVerticalDataRegions()I
 789 ····.locals·2
  
 790 ····.prologue
 791 ····.line·172
 792 ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataRegions:I
  
 793 ····sparse-switch·v0,·:sswitch_data_0
  
 794 ····.line·183
 795 ····new-instance·v0,·Ljava/lang/IllegalStateException;
  
 796 ····const-string·v1,·"Cannot·handle·this·number·of·data·regions"
  
 797 ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
 798 ····throw·v0
  
 799 ····.line·175
 800 ····:sswitch_0
 801 ····const/4·v0,·0x1
  
 802 ····.line·181
 803 ····:goto_0
 804 ····return·v0
  
 805 ····.line·177
 806 ····:sswitch_1
 807 ····const/4·v0,·0x2
  
 808 ····goto·:goto_0
  
 809 ····.line·179
 810 ····:sswitch_2
 811 ····const/4·v0,·0x4
  
 812 ····goto·:goto_0
  
 813 ····.line·181
 814 ····:sswitch_3
 815 ····const/4·v0,·0x6
  
Max diff block lines reached; 15985/19346 bytes (82.63%) of diff not shown.
8.84 KB
smali/com/google/zxing/datamatrix/encoder/HighLevelEncoder.smali
    
Offset 74, 18 lines modifiedOffset 74, 18 lines modified
  
74 ····.line·42874 ····.line·428
75 ····.local·v3,·"len":I75 ····.local·v3,·"len":I
76 ····move·v2,·p176 ····move·v2,·p1
  
77 ····.line·42977 ····.line·429
78 ····.local·v2,·"idx":I78 ····.local·v2,·"idx":I
79 ····if-ge·v2,·v3,·:cond_179 ····if-ge·p1,·v3,·:cond_1
  
80 ····.line·43080 ····.line·430
81 ····invoke-interface·{p0,·v2},·Ljava/lang/CharSequence;->charAt(I)C81 ····invoke-interface·{p0,·p1},·Ljava/lang/CharSequence;->charAt(I)C
  
82 ····move-result·v082 ····move-result·v0
  
83 ····.line·43183 ····.line·431
84 ····.local·v0,·"ch":C84 ····.local·v0,·"ch":C
85 ····:cond_085 ····:cond_0
86 ····:goto_086 ····:goto_0
Offset 236, 21 lines modifiedOffset 236, 15 lines modified
  
236 ····.line·172236 ····.line·172
237 ····invoke-virtual·{v2,·v8},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->setSkipAtEnd(I)V237 ····invoke-virtual·{v2,·v8},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->setSkipAtEnd(I)V
  
238 ····.line·173238 ····.line·173
239 ····iget·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I239 ····iget·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
 240 ····add-int/lit8·v6,·v6,·0x7
240 ····const-string·v7,·"[)>\u001e05\u001d" 
  
241 ····invoke-virtual·{v7},·Ljava/lang/String;->length()I 
  
242 ····move-result·v7 
  
243 ····add-int/2addr·v6,·v7 
  
244 ····iput·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I241 ····iput·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
245 ····.line·180242 ····.line·180
246 ····:cond_0243 ····:cond_0
247 ····:goto_0244 ····:goto_0
248 ····const/4·v4,·0x0245 ····const/4·v4,·0x0
Offset 313, 21 lines modifiedOffset 307, 15 lines modified
  
313 ····.line·176307 ····.line·176
314 ····invoke-virtual·{v2,·v8},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->setSkipAtEnd(I)V308 ····invoke-virtual·{v2,·v8},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->setSkipAtEnd(I)V
  
315 ····.line·177309 ····.line·177
316 ····iget·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I310 ····iget·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
 311 ····add-int/lit8·v6,·v6,·0x7
317 ····const-string·v7,·"[)>\u001e06\u001d" 
  
318 ····invoke-virtual·{v7},·Ljava/lang/String;->length()I 
  
319 ····move-result·v7 
  
320 ····add-int/2addr·v6,·v7 
  
321 ····iput·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I312 ····iput·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
322 ····goto·:goto_0313 ····goto·:goto_0
  
323 ····.line·188314 ····.line·188
324 ····.restart·local·v4····#·"encodingMode":I315 ····.restart·local·v4····#·"encodingMode":I
Offset 566, 21 lines modifiedOffset 554, 17 lines modified
566 ····move-result-object·v0554 ····move-result-object·v0
  
567 ····.line·445555 ····.line·445
568 ····new-instance·v1,·Ljava/lang/IllegalArgumentException;556 ····new-instance·v1,·Ljava/lang/IllegalArgumentException;
  
569 ····new-instance·v2,·Ljava/lang/StringBuilder;557 ····new-instance·v2,·Ljava/lang/StringBuilder;
  
570 ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V 
  
571 ····const-string·v3,·"Illegal·character:·"558 ····const-string·v3,·"Illegal·character:·"
  
572 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;559 ····invoke-direct·{v2,·v3},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
573 ····move-result-object·v2 
  
574 ····invoke-virtual·{v2,·p0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;560 ····invoke-virtual·{v2,·p0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
575 ····move-result-object·v2561 ····move-result-object·v2
  
576 ····const-string·v3,·"·(0x"562 ····const-string·v3,·"·(0x"
  
Offset 843, 15 lines modifiedOffset 827, 15 lines modified
843 ····:cond_1827 ····:cond_1
844 ····const/4·v0,·0x0828 ····const/4·v0,·0x0
  
845 ····goto·:goto_0829 ····goto·:goto_0
846 .end·method830 .end·method
  
847 .method·static·lookAheadTest(Ljava/lang/CharSequence;II)I831 .method·static·lookAheadTest(Ljava/lang/CharSequence;II)I
848 ····.locals·14832 ····.locals·12
849 ····.param·p0,·"msg"····#·Ljava/lang/CharSequence;833 ····.param·p0,·"msg"····#·Ljava/lang/CharSequence;
850 ····.param·p1,·"startpos"····#·I834 ····.param·p1,·"startpos"····#·I
851 ····.param·p2,·"currentMode"····#·I835 ····.param·p2,·"currentMode"····#·I
  
852 ····.prologue836 ····.prologue
853 ····.line·209837 ····.line·209
854 ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I838 ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I
Offset 889, 50 lines modifiedOffset 873, 49 lines modified
  
889 ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I873 ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I
  
890 ····move-result·v10874 ····move-result·v10
  
891 ····if-ne·v9,·v10,·:cond_8875 ····if-ne·v9,·v10,·:cond_8
  
892 ····.line·225 
893 ····const·v4,·0x7fffffff 
  
894 ····.line·226876 ····.line·226
895 ····.local·v4,·"min":I 
896 ····const/4·v9,·0x6877 ····const/4·v9,·0x6
  
897 ····new-array·v6,·v9,·[B878 ····new-array·v6,·v9,·[B
  
898 ····.line·227879 ····.line·227
899 ····.local·v6,·"mins":[B880 ····.local·v6,·"mins":[B
900 ····const/4·v9,·0x6881 ····const/4·v9,·0x6
  
901 ····new-array·v3,·v9,·[I882 ····new-array·v3,·v9,·[I
  
902 ····.line·228883 ····.line·228
903 ····.local·v3,·"intCharCounts":[I884 ····.local·v3,·"intCharCounts":[I
Max diff block lines reached; 5621/8923 bytes (62.99%) of diff not shown.
13.6 KB
smali/com/google/zxing/datamatrix/encoder/C40Encoder.smali
    
Offset 156, 213 lines modifiedOffset 156, 203 lines modified
156 ····.line·84156 ····.line·84
157 ····return-void157 ····return-void
158 .end·method158 .end·method
  
  
159 #·virtual·methods159 #·virtual·methods
160 .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V160 .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V
161 ····.locals·12161 ····.locals·14
162 ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext;162 ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext;
  
163 ····.prologue163 ····.prologue
 164 ····const/4·v13,·0x3
  
 165 ····const/4·v12,·0x1
  
 166 ····const/4·v11,·0x2
  
164 ····.line·29167 ····.line·29
165 ····new-instance·v1,·Ljava/lang/StringBuilder;168 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
166 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V169 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V
  
167 ····.line·30170 ····.line·30
168 ····.local·v1,·"buffer":Ljava/lang/StringBuilder;171 ····.local·v1,·"buffer":Ljava/lang/StringBuilder;
169 ····:cond_0172 ····:cond_0
170 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z173 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z
  
171 ····move-result·v9174 ····move-result·v8
  
172 ····if-eqz·v9,·:cond_6175 ····if-eqz·v8,·:cond_6
  
173 ····.line·31176 ····.line·31
174 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C177 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C
  
175 ····move-result·v2178 ····move-result·v2
  
176 ····.line·32179 ····.line·32
177 ····.local·v2,·"c":C180 ····.local·v2,·"c":C
178 ····iget·v9,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I181 ····iget·v8,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
179 ····add-int/lit8·v9,·v9,·0x1182 ····add-int/lit8·v8,·v8,·0x1
  
180 ····iput·v9,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I183 ····iput·v8,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
181 ····.line·34184 ····.line·34
182 ····invoke-virtual·{p0,·v2,·v1},·Lcom/google/zxing/datamatrix/encoder/C40Encoder;->encodeChar(CLjava/lang/StringBuilder;)I185 ····invoke-virtual·{p0,·v2,·v1},·Lcom/google/zxing/datamatrix/encoder/C40Encoder;->encodeChar(CLjava/lang/StringBuilder;)I
  
183 ····move-result·v5186 ····move-result·v4
  
184 ····.line·36187 ····.line·36
185 ····.local·v5,·"lastCharSize":I188 ····.local·v4,·"lastCharSize":I
186 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I189 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I
  
187 ····move-result·v9190 ····move-result·v8
  
188 ····div-int/lit8·v9,·v9,·0x3191 ····div-int/lit8·v8,·v8,·0x3
  
189 ····mul-int/lit8·v8,·v9,·0x2192 ····shl-int/lit8·v7,·v8,·0x1
  
190 ····.line·38193 ····.line·38
191 ····.local·v8,·"unwritten":I194 ····.local·v7,·"unwritten":I
192 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I195 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I
  
193 ····move-result·v9196 ····move-result·v8
  
194 ····add-int·v4,·v9,·v8197 ····add-int·v3,·v8,·v7
  
195 ····.line·39198 ····.line·39
196 ····.local·v4,·"curCodewordCount":I199 ····.local·v3,·"curCodewordCount":I
197 ····invoke-virtual·{p1,·v4},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->updateSymbolInfo(I)V200 ····invoke-virtual·{p1,·v3},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->updateSymbolInfo(I)V
  
198 ····.line·40201 ····.line·40
199 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo;202 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
  
200 ····move-result-object·v9203 ····move-result-object·v8
  
201 ····invoke-virtual·{v9},·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getDataCapacity()I204 ····invoke-virtual·{v8},·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getDataCapacity()I
  
202 ····move-result·v9205 ····move-result·v8
  
203 ····sub-int·v0,·v9,·v4206 ····sub-int·v0,·v8,·v3
  
204 ····.line·42207 ····.line·42
205 ····.local·v0,·"available":I208 ····.local·v0,·"available":I
206 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z209 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z
  
207 ····move-result·v9210 ····move-result·v8
  
208 ····if-nez·v9,·:cond_5211 ····if-nez·v8,·:cond_5
  
209 ····.line·44212 ····.line·44
210 ····new-instance·v7,·Ljava/lang/StringBuilder;213 ····new-instance·v6,·Ljava/lang/StringBuilder;
  
211 ····invoke-direct·{v7},·Ljava/lang/StringBuilder;-><init>()V214 ····invoke-direct·{v6},·Ljava/lang/StringBuilder;-><init>()V
  
212 ····.line·45215 ····.line·45
213 ····.local·v7,·"removed":Ljava/lang/StringBuilder;216 ····.local·v6,·"removed":Ljava/lang/StringBuilder;
214 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I217 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I
  
215 ····move-result·v9218 ····move-result·v8
  
216 ····rem-int/lit8·v9,·v9,·0x3219 ····rem-int/lit8·v8,·v8,·0x3
  
217 ····const/4·v10,·0x2 
  
218 ····if-ne·v9,·v10,·:cond_2220 ····if-ne·v8,·v11,·:cond_2
  
219 ····.line·46221 ····.line·46
220 ····const/4·v9,·0x2 
  
221 ····if-lt·v0,·v9,·:cond_1222 ····if-lt·v0,·v11,·:cond_1
  
222 ····const/4·v9,·0x2 
  
223 ····if-le·v0,·v9,·:cond_2223 ····if-le·v0,·v11,·:cond_2
  
224 ····.line·47224 ····.line·47
225 ····:cond_1225 ····:cond_1
226 ····invoke-direct·{p0,·p1,·v1,·v7,·v5},·Lcom/google/zxing/datamatrix/encoder/C40Encoder;->backtrackOneCharacter(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;Ljava/lang/StringBuilder;I)I226 ····invoke-direct·{p0,·p1,·v1,·v6,·v4},·Lcom/google/zxing/datamatrix/encoder/C40Encoder;->backtrackOneCharacter(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;Ljava/lang/StringBuilder;I)I
  
227 ····move-result·v5227 ····move-result·v4
  
228 ····.line·51228 ····.line·51
229 ····:cond_2229 ····:cond_2
230 ····:goto_0230 ····:goto_0
231 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I231 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I
  
Max diff block lines reached; 9254/13848 bytes (66.83%) of diff not shown.
8.67 KB
smali/com/google/zxing/datamatrix/encoder/Base256Encoder.smali
    
Offset 54, 145 lines modifiedOffset 54, 141 lines modified
  
54 ····goto·:goto_054 ····goto·:goto_0
55 .end·method55 .end·method
  
  
56 #·virtual·methods56 #·virtual·methods
57 .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V57 .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V
58 ····.locals·1458 ····.locals·12
59 ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext;59 ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext;
  
60 ····.prologue60 ····.prologue
61 ····const/16·v13,·0xf961 ····const/4·v7,·0x1
  
62 ····const/4·v8,·0x162 ····const/4·v8,·0x0
  
63 ····const/4·v9,·0x0 
  
64 ····.line·2863 ····.line·28
65 ····new-instance·v0,·Ljava/lang/StringBuilder;64 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
66 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V65 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
67 ····.line·2966 ····.line·29
68 ····.local·v0,·"buffer":Ljava/lang/StringBuilder;67 ····.local·v0,·"buffer":Ljava/lang/StringBuilder;
69 ····invoke-virtual·{v0,·v9},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;68 ····invoke-virtual·{v0,·v8},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
70 ····.line·3069 ····.line·30
71 ····:cond_070 ····:cond_0
72 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z71 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z
  
73 ····move-result·v1072 ····move-result·v9
  
74 ····if-eqz·v10,·:cond_173 ····if-eqz·v9,·:cond_1
  
75 ····.line·3174 ····.line·31
76 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C75 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C
  
77 ····move-result·v176 ····move-result·v1
  
78 ····.line·3277 ····.line·32
79 ····.local·v1,·"c":C78 ····.local·v1,·"c":C
80 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;79 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
81 ····.line·3480 ····.line·34
82 ····iget·v10,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I81 ····iget·v9,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
83 ····add-int/lit8·v10,·v10,·0x182 ····add-int/lit8·v9,·v9,·0x1
  
84 ····iput·v10,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I83 ····iput·v9,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
85 ····.line·3684 ····.line·36
86 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String;85 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String;
  
87 ····move-result-object·v1086 ····move-result-object·v9
  
88 ····iget·v11,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I87 ····iget·v10,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I
  
89 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/Base256Encoder;->getEncodingMode()I88 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/Base256Encoder;->getEncodingMode()I
  
90 ····move-result·v1289 ····move-result·v11
  
91 ····invoke-static·{v10,·v11,·v12},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->lookAheadTest(Ljava/lang/CharSequence;II)I90 ····invoke-static·{v9,·v10,·v11},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->lookAheadTest(Ljava/lang/CharSequence;II)I
  
92 ····move-result·v791 ····move-result·v6
  
93 ····.line·3792 ····.line·37
94 ····.local·v7,·"newMode":I93 ····.local·v6,·"newMode":I
95 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/Base256Encoder;->getEncodingMode()I94 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/Base256Encoder;->getEncodingMode()I
  
96 ····move-result·v1095 ····move-result·v9
  
97 ····if-eq·v7,·v10,·:cond_096 ····if-eq·v6,·v9,·:cond_0
  
98 ····.line·3897 ····.line·38
99 ····invoke-virtual·{p1,·v7},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V98 ····invoke-virtual·{p1,·v6},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V
  
100 ····.line·4299 ····.line·42
101 ····.end·local·v1····#·"c":C100 ····.end·local·v1····#·"c":C
102 ····.end·local·v7····#·"newMode":I101 ····.end·local·v6····#·"newMode":I
103 ····:cond_1102 ····:cond_1
104 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->length()I103 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->length()I
  
105 ····move-result·v10104 ····move-result·v9
  
106 ····add-int/lit8·v3,·v10,·-0x1 
  
 105 ····add-int/lit8·v3,·v9,·-0x1
107 ····.line·43 
108 ····.local·v3,·"dataCount":I 
109 ····const/4·v5,·0x1 
  
110 ····.line·44106 ····.line·44
111 ····.local·v5,·"lengthFieldSize":I107 ····.local·v3,·"dataCount":I
112 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I108 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I
  
113 ····move-result·v10109 ····move-result·v9
  
114 ····add-int/2addr·v10,·v3110 ····add-int/2addr·v9,·v3
  
115 ····add-int·v2,·v10,·v5111 ····add-int/lit8·v2,·v9,·0x1
  
116 ····.line·45112 ····.line·45
117 ····.local·v2,·"currentSize":I113 ····.local·v2,·"currentSize":I
118 ····invoke-virtual·{p1,·v2},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->updateSymbolInfo(I)V114 ····invoke-virtual·{p1,·v2},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->updateSymbolInfo(I)V
  
119 ····.line·46115 ····.line·46
120 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo;116 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
  
121 ····move-result-object·v10117 ····move-result-object·v9
  
122 ····invoke-virtual·{v10},·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getDataCapacity()I118 ····invoke-virtual·{v9},·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getDataCapacity()I
  
123 ····move-result·v10119 ····move-result·v9
  
124 ····sub-int/2addr·v10,·v2120 ····sub-int/2addr·v9,·v2
  
125 ····if-lez·v10,·:cond_4121 ····if-lez·v9,·:cond_4
  
126 ····move·v6,·v8122 ····move·v5,·v7
  
127 ····.line·47123 ····.line·47
128 ····.local·v6,·"mustPad":Z124 ····.local·v5,·"mustPad":Z
129 ····:goto_0125 ····:goto_0
130 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z126 ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z
  
131 ····move-result·v10127 ····move-result·v9
  
Max diff block lines reached; 4042/8749 bytes (46.20%) of diff not shown.
12.5 KB
smali/com/google/zxing/datamatrix/encoder/EdifactEncoder.smali
    
Offset 224, 340 lines modifiedOffset 224, 327 lines modified
224 ····move·v2,·v3224 ····move·v2,·v3
  
225 ····.line·119225 ····.line·119
226 ····goto·:goto_1226 ····goto·:goto_1
227 .end·method227 .end·method
  
228 .method·private·static·handleEOD(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/CharSequence;)V228 .method·private·static·handleEOD(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/CharSequence;)V
229 ····.locals·11229 ····.locals·9
230 ····.param·p0,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext;230 ····.param·p0,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext;
231 ····.param·p1,·"buffer"····#·Ljava/lang/CharSequence;231 ····.param·p1,·"buffer"····#·Ljava/lang/CharSequence;
  
232 ····.prologue232 ····.prologue
233 ····const/4·v10,·0x2233 ····const/4·v8,·0x2
  
234 ····const/4·v6,·0x1234 ····const/4·v4,·0x1
  
235 ····const/4·v8,·0x0235 ····const/4·v6,·0x0
  
236 ····.line·59236 ····.line·59
237 ····:try_start_0237 ····:try_start_0
238 ····invoke-interface·{p1},·Ljava/lang/CharSequence;->length()I238 ····invoke-interface·{p1},·Ljava/lang/CharSequence;->length()I
239 ····:try_end_0239 ····:try_end_0
240 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0240 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
241 ····move-result·v1241 ····move-result·v1
  
242 ····.line·60242 ····.line·60
243 ····.local·v1,·"count":I243 ····.local·v1,·"count":I
244 ····if-nez·v1,·:cond_0244 ····if-nez·v1,·:cond_0
  
245 ····.line·98245 ····.line·98
246 ····invoke-virtual·{p0,·v8},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V246 ····invoke-virtual·{p0,·v6},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V
  
247 ····.line·100247 ····.line·99
248 ····:goto_0248 ····:goto_0
249 ····return-void249 ····return-void
  
250 ····.line·63250 ····.line·63
251 ····:cond_0251 ····:cond_0
252 ····if-ne·v1,·v6,·:cond_1252 ····if-ne·v1,·v4,·:cond_1
  
253 ····.line·65253 ····.line·65
254 ····:try_start_1254 ····:try_start_1
255 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->updateSymbolInfo()V255 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->updateSymbolInfo()V
  
256 ····.line·66256 ····.line·66
257 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo;257 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo;
  
258 ····move-result-object·v7258 ····move-result-object·v5
  
259 ····invoke-virtual·{v7},·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getDataCapacity()I259 ····invoke-virtual·{v5},·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getDataCapacity()I
  
260 ····move-result·v7260 ····move-result·v5
  
261 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I261 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I
  
262 ····move-result·v9262 ····move-result·v7
  
263 ····sub-int·v0,·v7,·v9263 ····sub-int·v0,·v5,·v7
  
264 ····.line·67264 ····.line·67
265 ····.local·v0,·"available":I265 ····.local·v0,·"available":I
266 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getRemainingCharacters()I266 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getRemainingCharacters()I
267 ····:try_end_1267 ····:try_end_1
268 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0268 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0
  
269 ····move-result·v4269 ····move-result·v5
  
270 ····.line·68270 ····.line·68
271 ····.local·v4,·"remaining":I 
272 ····if-nez·v4,·:cond_1271 ····if-nez·v5,·:cond_1
  
273 ····if-gt·v0,·v10,·:cond_1272 ····if-gt·v0,·v8,·:cond_1
  
274 ····.line·98273 ····.line·98
275 ····invoke-virtual·{p0,·v8},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V274 ····invoke-virtual·{p0,·v6},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V
  
276 ····goto·:goto_0275 ····goto·:goto_0
  
277 ····.line·73276 ····.line·73
278 ····.end·local·v0····#·"available":I277 ····.end·local·v0····#·"available":I
279 ····.end·local·v4····#·"remaining":I 
280 ····:cond_1278 ····:cond_1
281 ····const/4·v7,·0x4279 ····const/4·v5,·0x4
  
282 ····if-le·v1,·v7,·:cond_2280 ····if-le·v1,·v5,·:cond_2
  
283 ····.line·74281 ····.line·74
284 ····:try_start_2282 ····:try_start_2
285 ····new-instance·v7,·Ljava/lang/IllegalStateException;283 ····new-instance·v5,·Ljava/lang/IllegalStateException;
  
286 ····const-string·v9,·"Count·must·not·exceed·4"284 ····const-string·v7,·"Count·must·not·exceed·4"
  
287 ····invoke-direct·{v7,·v9},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V285 ····invoke-direct·{v5,·v7},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
288 ····throw·v7286 ····throw·v5
289 ····:try_end_2287 ····:try_end_2
290 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_0288 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_0
  
291 ····.line·98289 ····.line·98
292 ····.end·local·v1····#·"count":I290 ····.end·local·v1····#·"count":I
293 ····:catchall_0291 ····:catchall_0
294 ····move-exception·v7292 ····move-exception·v5
  
295 ····invoke-virtual·{p0,·v8},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V293 ····invoke-virtual·{p0,·v6},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V
  
296 ····throw·v7294 ····throw·v5
  
297 ····.line·76295 ····.line·76
298 ····.restart·local·v1····#·"count":I296 ····.restart·local·v1····#·"count":I
299 ····:cond_2297 ····:cond_2
300 ····add-int/lit8·v5,·v1,·-0x1298 ····add-int/lit8·v3,·v1,·-0x1
  
301 ····.line·77299 ····.line·77
302 ····.local·v5,·"restChars":I300 ····.local·v3,·"restChars":I
303 ····const/4·v7,·0x0301 ····const/4·v5,·0x0
  
304 ····:try_start_3302 ····:try_start_3
305 ····invoke-static·{p1,·v7},·Lcom/google/zxing/datamatrix/encoder/EdifactEncoder;->encodeToCodewords(Ljava/lang/CharSequence;I)Ljava/lang/String;303 ····invoke-static·{p1,·v5},·Lcom/google/zxing/datamatrix/encoder/EdifactEncoder;->encodeToCodewords(Ljava/lang/CharSequence;I)Ljava/lang/String;
  
306 ····move-result-object·v2304 ····move-result-object·v2
  
307 ····.line·78305 ····.line·78
308 ····.local·v2,·"encoded":Ljava/lang/String;306 ····.local·v2,·"encoded":Ljava/lang/String;
309 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z307 ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z
  
310 ····move-result·v7308 ····move-result·v5
Max diff block lines reached; 8148/12641 bytes (64.46%) of diff not shown.
1.16 KB
smali/com/google/zxing/datamatrix/encoder/ErrorCorrection.smali
    
Offset 220, 15 lines modifiedOffset 220, 15 lines modified
  
220 ····.line·83220 ····.line·83
221 ····sget-object·v2,·Lcom/google/zxing/datamatrix/encoder/ErrorCorrection;->LOG:[I221 ····sget-object·v2,·Lcom/google/zxing/datamatrix/encoder/ErrorCorrection;->LOG:[I
  
222 ····aput·v0,·v2,·v1222 ····aput·v0,·v2,·v1
  
223 ····.line·84223 ····.line·84
224 ····mul-int/lit8·v1,·v1,·0x2224 ····shl-int/lit8·v1,·v1,·0x1
  
225 ····.line·85225 ····.line·85
226 ····const/16·v2,·0x100226 ····const/16·v2,·0x100
  
227 ····if-lt·v1,·v2,·:cond_0227 ····if-lt·v1,·v2,·:cond_0
  
228 ····.line·86228 ····.line·86
Offset 863, 21 lines modifiedOffset 863, 17 lines modified
863 ····if-gez·v6,·:cond_2863 ····if-gez·v6,·:cond_2
  
864 ····.line·154864 ····.line·154
865 ····new-instance·v7,·Ljava/lang/IllegalArgumentException;865 ····new-instance·v7,·Ljava/lang/IllegalArgumentException;
  
866 ····new-instance·v8,·Ljava/lang/StringBuilder;866 ····new-instance·v8,·Ljava/lang/StringBuilder;
  
867 ····invoke-direct·{v8},·Ljava/lang/StringBuilder;-><init>()V 
  
868 ····const-string·v9,·"Illegal·number·of·error·correction·codewords·specified:·"867 ····const-string·v9,·"Illegal·number·of·error·correction·codewords·specified:·"
  
869 ····invoke-virtual·{v8,·v9},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;868 ····invoke-direct·{v8,·v9},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
870 ····move-result-object·v8 
  
871 ····invoke-virtual·{v8,·p3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;869 ····invoke-virtual·{v8,·p3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
872 ····move-result-object·v8870 ····move-result-object·v8
  
873 ····invoke-virtual·{v8},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;871 ····invoke-virtual·{v8},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
10.7 KB
smali/com/google/zxing/pdf417/PDF417Writer.smali
    
Offset 20, 15 lines modifiedOffset 20, 15 lines modified
20 ····.line·3520 ····.line·35
21 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V21 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
22 ····return-void22 ····return-void
23 .end·method23 .end·method
  
24 .method·private·static·bitMatrixFromEncoder(Lcom/google/zxing/pdf417/encoder/PDF417;Ljava/lang/String;IIII)Lcom/google/zxing/common/BitMatrix;24 .method·private·static·bitMatrixFromEncoder(Lcom/google/zxing/pdf417/encoder/PDF417;Ljava/lang/String;IIII)Lcom/google/zxing/common/BitMatrix;
25 ····.locals·1025 ····.locals·9
26 ····.param·p0,·"encoder"····#·Lcom/google/zxing/pdf417/encoder/PDF417;26 ····.param·p0,·"encoder"····#·Lcom/google/zxing/pdf417/encoder/PDF417;
27 ····.param·p1,·"contents"····#·Ljava/lang/String;27 ····.param·p1,·"contents"····#·Ljava/lang/String;
28 ····.param·p2,·"errorCorrectionLevel"····#·I28 ····.param·p2,·"errorCorrectionLevel"····#·I
29 ····.param·p3,·"width"····#·I29 ····.param·p3,·"width"····#·I
30 ····.param·p4,·"height"····#·I30 ····.param·p4,·"height"····#·I
31 ····.param·p5,·"margin"····#·I31 ····.param·p5,·"margin"····#·I
32 ····.annotation·system·Ldalvik/annotation/Throws;32 ····.annotation·system·Ldalvik/annotation/Throws;
Offset 37, 154 lines modifiedOffset 37, 152 lines modified
37 ········}37 ········}
38 ····.end·annotation38 ····.end·annotation
  
39 ····.prologue39 ····.prologue
40 ····.line·10740 ····.line·107
41 ····invoke-virtual·{p0,·p1,·p2},·Lcom/google/zxing/pdf417/encoder/PDF417;->generateBarcodeLogic(Ljava/lang/String;I)V41 ····invoke-virtual·{p0,·p1,·p2},·Lcom/google/zxing/pdf417/encoder/PDF417;->generateBarcodeLogic(Ljava/lang/String;I)V
  
42 ····.line·109 
43 ····const/4·v0,·0x4 
  
44 ····.line·11042 ····.line·110
45 ····.local·v0,·"aspectRatio":I 
46 ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/encoder/PDF417;->getBarcodeMatrix()Lcom/google/zxing/pdf417/encoder/BarcodeMatrix;43 ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/encoder/PDF417;->getBarcodeMatrix()Lcom/google/zxing/pdf417/encoder/BarcodeMatrix;
  
47 ····move-result-object·v744 ····move-result-object·v6
  
48 ····const/4·v8,·0x145 ····const/4·v7,·0x1
  
49 ····invoke-virtual·{v7,·v8,·v0},·Lcom/google/zxing/pdf417/encoder/BarcodeMatrix;->getScaledMatrix(II)[[B46 ····const/4·v8,·0x4
  
 47 ····invoke-virtual·{v6,·v7,·v8},·Lcom/google/zxing/pdf417/encoder/BarcodeMatrix;->getScaledMatrix(II)[[B
  
50 ····move-result-object·v148 ····move-result-object·v0
  
51 ····.line·11149 ····.line·111
52 ····.local·v1,·"originalScale":[[B50 ····.local·v0,·"originalScale":[[B
53 ····const/4·v2,·0x051 ····const/4·v1,·0x0
  
54 ····.line·11252 ····.line·112
55 ····.local·v2,·"rotated":Z53 ····.local·v1,·"rotated":Z
56 ····if-le·p4,·p3,·:cond_254 ····if-le·p4,·p3,·:cond_2
  
57 ····const/4·v7,·0x155 ····const/4·v6,·0x1
  
58 ····:goto_056 ····:goto_0
59 ····const/4·v8,·0x057 ····const/4·v7,·0x0
  
60 ····aget-object·v8,·v1,·v858 ····aget-object·v7,·v0,·v7
  
61 ····array-length·v8,·v859 ····array-length·v7,·v7
  
62 ····array-length·v9,·v160 ····array-length·v8,·v0
  
63 ····if-ge·v8,·v9,·:cond_361 ····if-ge·v7,·v8,·:cond_3
  
64 ····const/4·v8,·0x162 ····const/4·v7,·0x1
  
65 ····:goto_163 ····:goto_1
66 ····xor-int/2addr·v7,·v864 ····xor-int/2addr·v6,·v7
  
67 ····if-eqz·v7,·:cond_065 ····if-eqz·v6,·:cond_0
  
68 ····.line·11366 ····.line·113
69 ····invoke-static·{v1},·Lcom/google/zxing/pdf417/PDF417Writer;->rotateArray([[B)[[B67 ····invoke-static·{v0},·Lcom/google/zxing/pdf417/PDF417Writer;->rotateArray([[B)[[B
  
70 ····move-result-object·v168 ····move-result-object·v0
  
71 ····.line·11469 ····.line·114
72 ····const/4·v2,·0x170 ····const/4·v1,·0x1
  
73 ····.line·11771 ····.line·117
74 ····:cond_072 ····:cond_0
75 ····const/4·v7,·0x073 ····const/4·v6,·0x0
  
76 ····aget-object·v7,·v1,·v774 ····aget-object·v6,·v0,·v6
  
77 ····array-length·v7,·v775 ····array-length·v6,·v6
  
78 ····div-int·v4,·p3,·v776 ····div-int·v3,·p3,·v6
  
79 ····.line·11877 ····.line·118
80 ····.local·v4,·"scaleX":I78 ····.local·v3,·"scaleX":I
81 ····array-length·v7,·v179 ····array-length·v6,·v0
  
82 ····div-int·v5,·p4,·v780 ····div-int·v4,·p4,·v6
  
83 ····.line·12181 ····.line·121
84 ····.local·v5,·"scaleY":I82 ····.local·v4,·"scaleY":I
85 ····if-ge·v4,·v5,·:cond_483 ····if-ge·v3,·v4,·:cond_4
  
86 ····.line·12284 ····.line·122
87 ····move·v3,·v485 ····move·v2,·v3
  
88 ····.line·12786 ····.line·127
89 ····.local·v3,·"scale":I87 ····.local·v2,·"scale":I
90 ····:goto_288 ····:goto_2
91 ····const/4·v7,·0x189 ····const/4·v6,·0x1
  
92 ····if-le·v3,·v7,·:cond_590 ····if-le·v2,·v6,·:cond_5
  
93 ····.line·12991 ····.line·129
94 ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/encoder/PDF417;->getBarcodeMatrix()Lcom/google/zxing/pdf417/encoder/BarcodeMatrix;92 ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/encoder/PDF417;->getBarcodeMatrix()Lcom/google/zxing/pdf417/encoder/BarcodeMatrix;
  
95 ····move-result-object·v793 ····move-result-object·v6
  
96 ····mul-int·v8,·v3,·v094 ····shl-int/lit8·v7,·v2,·0x2
  
97 ····invoke-virtual·{v7,·v3,·v8},·Lcom/google/zxing/pdf417/encoder/BarcodeMatrix;->getScaledMatrix(II)[[B95 ····invoke-virtual·{v6,·v2,·v7},·Lcom/google/zxing/pdf417/encoder/BarcodeMatrix;->getScaledMatrix(II)[[B
  
98 ····move-result-object·v696 ····move-result-object·v5
  
99 ····.line·13097 ····.line·130
100 ····.local·v6,·"scaledMatrix":[[B98 ····.local·v5,·"scaledMatrix":[[B
101 ····if-eqz·v2,·:cond_199 ····if-eqz·v1,·:cond_1
  
102 ····.line·131100 ····.line·131
103 ····invoke-static·{v6},·Lcom/google/zxing/pdf417/PDF417Writer;->rotateArray([[B)[[B101 ····invoke-static·{v5},·Lcom/google/zxing/pdf417/PDF417Writer;->rotateArray([[B)[[B
  
104 ····move-result-object·v6102 ····move-result-object·v5
  
105 ····.line·133103 ····.line·133
Max diff block lines reached; 6694/10839 bytes (61.76%) of diff not shown.
4.38 KB
smali/com/google/zxing/pdf417/PDF417Common.smali
    
Offset 28, 38 lines modifiedOffset 28, 38 lines modified
28 #·direct·methods28 #·direct·methods
29 .method·static·constructor·<clinit>()V29 .method·static·constructor·<clinit>()V
30 ····.locals·230 ····.locals·2
  
31 ····.prologue31 ····.prologue
32 ····const/16·v1,·0xae332 ····const/16·v1,·0xae3
  
33 ····.line·3833 ····.line·40
34 ····const/4·v0,·0x034 ····const/4·v0,·0x0
  
35 ····new-array·v0,·v0,·[I35 ····new-array·v0,·v0,·[I
  
36 ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->EMPTY_INT_ARRAY:[I36 ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->EMPTY_INT_ARRAY:[I
  
37 ····.line·8037 ····.line·84
38 ····new-array·v0,·v1,·[I38 ····new-array·v0,·v1,·[I
  
39 ····fill-array-data·v0,·:array_039 ····fill-array-data·v0,·:array_0
  
40 ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I40 ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I
  
41 ····.line·31841 ····.line·322
42 ····new-array·v0,·v1,·[I42 ····new-array·v0,·v1,·[I
  
43 ····fill-array-data·v0,·:array_143 ····fill-array-data·v0,·:array_1
  
44 ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->CODEWORD_TABLE:[I44 ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->CODEWORD_TABLE:[I
  
45 ····return-void45 ····return-void
  
46 ····.line·8046 ····.line·84
47 ····:array_047 ····:array_0
48 ····.array-data·448 ····.array-data·4
49 ········0x1025e49 ········0x1025e
50 ········0x1027a50 ········0x1027a
51 ········0x1029e51 ········0x1029e
52 ········0x102bc52 ········0x102bc
53 ········0x102f253 ········0x102f2
Offset 2843, 15 lines modifiedOffset 2843, 15 lines modified
2843 ········0x1fba22843 ········0x1fba2
2844 ········0x1fba42844 ········0x1fba4
2845 ········0x1fba82845 ········0x1fba8
2846 ········0x1fbb62846 ········0x1fbb6
2847 ········0x1fbda2847 ········0x1fbda
2848 ····.end·array-data2848 ····.end·array-data
  
2849 ····.line·3182849 ····.line·322
2850 ····:array_12850 ····:array_1
2851 ····.array-data·42851 ····.array-data·4
2852 ········0xa432852 ········0xa43
2853 ········0x71b2853 ········0x71b
2854 ········0xa3e2854 ········0xa3e
2855 ········0xa3d2855 ········0xa3d
2856 ········0x7152856 ········0x715
Offset 5640, 79 lines modifiedOffset 5640, 60 lines modified
5640 ····.end·array-data5640 ····.end·array-data
5641 .end·method5641 .end·method
  
5642 .method·private·constructor·<init>()V5642 .method·private·constructor·<init>()V
5643 ····.locals·05643 ····.locals·0
  
5644 ····.prologue5644 ····.prologue
5645 ····.line·405645 ····.line·42
5646 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V5646 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
5647 ····.line·415647 ····.line·43
5648 ····return-void5648 ····return-void
5649 .end·method5649 .end·method
  
5650 .method·public·static·getBitCountSum([I)I5650 .method·public·static·getBitCountSum([I)I
5651 ····.locals·45651 ····.locals·1
5652 ····.param·p0,·"moduleBitCount"····#·[I5652 ····.param·p0,·"moduleBitCount"····#·[I
 5653 ····.annotation·runtime·Ljava/lang/Deprecated;
 5654 ····.end·annotation
  
5653 ····.prologue5655 ····.prologue
5654 ····.line·44 
5655 ····const/4·v0,·0x0 
  
5656 ····.line·455656 ····.line·52
 5657 ····invoke-static·{p0},·Lcom/google/zxing/common/detector/MathUtils;->sum([I)I
5657 ····.local·v0,·"bitCountSum":I 
5658 ····array-length·v3,·p0 
  
5659 ····const/4·v2,·0x0 
  
5660 ····:goto_0 
5661 ····if-ge·v2,·v3,·:cond_0 
  
5662 ····aget·v1,·p0,·v2 
  
5663 ····.line·46 
5664 ····.local·v1,·"count":I 
5665 ····add-int/2addr·v0,·v1 
  
5666 ····.line·45 
5667 ····add-int/lit8·v2,·v2,·0x1 
  
5668 ····goto·:goto_05658 ····move-result·v0
  
5669 ····.line·48 
5670 ····.end·local·v1····#·"count":I 
5671 ····:cond_0 
5672 ····return·v05659 ····return·v0
5673 .end·method5660 .end·method
  
5674 .method·public·static·getCodeword(I)I5661 .method·public·static·getCodeword(I)I
5675 ····.locals·35662 ····.locals·3
5676 ····.param·p0,·"symbol"····#·I5663 ····.param·p0,·"symbol"····#·I
  
5677 ····.prologue5664 ····.prologue
5678 ····.line·685665 ····.line·72
5679 ····sget-object·v1,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I5666 ····sget-object·v1,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I
  
5680 ····const·v2,·0x3ffff5667 ····const·v2,·0x3ffff
  
5681 ····and-int/2addr·v2,·p05668 ····and-int/2addr·v2,·p0
  
5682 ····invoke-static·{v1,·v2},·Ljava/util/Arrays;->binarySearch([II)I5669 ····invoke-static·{v1,·v2},·Ljava/util/Arrays;->binarySearch([II)I
  
5683 ····move-result·v05670 ····move-result·v0
  
5684 ····.line·695671 ····.line·73
5685 ····.local·v0,·"i":I5672 ····.local·v0,·"i":I
5686 ····if-gez·v0,·:cond_05673 ····if-gez·v0,·:cond_0
  
5687 ····.line·705674 ····.line·74
Max diff block lines reached; 1821/4393 bytes (41.45%) of diff not shown.
1.96 KB
smali/com/google/zxing/pdf417/PDF417Reader.smali
    
Offset 521, 15 lines modifiedOffset 521, 15 lines modified
  
521 ····move-result-object·v0521 ····move-result-object·v0
  
522 ····return-object·v0522 ····return-object·v0
523 .end·method523 .end·method
  
524 .method·public·decodeMultiple(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)[Lcom/google/zxing/Result;524 .method·public·decodeMultiple(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)[Lcom/google/zxing/Result;
525 ····.locals·2525 ····.locals·1
526 ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap;526 ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap;
527 ····.annotation·system·Ldalvik/annotation/Signature;527 ····.annotation·system·Ldalvik/annotation/Signature;
528 ········value·=·{528 ········value·=·{
529 ············"(",529 ············"(",
530 ············"Lcom/google/zxing/BinaryBitmap;",530 ············"Lcom/google/zxing/BinaryBitmap;",
531 ············"Ljava/util/Map",531 ············"Ljava/util/Map",
532 ············"<",532 ············"<",
Offset 544, 41 lines modifiedOffset 544, 37 lines modified
544 ············Lcom/google/zxing/NotFoundException;544 ············Lcom/google/zxing/NotFoundException;
545 ········}545 ········}
546 ····.end·annotation546 ····.end·annotation
  
547 ····.prologue547 ····.prologue
548 ····.line·76548 ····.line·76
549 ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"549 ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"
550 ····const/4·v1,·0x1550 ····const/4·v0,·0x1
  
551 ····:try_start_0551 ····:try_start_0
552 ····invoke-static·{p1,·p2,·v1},·Lcom/google/zxing/pdf417/PDF417Reader;->decode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;Z)[Lcom/google/zxing/Result;552 ····invoke-static·{p1,·p2,·v0},·Lcom/google/zxing/pdf417/PDF417Reader;->decode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;Z)[Lcom/google/zxing/Result;
553 ····:try_end_0553 ····:try_end_0
554 ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_0554 ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_0
555 ····.catch·Lcom/google/zxing/ChecksumException;·{:try_start_0·..·:try_end_0}·:catch_1555 ····.catch·Lcom/google/zxing/ChecksumException;·{:try_start_0·..·:try_end_0}·:catch_1
  
556 ····move-result-object·v1556 ····move-result-object·v0
  
557 ····return-object·v1557 ····return-object·v0
  
558 ····.line·77558 ····.line·78
559 ····:catch_0559 ····:catch_0
560 ····move-exception·v0560 ····move-exception·v0
  
561 ····.line·78 
562 ····.local·v0,·"ignored":Lcom/google/zxing/ReaderException; 
563 ····:goto_0561 ····:goto_0
564 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;562 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
565 ····move-result-object·v1563 ····move-result-object·v0
  
566 ····throw·v1564 ····throw·v0
  
567 ····.line·77 
568 ····.end·local·v0····#·"ignored":Lcom/google/zxing/ReaderException; 
569 ····:catch_1565 ····:catch_1
570 ····move-exception·v0566 ····move-exception·v0
  
571 ····goto·:goto_0567 ····goto·:goto_0
572 .end·method568 .end·method
  
573 .method·public·reset()V569 .method·public·reset()V
12.7 KB
smali/com/google/zxing/pdf417/detector/Detector.smali
    
Offset 268, 73 lines modifiedOffset 268, 66 lines modified
268 ····.line·102268 ····.line·102
269 ····.local·v3,·"foundBarcodeInRow":Z269 ····.local·v3,·"foundBarcodeInRow":Z
270 ····:goto_0270 ····:goto_0
271 ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitMatrix;->getHeight()I271 ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitMatrix;->getHeight()I
  
272 ····move-result·v6272 ····move-result·v6
  
273 ····if-ge·v4,·v6,·:cond_0273 ····if-ge·v4,·v6,·:cond_5
  
274 ····.line·103274 ····.line·103
275 ····invoke-static·{p1,·v4,·v2},·Lcom/google/zxing/pdf417/detector/Detector;->findVertices(Lcom/google/zxing/common/BitMatrix;II)[Lcom/google/zxing/ResultPoint;275 ····invoke-static·{p1,·v4,·v2},·Lcom/google/zxing/pdf417/detector/Detector;->findVertices(Lcom/google/zxing/common/BitMatrix;II)[Lcom/google/zxing/ResultPoint;
  
276 ····move-result-object·v5276 ····move-result-object·v5
  
277 ····.line·105277 ····.line·105
278 ····.local·v5,·"vertices":[Lcom/google/zxing/ResultPoint;278 ····.local·v5,·"vertices":[Lcom/google/zxing/ResultPoint;
279 ····const/4·v6,·0x0279 ····const/4·v6,·0x0
  
280 ····aget-object·v6,·v5,·v6280 ····aget-object·v6,·v5,·v6
  
281 ····if-nez·v6,·:cond_5281 ····if-nez·v6,·:cond_3
  
282 ····aget-object·v6,·v5,·v10282 ····aget-object·v6,·v5,·v10
  
283 ····if-nez·v6,·:cond_5283 ····if-nez·v6,·:cond_3
  
284 ····.line·106284 ····.line·106
285 ····if-nez·v3,·:cond_1285 ····if-eqz·v3,·:cond_5
  
286 ····.line·140 
287 ····.end·local·v5····#·"vertices":[Lcom/google/zxing/ResultPoint; 
288 ····:cond_0 
289 ····return-object·v1 
  
290 ····.line·112286 ····.line·112
291 ····.restart·local·v5····#·"vertices":[Lcom/google/zxing/ResultPoint; 
292 ····:cond_1 
293 ····const/4·v3,·0x0287 ····const/4·v3,·0x0
  
294 ····.line·113288 ····.line·113
295 ····const/4·v2,·0x0289 ····const/4·v2,·0x0
  
296 ····.line·114290 ····.line·114
297 ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator;291 ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator;
  
298 ····move-result-object·v6292 ····move-result-object·v6
  
299 ····:cond_2293 ····:cond_0
300 ····:goto_1294 ····:goto_1
301 ····invoke-interface·{v6},·Ljava/util/Iterator;->hasNext()Z295 ····invoke-interface·{v6},·Ljava/util/Iterator;->hasNext()Z
  
302 ····move-result·v7296 ····move-result·v7
  
303 ····if-eqz·v7,·:cond_4297 ····if-eqz·v7,·:cond_2
  
304 ····invoke-interface·{v6},·Ljava/util/Iterator;->next()Ljava/lang/Object;298 ····invoke-interface·{v6},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
305 ····move-result-object·v0299 ····move-result-object·v0
  
306 ····check-cast·v0,·[Lcom/google/zxing/ResultPoint;300 ····check-cast·v0,·[Lcom/google/zxing/ResultPoint;
  
307 ····.line·115301 ····.line·115
308 ····.local·v0,·"barcodeCoordinate":[Lcom/google/zxing/ResultPoint;302 ····.local·v0,·"barcodeCoordinate":[Lcom/google/zxing/ResultPoint;
309 ····aget-object·v7,·v0,·v11303 ····aget-object·v7,·v0,·v11
  
310 ····if-eqz·v7,·:cond_3304 ····if-eqz·v7,·:cond_1
  
311 ····.line·116305 ····.line·116
312 ····int-to-float·v7,·v4306 ····int-to-float·v7,·v4
  
313 ····aget-object·v8,·v0,·v11307 ····aget-object·v8,·v0,·v11
  
314 ····invoke-virtual·{v8},·Lcom/google/zxing/ResultPoint;->getY()F308 ····invoke-virtual·{v8},·Lcom/google/zxing/ResultPoint;->getY()F
Offset 344, 18 lines modifiedOffset 337, 18 lines modified
344 ····invoke-static·{v7,·v8},·Ljava/lang/Math;->max(FF)F337 ····invoke-static·{v7,·v8},·Ljava/lang/Math;->max(FF)F
  
345 ····move-result·v7338 ····move-result·v7
  
346 ····float-to-int·v4,·v7339 ····float-to-int·v4,·v7
  
347 ····.line·118340 ····.line·118
348 ····:cond_3341 ····:cond_1
349 ····aget-object·v7,·v0,·v10342 ····aget-object·v7,·v0,·v10
  
350 ····if-eqz·v7,·:cond_2343 ····if-eqz·v7,·:cond_0
  
351 ····.line·119344 ····.line·119
352 ····aget-object·v7,·v0,·v10345 ····aget-object·v7,·v0,·v10
  
353 ····invoke-virtual·{v7},·Lcom/google/zxing/ResultPoint;->getY()F346 ····invoke-virtual·{v7},·Lcom/google/zxing/ResultPoint;->getY()F
  
354 ····move-result·v7347 ····move-result·v7
Offset 366, 34 lines modifiedOffset 359, 34 lines modified
  
366 ····move-result·v4359 ····move-result·v4
  
367 ····goto·:goto_1360 ····goto·:goto_1
  
368 ····.line·122361 ····.line·122
369 ····.end·local·v0····#·"barcodeCoordinate":[Lcom/google/zxing/ResultPoint;362 ····.end·local·v0····#·"barcodeCoordinate":[Lcom/google/zxing/ResultPoint;
370 ····:cond_4363 ····:cond_2
371 ····add-int/lit8·v4,·v4,·0x5364 ····add-int/lit8·v4,·v4,·0x5
  
372 ····.line·123365 ····.line·123
373 ····goto·:goto_0366 ····goto·:goto_0
  
374 ····.line·125367 ····.line·125
375 ····:cond_5368 ····:cond_3
376 ····const/4·v3,·0x1369 ····const/4·v3,·0x1
  
377 ····.line·126370 ····.line·126
378 ····invoke-interface·{v1,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z371 ····invoke-interface·{v1,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
379 ····.line·127372 ····.line·127
380 ····if-eqz·p0,·:cond_0373 ····if-eqz·p0,·:cond_5
  
381 ····.line·132374 ····.line·132
382 ····aget-object·v6,·v5,·v9375 ····aget-object·v6,·v5,·v9
  
383 ····if-eqz·v6,·:cond_6376 ····if-eqz·v6,·:cond_4
  
384 ····.line·133377 ····.line·133
385 ····aget-object·v6,·v5,·v9378 ····aget-object·v6,·v5,·v9
  
386 ····invoke-virtual·{v6},·Lcom/google/zxing/ResultPoint;->getX()F379 ····invoke-virtual·{v6},·Lcom/google/zxing/ResultPoint;->getX()F
  
387 ····move-result·v6380 ····move-result·v6
Max diff block lines reached; 9948/12867 bytes (77.31%) of diff not shown.
9.47 KB
smali/com/google/zxing/pdf417/decoder/PDF417CodewordDecoder.smali
    
Offset 10, 15 lines modifiedOffset 10, 15 lines modified
10 #·direct·methods10 #·direct·methods
11 .method·static·constructor·<clinit>()V11 .method·static·constructor·<clinit>()V
12 ····.locals·912 ····.locals·9
  
13 ····.prologue13 ····.prologue
14 ····const/16·v8,·0x814 ····const/16·v8,·0x8
  
15 ····.line·2715 ····.line·28
16 ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I16 ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I
  
17 ····array-length·v5,·v517 ····array-length·v5,·v5
  
18 ····filled-new-array·{v5,·v8},·[I18 ····filled-new-array·{v5,·v8},·[I
  
19 ····move-result-object·v519 ····move-result-object·v5
Offset 29, 327 lines modifiedOffset 29, 322 lines modified
  
29 ····move-result-object·v529 ····move-result-object·v5
  
30 ····check-cast·v5,·[[F30 ····check-cast·v5,·[[F
  
31 ····sput-object·v5,·Lcom/google/zxing/pdf417/decoder/PDF417CodewordDecoder;->RATIOS_TABLE:[[F31 ····sput-object·v5,·Lcom/google/zxing/pdf417/decoder/PDF417CodewordDecoder;->RATIOS_TABLE:[[F
  
32 ····.line·3232 ····.line·33
33 ····const/4·v2,·0x033 ····const/4·v2,·0x0
  
34 ····.local·v2,·"i":I34 ····.local·v2,·"i":I
35 ····:goto_035 ····:goto_0
36 ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I36 ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I
  
37 ····array-length·v5,·v537 ····array-length·v5,·v5
  
38 ····if-ge·v2,·v5,·:cond_238 ····if-ge·v2,·v5,·:cond_2
  
39 ····.line·3339 ····.line·34
40 ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I40 ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I
  
41 ····aget·v1,·v5,·v241 ····aget·v1,·v5,·v2
  
42 ····.line·3442 ····.line·35
43 ····.local·v1,·"currentSymbol":I43 ····.local·v1,·"currentSymbol":I
44 ····and-int/lit8·v0,·v1,·0x144 ····and-int/lit8·v0,·v1,·0x1
  
45 ····.line·3545 ····.line·36
46 ····.local·v0,·"currentBit":I46 ····.local·v0,·"currentBit":I
47 ····const/4·v3,·0x047 ····const/4·v3,·0x0
  
48 ····.local·v3,·"j":I48 ····.local·v3,·"j":I
49 ····:goto_149 ····:goto_1
50 ····if-ge·v3,·v8,·:cond_150 ····if-ge·v3,·v8,·:cond_1
  
51 ····.line·3651 ····.line·37
52 ····const/4·v4,·0x052 ····const/4·v4,·0x0
  
53 ····.line·3753 ····.line·38
54 ····.local·v4,·"size":F54 ····.local·v4,·"size":F
55 ····:goto_255 ····:goto_2
56 ····and-int/lit8·v5,·v1,·0x156 ····and-int/lit8·v5,·v1,·0x1
  
57 ····if-ne·v5,·v0,·:cond_057 ····if-ne·v5,·v0,·:cond_0
  
58 ····.line·3858 ····.line·39
59 ····const/high16·v5,·0x3f800000····#·1.0f59 ····const/high16·v5,·0x3f800000····#·1.0f
  
60 ····add-float/2addr·v4,·v560 ····add-float/2addr·v4,·v5
  
61 ····.line·3961 ····.line·40
62 ····shr-int/lit8·v1,·v1,·0x162 ····shr-int/lit8·v1,·v1,·0x1
  
63 ····goto·:goto_263 ····goto·:goto_2
  
64 ····.line·4164 ····.line·42
65 ····:cond_065 ····:cond_0
66 ····and-int/lit8·v0,·v1,·0x166 ····and-int/lit8·v0,·v1,·0x1
  
67 ····.line·4267 ····.line·43
68 ····sget-object·v5,·Lcom/google/zxing/pdf417/decoder/PDF417CodewordDecoder;->RATIOS_TABLE:[[F68 ····sget-object·v5,·Lcom/google/zxing/pdf417/decoder/PDF417CodewordDecoder;->RATIOS_TABLE:[[F
  
69 ····aget-object·v5,·v5,·v269 ····aget-object·v5,·v5,·v2
  
70 ····rsub-int/lit8·v6,·v3,·0x870 ····rsub-int/lit8·v6,·v3,·0x8
  
71 ····add-int/lit8·v6,·v6,·-0x171 ····add-int/lit8·v6,·v6,·-0x1
  
72 ····const/high16·v7,·0x41880000····#·17.0f72 ····const/high16·v7,·0x41880000····#·17.0f
  
73 ····div-float·v7,·v4,·v773 ····div-float·v7,·v4,·v7
  
74 ····aput·v7,·v5,·v674 ····aput·v7,·v5,·v6
  
75 ····.line·3575 ····.line·36
76 ····add-int/lit8·v3,·v3,·0x176 ····add-int/lit8·v3,·v3,·0x1
  
77 ····goto·:goto_177 ····goto·:goto_1
  
78 ····.line·3278 ····.line·33
79 ····.end·local·v4····#·"size":F79 ····.end·local·v4····#·"size":F
80 ····:cond_180 ····:cond_1
81 ····add-int/lit8·v2,·v2,·0x181 ····add-int/lit8·v2,·v2,·0x1
  
82 ····goto·:goto_082 ····goto·:goto_0
  
83 ····.line·4583 ····.line·46
84 ····.end·local·v0····#·"currentBit":I84 ····.end·local·v0····#·"currentBit":I
85 ····.end·local·v1····#·"currentSymbol":I85 ····.end·local·v1····#·"currentSymbol":I
86 ····.end·local·v3····#·"j":I86 ····.end·local·v3····#·"j":I
87 ····:cond_287 ····:cond_2
88 ····return-void88 ····return-void
89 .end·method89 .end·method
  
90 .method·private·constructor·<init>()V90 .method·private·constructor·<init>()V
91 ····.locals·091 ····.locals·0
  
92 ····.prologue92 ····.prologue
93 ····.line·4793 ····.line·48
94 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V94 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
95 ····.line·4895 ····.line·49
96 ····return-void96 ····return-void
97 .end·method97 .end·method
  
98 .method·private·static·getBitValue([I)I98 .method·private·static·getBitValue([I)I
99 ····.locals·1099 ····.locals·10
100 ····.param·p0,·"moduleBitCount"····#·[I100 ····.param·p0,·"moduleBitCount"····#·[I
  
101 ····.prologue101 ····.prologue
102 ····const/4·v5,·0x1102 ····const/4·v5,·0x1
Max diff block lines reached; 6968/9563 bytes (72.86%) of diff not shown.
69.1 KB
smali/com/google/zxing/pdf417/decoder/PDF417ScanningDecoder.smali
    
Offset 14, 198 lines modifiedOffset 14, 189 lines modified
  
  
14 #·direct·methods14 #·direct·methods
15 .method·static·constructor·<clinit>()V15 .method·static·constructor·<clinit>()V
16 ····.locals·116 ····.locals·1
  
17 ····.prologue17 ····.prologue
18 ····.line·4218 ····.line·43
19 ····new-instance·v0,·Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection;19 ····new-instance·v0,·Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection;
  
20 ····invoke-direct·{v0},·Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection;-><init>()V20 ····invoke-direct·{v0},·Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection;-><init>()V
  
21 ····sput-object·v0,·Lcom/google/zxing/pdf417/decoder/PDF417ScanningDecoder;->errorCorrection:Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection;21 ····sput-object·v0,·Lcom/google/zxing/pdf417/decoder/PDF417ScanningDecoder;->errorCorrection:Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection;
  
22 ····return-void22 ····return-void
23 .end·method23 .end·method
  
24 .method·private·constructor·<init>()V24 .method·private·constructor·<init>()V
25 ····.locals·025 ····.locals·0
  
26 ····.prologue26 ····.prologue
27 ····.line·4427 ····.line·45
28 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V28 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
29 ····.line·4529 ····.line·46
30 ····return-void30 ····return-void
31 .end·method31 .end·method
  
32 .method·private·static·adjustBoundingBox(Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;)Lcom/google/zxing/pdf417/decoder/BoundingBox;32 .method·private·static·adjustBoundingBox(Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;)Lcom/google/zxing/pdf417/decoder/BoundingBox;
33 ····.locals·1033 ····.locals·10
34 ····.param·p0,·"rowIndicatorColumn"····#·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;34 ····.param·p0,·"rowIndicatorColumn"····#·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;
35 ····.annotation·system·Ldalvik/annotation/Throws;35 ····.annotation·system·Ldalvik/annotation/Throws;
36 ········value·=·{36 ········value·=·{
37 ············Lcom/google/zxing/NotFoundException;,37 ············Lcom/google/zxing/NotFoundException;
38 ············Lcom/google/zxing/FormatException; 
39 ········}38 ········}
40 ····.end·annotation39 ····.end·annotation
  
41 ····.prologue40 ····.prologue
42 ····const/4·v7,·0x041 ····const/4·v7,·0x0
  
43 ····.line·14342 ····.line·144
44 ····if-nez·p0,·:cond_143 ····if-nez·p0,·:cond_1
  
45 ····.line·17244 ····.line·173
46 ····:cond_045 ····:cond_0
47 ····:goto_046 ····:goto_0
48 ····return-object·v747 ····return-object·v7
  
49 ····.line·14648 ····.line·147
50 ····:cond_149 ····:cond_1
51 ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getRowHeights()[I50 ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getRowHeights()[I
  
52 ····move-result-object·v651 ····move-result-object·v6
  
53 ····.line·14752 ····.line·148
54 ····.local·v6,·"rowHeights":[I53 ····.local·v6,·"rowHeights":[I
55 ····if-eqz·v6,·:cond_054 ····if-eqz·v6,·:cond_0
  
56 ····.line·15055 ····.line·151
57 ····invoke-static·{v6},·Lcom/google/zxing/pdf417/decoder/PDF417ScanningDecoder;->getMax([I)I56 ····invoke-static·{v6},·Lcom/google/zxing/pdf417/decoder/PDF417ScanningDecoder;->getMax([I)I
  
58 ····move-result·v157 ····move-result·v1
  
59 ····.line·15158 ····.line·152
60 ····.local·v1,·"maxRowHeight":I59 ····.local·v1,·"maxRowHeight":I
61 ····const/4·v3,·0x060 ····const/4·v3,·0x0
  
62 ····.line·15261 ····.line·153
63 ····.local·v3,·"missingStartRows":I62 ····.local·v3,·"missingStartRows":I
64 ····array-length·v8,·v663 ····array-length·v8,·v6
  
65 ····const/4·v7,·0x064 ····const/4·v7,·0x0
  
66 ····:goto_165 ····:goto_1
67 ····if-ge·v7,·v8,·:cond_266 ····if-ge·v7,·v8,·:cond_2
  
68 ····aget·v5,·v6,·v767 ····aget·v5,·v6,·v7
  
69 ····.line·15368 ····.line·154
70 ····.local·v5,·"rowHeight":I69 ····.local·v5,·"rowHeight":I
71 ····sub-int·v9,·v1,·v570 ····sub-int·v9,·v1,·v5
  
72 ····add-int/2addr·v3,·v971 ····add-int/2addr·v3,·v9
  
73 ····.line·15472 ····.line·155
74 ····if-lez·v5,·:cond_373 ····if-gtz·v5,·:cond_2
  
75 ····.line·15874 ····.line·153
 75 ····add-int/lit8·v7,·v7,·0x1
  
 76 ····goto·:goto_1
  
 77 ····.line·159
76 ····.end·local·v5····#·"rowHeight":I78 ····.end·local·v5····#·"rowHeight":I
77 ····:cond_279 ····:cond_2
78 ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getCodewords()[Lcom/google/zxing/pdf417/decoder/Codeword;80 ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getCodewords()[Lcom/google/zxing/pdf417/decoder/Codeword;
  
79 ····move-result-object·v081 ····move-result-object·v0
  
80 ····.line·15982 ····.line·160
81 ····.local·v0,·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword;83 ····.local·v0,·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword;
82 ····const/4·v4,·0x084 ····const/4·v4,·0x0
  
83 ····.local·v4,·"row":I85 ····.local·v4,·"row":I
84 ····:goto_286 ····:goto_2
85 ····if-lez·v3,·:cond_487 ····if-lez·v3,·:cond_3
  
86 ····aget-object·v7,·v0,·v488 ····aget-object·v7,·v0,·v4
  
87 ····if-nez·v7,·:cond_489 ····if-nez·v7,·:cond_3
  
88 ····.line·16090 ····.line·161
89 ····add-int/lit8·v3,·v3,·-0x191 ····add-int/lit8·v3,·v3,·-0x1
  
90 ····.line·15992 ····.line·160
91 ····add-int/lit8·v4,·v4,·0x193 ····add-int/lit8·v4,·v4,·0x1
  
92 ····goto·:goto_294 ····goto·:goto_2
  
93 ····.line·15295 ····.line·163
94 ····.end·local·v0····#·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword; 
95 ····.end·local·v4····#·"row":I 
96 ····.restart·local·v5····#·"rowHeight":I 
97 ····:cond_396 ····:cond_3
98 ····add-int/lit8·v7,·v7,·0x1 
  
Max diff block lines reached; 67126/70654 bytes (95.01%) of diff not shown.
10.7 KB
smali/com/google/zxing/pdf417/decoder/DetectionResult.smali
    
Offset 64, 15 lines modifiedOffset 64, 15 lines modified
64 ····.line·5664 ····.line·56
65 ····check-cast·p1,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;65 ····check-cast·p1,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;
  
66 ····.end·local·p1····#·"detectionResultColumn":Lcom/google/zxing/pdf417/decoder/DetectionResultColumn;66 ····.end·local·p1····#·"detectionResultColumn":Lcom/google/zxing/pdf417/decoder/DetectionResultColumn;
67 ····iget-object·v0,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResult;->barcodeMetadata:Lcom/google/zxing/pdf417/decoder/BarcodeMetadata;67 ····iget-object·v0,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResult;->barcodeMetadata:Lcom/google/zxing/pdf417/decoder/BarcodeMetadata;
  
68 ····.line·5768 ····.line·57
69 ····invoke-virtual·{p1,·v0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->adjustCompleteIndicatorColumnRowNumbers(Lcom/google/zxing/pdf417/decoder/BarcodeMetadata;)I69 ····invoke-virtual·{p1,·v0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->adjustCompleteIndicatorColumnRowNumbers(Lcom/google/zxing/pdf417/decoder/BarcodeMetadata;)V
  
70 ····.line·5970 ····.line·59
71 ····:cond_071 ····:cond_0
72 ····return-void72 ····return-void
73 .end·method73 .end·method
  
74 .method·private·static·adjustRowNumber(Lcom/google/zxing/pdf417/decoder/Codeword;Lcom/google/zxing/pdf417/decoder/Codeword;)Z74 .method·private·static·adjustRowNumber(Lcom/google/zxing/pdf417/decoder/Codeword;Lcom/google/zxing/pdf417/decoder/Codeword;)Z
Offset 228, 57 lines modifiedOffset 228, 55 lines modified
228 ····.local·v1,·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword;228 ····.local·v1,·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword;
229 ····const/4·v2,·0x0229 ····const/4·v2,·0x0
  
230 ····.local·v2,·"codewordsRow":I230 ····.local·v2,·"codewordsRow":I
231 ····:goto_1231 ····:goto_1
232 ····array-length·v4,·v1232 ····array-length·v4,·v1
  
233 ····if-ge·v2,·v4,·:cond_4233 ····if-ge·v2,·v4,·:cond_3
  
234 ····.line·76234 ····.line·76
235 ····aget-object·v4,·v1,·v2235 ····aget-object·v4,·v1,·v2
  
236 ····if-nez·v4,·:cond_3236 ····if-eqz·v4,·:cond_2
  
237 ····.line·75 
238 ····:cond_2 
239 ····:goto_2 
240 ····add-int/lit8·v2,·v2,·0x1 
  
241 ····goto·:goto_1 
  
242 ····.line·79237 ····.line·79
243 ····:cond_3 
244 ····aget-object·v4,·v1,·v2238 ····aget-object·v4,·v1,·v2
  
245 ····invoke-virtual·{v4},·Lcom/google/zxing/pdf417/decoder/Codeword;->hasValidRowNumber()Z239 ····invoke-virtual·{v4},·Lcom/google/zxing/pdf417/decoder/Codeword;->hasValidRowNumber()Z
  
246 ····move-result·v4240 ····move-result·v4
  
247 ····if-nez·v4,·:cond_2241 ····if-nez·v4,·:cond_2
  
248 ····.line·80242 ····.line·80
249 ····invoke-direct·{p0,·v0,·v2,·v1},·Lcom/google/zxing/pdf417/decoder/DetectionResult;->adjustRowNumbers(II[Lcom/google/zxing/pdf417/decoder/Codeword;)V243 ····invoke-direct·{p0,·v0,·v2,·v1},·Lcom/google/zxing/pdf417/decoder/DetectionResult;->adjustRowNumbers(II[Lcom/google/zxing/pdf417/decoder/Codeword;)V
  
 244 ····.line·75
 245 ····:cond_2
 246 ····add-int/lit8·v2,·v2,·0x1
  
250 ····goto·:goto_2247 ····goto·:goto_1
  
251 ····.line·73248 ····.line·73
252 ····:cond_4249 ····:cond_3
253 ····add-int/lit8·v0,·v0,·0x1250 ····add-int/lit8·v0,·v0,·0x1
  
254 ····goto·:goto_0251 ····goto·:goto_0
255 .end·method252 .end·method
  
256 .method·private·adjustRowNumbers(II[Lcom/google/zxing/pdf417/decoder/Codeword;)V253 .method·private·adjustRowNumbers(II[Lcom/google/zxing/pdf417/decoder/Codeword;)V
257 ····.locals·9254 ····.locals·10
258 ····.param·p1,·"barcodeColumn"····#·I255 ····.param·p1,·"barcodeColumn"····#·I
259 ····.param·p2,·"codewordsRow"····#·I256 ····.param·p2,·"codewordsRow"····#·I
260 ····.param·p3,·"codewords"····#·[Lcom/google/zxing/pdf417/decoder/Codeword;257 ····.param·p3,·"codewords"····#·[Lcom/google/zxing/pdf417/decoder/Codeword;
  
261 ····.prologue258 ····.prologue
 259 ····const/16·v9,·0xe
  
262 ····const/4·v8,·0x1260 ····const/4·v8,·0x1
  
263 ····const/4·v5,·0x0261 ····const/4·v5,·0x0
  
264 ····.line·187262 ····.line·187
265 ····aget-object·v0,·p3,·p2263 ····aget-object·v0,·p3,·p2
  
Offset 317, 17 lines modifiedOffset 315, 15 lines modified
  
317 ····invoke-virtual·{v6},·Lcom/google/zxing/pdf417/decoder/DetectionResultColumn;->getCodewords()[Lcom/google/zxing/pdf417/decoder/Codeword;315 ····invoke-virtual·{v6},·Lcom/google/zxing/pdf417/decoder/DetectionResultColumn;->getCodewords()[Lcom/google/zxing/pdf417/decoder/Codeword;
  
318 ····move-result-object·v1316 ····move-result-object·v1
  
319 ····.line·194317 ····.line·194
320 ····:cond_0318 ····:cond_0
321 ····const/16·v6,·0xe 
  
322 ····new-array·v3,·v6,·[Lcom/google/zxing/pdf417/decoder/Codeword;319 ····new-array·v3,·v9,·[Lcom/google/zxing/pdf417/decoder/Codeword;
  
323 ····.line·196320 ····.line·196
324 ····.local·v3,·"otherCodewords":[Lcom/google/zxing/pdf417/decoder/Codeword;321 ····.local·v3,·"otherCodewords":[Lcom/google/zxing/pdf417/decoder/Codeword;
325 ····const/4·v6,·0x2322 ····const/4·v6,·0x2
  
326 ····aget-object·v7,·v4,·p2323 ····aget-object·v7,·v4,·p2
  
Offset 465, 28 lines modifiedOffset 461, 26 lines modified
  
465 ····aget-object·v7,·v1,·v7461 ····aget-object·v7,·v1,·v7
  
466 ····aput-object·v7,·v3,·v6462 ····aput-object·v7,·v3,·v6
  
467 ····.line·219463 ····.line·219
468 ····:cond_4464 ····:cond_4
469 ····array-length·v6,·v3 
  
470 ····:goto_0465 ····:goto_0
471 ····if-ge·v5,·v6,·:cond_5466 ····if-ge·v5,·v9,·:cond_5
  
472 ····aget-object·v2,·v3,·v5467 ····aget-object·v2,·v3,·v5
  
473 ····.line·220468 ····.line·220
474 ····.local·v2,·"otherCodeword":Lcom/google/zxing/pdf417/decoder/Codeword;469 ····.local·v2,·"otherCodeword":Lcom/google/zxing/pdf417/decoder/Codeword;
475 ····invoke-static·{v0,·v2},·Lcom/google/zxing/pdf417/decoder/DetectionResult;->adjustRowNumber(Lcom/google/zxing/pdf417/decoder/Codeword;Lcom/google/zxing/pdf417/decoder/Codeword;)Z470 ····invoke-static·{v0,·v2},·Lcom/google/zxing/pdf417/decoder/DetectionResult;->adjustRowNumber(Lcom/google/zxing/pdf417/decoder/Codeword;Lcom/google/zxing/pdf417/decoder/Codeword;)Z
  
476 ····move-result·v7471 ····move-result·v6
  
477 ····if-eqz·v7,·:cond_6472 ····if-eqz·v6,·:cond_6
  
478 ····.line·224473 ····.line·224
479 ····.end·local·v2····#·"otherCodeword":Lcom/google/zxing/pdf417/decoder/Codeword;474 ····.end·local·v2····#·"otherCodeword":Lcom/google/zxing/pdf417/decoder/Codeword;
480 ····:cond_5475 ····:cond_5
481 ····return-void476 ····return-void
  
482 ····.line·219477 ····.line·219
Offset 506, 22 lines modifiedOffset 500, 21 lines modified
Max diff block lines reached; 7184/10841 bytes (66.27%) of diff not shown.
45.6 KB
smali/com/google/zxing/pdf417/decoder/DecodedBitStreamParser.smali
    
Offset 63, 274 lines modifiedOffset 63, 208 lines modified
  
63 #·direct·methods63 #·direct·methods
64 .method·static·constructor·<clinit>()V64 .method·static·constructor·<clinit>()V
65 ····.locals·565 ····.locals·5
  
66 ····.prologue66 ····.prologue
67 ····.line·6767 ····.line·67
68 ····const/16·v2,·0x1d68 ····const-string·v2,·";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}\'"
  
69 ····new-array·v2,·v2,·[C69 ····.line·68
 70 ····invoke-virtual·{v2},·Ljava/lang/String;->toCharArray()[C
  
70 ····fill-array-data·v2,·:array_071 ····move-result-object·v2
  
71 ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->PUNCT_CHARS:[C72 ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->PUNCT_CHARS:[C
  
72 ····.line·7273 ····.line·70
73 ····const/16·v2,·0x1974 ····const-string·v2,·"0123456789&\r\t,:#-.$/+%*=^"
  
74 ····new-array·v2,·v2,·[C75 ····.line·71
 76 ····invoke-virtual·{v2},·Ljava/lang/String;->toCharArray()[C
  
75 ····fill-array-data·v2,·:array_177 ····move-result-object·v2
  
76 ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->MIXED_CHARS:[C78 ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->MIXED_CHARS:[C
  
77 ····.line·7779 ····.line·73
78 ····const-string·v2,·"ISO-8859-1"80 ····const-string·v2,·"ISO-8859-1"
  
79 ····invoke-static·{v2},·Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;81 ····invoke-static·{v2},·Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
  
80 ····move-result-object·v282 ····move-result-object·v2
  
81 ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->DEFAULT_ENCODING:Ljava/nio/charset/Charset;83 ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->DEFAULT_ENCODING:Ljava/nio/charset/Charset;
  
82 ····.line·8584 ····.line·81
83 ····const/16·v2,·0x1085 ····const/16·v2,·0x10
  
84 ····new-array·v2,·v2,·[Ljava/math/BigInteger;86 ····new-array·v2,·v2,·[Ljava/math/BigInteger;
  
 87 ····.line·82
85 ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger;88 ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger;
  
86 ····.line·86 
87 ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; 
  
88 ····const/4·v3,·0x089 ····const/4·v3,·0x0
  
89 ····sget-object·v4,·Ljava/math/BigInteger;->ONE:Ljava/math/BigInteger;90 ····sget-object·v4,·Ljava/math/BigInteger;->ONE:Ljava/math/BigInteger;
  
90 ····aput-object·v4,·v2,·v391 ····aput-object·v4,·v2,·v3
  
91 ····.line·8792 ····.line·83
92 ····const-wide/16·v2,·0x38493 ····const-wide/16·v2,·0x384
  
93 ····invoke-static·{v2,·v3},·Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;94 ····invoke-static·{v2,·v3},·Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;
  
94 ····move-result-object·v195 ····move-result-object·v1
  
95 ····.line·8896 ····.line·84
96 ····.local·v1,·"nineHundred":Ljava/math/BigInteger;97 ····.local·v1,·"nineHundred":Ljava/math/BigInteger;
97 ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger;98 ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger;
  
98 ····const/4·v3,·0x199 ····const/4·v3,·0x1
  
99 ····aput-object·v1,·v2,·v3100 ····aput-object·v1,·v2,·v3
  
100 ····.line·89101 ····.line·85
101 ····const/4·v0,·0x2102 ····const/4·v0,·0x2
  
102 ····.local·v0,·"i":I103 ····.local·v0,·"i":I
103 ····:goto_0104 ····:goto_0
104 ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger;105 ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger;
  
105 ····array-length·v2,·v2106 ····array-length·v2,·v2
  
106 ····if-ge·v0,·v2,·:cond_0107 ····if-ge·v0,·v2,·:cond_0
  
107 ····.line·90108 ····.line·86
108 ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger;109 ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger;
  
109 ····sget-object·v3,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger;110 ····sget-object·v3,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger;
  
110 ····add-int/lit8·v4,·v0,·-0x1111 ····add-int/lit8·v4,·v0,·-0x1
  
111 ····aget-object·v3,·v3,·v4112 ····aget-object·v3,·v3,·v4
  
112 ····invoke-virtual·{v3,·v1},·Ljava/math/BigInteger;->multiply(Ljava/math/BigInteger;)Ljava/math/BigInteger;113 ····invoke-virtual·{v3,·v1},·Ljava/math/BigInteger;->multiply(Ljava/math/BigInteger;)Ljava/math/BigInteger;
  
113 ····move-result-object·v3114 ····move-result-object·v3
  
114 ····aput-object·v3,·v2,·v0115 ····aput-object·v3,·v2,·v0
  
115 ····.line·89116 ····.line·85
116 ····add-int/lit8·v0,·v0,·0x1117 ····add-int/lit8·v0,·v0,·0x1
  
117 ····goto·:goto_0118 ····goto·:goto_0
  
118 ····.line·92119 ····.line·88
119 ····:cond_0120 ····:cond_0
120 ····return-void121 ····return-void
  
121 ····.line·67 
122 ····:array_0 
123 ····.array-data·2 
124 ········0x3bs 
125 ········0x3cs 
126 ········0x3es 
127 ········0x40s 
128 ········0x5bs 
129 ········0x5cs 
130 ········0x5ds 
131 ········0x5fs 
132 ········0x60s 
133 ········0x7es 
134 ········0x21s 
135 ········0xds 
136 ········0x9s 
137 ········0x2cs 
138 ········0x3as 
139 ········0xas 
140 ········0x2ds 
141 ········0x2es 
142 ········0x24s 
143 ········0x2fs 
144 ········0x22s 
145 ········0x7cs 
Max diff block lines reached; 42662/46583 bytes (91.58%) of diff not shown.
521 B
smali/com/google/zxing/pdf417/decoder/DecodedBitStreamParser$1.smali
    
Offset 19, 15 lines modifiedOffset 19, 15 lines modified
  
  
19 #·direct·methods19 #·direct·methods
20 .method·static·constructor·<clinit>()V20 .method·static·constructor·<clinit>()V
21 ····.locals·321 ····.locals·3
  
22 ····.prologue22 ····.prologue
23 ····.line·30023 ····.line·296
24 ····invoke-static·{},·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode;->values()[Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode;24 ····invoke-static·{},·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode;->values()[Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode;
  
25 ····move-result-object·v025 ····move-result-object·v0
  
26 ····array-length·v0,·v026 ····array-length·v0,·v0
  
27 ····new-array·v0,·v0,·[I27 ····new-array·v0,·v0,·[I
37.0 KB
smali/com/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn.smali
    
Offset 10, 21 lines modifiedOffset 10, 232 lines modified
10 #·direct·methods10 #·direct·methods
11 .method·constructor·<init>(Lcom/google/zxing/pdf417/decoder/BoundingBox;Z)V11 .method·constructor·<init>(Lcom/google/zxing/pdf417/decoder/BoundingBox;Z)V
12 ····.locals·012 ····.locals·0
13 ····.param·p1,·"boundingBox"····#·Lcom/google/zxing/pdf417/decoder/BoundingBox;13 ····.param·p1,·"boundingBox"····#·Lcom/google/zxing/pdf417/decoder/BoundingBox;
14 ····.param·p2,·"isLeft"····#·Z14 ····.param·p2,·"isLeft"····#·Z
  
15 ····.prologue15 ····.prologue
16 ····.line·3116 ····.line·30
17 ····invoke-direct·{p0,·p1},·Lcom/google/zxing/pdf417/decoder/DetectionResultColumn;-><init>(Lcom/google/zxing/pdf417/decoder/BoundingBox;)V17 ····invoke-direct·{p0,·p1},·Lcom/google/zxing/pdf417/decoder/DetectionResultColumn;-><init>(Lcom/google/zxing/pdf417/decoder/BoundingBox;)V
  
18 ····.line·3218 ····.line·31
19 ····iput-boolean·p2,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->isLeft:Z19 ····iput-boolean·p2,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->isLeft:Z
  
20 ····.line·3320 ····.line·32
 21 ····return-void
 22 .end·method
  
 23 .method·private·adjustIncompleteIndicatorColumnRowNumbers(Lcom/google/zxing/pdf417/decoder/BarcodeMetadata;)V
 24 ····.locals·14
 25 ····.param·p1,·"barcodeMetadata"····#·Lcom/google/zxing/pdf417/decoder/BarcodeMetadata;
  
 26 ····.prologue
 27 ····.line·137
 28 ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getBoundingBox()Lcom/google/zxing/pdf417/decoder/BoundingBox;
  
 29 ····move-result-object·v2
  
 30 ····.line·138
 31 ····.local·v2,·"boundingBox":Lcom/google/zxing/pdf417/decoder/BoundingBox;
 32 ····iget-boolean·v12,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->isLeft:Z
  
 33 ····if-eqz·v12,·:cond_1
  
 34 ····invoke-virtual·{v2},·Lcom/google/zxing/pdf417/decoder/BoundingBox;->getTopLeft()Lcom/google/zxing/ResultPoint;
  
 35 ····move-result-object·v11
  
 36 ····.line·139
 37 ····.local·v11,·"top":Lcom/google/zxing/ResultPoint;
 38 ····:goto_0
 39 ····iget-boolean·v12,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->isLeft:Z
  
 40 ····if-eqz·v12,·:cond_2
  
 41 ····invoke-virtual·{v2},·Lcom/google/zxing/pdf417/decoder/BoundingBox;->getBottomLeft()Lcom/google/zxing/ResultPoint;
  
 42 ····move-result-object·v1
  
 43 ····.line·140
 44 ····.local·v1,·"bottom":Lcom/google/zxing/ResultPoint;
 45 ····:goto_1
 46 ····invoke-virtual·{v11},·Lcom/google/zxing/ResultPoint;->getY()F
  
 47 ····move-result·v12
  
 48 ····float-to-int·v12,·v12
  
 49 ····invoke-virtual·{p0,·v12},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->imageRowToCodewordIndex(I)I
  
 50 ····move-result·v7
  
 51 ····.line·141
 52 ····.local·v7,·"firstRow":I
 53 ····invoke-virtual·{v1},·Lcom/google/zxing/ResultPoint;->getY()F
  
 54 ····move-result·v12
  
 55 ····float-to-int·v12,·v12
  
 56 ····invoke-virtual·{p0,·v12},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->imageRowToCodewordIndex(I)I
  
 57 ····move-result·v8
  
 58 ····.line·143
 59 ····.local·v8,·"lastRow":I
 60 ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getCodewords()[Lcom/google/zxing/pdf417/decoder/Codeword;
  
 61 ····move-result-object·v4
  
 62 ····.line·144
 63 ····.local·v4,·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword;
 64 ····const/4·v0,·-0x1
  
 65 ····.line·145
 66 ····.local·v0,·"barcodeRow":I
 67 ····const/4·v9,·0x1
  
 68 ····.line·146
 69 ····.local·v9,·"maxRowHeight":I
 70 ····const/4·v6,·0x0
  
 71 ····.line·147
 72 ····.local·v6,·"currentRowHeight":I
 73 ····move·v5,·v7
  
 74 ····.local·v5,·"codewordsRow":I
 75 ····:goto_2
 76 ····if-ge·v5,·v8,·:cond_6
  
 77 ····.line·148
 78 ····aget-object·v12,·v4,·v5
  
 79 ····if-eqz·v12,·:cond_0
  
 80 ····.line·151
 81 ····aget-object·v3,·v4,·v5
  
 82 ····.line·153
 83 ····.local·v3,·"codeword":Lcom/google/zxing/pdf417/decoder/Codeword;
 84 ····invoke-virtual·{v3},·Lcom/google/zxing/pdf417/decoder/Codeword;->setRowNumberAsRowIndicatorColumn()V
  
 85 ····.line·155
 86 ····invoke-virtual·{v3},·Lcom/google/zxing/pdf417/decoder/Codeword;->getRowNumber()I
  
 87 ····move-result·v12
  
 88 ····sub-int·v10,·v12,·v0
  
 89 ····.line·159
 90 ····.local·v10,·"rowDifference":I
 91 ····if-nez·v10,·:cond_3
  
 92 ····.line·160
 93 ····add-int/lit8·v6,·v6,·0x1
  
 94 ····.line·147
 95 ····.end·local·v3····#·"codeword":Lcom/google/zxing/pdf417/decoder/Codeword;
Max diff block lines reached; 31311/37763 bytes (82.91%) of diff not shown.
9.93 KB
smali/com/google/zxing/pdf417/decoder/ec/ModulusPoly.smali
    
Offset 249, 181 lines modifiedOffset 249, 14 lines modified
249 ····iget-object·v6,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;249 ····iget-object·v6,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;
  
250 ····invoke-direct·{p1,·v6,·v4},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;-><init>(Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;[I)V250 ····invoke-direct·{p1,·v6,·v4},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;-><init>(Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;[I)V
  
251 ····goto·:goto_0251 ····goto·:goto_0
252 .end·method252 .end·method
  
253 .method·divide(Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;)[Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly; 
254 ····.locals·10 
255 ····.param·p1,·"other"····#·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly; 
  
256 ····.prologue 
257 ····.line·205 
258 ····iget-object·v8,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; 
  
259 ····iget-object·v9,·p1,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; 
  
260 ····invoke-virtual·{v8,·v9},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z 
  
261 ····move-result·v8 
  
262 ····if-nez·v8,·:cond_0 
  
263 ····.line·206 
264 ····new-instance·v8,·Ljava/lang/IllegalArgumentException; 
  
265 ····const-string·v9,·"ModulusPolys·do·not·have·same·ModulusGF·field" 
  
266 ····invoke-direct·{v8,·v9},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V 
  
267 ····throw·v8 
  
268 ····.line·208 
269 ····:cond_0 
270 ····invoke-virtual·{p1},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->isZero()Z 
  
271 ····move-result·v8 
  
272 ····if-eqz·v8,·:cond_1 
  
273 ····.line·209 
274 ····new-instance·v8,·Ljava/lang/IllegalArgumentException; 
  
275 ····const-string·v9,·"Divide·by·0" 
  
276 ····invoke-direct·{v8,·v9},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V 
  
277 ····throw·v8 
  
278 ····.line·212 
279 ····:cond_1 
280 ····iget-object·v8,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; 
  
281 ····invoke-virtual·{v8},·Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;->getZero()Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly; 
  
282 ····move-result-object·v4 
  
283 ····.line·213 
284 ····.local·v4,·"quotient":Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly; 
285 ····move-object·v5,·p0 
  
286 ····.line·215 
287 ····.local·v5,·"remainder":Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly; 
288 ····invoke-virtual·{p1},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I 
  
289 ····move-result·v8 
  
290 ····invoke-virtual·{p1,·v8},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getCoefficient(I)I 
  
291 ····move-result·v1 
  
292 ····.line·216 
293 ····.local·v1,·"denominatorLeadingTerm":I 
294 ····iget-object·v8,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; 
  
295 ····invoke-virtual·{v8,·v1},·Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;->inverse(I)I 
  
296 ····move-result·v2 
  
297 ····.line·218 
298 ····.local·v2,·"inverseDenominatorLeadingTerm":I 
299 ····:goto_0 
300 ····invoke-virtual·{v5},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I 
  
301 ····move-result·v8 
  
302 ····invoke-virtual·{p1},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I 
  
303 ····move-result·v9 
  
304 ····if-lt·v8,·v9,·:cond_2 
  
305 ····invoke-virtual·{v5},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->isZero()Z 
  
306 ····move-result·v8 
  
307 ····if-nez·v8,·:cond_2 
  
308 ····.line·219 
309 ····invoke-virtual·{v5},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I 
  
310 ····move-result·v8 
  
311 ····invoke-virtual·{p1},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I 
  
312 ····move-result·v9 
  
313 ····sub-int·v0,·v8,·v9 
  
314 ····.line·220 
315 ····.local·v0,·"degreeDifference":I 
316 ····iget-object·v8,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; 
  
317 ····invoke-virtual·{v5},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I 
  
318 ····move-result·v9 
  
319 ····invoke-virtual·{v5,·v9},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getCoefficient(I)I 
  
320 ····move-result·v9 
  
321 ····invoke-virtual·{v8,·v9,·v2},·Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;->multiply(II)I 
  
322 ····move-result·v6 
  
323 ····.line·221 
324 ····.local·v6,·"scale":I 
Max diff block lines reached; 4350/10051 bytes (43.28%) of diff not shown.
40.9 KB
smali/com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.smali
    
Offset 48, 27 lines modifiedOffset 48, 27 lines modified
48 #·direct·methods48 #·direct·methods
49 .method·static·constructor·<clinit>()V49 .method·static·constructor·<clinit>()V
50 ····.locals·650 ····.locals·6
  
51 ····.prologue51 ····.prologue
52 ····const/16·v5,·0x8052 ····const/16·v5,·0x80
  
53 ····const/16·v4,·0x1e53 ····const/16·v3,·0x1e
  
54 ····const/4·v3,·-0x154 ····const/4·v4,·-0x1
  
55 ····.line·11555 ····.line·115
56 ····new-array·v2,·v4,·[B56 ····new-array·v2,·v3,·[B
  
57 ····fill-array-data·v2,·:array_057 ····fill-array-data·v2,·:array_0
  
58 ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_MIXED_RAW:[B58 ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_MIXED_RAW:[B
  
59 ····.line·12259 ····.line·122
60 ····new-array·v2,·v4,·[B60 ····new-array·v2,·v3,·[B
  
61 ····fill-array-data·v2,·:array_161 ····fill-array-data·v2,·:array_1
  
62 ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_PUNCTUATION_RAW:[B62 ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_PUNCTUATION_RAW:[B
  
63 ····.line·12663 ····.line·126
64 ····new-array·v2,·v5,·[B64 ····new-array·v2,·v5,·[B
Offset 88, 20 lines modifiedOffset 88, 20 lines modified
88 ····move-result-object·v288 ····move-result-object·v2
  
89 ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->DEFAULT_ENCODING:Ljava/nio/charset/Charset;89 ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->DEFAULT_ENCODING:Ljava/nio/charset/Charset;
  
90 ····.line·13690 ····.line·136
91 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->MIXED:[B91 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->MIXED:[B
  
92 ····invoke-static·{v2,·v3},·Ljava/util/Arrays;->fill([BB)V92 ····invoke-static·{v2,·v4},·Ljava/util/Arrays;->fill([BB)V
  
93 ····.line·13793 ····.line·137
94 ····const/4·v1,·0x094 ····const/4·v1,·0x0
  
95 ····.local·v1,·"i":B95 ····.local·v1,·"i":I
96 ····:goto_096 ····:goto_0
97 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_MIXED_RAW:[B97 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_MIXED_RAW:[B
  
98 ····array-length·v2,·v298 ····array-length·v2,·v2
  
99 ····if-ge·v1,·v2,·:cond_199 ····if-ge·v1,·v2,·:cond_1
  
Offset 113, 30 lines modifiedOffset 113, 30 lines modified
113 ····.line·139113 ····.line·139
114 ····.local·v0,·"b":B114 ····.local·v0,·"b":B
115 ····if-lez·v0,·:cond_0115 ····if-lez·v0,·:cond_0
  
116 ····.line·140116 ····.line·140
117 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->MIXED:[B117 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->MIXED:[B
  
 118 ····int-to-byte·v3,·v1
  
118 ····aput-byte·v1,·v2,·v0119 ····aput-byte·v3,·v2,·v0
  
119 ····.line·137120 ····.line·137
120 ····:cond_0121 ····:cond_0
121 ····add-int/lit8·v2,·v1,·0x1122 ····add-int/lit8·v1,·v1,·0x1
  
122 ····int-to-byte·v1,·v2 
  
123 ····goto·:goto_0123 ····goto·:goto_0
  
124 ····.line·143124 ····.line·143
125 ····.end·local·v0····#·"b":B125 ····.end·local·v0····#·"b":B
126 ····:cond_1126 ····:cond_1
127 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->PUNCTUATION:[B127 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->PUNCTUATION:[B
  
128 ····invoke-static·{v2,·v3},·Ljava/util/Arrays;->fill([BB)V128 ····invoke-static·{v2,·v4},·Ljava/util/Arrays;->fill([BB)V
  
129 ····.line·144129 ····.line·144
130 ····const/4·v1,·0x0130 ····const/4·v1,·0x0
  
131 ····:goto_1131 ····:goto_1
132 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_PUNCTUATION_RAW:[B132 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_PUNCTUATION_RAW:[B
  
Offset 152, 21 lines modifiedOffset 152, 21 lines modified
152 ····.line·146152 ····.line·146
153 ····.restart·local·v0····#·"b":B153 ····.restart·local·v0····#·"b":B
154 ····if-lez·v0,·:cond_2154 ····if-lez·v0,·:cond_2
  
155 ····.line·147155 ····.line·147
156 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->PUNCTUATION:[B156 ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->PUNCTUATION:[B
  
 157 ····int-to-byte·v3,·v1
  
157 ····aput-byte·v1,·v2,·v0158 ····aput-byte·v3,·v2,·v0
  
158 ····.line·144159 ····.line·144
159 ····:cond_2160 ····:cond_2
160 ····add-int/lit8·v2,·v1,·0x1161 ····add-int/lit8·v1,·v1,·0x1
  
161 ····int-to-byte·v1,·v2 
  
162 ····goto·:goto_1162 ····goto·:goto_1
  
163 ····.line·150163 ····.line·150
164 ····.end·local·v0····#·"b":B164 ····.end·local·v0····#·"b":B
165 ····:cond_3165 ····:cond_3
166 ····return-void166 ····return-void
Offset 265, 116 lines modifiedOffset 265, 109 lines modified
265 ············Lcom/google/zxing/WriterException;265 ············Lcom/google/zxing/WriterException;
266 ········}266 ········}
267 ····.end·annotation267 ····.end·annotation
  
268 ····.prologue268 ····.prologue
269 ····const/16·v7,·0xd269 ····const/16·v7,·0xd
  
270 ····.line·537270 ····.line·536
271 ····invoke-virtual·{p2},·Ljava/nio/charset/Charset;->newEncoder()Ljava/nio/charset/CharsetEncoder;271 ····invoke-virtual·{p2},·Ljava/nio/charset/Charset;->newEncoder()Ljava/nio/charset/CharsetEncoder;
  
272 ····move-result-object·v1272 ····move-result-object·v1
  
273 ····.line·538273 ····.line·537
274 ····.local·v1,·"encoder":Ljava/nio/charset/CharsetEncoder;274 ····.local·v1,·"encoder":Ljava/nio/charset/CharsetEncoder;
275 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I275 ····invoke-virtual·{p0},·Ljava/lang/String;->length()I
  
276 ····move-result·v4276 ····move-result·v4
  
277 ····.line·539277 ····.line·538
278 ····.local·v4,·"len":I278 ····.local·v4,·"len":I
279 ····move·v3,·p1279 ····move·v3,·p1
Max diff block lines reached; 38558/41779 bytes (92.29%) of diff not shown.
1.88 KB
smali/com/google/zxing/pdf417/encoder/BarcodeRow.smali
    
Offset 28, 14 lines modifiedOffset 28, 42 lines modified
  
28 ····iput·v0,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I28 ····iput·v0,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I
  
29 ····.line·3429 ····.line·34
30 ····return-void30 ····return-void
31 .end·method31 .end·method
  
 32 .method·private·set(IZ)V
 33 ····.locals·2
 34 ····.param·p1,·"x"····#·I
 35 ····.param·p2,·"black"····#·Z
  
 36 ····.prologue
 37 ····.line·53
 38 ····iget-object·v1,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B
  
 39 ····if-eqz·p2,·:cond_0
  
 40 ····const/4·v0,·0x1
  
 41 ····:goto_0
 42 ····int-to-byte·v0,·v0
  
 43 ····aput-byte·v0,·v1,·p1
  
 44 ····.line·54
 45 ····return-void
  
 46 ····.line·53
 47 ····:cond_0
 48 ····const/4·v0,·0x0
  
 49 ····goto·:goto_0
 50 .end·method
  
  
32 #·virtual·methods51 #·virtual·methods
33 .method·addBar(ZI)V52 .method·addBar(ZI)V
34 ····.locals·353 ····.locals·3
35 ····.param·p1,·"black"····#·Z54 ····.param·p1,·"black"····#·Z
36 ····.param·p2,·"width"····#·I55 ····.param·p2,·"width"····#·I
  
Offset 50, 15 lines modifiedOffset 78, 15 lines modified
50 ····.line·6278 ····.line·62
51 ····iget·v1,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I79 ····iget·v1,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I
  
52 ····add-int/lit8·v2,·v1,·0x180 ····add-int/lit8·v2,·v1,·0x1
  
53 ····iput·v2,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I81 ····iput·v2,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I
  
54 ····invoke-virtual·{p0,·v1,·p1},·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->set(IZ)V82 ····invoke-direct·{p0,·v1,·p1},·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->set(IZ)V
  
55 ····.line·6183 ····.line·61
56 ····add-int/lit8·v0,·v0,·0x184 ····add-int/lit8·v0,·v0,·0x1
  
57 ····goto·:goto_085 ····goto·:goto_0
  
58 ····.line·6486 ····.line·64
Offset 119, 35 lines modifiedOffset 147, 7 lines modified
119 ····iget-object·v0,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B147 ····iget-object·v0,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B
  
120 ····aput-byte·p2,·v0,·p1148 ····aput-byte·p2,·v0,·p1
  
121 ····.line·44149 ····.line·44
122 ····return-void150 ····return-void
123 .end·method151 .end·method
  
124 .method·set(IZ)V 
125 ····.locals·2 
126 ····.param·p1,·"x"····#·I 
127 ····.param·p2,·"black"····#·Z 
  
128 ····.prologue 
129 ····.line·53 
130 ····iget-object·v1,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B 
  
131 ····if-eqz·p2,·:cond_0 
  
132 ····const/4·v0,·0x1 
  
133 ····:goto_0 
134 ····int-to-byte·v0,·v0 
  
135 ····aput-byte·v0,·v1,·p1 
  
136 ····.line·54 
137 ····return-void 
  
138 ····.line·53 
139 ····:cond_0 
140 ····const/4·v0,·0x0 
  
141 ····goto·:goto_0 
142 .end·method 
3.12 KB
smali/com/google/zxing/pdf417/encoder/Compaction.smali
    
Offset 35, 51 lines modifiedOffset 35, 51 lines modified
  
35 ····const/4·v4,·0x235 ····const/4·v4,·0x2
  
36 ····const/4·v3,·0x136 ····const/4·v3,·0x1
  
37 ····const/4·v2,·0x037 ····const/4·v2,·0x0
  
38 ····.line·2138 ····.line·24
39 ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;39 ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;
  
40 ····const-string·v1,·"AUTO"40 ····const-string·v1,·"AUTO"
  
41 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V41 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V
  
42 ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->AUTO:Lcom/google/zxing/pdf417/encoder/Compaction;42 ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->AUTO:Lcom/google/zxing/pdf417/encoder/Compaction;
  
43 ····.line·2243 ····.line·25
44 ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;44 ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;
  
45 ····const-string·v1,·"TEXT"45 ····const-string·v1,·"TEXT"
  
46 ····invoke-direct·{v0,·v1,·v3},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V46 ····invoke-direct·{v0,·v1,·v3},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V
  
47 ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->TEXT:Lcom/google/zxing/pdf417/encoder/Compaction;47 ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->TEXT:Lcom/google/zxing/pdf417/encoder/Compaction;
  
48 ····.line·2348 ····.line·26
49 ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;49 ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;
  
50 ····const-string·v1,·"BYTE"50 ····const-string·v1,·"BYTE"
  
51 ····invoke-direct·{v0,·v1,·v4},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V51 ····invoke-direct·{v0,·v1,·v4},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V
  
52 ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->BYTE:Lcom/google/zxing/pdf417/encoder/Compaction;52 ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->BYTE:Lcom/google/zxing/pdf417/encoder/Compaction;
  
53 ····.line·2453 ····.line·27
54 ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;54 ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;
  
55 ····const-string·v1,·"NUMERIC"55 ····const-string·v1,·"NUMERIC"
  
56 ····invoke-direct·{v0,·v1,·v5},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V56 ····invoke-direct·{v0,·v1,·v5},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V
  
57 ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->NUMERIC:Lcom/google/zxing/pdf417/encoder/Compaction;57 ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->NUMERIC:Lcom/google/zxing/pdf417/encoder/Compaction;
  
58 ····.line·1958 ····.line·22
59 ····const/4·v0,·0x459 ····const/4·v0,·0x4
  
60 ····new-array·v0,·v0,·[Lcom/google/zxing/pdf417/encoder/Compaction;60 ····new-array·v0,·v0,·[Lcom/google/zxing/pdf417/encoder/Compaction;
  
61 ····sget-object·v1,·Lcom/google/zxing/pdf417/encoder/Compaction;->AUTO:Lcom/google/zxing/pdf417/encoder/Compaction;61 ····sget-object·v1,·Lcom/google/zxing/pdf417/encoder/Compaction;->AUTO:Lcom/google/zxing/pdf417/encoder/Compaction;
  
62 ····aput-object·v1,·v0,·v262 ····aput-object·v1,·v0,·v2
Offset 106, 26 lines modifiedOffset 106, 26 lines modified
106 ····.annotation·system·Ldalvik/annotation/Signature;106 ····.annotation·system·Ldalvik/annotation/Signature;
107 ········value·=·{107 ········value·=·{
108 ············"()V"108 ············"()V"
109 ········}109 ········}
110 ····.end·annotation110 ····.end·annotation
  
111 ····.prologue111 ····.prologue
112 ····.line·19112 ····.line·22
113 ····invoke-direct·{p0,·p1,·p2},·Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V113 ····invoke-direct·{p0,·p1,·p2},·Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
  
114 ····return-void114 ····return-void
115 .end·method115 .end·method
  
116 .method·public·static·valueOf(Ljava/lang/String;)Lcom/google/zxing/pdf417/encoder/Compaction;116 .method·public·static·valueOf(Ljava/lang/String;)Lcom/google/zxing/pdf417/encoder/Compaction;
117 ····.locals·1117 ····.locals·1
118 ····.param·p0,·"name"····#·Ljava/lang/String;118 ····.param·p0,·"name"····#·Ljava/lang/String;
  
119 ····.prologue119 ····.prologue
120 ····.line·19120 ····.line·22
121 ····const-class·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;121 ····const-class·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;
  
122 ····invoke-static·{v0,·p0},·Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;122 ····invoke-static·{v0,·p0},·Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
  
123 ····move-result-object·v0123 ····move-result-object·v0
  
124 ····check-cast·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;124 ····check-cast·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;
Offset 133, 15 lines modifiedOffset 133, 15 lines modified
133 ····return-object·v0133 ····return-object·v0
134 .end·method134 .end·method
  
135 .method·public·static·values()[Lcom/google/zxing/pdf417/encoder/Compaction;135 .method·public·static·values()[Lcom/google/zxing/pdf417/encoder/Compaction;
136 ····.locals·1136 ····.locals·1
  
137 ····.prologue137 ····.prologue
138 ····.line·19138 ····.line·22
139 ····sget-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->$VALUES:[Lcom/google/zxing/pdf417/encoder/Compaction;139 ····sget-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->$VALUES:[Lcom/google/zxing/pdf417/encoder/Compaction;
  
140 ····invoke-virtual·{v0},·[Lcom/google/zxing/pdf417/encoder/Compaction;->clone()Ljava/lang/Object;140 ····invoke-virtual·{v0},·[Lcom/google/zxing/pdf417/encoder/Compaction;->clone()Ljava/lang/Object;
  
141 ····move-result-object·v0141 ····move-result-object·v0
  
142 ····check-cast·v0,·[Lcom/google/zxing/pdf417/encoder/Compaction;142 ····check-cast·v0,·[Lcom/google/zxing/pdf417/encoder/Compaction;
828 B
smali/com/google/zxing/pdf417/encoder/PDF417ErrorCorrection.smali
    
Offset 1207, 33 lines modifiedOffset 1207, 29 lines modified
1207 ····if-ge·v1,·v5,·:cond_11207 ····if-ge·v1,·v5,·:cond_1
  
1208 ····.line·1821208 ····.line·182
1209 ····invoke-interface·{p0,·v1},·Ljava/lang/CharSequence;->charAt(I)C1209 ····invoke-interface·{p0,·v1},·Ljava/lang/CharSequence;->charAt(I)C
  
1210 ····move-result·v91210 ····move-result·v9
  
1211 ····array-length·v10,·v0 
  
1212 ····add-int/lit8·v10,·v10,·-0x11211 ····add-int/lit8·v10,·v3,·-0x1
  
1213 ····aget-char·v10,·v0,·v101212 ····aget-char·v10,·v0,·v10
  
1214 ····add-int/2addr·v9,·v101213 ····add-int/2addr·v9,·v10
  
1215 ····rem-int/lit16·v6,·v9,·0x3a11214 ····rem-int/lit16·v6,·v9,·0x3a1
  
1216 ····.line·1851215 ····.line·185
1217 ····.local·v6,·"t1":I1216 ····.local·v6,·"t1":I
1218 ····add-int/lit8·v2,·v3,·-0x11217 ····add-int/lit8·v2,·v3,·-0x1
  
1219 ····.local·v2,·"j":I1218 ····.local·v2,·"j":I
1220 ····:goto_11219 ····:goto_1
1221 ····const/4·v9,·0x1 
  
1222 ····if-lt·v2,·v9,·:cond_01220 ····if-lez·v2,·:cond_0
  
1223 ····.line·1861221 ····.line·186
1224 ····sget-object·v9,·Lcom/google/zxing/pdf417/encoder/PDF417ErrorCorrection;->EC_COEFFICIENTS:[[I1222 ····sget-object·v9,·Lcom/google/zxing/pdf417/encoder/PDF417ErrorCorrection;->EC_COEFFICIENTS:[[I
  
1225 ····aget-object·v9,·v9,·p11223 ····aget-object·v9,·v9,·p1
  
1226 ····aget·v9,·v9,·v21224 ····aget·v9,·v9,·v2
20.5 KB
smali/com/google/zxing/pdf417/encoder/PDF417.smali
    
Offset 2980, 103 lines modifiedOffset 2980, 48 lines modified
  
2980 ····const/4·v10,·0x12980 ····const/4·v10,·0x1
  
2981 ····const/4·v9,·0x02981 ····const/4·v9,·0x0
  
2982 ····const/high16·v8,·0x40400000····#·3.0f2982 ····const/high16·v8,·0x40400000····#·3.0f
  
2983 ····.line·6912983 ····.line·690
2984 ····const/4·v3,·0x02984 ····const/4·v3,·0x0
  
2985 ····.line·6922985 ····.line·691
2986 ····.local·v3,·"ratio":F2986 ····.local·v3,·"ratio":F
2987 ····const/4·v1,·0x02987 ····const/4·v1,·0x0
  
2988 ····.line·6942988 ····.line·693
2989 ····.local·v1,·"dimension":[I2989 ····.local·v1,·"dimension":[I
2990 ····iget·v0,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minCols:I2990 ····iget·v0,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minCols:I
  
2991 ····.local·v0,·"cols":I2991 ····.local·v0,·"cols":I
2992 ····:goto_02992 ····:goto_0
2993 ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->maxCols:I2993 ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->maxCols:I
  
2994 ····if-gt·v0,·v5,·:cond_02994 ····if-gt·v0,·v5,·:cond_2
  
2995 ····.line·6962995 ····.line·695
2996 ····invoke-static·{p1,·p2,·v0},·Lcom/google/zxing/pdf417/encoder/PDF417;->calculateNumberOfRows(III)I2996 ····invoke-static·{p1,·p2,·v0},·Lcom/google/zxing/pdf417/encoder/PDF417;->calculateNumberOfRows(III)I
  
2997 ····move-result·v42997 ····move-result·v4
  
2998 ····.line·6982998 ····.line·697
2999 ····.local·v4,·"rows":I2999 ····.local·v4,·"rows":I
3000 ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minRows:I3000 ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minRows:I
  
3001 ····if-ge·v4,·v5,·:cond_23001 ····if-lt·v4,·v5,·:cond_2
  
3002 ····.line·718 
3003 ····.end·local·v4····#·"rows":I 
3004 ····:cond_0 
3005 ····if-nez·v1,·:cond_1 
  
3006 ····.line·719 
3007 ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minCols:I 
  
3008 ····invoke-static·{p1,·p2,·v5},·Lcom/google/zxing/pdf417/encoder/PDF417;->calculateNumberOfRows(III)I 
  
3009 ····move-result·v4 
  
3010 ····.line·720 
3011 ····.restart·local·v4····#·"rows":I 
3012 ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minRows:I 
  
3013 ····if-ge·v4,·v5,·:cond_1 
  
3014 ····.line·721 
3015 ····new-array·v1,·v11,·[I 
  
3016 ····.end·local·v1····#·"dimension":[I 
3017 ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minCols:I 
  
3018 ····aput·v5,·v1,·v9 
  
3019 ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minRows:I 
  
3020 ····aput·v5,·v1,·v10 
  
3021 ····.line·725 
3022 ····.end·local·v4····#·"rows":I 
3023 ····.restart·local·v1····#·"dimension":[I 
3024 ····:cond_1 
3025 ····if-nez·v1,·:cond_6 
  
3026 ····.line·726 
3027 ····new-instance·v5,·Lcom/google/zxing/WriterException; 
  
3028 ····const-string·v6,·"Unable·to·fit·message·in·columns" 
  
3029 ····invoke-direct·{v5,·v6},·Lcom/google/zxing/WriterException;-><init>(Ljava/lang/String;)V 
  
3030 ····throw·v5 
  
3031 ····.line·7023002 ····.line·701
3032 ····.restart·local·v4····#·"rows":I 
3033 ····:cond_2 
3034 ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->maxRows:I3003 ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->maxRows:I
  
3035 ····if-le·v4,·v5,·:cond_43004 ····if-gt·v4,·v5,·:cond_1
  
3036 ····.line·694 
3037 ····:cond_3 
3038 ····:goto_1 
3039 ····add-int/lit8·v0,·v0,·0x1 
  
3040 ····goto·:goto_0 
  
3041 ····.line·7063005 ····.line·705
3042 ····:cond_4 
3043 ····mul-int/lit8·v5,·v0,·0x113006 ····mul-int/lit8·v5,·v0,·0x11
  
3044 ····add-int/lit8·v5,·v5,·0x453007 ····add-int/lit8·v5,·v5,·0x45
  
3045 ····int-to-float·v5,·v53008 ····int-to-float·v5,·v5
  
3046 ····const·v6,·0x3eb6c8b4····#·0.357f3009 ····const·v6,·0x3eb6c8b4····#·0.357f
Offset 3087, 17 lines modifiedOffset 3032, 17 lines modified
  
3087 ····const/high16·v7,·0x40000000····#·2.0f3032 ····const/high16·v7,·0x40000000····#·2.0f
  
3088 ····mul-float/2addr·v6,·v73033 ····mul-float/2addr·v6,·v7
  
3089 ····div-float·v2,·v5,·v63034 ····div-float·v2,·v5,·v6
  
3090 ····.line·7093035 ····.line·708
3091 ····.local·v2,·"newRatio":F3036 ····.local·v2,·"newRatio":F
3092 ····if-eqz·v1,·:cond_53037 ····if-eqz·v1,·:cond_0
  
3093 ····sub-float·v5,·v2,·v83038 ····sub-float·v5,·v2,·v8
  
3094 ····invoke-static·{v5},·Ljava/lang/Math;->abs(F)F3039 ····invoke-static·{v5},·Ljava/lang/Math;->abs(F)F
  
3095 ····move-result·v53040 ····move-result·v5
  
Offset 3105, 35 lines modifiedOffset 3050, 81 lines modified
  
3105 ····invoke-static·{v6},·Ljava/lang/Math;->abs(F)F3050 ····invoke-static·{v6},·Ljava/lang/Math;->abs(F)F
  
3106 ····move-result·v63051 ····move-result·v6
  
Max diff block lines reached; 17953/20889 bytes (85.94%) of diff not shown.
398 B
smali/com/google/zxing/common/BitSource.smali
    
Offset 77, 17 lines modifiedOffset 77, 15 lines modified
  
77 ····.prologue77 ····.prologue
78 ····const/16·v9,·0xff78 ····const/16·v9,·0xff
  
79 ····const/16·v8,·0x879 ····const/16·v8,·0x8
  
80 ····.line·6380 ····.line·63
81 ····const/4·v5,·0x1 
  
82 ····if-lt·p1,·v5,·:cond_081 ····if-lez·p1,·:cond_0
  
83 ····const/16·v5,·0x2082 ····const/16·v5,·0x20
  
84 ····if-gt·p1,·v5,·:cond_083 ····if-gt·p1,·v5,·:cond_0
  
85 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitSource;->available()I84 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitSource;->available()I
  
6.66 KB
smali/com/google/zxing/common/DecoderResult.smali
    
Offset 15, 14 lines modifiedOffset 15, 16 lines modified
  
15 .field·private·final·ecLevel:Ljava/lang/String;15 .field·private·final·ecLevel:Ljava/lang/String;
  
16 .field·private·erasures:Ljava/lang/Integer;16 .field·private·erasures:Ljava/lang/Integer;
  
17 .field·private·errorsCorrected:Ljava/lang/Integer;17 .field·private·errorsCorrected:Ljava/lang/Integer;
  
 18 .field·private·numBits:I
  
18 .field·private·other:Ljava/lang/Object;19 .field·private·other:Ljava/lang/Object;
  
19 .field·private·final·rawBytes:[B20 .field·private·final·rawBytes:[B
  
20 .field·private·final·structuredAppendParity:I21 .field·private·final·structuredAppendParity:I
  
21 .field·private·final·structuredAppendSequenceNumber:I22 .field·private·final·structuredAppendSequenceNumber:I
Offset 47, 35 lines modifiedOffset 49, 35 lines modified
47 ········}49 ········}
48 ····.end·annotation50 ····.end·annotation
  
49 ····.prologue51 ····.prologue
50 ····.local·p3,·"byteSegments":Ljava/util/List;,·"Ljava/util/List<[B>;"52 ····.local·p3,·"byteSegments":Ljava/util/List;,·"Ljava/util/List<[B>;"
51 ····const/4·v5,·-0x153 ····const/4·v5,·-0x1
  
52 ····.line·4454 ····.line·45
53 ····move-object·v0,·p055 ····move-object·v0,·p0
  
54 ····move-object·v1,·p156 ····move-object·v1,·p1
  
55 ····move-object·v2,·p257 ····move-object·v2,·p2
  
56 ····move-object·v3,·p358 ····move-object·v3,·p3
  
57 ····move-object·v4,·p459 ····move-object·v4,·p4
  
58 ····move·v6,·v560 ····move·v6,·v5
  
59 ····invoke-direct/range·{v0·..·v6},·Lcom/google/zxing/common/DecoderResult;-><init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;II)V61 ····invoke-direct/range·{v0·..·v6},·Lcom/google/zxing/common/DecoderResult;-><init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;II)V
  
60 ····.line·4562 ····.line·46
61 ····return-void63 ····return-void
62 .end·method64 .end·method
  
63 .method·public·constructor·<init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;II)V65 .method·public·constructor·<init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;II)V
64 ····.locals·066 ····.locals·1
65 ····.param·p1,·"rawBytes"····#·[B67 ····.param·p1,·"rawBytes"····#·[B
66 ····.param·p2,·"text"····#·Ljava/lang/String;68 ····.param·p2,·"text"····#·Ljava/lang/String;
67 ····.param·p4,·"ecLevel"····#·Ljava/lang/String;69 ····.param·p4,·"ecLevel"····#·Ljava/lang/String;
68 ····.param·p5,·"saSequence"····#·I70 ····.param·p5,·"saSequence"····#·I
69 ····.param·p6,·"saParity"····#·I71 ····.param·p6,·"saParity"····#·I
70 ····.annotation·system·Ldalvik/annotation/Signature;72 ····.annotation·system·Ldalvik/annotation/Signature;
71 ········value·=·{73 ········value·=·{
Offset 85, 38 lines modifiedOffset 87, 54 lines modified
85 ············"<[B>;",87 ············"<[B>;",
86 ············"Ljava/lang/String;",88 ············"Ljava/lang/String;",
87 ············"II)V"89 ············"II)V"
88 ········}90 ········}
89 ····.end·annotation91 ····.end·annotation
  
90 ····.prologue92 ····.prologue
91 ····.line·5293 ····.line·53
92 ····.local·p3,·"byteSegments":Ljava/util/List;,·"Ljava/util/List<[B>;"94 ····.local·p3,·"byteSegments":Ljava/util/List;,·"Ljava/util/List<[B>;"
93 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V95 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
94 ····.line·5396 ····.line·54
95 ····iput-object·p1,·p0,·Lcom/google/zxing/common/DecoderResult;->rawBytes:[B97 ····iput-object·p1,·p0,·Lcom/google/zxing/common/DecoderResult;->rawBytes:[B
  
96 ····.line·5498 ····.line·55
 99 ····if-nez·p1,·:cond_0
  
 100 ····const/4·v0,·0x0
  
 101 ····:goto_0
 102 ····iput·v0,·p0,·Lcom/google/zxing/common/DecoderResult;->numBits:I
  
 103 ····.line·56
97 ····iput-object·p2,·p0,·Lcom/google/zxing/common/DecoderResult;->text:Ljava/lang/String;104 ····iput-object·p2,·p0,·Lcom/google/zxing/common/DecoderResult;->text:Ljava/lang/String;
  
98 ····.line·55105 ····.line·57
99 ····iput-object·p3,·p0,·Lcom/google/zxing/common/DecoderResult;->byteSegments:Ljava/util/List;106 ····iput-object·p3,·p0,·Lcom/google/zxing/common/DecoderResult;->byteSegments:Ljava/util/List;
  
100 ····.line·56107 ····.line·58
101 ····iput-object·p4,·p0,·Lcom/google/zxing/common/DecoderResult;->ecLevel:Ljava/lang/String;108 ····iput-object·p4,·p0,·Lcom/google/zxing/common/DecoderResult;->ecLevel:Ljava/lang/String;
  
102 ····.line·57109 ····.line·59
103 ····iput·p6,·p0,·Lcom/google/zxing/common/DecoderResult;->structuredAppendParity:I110 ····iput·p6,·p0,·Lcom/google/zxing/common/DecoderResult;->structuredAppendParity:I
  
104 ····.line·58111 ····.line·60
105 ····iput·p5,·p0,·Lcom/google/zxing/common/DecoderResult;->structuredAppendSequenceNumber:I112 ····iput·p5,·p0,·Lcom/google/zxing/common/DecoderResult;->structuredAppendSequenceNumber:I
  
106 ····.line·59113 ····.line·61
107 ····return-void114 ····return-void
  
 115 ····.line·55
 116 ····:cond_0
 117 ····array-length·v0,·p1
  
 118 ····mul-int/lit8·v0,·v0,·0x8
  
 119 ····goto·:goto_0
108 .end·method120 .end·method
  
  
109 #·virtual·methods121 #·virtual·methods
110 .method·public·getByteSegments()Ljava/util/List;122 .method·public·getByteSegments()Ljava/util/List;
111 ····.locals·1123 ····.locals·1
112 ····.annotation·system·Ldalvik/annotation/Signature;124 ····.annotation·system·Ldalvik/annotation/Signature;
Offset 124, 105 lines modifiedOffset 142, 115 lines modified
124 ············"()",142 ············"()",
125 ············"Ljava/util/List",143 ············"Ljava/util/List",
126 ············"<[B>;"144 ············"<[B>;"
127 ········}145 ········}
128 ····.end·annotation146 ····.end·annotation
  
129 ····.prologue147 ····.prologue
130 ····.line·70148 ····.line·97
131 ····iget-object·v0,·p0,·Lcom/google/zxing/common/DecoderResult;->byteSegments:Ljava/util/List;149 ····iget-object·v0,·p0,·Lcom/google/zxing/common/DecoderResult;->byteSegments:Ljava/util/List;
  
132 ····return-object·v0150 ····return-object·v0
133 .end·method151 .end·method
  
134 .method·public·getECLevel()Ljava/lang/String;152 .method·public·getECLevel()Ljava/lang/String;
135 ····.locals·1153 ····.locals·1
  
136 ····.prologue154 ····.prologue
137 ····.line·74155 ····.line·104
138 ····iget-object·v0,·p0,·Lcom/google/zxing/common/DecoderResult;->ecLevel:Ljava/lang/String;156 ····iget-object·v0,·p0,·Lcom/google/zxing/common/DecoderResult;->ecLevel:Ljava/lang/String;
Max diff block lines reached; 3407/6719 bytes (50.71%) of diff not shown.
16.8 KB
smali/com/google/zxing/common/GlobalHistogramBinarizer.smali
    
Offset 55, 255 lines modifiedOffset 55, 253 lines modified
55 ····iput-object·v0,·p0,·Lcom/google/zxing/common/GlobalHistogramBinarizer;->buckets:[I55 ····iput-object·v0,·p0,·Lcom/google/zxing/common/GlobalHistogramBinarizer;->buckets:[I
  
56 ····.line·4856 ····.line·48
57 ····return-void57 ····return-void
58 .end·method58 .end·method
  
59 .method·private·static·estimateBlackPoint([I)I59 .method·private·static·estimateBlackPoint([I)I
60 ····.locals·1560 ····.locals·14
61 ····.param·p0,·"buckets"····#·[I61 ····.param·p0,·"buckets"····#·[I
62 ····.annotation·system·Ldalvik/annotation/Throws;62 ····.annotation·system·Ldalvik/annotation/Throws;
63 ········value·=·{63 ········value·=·{
64 ············Lcom/google/zxing/NotFoundException;64 ············Lcom/google/zxing/NotFoundException;
65 ········}65 ········}
66 ····.end·annotation66 ····.end·annotation
  
67 ····.prologue67 ····.prologue
68 ····.line·14168 ····.line·148
69 ····array-length·v7,·p069 ····array-length·v6,·p0
  
70 ····.line·14270 ····.line·149
71 ····.local·v7,·"numBuckets":I71 ····.local·v6,·"numBuckets":I
72 ····const/4·v6,·0x072 ····const/4·v5,·0x0
  
73 ····.line·14373 ····.line·150
74 ····.local·v6,·"maxBucketCount":I74 ····.local·v5,·"maxBucketCount":I
75 ····const/4·v3,·0x075 ····const/4·v3,·0x0
  
76 ····.line·14476 ····.line·151
77 ····.local·v3,·"firstPeak":I77 ····.local·v3,·"firstPeak":I
78 ····const/4·v4,·0x078 ····const/4·v4,·0x0
  
79 ····.line·14579 ····.line·152
80 ····.local·v4,·"firstPeakSize":I80 ····.local·v4,·"firstPeakSize":I
81 ····const/4·v12,·0x081 ····const/4·v11,·0x0
  
82 ····.local·v12,·"x":I82 ····.local·v11,·"x":I
83 ····:goto_083 ····:goto_0
84 ····if-ge·v12,·v7,·:cond_284 ····if-ge·v11,·v6,·:cond_2
  
85 ····.line·14685 ····.line·153
86 ····aget·v13,·p0,·v1286 ····aget·v12,·p0,·v11
  
87 ····if-le·v13,·v4,·:cond_087 ····if-le·v12,·v4,·:cond_0
  
88 ····.line·14788 ····.line·154
89 ····move·v3,·v1289 ····move·v3,·v11
  
90 ····.line·14890 ····.line·155
91 ····aget·v4,·p0,·v1291 ····aget·v4,·p0,·v11
  
92 ····.line·15092 ····.line·157
93 ····:cond_093 ····:cond_0
94 ····aget·v13,·p0,·v1294 ····aget·v12,·p0,·v11
  
95 ····if-le·v13,·v6,·:cond_195 ····if-le·v12,·v5,·:cond_1
  
96 ····.line·15196 ····.line·158
97 ····aget·v6,·p0,·v1297 ····aget·v5,·p0,·v11
  
98 ····.line·14598 ····.line·152
99 ····:cond_199 ····:cond_1
100 ····add-int/lit8·v12,·v12,·0x1100 ····add-int/lit8·v11,·v11,·0x1
  
101 ····goto·:goto_0101 ····goto·:goto_0
  
102 ····.line·156102 ····.line·163
103 ····:cond_2103 ····:cond_2
104 ····const/4·v9,·0x0104 ····const/4·v8,·0x0
  
105 ····.line·157105 ····.line·164
106 ····.local·v9,·"secondPeak":I106 ····.local·v8,·"secondPeak":I
107 ····const/4·v10,·0x0107 ····const/4·v9,·0x0
  
108 ····.line·158108 ····.line·165
109 ····.local·v10,·"secondPeakScore":I109 ····.local·v9,·"secondPeakScore":I
110 ····const/4·v12,·0x0110 ····const/4·v11,·0x0
  
111 ····:goto_1111 ····:goto_1
112 ····if-ge·v12,·v7,·:cond_4112 ····if-ge·v11,·v6,·:cond_4
  
113 ····.line·159113 ····.line·166
114 ····sub-int·v2,·v12,·v3114 ····sub-int·v2,·v11,·v3
  
115 ····.line·161115 ····.line·168
116 ····.local·v2,·"distanceToBiggest":I116 ····.local·v2,·"distanceToBiggest":I
117 ····aget·v13,·p0,·v12117 ····aget·v12,·p0,·v11
  
118 ····mul-int/2addr·v13,·v2118 ····mul-int/2addr·v12,·v2
  
119 ····mul-int·v8,·v13,·v2119 ····mul-int·v7,·v12,·v2
  
120 ····.line·162120 ····.line·169
121 ····.local·v8,·"score":I121 ····.local·v7,·"score":I
122 ····if-le·v8,·v10,·:cond_3122 ····if-le·v7,·v9,·:cond_3
  
123 ····.line·163123 ····.line·170
124 ····move·v9,·v12124 ····move·v8,·v11
  
125 ····.line·164125 ····.line·171
126 ····move·v10,·v8126 ····move·v9,·v7
  
127 ····.line·158127 ····.line·165
128 ····:cond_3128 ····:cond_3
129 ····add-int/lit8·v12,·v12,·0x1129 ····add-int/lit8·v11,·v11,·0x1
  
130 ····goto·:goto_1130 ····goto·:goto_1
  
131 ····.line·169131 ····.line·176
132 ····.end·local·v2····#·"distanceToBiggest":I132 ····.end·local·v2····#·"distanceToBiggest":I
133 ····.end·local·v8····#·"score":I133 ····.end·local·v7····#·"score":I
134 ····:cond_4134 ····:cond_4
135 ····if-le·v3,·v9,·:cond_5135 ····if-le·v3,·v8,·:cond_5
  
136 ····.line·170136 ····.line·177
137 ····move·v11,·v3137 ····move·v10,·v3
  
138 ····.line·171138 ····.line·178
139 ····.local·v11,·"temp":I139 ····.local·v10,·"temp":I
140 ····move·v3,·v9140 ····move·v3,·v8
  
141 ····.line·172141 ····.line·179
142 ····move·v9,·v11142 ····move·v8,·v10
  
143 ····.line·177143 ····.line·184
144 ····.end·local·v11····#·"temp":I144 ····.end·local·v10····#·"temp":I
145 ····:cond_5145 ····:cond_5
146 ····sub-int·v13,·v9,·v3146 ····sub-int·v12,·v8,·v3
Max diff block lines reached; 13608/17117 bytes (79.50%) of diff not shown.
20.8 KB
smali/com/google/zxing/common/BitMatrix.smali
    
Offset 31, 23 lines modifiedOffset 31, 21 lines modified
  
31 .method·public·constructor·<init>(II)V31 .method·public·constructor·<init>(II)V
32 ····.locals·232 ····.locals·2
33 ····.param·p1,·"width"····#·I33 ····.param·p1,·"width"····#·I
34 ····.param·p2,·"height"····#·I34 ····.param·p2,·"height"····#·I
  
35 ····.prologue35 ····.prologue
36 ····const/4·v0,·0x1 
  
37 ····.line·4836 ····.line·48
38 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V37 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
39 ····.line·4938 ····.line·49
40 ····if-lt·p1,·v0,·:cond_039 ····if-lez·p1,·:cond_0
  
41 ····if-ge·p2,·v0,·:cond_140 ····if-gtz·p2,·:cond_1
  
42 ····.line·5041 ····.line·50
43 ····:cond_042 ····:cond_0
44 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;43 ····new-instance·v0,·Ljava/lang/IllegalArgumentException;
  
45 ····const-string·v1,·"Both·dimensions·must·be·greater·than·0"44 ····const-string·v1,·"Both·dimensions·must·be·greater·than·0"
  
Offset 105, 14 lines modifiedOffset 103, 95 lines modified
105 ····.line·62103 ····.line·62
106 ····iput-object·p4,·p0,·Lcom/google/zxing/common/BitMatrix;->bits:[I104 ····iput-object·p4,·p0,·Lcom/google/zxing/common/BitMatrix;->bits:[I
  
107 ····.line·63105 ····.line·63
108 ····return-void106 ····return-void
109 .end·method107 .end·method
  
 108 .method·private·buildToString(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
 109 ····.locals·5
 110 ····.param·p1,·"setString"····#·Ljava/lang/String;
 111 ····.param·p2,·"unsetString"····#·Ljava/lang/String;
 112 ····.param·p3,·"lineSeparator"····#·Ljava/lang/String;
  
 113 ····.prologue
 114 ····.line·435
 115 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
 116 ····iget·v3,·p0,·Lcom/google/zxing/common/BitMatrix;->height:I
  
 117 ····iget·v4,·p0,·Lcom/google/zxing/common/BitMatrix;->width:I
  
 118 ····add-int/lit8·v4,·v4,·0x1
  
 119 ····mul-int/2addr·v3,·v4
  
 120 ····invoke-direct·{v0,·v3},·Ljava/lang/StringBuilder;-><init>(I)V
  
 121 ····.line·436
 122 ····.local·v0,·"result":Ljava/lang/StringBuilder;
 123 ····const/4·v2,·0x0
  
 124 ····.local·v2,·"y":I
 125 ····:goto_0
 126 ····iget·v3,·p0,·Lcom/google/zxing/common/BitMatrix;->height:I
  
 127 ····if-ge·v2,·v3,·:cond_2
  
 128 ····.line·437
 129 ····const/4·v1,·0x0
  
 130 ····.local·v1,·"x":I
 131 ····:goto_1
 132 ····iget·v3,·p0,·Lcom/google/zxing/common/BitMatrix;->width:I
  
 133 ····if-ge·v1,·v3,·:cond_1
  
 134 ····.line·438
 135 ····invoke-virtual·{p0,·v1,·v2},·Lcom/google/zxing/common/BitMatrix;->get(II)Z
  
 136 ····move-result·v3
  
 137 ····if-eqz·v3,·:cond_0
  
 138 ····move-object·v3,·p1
  
 139 ····:goto_2
 140 ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
 141 ····.line·437
 142 ····add-int/lit8·v1,·v1,·0x1
  
 143 ····goto·:goto_1
  
 144 ····:cond_0
 145 ····move-object·v3,·p2
  
 146 ····.line·438
 147 ····goto·:goto_2
  
 148 ····.line·440
 149 ····:cond_1
 150 ····invoke-virtual·{v0,·p3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
 151 ····.line·436
 152 ····add-int/lit8·v2,·v2,·0x1
  
 153 ····goto·:goto_0
  
 154 ····.line·442
 155 ····.end·local·v1····#·"x":I
 156 ····:cond_2
 157 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
 158 ····move-result-object·v3
  
 159 ····return-object·v3
 160 .end·method
  
110 .method·public·static·parse(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/google/zxing/common/BitMatrix;161 .method·public·static·parse(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/google/zxing/common/BitMatrix;
111 ····.locals·11162 ····.locals·11
112 ····.param·p0,·"stringRepresentation"····#·Ljava/lang/String;163 ····.param·p0,·"stringRepresentation"····#·Ljava/lang/String;
113 ····.param·p1,·"setString"····#·Ljava/lang/String;164 ····.param·p1,·"setString"····#·Ljava/lang/String;
114 ····.param·p2,·"unsetString"····#·Ljava/lang/String;165 ····.param·p2,·"unsetString"····#·Ljava/lang/String;
  
115 ····.prologue166 ····.prologue
Offset 293, 21 lines modifiedOffset 372, 17 lines modified
  
293 ····.line·98372 ····.line·98
294 ····:cond_7373 ····:cond_7
295 ····new-instance·v8,·Ljava/lang/IllegalArgumentException;374 ····new-instance·v8,·Ljava/lang/IllegalArgumentException;
  
296 ····new-instance·v9,·Ljava/lang/StringBuilder;375 ····new-instance·v9,·Ljava/lang/StringBuilder;
  
Max diff block lines reached; 18021/21164 bytes (85.15%) of diff not shown.
1.44 KB
smali/com/google/zxing/common/PerspectiveTransform.smali
    
Offset 68, 15 lines modifiedOffset 68, 15 lines modified
68 ····iput·p9,·p0,·Lcom/google/zxing/common/PerspectiveTransform;->a33:F68 ····iput·p9,·p0,·Lcom/google/zxing/common/PerspectiveTransform;->a33:F
  
69 ····.line·5069 ····.line·50
70 ····return-void70 ····return-void
71 .end·method71 .end·method
  
72 .method·public·static·quadrilateralToQuadrilateral(FFFFFFFFFFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform;72 .method·public·static·quadrilateralToQuadrilateral(FFFFFFFFFFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform;
73 ····.locals·373 ····.locals·2
74 ····.param·p0,·"x0"····#·F74 ····.param·p0,·"x0"····#·F
75 ····.param·p1,·"y0"····#·F75 ····.param·p1,·"y0"····#·F
76 ····.param·p2,·"x1"····#·F76 ····.param·p2,·"x1"····#·F
77 ····.param·p3,·"y1"····#·F77 ····.param·p3,·"y1"····#·F
78 ····.param·p4,·"x2"····#·F78 ····.param·p4,·"x2"····#·F
79 ····.param·p5,·"y2"····#·F79 ····.param·p5,·"y2"····#·F
80 ····.param·p6,·"x3"····#·F80 ····.param·p6,·"x3"····#·F
Offset 99, 20 lines modifiedOffset 99, 19 lines modified
99 ····.line·6299 ····.line·62
100 ····.local·v0,·"qToS":Lcom/google/zxing/common/PerspectiveTransform;100 ····.local·v0,·"qToS":Lcom/google/zxing/common/PerspectiveTransform;
101 ····invoke-static/range·{p8·..·p15},·Lcom/google/zxing/common/PerspectiveTransform;->squareToQuadrilateral(FFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform;101 ····invoke-static/range·{p8·..·p15},·Lcom/google/zxing/common/PerspectiveTransform;->squareToQuadrilateral(FFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform;
  
102 ····move-result-object·v1102 ····move-result-object·v1
  
103 ····.line·63103 ····.line·63
104 ····.local·v1,·"sToQ":Lcom/google/zxing/common/PerspectiveTransform; 
105 ····invoke-virtual·{v1,·v0},·Lcom/google/zxing/common/PerspectiveTransform;->times(Lcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/PerspectiveTransform;104 ····invoke-virtual·{v1,·v0},·Lcom/google/zxing/common/PerspectiveTransform;->times(Lcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/PerspectiveTransform;
  
106 ····move-result-object·v2105 ····move-result-object·v1
  
107 ····return-object·v2106 ····return-object·v1
108 .end·method107 .end·method
  
109 .method·public·static·quadrilateralToSquare(FFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform;108 .method·public·static·quadrilateralToSquare(FFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform;
110 ····.locals·1109 ····.locals·1
111 ····.param·p0,·"x0"····#·F110 ····.param·p0,·"x0"····#·F
112 ····.param·p1,·"y0"····#·F111 ····.param·p1,·"y0"····#·F
113 ····.param·p2,·"x1"····#·F112 ····.param·p2,·"x1"····#·F
26.0 KB
smali/com/google/zxing/common/BitArray.smali
    
Offset 85, 15 lines modifiedOffset 85, 15 lines modified
85 ····const/4·v3,·0x085 ····const/4·v3,·0x0
  
86 ····.line·5686 ····.line·56
87 ····iget-object·v1,·p0,·Lcom/google/zxing/common/BitArray;->bits:[I87 ····iget-object·v1,·p0,·Lcom/google/zxing/common/BitArray;->bits:[I
  
88 ····array-length·v1,·v188 ····array-length·v1,·v1
  
89 ····mul-int/lit8·v1,·v1,·0x2089 ····shl-int/lit8·v1,·v1,·0x5
  
90 ····if-le·p1,·v1,·:cond_090 ····if-le·p1,·v1,·:cond_0
  
91 ····.line·5791 ····.line·57
92 ····invoke-static·{p1},·Lcom/google/zxing/common/BitArray;->makeArray(I)[I92 ····invoke-static·{p1},·Lcom/google/zxing/common/BitArray;->makeArray(I)[I
  
93 ····move-result-object·v093 ····move-result-object·v0
Offset 118, 15 lines modifiedOffset 118, 15 lines modified
118 .end·method118 .end·method
  
119 .method·private·static·makeArray(I)[I119 .method·private·static·makeArray(I)[I
120 ····.locals·1120 ····.locals·1
121 ····.param·p0,·"size"····#·I121 ····.param·p0,·"size"····#·I
  
122 ····.prologue122 ····.prologue
123 ····.line·341123 ····.line·323
124 ····add-int/lit8·v0,·p0,·0x1f124 ····add-int/lit8·v0,·p0,·0x1f
  
125 ····div-int/lit8·v0,·v0,·0x20125 ····div-int/lit8·v0,·v0,·0x20
  
126 ····new-array·v0,·v0,·[I126 ····new-array·v0,·v0,·[I
  
127 ····return-object·v0127 ····return-object·v0
Offset 135, 25 lines modifiedOffset 135, 25 lines modified
  
135 #·virtual·methods135 #·virtual·methods
136 .method·public·appendBit(Z)V136 .method·public·appendBit(Z)V
137 ····.locals·5137 ····.locals·5
138 ····.param·p1,·"bit"····#·Z138 ····.param·p1,·"bit"····#·Z
  
139 ····.prologue139 ····.prologue
140 ····.line·231140 ····.line·217
141 ····iget·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I141 ····iget·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I
  
142 ····add-int/lit8·v0,·v0,·0x1142 ····add-int/lit8·v0,·v0,·0x1
  
143 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/common/BitArray;->ensureCapacity(I)V143 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/common/BitArray;->ensureCapacity(I)V
  
144 ····.line·232144 ····.line·218
145 ····if-eqz·p1,·:cond_0145 ····if-eqz·p1,·:cond_0
  
146 ····.line·233146 ····.line·219
147 ····iget-object·v0,·p0,·Lcom/google/zxing/common/BitArray;->bits:[I147 ····iget-object·v0,·p0,·Lcom/google/zxing/common/BitArray;->bits:[I
  
148 ····iget·v1,·p0,·Lcom/google/zxing/common/BitArray;->size:I148 ····iget·v1,·p0,·Lcom/google/zxing/common/BitArray;->size:I
  
149 ····div-int/lit8·v1,·v1,·0x20149 ····div-int/lit8·v1,·v1,·0x20
  
150 ····aget·v2,·v0,·v1150 ····aget·v2,·v0,·v1
Offset 166, 175 lines modifiedOffset 166, 175 lines modified
  
166 ····shl-int/2addr·v3,·v4166 ····shl-int/2addr·v3,·v4
  
167 ····or-int/2addr·v2,·v3167 ····or-int/2addr·v2,·v3
  
168 ····aput·v2,·v0,·v1168 ····aput·v2,·v0,·v1
  
169 ····.line·235169 ····.line·221
170 ····:cond_0170 ····:cond_0
171 ····iget·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I171 ····iget·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I
  
172 ····add-int/lit8·v0,·v0,·0x1172 ····add-int/lit8·v0,·v0,·0x1
  
173 ····iput·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I173 ····iput·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I
  
174 ····.line·236174 ····.line·222
175 ····return-void175 ····return-void
176 .end·method176 .end·method
  
177 .method·public·appendBitArray(Lcom/google/zxing/common/BitArray;)V177 .method·public·appendBitArray(Lcom/google/zxing/common/BitArray;)V
178 ····.locals·3178 ····.locals·3
179 ····.param·p1,·"other"····#·Lcom/google/zxing/common/BitArray;179 ····.param·p1,·"other"····#·Lcom/google/zxing/common/BitArray;
  
180 ····.prologue180 ····.prologue
181 ····.line·257181 ····.line·243
182 ····iget·v1,·p1,·Lcom/google/zxing/common/BitArray;->size:I182 ····iget·v1,·p1,·Lcom/google/zxing/common/BitArray;->size:I
  
183 ····.line·258183 ····.line·244
184 ····.local·v1,·"otherSize":I184 ····.local·v1,·"otherSize":I
185 ····iget·v2,·p0,·Lcom/google/zxing/common/BitArray;->size:I185 ····iget·v2,·p0,·Lcom/google/zxing/common/BitArray;->size:I
  
186 ····add-int/2addr·v2,·v1186 ····add-int/2addr·v2,·v1
  
187 ····invoke-direct·{p0,·v2},·Lcom/google/zxing/common/BitArray;->ensureCapacity(I)V187 ····invoke-direct·{p0,·v2},·Lcom/google/zxing/common/BitArray;->ensureCapacity(I)V
  
188 ····.line·259188 ····.line·245
189 ····const/4·v0,·0x0189 ····const/4·v0,·0x0
  
190 ····.local·v0,·"i":I190 ····.local·v0,·"i":I
191 ····:goto_0191 ····:goto_0
192 ····if-ge·v0,·v1,·:cond_0192 ····if-ge·v0,·v1,·:cond_0
  
193 ····.line·260193 ····.line·246
194 ····invoke-virtual·{p1,·v0},·Lcom/google/zxing/common/BitArray;->get(I)Z194 ····invoke-virtual·{p1,·v0},·Lcom/google/zxing/common/BitArray;->get(I)Z
  
195 ····move-result·v2195 ····move-result·v2
  
196 ····invoke-virtual·{p0,·v2},·Lcom/google/zxing/common/BitArray;->appendBit(Z)V196 ····invoke-virtual·{p0,·v2},·Lcom/google/zxing/common/BitArray;->appendBit(Z)V
  
197 ····.line·259197 ····.line·245
198 ····add-int/lit8·v0,·v0,·0x1198 ····add-int/lit8·v0,·v0,·0x1
  
199 ····goto·:goto_0199 ····goto·:goto_0
  
200 ····.line·262200 ····.line·248
201 ····:cond_0201 ····:cond_0
202 ····return-void202 ····return-void
203 .end·method203 .end·method
  
204 .method·public·appendBits(II)V204 .method·public·appendBits(II)V
205 ····.locals·3205 ····.locals·3
206 ····.param·p1,·"value"····#·I206 ····.param·p1,·"value"····#·I
207 ····.param·p2,·"numBits"····#·I207 ····.param·p2,·"numBits"····#·I
  
208 ····.prologue208 ····.prologue
209 ····const/4·v2,·0x1209 ····const/4·v2,·0x1
  
210 ····.line·247210 ····.line·233
211 ····if-ltz·p2,·:cond_0211 ····if-ltz·p2,·:cond_0
Max diff block lines reached; 23673/26494 bytes (89.35%) of diff not shown.
17.1 KB
smali/com/google/zxing/common/StringUtils.smali
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ····.line·4281 ····.line·42
82 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V82 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
83 ····return-void83 ····return-void
84 .end·method84 .end·method
  
85 .method·public·static·guessEncoding([BLjava/util/Map;)Ljava/lang/String;85 .method·public·static·guessEncoding([BLjava/util/Map;)Ljava/lang/String;
86 ····.locals·2386 ····.locals·22
87 ····.param·p0,·"bytes"····#·[B87 ····.param·p0,·"bytes"····#·[B
88 ····.annotation·system·Ldalvik/annotation/Signature;88 ····.annotation·system·Ldalvik/annotation/Signature;
89 ········value·=·{89 ········value·=·{
90 ············"([B",90 ············"([B",
91 ············"Ljava/util/Map",91 ············"Ljava/util/Map",
92 ············"<",92 ············"<",
93 ············"Lcom/google/zxing/DecodeHintType;",93 ············"Lcom/google/zxing/DecodeHintType;",
Offset 99, 630 lines modifiedOffset 99, 624 lines modified
99 ····.end·annotation99 ····.end·annotation
  
100 ····.prologue100 ····.prologue
101 ····.line·52101 ····.line·52
102 ····.local·p1,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"102 ····.local·p1,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"
103 ····if-eqz·p1,·:cond_0103 ····if-eqz·p1,·:cond_0
  
 104 ····sget-object·v20,·Lcom/google/zxing/DecodeHintType;->CHARACTER_SET:Lcom/google/zxing/DecodeHintType;
  
 105 ····move-object/from16·v0,·p1
  
 106 ····move-object/from16·v1,·v20
  
 107 ····invoke-interface·{v0,·v1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
  
 108 ····move-result·v20
  
 109 ····if-eqz·v20,·:cond_0
  
104 ····.line·53110 ····.line·53
105 ····sget-object·v21,·Lcom/google/zxing/DecodeHintType;->CHARACTER_SET:Lcom/google/zxing/DecodeHintType;111 ····sget-object·v20,·Lcom/google/zxing/DecodeHintType;->CHARACTER_SET:Lcom/google/zxing/DecodeHintType;
  
106 ····move-object/from16·v0,·p1112 ····move-object/from16·v0,·p1
  
107 ····move-object/from16·v1,·v21113 ····move-object/from16·v1,·v20
  
108 ····invoke-interface·{v0,·v1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;114 ····invoke-interface·{v0,·v1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
  
109 ····move-result-object·v5115 ····move-result-object·v20
  
110 ····check-cast·v5,·Ljava/lang/String;116 ····invoke-virtual/range·{v20·..·v20},·Ljava/lang/Object;->toString()Ljava/lang/String;
  
 117 ····move-result-object·v20
111 ····.line·54 
112 ····.local·v5,·"characterSet":Ljava/lang/String; 
113 ····if-eqz·v5,·:cond_0 
  
114 ····.line·210118 ····.line·207
115 ····.end·local·v5····#·"characterSet":Ljava/lang/String; 
116 ····:goto_0119 ····:goto_0
117 ····return-object·v5120 ····return-object·v20
  
118 ····.line·60121 ····.line·57
119 ····:cond_0122 ····:cond_0
120 ····move-object/from16·v0,·p0123 ····move-object/from16·v0,·p0
  
121 ····array-length·v8,·v0124 ····array-length·v7,·v0
  
122 ····.line·61125 ····.line·58
123 ····.local·v8,·"length":I126 ····.local·v7,·"length":I
124 ····const/4·v2,·0x1127 ····const/4·v2,·0x1
  
125 ····.line·62128 ····.line·59
126 ····.local·v2,·"canBeISO88591":Z129 ····.local·v2,·"canBeISO88591":Z
127 ····const/4·v3,·0x1130 ····const/4·v3,·0x1
  
128 ····.line·63131 ····.line·60
129 ····.local·v3,·"canBeShiftJIS":Z132 ····.local·v3,·"canBeShiftJIS":Z
130 ····const/4·v4,·0x1133 ····const/4·v4,·0x1
  
131 ····.line·64134 ····.line·61
132 ····.local·v4,·"canBeUTF8":Z135 ····.local·v4,·"canBeUTF8":Z
133 ····const/16·v18,·0x0136 ····const/16·v17,·0x0
  
134 ····.line·66137 ····.line·63
135 ····.local·v18,·"utf8BytesLeft":I138 ····.local·v17,·"utf8BytesLeft":I
 139 ····const/4·v14,·0x0
  
 140 ····.line·64
 141 ····.local·v14,·"utf2BytesChars":I
136 ····const/4·v15,·0x0142 ····const/4·v15,·0x0
  
137 ····.line·67143 ····.line·65
138 ····.local·v15,·"utf2BytesChars":I144 ····.local·v15,·"utf3BytesChars":I
139 ····const/16·v16,·0x0145 ····const/16·v16,·0x0
  
140 ····.line·68146 ····.line·66
141 ····.local·v16,·"utf3BytesChars":I147 ····.local·v16,·"utf4BytesChars":I
142 ····const/16·v17,·0x0 
  
143 ····.line·69 
144 ····.local·v17,·"utf4BytesChars":I 
145 ····const/4·v9,·0x0148 ····const/4·v8,·0x0
  
146 ····.line·71 
147 ····.local·v9,·"sjisBytesLeft":I 
148 ····const/4·v12,·0x0 
  
149 ····.line·73149 ····.line·68
150 ····.local·v12,·"sjisKatakanaChars":I150 ····.local·v8,·"sjisBytesLeft":I
151 ····const/4·v11,·0x0151 ····const/4·v11,·0x0
  
152 ····.line·74152 ····.line·70
153 ····.local·v11,·"sjisCurKatakanaWordLength":I153 ····.local·v11,·"sjisKatakanaChars":I
154 ····const/4·v10,·0x0154 ····const/4·v10,·0x0
  
155 ····.line·75155 ····.line·71
156 ····.local·v10,·"sjisCurDoubleBytesWordLength":I156 ····.local·v10,·"sjisCurKatakanaWordLength":I
157 ····const/4·v14,·0x0157 ····const/4·v9,·0x0
  
158 ····.line·76158 ····.line·72
159 ····.local·v14,·"sjisMaxKatakanaWordLength":I159 ····.local·v9,·"sjisCurDoubleBytesWordLength":I
160 ····const/4·v13,·0x0160 ····const/4·v13,·0x0
  
161 ····.line·79161 ····.line·73
 162 ····.local·v13,·"sjisMaxKatakanaWordLength":I
 163 ····const/4·v12,·0x0
  
 164 ····.line·76
162 ····.local·v13,·"sjisMaxDoubleBytesWordLength":I165 ····.local·v12,·"sjisMaxDoubleBytesWordLength":I
163 ····const/4·v7,·0x0166 ····const/4·v6,·0x0
Max diff block lines reached; 13657/17441 bytes (78.30%) of diff not shown.
5.19 KB
smali/com/google/zxing/common/DefaultGridSampler.smali
    
Offset 55, 160 lines modifiedOffset 55, 157 lines modified
  
55 ····move-result-object·v155 ····move-result-object·v1
  
56 ····return-object·v156 ····return-object·v1
57 .end·method57 .end·method
  
58 .method·public·sampleGrid(Lcom/google/zxing/common/BitMatrix;IILcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/BitMatrix;58 .method·public·sampleGrid(Lcom/google/zxing/common/BitMatrix;IILcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/BitMatrix;
59 ····.locals·1059 ····.locals·9
60 ····.param·p1,·"image"····#·Lcom/google/zxing/common/BitMatrix;60 ····.param·p1,·"image"····#·Lcom/google/zxing/common/BitMatrix;
61 ····.param·p2,·"dimensionX"····#·I61 ····.param·p2,·"dimensionX"····#·I
62 ····.param·p3,·"dimensionY"····#·I62 ····.param·p3,·"dimensionY"····#·I
63 ····.param·p4,·"transform"····#·Lcom/google/zxing/common/PerspectiveTransform;63 ····.param·p4,·"transform"····#·Lcom/google/zxing/common/PerspectiveTransform;
64 ····.annotation·system·Ldalvik/annotation/Throws;64 ····.annotation·system·Ldalvik/annotation/Throws;
65 ········value·=·{65 ········value·=·{
66 ············Lcom/google/zxing/NotFoundException;66 ············Lcom/google/zxing/NotFoundException;
67 ········}67 ········}
68 ····.end·annotation68 ····.end·annotation
  
69 ····.prologue69 ····.prologue
70 ····const/high16·v9,·0x3f000000····#·0.5f70 ····const/high16·v8,·0x3f000000····#·0.5f
  
71 ····.line·5171 ····.line·51
72 ····if-lez·p2,·:cond_072 ····if-lez·p2,·:cond_0
  
73 ····if-gtz·p3,·:cond_173 ····if-gtz·p3,·:cond_1
  
74 ····.line·5274 ····.line·52
75 ····:cond_075 ····:cond_0
76 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;76 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
77 ····move-result-object·v777 ····move-result-object·v6
  
78 ····throw·v778 ····throw·v6
  
79 ····.line·5479 ····.line·54
80 ····:cond_180 ····:cond_1
81 ····new-instance·v1,·Lcom/google/zxing/common/BitMatrix;81 ····new-instance·v0,·Lcom/google/zxing/common/BitMatrix;
  
82 ····invoke-direct·{v1,·p2,·p3},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V82 ····invoke-direct·{v0,·p2,·p3},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V
  
83 ····.line·5583 ····.line·55
84 ····.local·v1,·"bits":Lcom/google/zxing/common/BitMatrix;84 ····.local·v0,·"bits":Lcom/google/zxing/common/BitMatrix;
85 ····mul-int/lit8·v7,·p2,·0x285 ····mul-int/lit8·v6,·p2,·0x2
  
86 ····new-array·v4,·v7,·[F86 ····new-array·v3,·v6,·[F
  
87 ····.line·5687 ····.line·56
88 ····.local·v4,·"points":[F88 ····.local·v3,·"points":[F
89 ····const/4·v6,·0x089 ····const/4·v5,·0x0
  
90 ····.local·v6,·"y":I90 ····.local·v5,·"y":I
91 ····:goto_091 ····:goto_0
92 ····if-ge·v6,·p3,·:cond_592 ····if-ge·v5,·p3,·:cond_5
  
93 ····.line·5793 ····.line·57
94 ····array-length·v3,·v494 ····array-length·v2,·v3
  
95 ····.line·5895 ····.line·58
96 ····.local·v3,·"max":I96 ····.local·v2,·"max":I
97 ····int-to-float·v7,·v697 ····int-to-float·v6,·v5
  
98 ····add-float·v2,·v7,·v998 ····add-float·v1,·v6,·v8
  
99 ····.line·5999 ····.line·59
100 ····.local·v2,·"iValue":F100 ····.local·v1,·"iValue":F
101 ····const/4·v5,·0x0101 ····const/4·v4,·0x0
  
102 ····.local·v5,·"x":I102 ····.local·v4,·"x":I
103 ····:goto_1103 ····:goto_1
104 ····if-ge·v5,·v3,·:cond_2104 ····if-ge·v4,·v2,·:cond_2
  
105 ····.line·60105 ····.line·60
106 ····div-int/lit8·v7,·v5,·0x2106 ····div-int/lit8·v6,·v4,·0x2
  
107 ····int-to-float·v7,·v7107 ····int-to-float·v6,·v6
  
108 ····add-float/2addr·v7,·v9108 ····add-float/2addr·v6,·v8
  
109 ····aput·v7,·v4,·v5109 ····aput·v6,·v3,·v4
  
110 ····.line·61110 ····.line·61
111 ····add-int/lit8·v7,·v5,·0x1111 ····add-int/lit8·v6,·v4,·0x1
  
112 ····aput·v2,·v4,·v7112 ····aput·v1,·v3,·v6
  
113 ····.line·59113 ····.line·59
114 ····add-int/lit8·v5,·v5,·0x2114 ····add-int/lit8·v4,·v4,·0x2
  
115 ····goto·:goto_1115 ····goto·:goto_1
  
116 ····.line·63116 ····.line·63
117 ····:cond_2117 ····:cond_2
118 ····invoke-virtual·{p4,·v4},·Lcom/google/zxing/common/PerspectiveTransform;->transformPoints([F)V118 ····invoke-virtual·{p4,·v3},·Lcom/google/zxing/common/PerspectiveTransform;->transformPoints([F)V
  
119 ····.line·66119 ····.line·66
120 ····invoke-static·{p1,·v4},·Lcom/google/zxing/common/DefaultGridSampler;->checkAndNudgePoints(Lcom/google/zxing/common/BitMatrix;[F)V120 ····invoke-static·{p1,·v3},·Lcom/google/zxing/common/DefaultGridSampler;->checkAndNudgePoints(Lcom/google/zxing/common/BitMatrix;[F)V
  
121 ····.line·68121 ····.line·68
122 ····const/4·v5,·0x0122 ····const/4·v4,·0x0
  
123 ····:goto_2123 ····:goto_2
124 ····if-ge·v5,·v3,·:cond_4124 ····if-ge·v4,·v2,·:cond_4
  
125 ····.line·69125 ····.line·69
126 ····:try_start_0126 ····:try_start_0
127 ····aget·v7,·v4,·v5127 ····aget·v6,·v3,·v4
  
128 ····float-to-int·v7,·v7128 ····float-to-int·v6,·v6
  
129 ····add-int/lit8·v8,·v5,·0x1129 ····add-int/lit8·v7,·v4,·0x1
  
130 ····aget·v8,·v4,·v8130 ····aget·v7,·v3,·v7
  
131 ····float-to-int·v8,·v8131 ····float-to-int·v7,·v7
  
132 ····invoke-virtual·{p1,·v7,·v8},·Lcom/google/zxing/common/BitMatrix;->get(II)Z132 ····invoke-virtual·{p1,·v6,·v7},·Lcom/google/zxing/common/BitMatrix;->get(II)Z
  
133 ····move-result·v7133 ····move-result·v6
  
134 ····if-eqz·v7,·:cond_3134 ····if-eqz·v6,·:cond_3
  
135 ····.line·71135 ····.line·71
136 ····div-int/lit8·v7,·v5,·0x2136 ····div-int/lit8·v6,·v4,·0x2
  
137 ····invoke-virtual·{v1,·v7,·v6},·Lcom/google/zxing/common/BitMatrix;->set(II)V137 ····invoke-virtual·{v0,·v6,·v5},·Lcom/google/zxing/common/BitMatrix;->set(II)V
138 ····:try_end_0138 ····:try_end_0
139 ····.catch·Ljava/lang/ArrayIndexOutOfBoundsException;·{:try_start_0·..·:try_end_0}·:catch_0139 ····.catch·Ljava/lang/ArrayIndexOutOfBoundsException;·{:try_start_0·..·:try_end_0}·:catch_0
Max diff block lines reached; 951/5211 bytes (18.25%) of diff not shown.
5.12 KB
smali/com/google/zxing/common/reedsolomon/ReedSolomonEncoder.smali
    
Offset 171, 122 lines modifiedOffset 171, 120 lines modified
  
171 ····return-object·v3171 ····return-object·v3
172 .end·method172 .end·method
  
  
173 #·virtual·methods173 #·virtual·methods
174 .method·public·encode([II)V174 .method·public·encode([II)V
175 ····.locals·11175 ····.locals·10
176 ····.param·p1,·"toEncode"····#·[I176 ····.param·p1,·"toEncode"····#·[I
177 ····.param·p2,·"ecBytes"····#·I177 ····.param·p2,·"ecBytes"····#·I
  
178 ····.prologue178 ····.prologue
179 ····const/4·v9,·0x1179 ····const/4·v9,·0x1
  
180 ····const/4·v10,·0x0180 ····const/4·v8,·0x0
  
181 ····.line·53181 ····.line·53
182 ····if-nez·p2,·:cond_0182 ····if-nez·p2,·:cond_0
  
183 ····.line·54183 ····.line·54
184 ····new-instance·v8,·Ljava/lang/IllegalArgumentException;184 ····new-instance·v6,·Ljava/lang/IllegalArgumentException;
  
185 ····const-string·v9,·"No·error·correction·bytes"185 ····const-string·v7,·"No·error·correction·bytes"
  
186 ····invoke-direct·{v8,·v9},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V186 ····invoke-direct·{v6,·v7},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
187 ····throw·v8187 ····throw·v6
  
188 ····.line·56188 ····.line·56
189 ····:cond_0189 ····:cond_0
190 ····array-length·v8,·p1190 ····array-length·v6,·p1
  
191 ····sub-int·v1,·v8,·p2191 ····sub-int·v1,·v6,·p2
  
192 ····.line·57192 ····.line·57
193 ····.local·v1,·"dataBytes":I193 ····.local·v1,·"dataBytes":I
194 ····if-gtz·v1,·:cond_1194 ····if-gtz·v1,·:cond_1
  
195 ····.line·58195 ····.line·58
196 ····new-instance·v8,·Ljava/lang/IllegalArgumentException;196 ····new-instance·v6,·Ljava/lang/IllegalArgumentException;
  
197 ····const-string·v9,·"No·data·bytes·provided"197 ····const-string·v7,·"No·data·bytes·provided"
  
198 ····invoke-direct·{v8,·v9},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V198 ····invoke-direct·{v6,·v7},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
199 ····throw·v8199 ····throw·v6
  
200 ····.line·60200 ····.line·60
201 ····:cond_1201 ····:cond_1
202 ····invoke-direct·{p0,·p2},·Lcom/google/zxing/common/reedsolomon/ReedSolomonEncoder;->buildGenerator(I)Lcom/google/zxing/common/reedsolomon/GenericGFPoly;202 ····invoke-direct·{p0,·p2},·Lcom/google/zxing/common/reedsolomon/ReedSolomonEncoder;->buildGenerator(I)Lcom/google/zxing/common/reedsolomon/GenericGFPoly;
  
203 ····move-result-object·v2203 ····move-result-object·v2
  
204 ····.line·61204 ····.line·61
205 ····.local·v2,·"generator":Lcom/google/zxing/common/reedsolomon/GenericGFPoly;205 ····.local·v2,·"generator":Lcom/google/zxing/common/reedsolomon/GenericGFPoly;
206 ····new-array·v5,·v1,·[I206 ····new-array·v4,·v1,·[I
  
207 ····.line·62207 ····.line·62
208 ····.local·v5,·"infoCoefficients":[I208 ····.local·v4,·"infoCoefficients":[I
209 ····invoke-static·{p1,·v10,·v5,·v10,·v1},·Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V209 ····invoke-static·{p1,·v8,·v4,·v8,·v1},·Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
  
210 ····.line·63210 ····.line·63
211 ····new-instance·v4,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;211 ····new-instance·v6,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;
  
212 ····iget-object·v8,·p0,·Lcom/google/zxing/common/reedsolomon/ReedSolomonEncoder;->field:Lcom/google/zxing/common/reedsolomon/GenericGF;212 ····iget-object·v7,·p0,·Lcom/google/zxing/common/reedsolomon/ReedSolomonEncoder;->field:Lcom/google/zxing/common/reedsolomon/GenericGF;
  
213 ····invoke-direct·{v4,·v8,·v5},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;-><init>(Lcom/google/zxing/common/reedsolomon/GenericGF;[I)V213 ····invoke-direct·{v6,·v7,·v4},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;-><init>(Lcom/google/zxing/common/reedsolomon/GenericGF;[I)V
  
214 ····.line·64214 ····.line·64
215 ····.local·v4,·"info":Lcom/google/zxing/common/reedsolomon/GenericGFPoly; 
216 ····invoke-virtual·{v4,·p2,·v9},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->multiplyByMonomial(II)Lcom/google/zxing/common/reedsolomon/GenericGFPoly;215 ····invoke-virtual·{v6,·p2,·v9},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->multiplyByMonomial(II)Lcom/google/zxing/common/reedsolomon/GenericGFPoly;
  
217 ····move-result-object·v4216 ····move-result-object·v6
  
218 ····.line·65217 ····.line·65
219 ····invoke-virtual·{v4,·v2},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->divide(Lcom/google/zxing/common/reedsolomon/GenericGFPoly;)[Lcom/google/zxing/common/reedsolomon/GenericGFPoly;218 ····invoke-virtual·{v6,·v2},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->divide(Lcom/google/zxing/common/reedsolomon/GenericGFPoly;)[Lcom/google/zxing/common/reedsolomon/GenericGFPoly;
  
220 ····move-result-object·v8219 ····move-result-object·v6
  
221 ····aget-object·v7,·v8,·v9220 ····aget-object·v6,·v6,·v9
  
222 ····.line·66221 ····.line·66
223 ····.local·v7,·"remainder":Lcom/google/zxing/common/reedsolomon/GenericGFPoly; 
224 ····invoke-virtual·{v7},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->getCoefficients()[I222 ····invoke-virtual·{v6},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->getCoefficients()[I
  
225 ····move-result-object·v0223 ····move-result-object·v0
  
226 ····.line·67224 ····.line·67
227 ····.local·v0,·"coefficients":[I225 ····.local·v0,·"coefficients":[I
228 ····array-length·v8,·v0226 ····array-length·v6,·v0
  
229 ····sub-int·v6,·p2,·v8227 ····sub-int·v5,·p2,·v6
  
230 ····.line·68228 ····.line·68
231 ····.local·v6,·"numZeroCoefficients":I229 ····.local·v5,·"numZeroCoefficients":I
232 ····const/4·v3,·0x0230 ····const/4·v3,·0x0
  
233 ····.local·v3,·"i":I231 ····.local·v3,·"i":I
234 ····:goto_0232 ····:goto_0
235 ····if-ge·v3,·v6,·:cond_2233 ····if-ge·v3,·v5,·:cond_2
  
236 ····.line·69234 ····.line·69
237 ····add-int·v8,·v1,·v3235 ····add-int·v6,·v1,·v3
  
238 ····aput·v10,·p1,·v8236 ····aput·v8,·p1,·v6
  
239 ····.line·68237 ····.line·68
240 ····add-int/lit8·v3,·v3,·0x1238 ····add-int/lit8·v3,·v3,·0x1
  
241 ····goto·:goto_0239 ····goto·:goto_0
  
242 ····.line·71240 ····.line·71
243 ····:cond_2241 ····:cond_2
244 ····add-int·v8,·v1,·v6242 ····add-int·v6,·v1,·v5
  
245 ····array-length·v9,·v0243 ····array-length·v7,·v0
  
246 ····invoke-static·{v0,·v10,·p1,·v8,·v9},·Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V244 ····invoke-static·{v0,·v8,·p1,·v6,·v7},·Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
  
247 ····.line·72245 ····.line·72
248 ····return-void246 ····return-void
249 .end·method247 .end·method
1.53 KB
smali/com/google/zxing/common/reedsolomon/GenericGFPoly.smali
    
Offset 435, 59 lines modifiedOffset 435, 59 lines modified
  
435 ····.line·115435 ····.line·115
436 ····:cond_0436 ····:cond_0
437 ····return·v2437 ····return·v2
  
438 ····.line·102438 ····.line·102
439 ····:cond_1439 ····:cond_1
440 ····iget-object·v5,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I 
  
441 ····array-length·v3,·v5 
  
442 ····.line·103 
443 ····.local·v3,·"size":I 
444 ····const/4·v5,·0x1440 ····const/4·v5,·0x1
  
445 ····if-ne·p1,·v5,·:cond_2441 ····if-ne·p1,·v5,·:cond_2
  
446 ····.line·105442 ····.line·104
447 ····const/4·v2,·0x0443 ····const/4·v2,·0x0
  
448 ····.line·106444 ····.line·105
449 ····.local·v2,·"result":I445 ····.local·v2,·"result":I
450 ····iget-object·v5,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I446 ····iget-object·v5,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I
  
451 ····array-length·v6,·v5447 ····array-length·v6,·v5
  
452 ····:goto_0448 ····:goto_0
453 ····if-ge·v4,·v6,·:cond_0449 ····if-ge·v4,·v6,·:cond_0
  
454 ····aget·v0,·v5,·v4450 ····aget·v0,·v5,·v4
  
455 ····.line·107451 ····.line·106
456 ····.local·v0,·"coefficient":I452 ····.local·v0,·"coefficient":I
457 ····invoke-static·{v2,·v0},·Lcom/google/zxing/common/reedsolomon/GenericGF;->addOrSubtract(II)I453 ····invoke-static·{v2,·v0},·Lcom/google/zxing/common/reedsolomon/GenericGF;->addOrSubtract(II)I
  
458 ····move-result·v2454 ····move-result·v2
  
459 ····.line·106455 ····.line·105
460 ····add-int/lit8·v4,·v4,·0x1456 ····add-int/lit8·v4,·v4,·0x1
  
461 ····goto·:goto_0457 ····goto·:goto_0
  
462 ····.line·111458 ····.line·110
463 ····.end·local·v0····#·"coefficient":I459 ····.end·local·v0····#·"coefficient":I
464 ····.end·local·v2····#·"result":I460 ····.end·local·v2····#·"result":I
465 ····:cond_2461 ····:cond_2
466 ····iget-object·v5,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I462 ····iget-object·v5,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I
  
467 ····aget·v2,·v5,·v4463 ····aget·v2,·v5,·v4
  
468 ····.line·112464 ····.line·111
469 ····.restart·local·v2····#·"result":I465 ····.restart·local·v2····#·"result":I
 466 ····iget-object·v4,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I
  
 467 ····array-length·v3,·v4
  
 468 ····.line·112
 469 ····.local·v3,·"size":I
470 ····const/4·v1,·0x1470 ····const/4·v1,·0x1
  
471 ····.local·v1,·"i":I471 ····.local·v1,·"i":I
472 ····:goto_1472 ····:goto_1
473 ····if-ge·v1,·v3,·:cond_0473 ····if-ge·v1,·v3,·:cond_0
  
474 ····.line·113474 ····.line·113
2.36 KB
smali/com/google/zxing/common/reedsolomon/GenericGF.smali
    
Offset 104, 18 lines modifiedOffset 104, 16 lines modified
104 ····.line·37104 ····.line·37
105 ····new-instance·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;105 ····new-instance·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;
  
106 ····const/16·v1,·0x12d106 ····const/16·v1,·0x12d
  
107 ····invoke-direct·{v0,·v1,·v4,·v3},·Lcom/google/zxing/common/reedsolomon/GenericGF;-><init>(III)V107 ····invoke-direct·{v0,·v1,·v4,·v3},·Lcom/google/zxing/common/reedsolomon/GenericGF;-><init>(III)V
  
108 ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->DATA_MATRIX_FIELD_256:Lcom/google/zxing/common/reedsolomon/GenericGF; 
  
109 ····.line·38108 ····.line·38
110 ····sget-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->DATA_MATRIX_FIELD_256:Lcom/google/zxing/common/reedsolomon/GenericGF;109 ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->DATA_MATRIX_FIELD_256:Lcom/google/zxing/common/reedsolomon/GenericGF;
  
111 ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->AZTEC_DATA_8:Lcom/google/zxing/common/reedsolomon/GenericGF;110 ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->AZTEC_DATA_8:Lcom/google/zxing/common/reedsolomon/GenericGF;
  
112 ····.line·39111 ····.line·39
113 ····sget-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->AZTEC_DATA_6:Lcom/google/zxing/common/reedsolomon/GenericGF;112 ····sget-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->AZTEC_DATA_6:Lcom/google/zxing/common/reedsolomon/GenericGF;
  
114 ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->MAXICODE_FIELD_64:Lcom/google/zxing/common/reedsolomon/GenericGF;113 ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->MAXICODE_FIELD_64:Lcom/google/zxing/common/reedsolomon/GenericGF;
Offset 169, 26 lines modifiedOffset 167, 26 lines modified
  
169 ····.line·69167 ····.line·69
170 ····iget-object·v2,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->expTable:[I168 ····iget-object·v2,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->expTable:[I
  
171 ····aput·v1,·v2,·v0169 ····aput·v1,·v2,·v0
  
172 ····.line·70170 ····.line·70
173 ····mul-int/lit8·v1,·v1,·0x2171 ····shl-int/lit8·v1,·v1,·0x1
  
174 ····.line·71172 ····.line·71
175 ····if-lt·v1,·p2,·:cond_0173 ····if-lt·v1,·p2,·:cond_0
  
176 ····.line·72174 ····.line·72
177 ····xor-int/2addr·v1,·p1175 ····xor-int·v2,·v1,·p1
  
178 ····.line·73176 ····.line·73
179 ····add-int/lit8·v2,·p2,·-0x1177 ····add-int/lit8·v3,·p2,·-0x1
  
180 ····and-int/2addr·v1,·v2178 ····and-int·v1,·v2,·v3
  
181 ····.line·68179 ····.line·68
182 ····:cond_0180 ····:cond_0
183 ····add-int/lit8·v0,·v0,·0x1181 ····add-int/lit8·v0,·v0,·0x1
  
184 ····goto·:goto_0182 ····goto·:goto_0
  
Offset 460, 21 lines modifiedOffset 458, 17 lines modified
460 .method·public·toString()Ljava/lang/String;458 .method·public·toString()Ljava/lang/String;
461 ····.locals·2459 ····.locals·2
  
462 ····.prologue460 ····.prologue
463 ····.line·163461 ····.line·163
464 ····new-instance·v0,·Ljava/lang/StringBuilder;462 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
465 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V 
  
466 ····const-string·v1,·"GF(0x"463 ····const-string·v1,·"GF(0x"
  
467 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;464 ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
  
468 ····move-result-object·v0 
  
469 ····iget·v1,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->primitive:I465 ····iget·v1,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->primitive:I
  
470 ····invoke-static·{v1},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;466 ····invoke-static·{v1},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
  
471 ····move-result-object·v1467 ····move-result-object·v1
  
506 B
smali/com/google/zxing/common/reedsolomon/ReedSolomonDecoder.smali
    
Offset 695, 17 lines modifiedOffset 695, 15 lines modified
  
695 ····invoke-virtual·{v8,·v14},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->evaluateAt(I)I695 ····invoke-virtual·{v8,·v14},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->evaluateAt(I)I
  
696 ····move-result·v4696 ····move-result·v4
  
697 ····.line·64697 ····.line·64
698 ····.local·v4,·"eval":I698 ····.local·v4,·"eval":I
699 ····array-length·v14,·v13 
  
700 ····add-int/lit8·v14,·v14,·-0x1699 ····add-int/lit8·v14,·p2,·-0x1
  
701 ····sub-int/2addr·v14,·v5700 ····sub-int/2addr·v14,·v5
  
702 ····aput·v4,·v13,·v14701 ····aput·v4,·v13,·v14
  
703 ····.line·65702 ····.line·65
704 ····if-eqz·v4,·:cond_0703 ····if-eqz·v4,·:cond_0
16.8 KB
smali/com/google/zxing/common/detector/WhiteRectangleDetector.smali
    
Offset 152, 76 lines modifiedOffset 152, 76 lines modified
152 ····.locals·13152 ····.locals·13
153 ····.param·p1,·"y"····#·Lcom/google/zxing/ResultPoint;153 ····.param·p1,·"y"····#·Lcom/google/zxing/ResultPoint;
154 ····.param·p2,·"z"····#·Lcom/google/zxing/ResultPoint;154 ····.param·p2,·"z"····#·Lcom/google/zxing/ResultPoint;
155 ····.param·p3,·"x"····#·Lcom/google/zxing/ResultPoint;155 ····.param·p3,·"x"····#·Lcom/google/zxing/ResultPoint;
156 ····.param·p4,·"t"····#·Lcom/google/zxing/ResultPoint;156 ····.param·p4,·"t"····#·Lcom/google/zxing/ResultPoint;
  
157 ····.prologue157 ····.prologue
158 ····.line·290158 ····.line·278
159 ····invoke-virtual·{p1},·Lcom/google/zxing/ResultPoint;->getX()F159 ····invoke-virtual·{p1},·Lcom/google/zxing/ResultPoint;->getX()F
  
160 ····move-result·v4160 ····move-result·v4
  
161 ····.line·291161 ····.line·279
162 ····.local·v4,·"yi":F162 ····.local·v4,·"yi":F
163 ····invoke-virtual·{p1},·Lcom/google/zxing/ResultPoint;->getY()F163 ····invoke-virtual·{p1},·Lcom/google/zxing/ResultPoint;->getY()F
  
164 ····move-result·v5164 ····move-result·v5
  
165 ····.line·292165 ····.line·280
166 ····.local·v5,·"yj":F166 ····.local·v5,·"yj":F
167 ····invoke-virtual·{p2},·Lcom/google/zxing/ResultPoint;->getX()F167 ····invoke-virtual·{p2},·Lcom/google/zxing/ResultPoint;->getX()F
  
168 ····move-result·v6168 ····move-result·v6
  
169 ····.line·293169 ····.line·281
170 ····.local·v6,·"zi":F170 ····.local·v6,·"zi":F
171 ····invoke-virtual·{p2},·Lcom/google/zxing/ResultPoint;->getY()F171 ····invoke-virtual·{p2},·Lcom/google/zxing/ResultPoint;->getY()F
  
172 ····move-result·v7172 ····move-result·v7
  
173 ····.line·294173 ····.line·282
174 ····.local·v7,·"zj":F174 ····.local·v7,·"zj":F
175 ····invoke-virtual/range·{p3·..·p3},·Lcom/google/zxing/ResultPoint;->getX()F175 ····invoke-virtual/range·{p3·..·p3},·Lcom/google/zxing/ResultPoint;->getX()F
  
176 ····move-result·v2176 ····move-result·v2
  
177 ····.line·295177 ····.line·283
178 ····.local·v2,·"xi":F178 ····.local·v2,·"xi":F
179 ····invoke-virtual/range·{p3·..·p3},·Lcom/google/zxing/ResultPoint;->getY()F179 ····invoke-virtual/range·{p3·..·p3},·Lcom/google/zxing/ResultPoint;->getY()F
  
180 ····move-result·v3180 ····move-result·v3
  
181 ····.line·296181 ····.line·284
182 ····.local·v3,·"xj":F182 ····.local·v3,·"xj":F
183 ····invoke-virtual/range·{p4·..·p4},·Lcom/google/zxing/ResultPoint;->getX()F183 ····invoke-virtual/range·{p4·..·p4},·Lcom/google/zxing/ResultPoint;->getX()F
  
184 ····move-result·v0184 ····move-result·v0
  
185 ····.line·297185 ····.line·285
186 ····.local·v0,·"ti":F186 ····.local·v0,·"ti":F
187 ····invoke-virtual/range·{p4·..·p4},·Lcom/google/zxing/ResultPoint;->getY()F187 ····invoke-virtual/range·{p4·..·p4},·Lcom/google/zxing/ResultPoint;->getY()F
  
188 ····move-result·v1188 ····move-result·v1
  
189 ····.line·299189 ····.line·287
190 ····.local·v1,·"tj":F190 ····.local·v1,·"tj":F
191 ····iget·v8,·p0,·Lcom/google/zxing/common/detector/WhiteRectangleDetector;->width:I191 ····iget·v8,·p0,·Lcom/google/zxing/common/detector/WhiteRectangleDetector;->width:I
  
192 ····int-to-float·v8,·v8192 ····int-to-float·v8,·v8
  
193 ····const/high16·v9,·0x40000000····#·2.0f193 ····const/high16·v9,·0x40000000····#·2.0f
  
194 ····div-float/2addr·v8,·v9194 ····div-float/2addr·v8,·v9
  
195 ····cmpg-float·v8,·v4,·v8195 ····cmpg-float·v8,·v4,·v8
  
196 ····if-gez·v8,·:cond_0196 ····if-gez·v8,·:cond_0
  
197 ····.line·300197 ····.line·288
198 ····const/4·v8,·0x4198 ····const/4·v8,·0x4
  
199 ····new-array·v8,·v8,·[Lcom/google/zxing/ResultPoint;199 ····new-array·v8,·v8,·[Lcom/google/zxing/ResultPoint;
  
200 ····const/4·v9,·0x0200 ····const/4·v9,·0x0
  
201 ····new-instance·v10,·Lcom/google/zxing/ResultPoint;201 ····new-instance·v10,·Lcom/google/zxing/ResultPoint;
Offset 282, 15 lines modifiedOffset 282, 15 lines modified
  
282 ····sub-float·v12,·v5,·v12282 ····sub-float·v12,·v5,·v12
  
283 ····invoke-direct·{v10,·v11,·v12},·Lcom/google/zxing/ResultPoint;-><init>(FF)V283 ····invoke-direct·{v10,·v11,·v12},·Lcom/google/zxing/ResultPoint;-><init>(FF)V
  
284 ····aput-object·v10,·v8,·v9284 ····aput-object·v10,·v8,·v9
  
285 ····.line·306285 ····.line·294
286 ····:goto_0286 ····:goto_0
287 ····return-object·v8287 ····return-object·v8
  
288 ····:cond_0288 ····:cond_0
289 ····const/4·v8,·0x4289 ····const/4·v8,·0x4
  
290 ····new-array·v8,·v8,·[Lcom/google/zxing/ResultPoint;290 ····new-array·v8,·v8,·[Lcom/google/zxing/ResultPoint;
Offset 368, 70 lines modifiedOffset 368, 70 lines modified
368 ····.param·p2,·"b"····#·I368 ····.param·p2,·"b"····#·I
369 ····.param·p3,·"fixed"····#·I369 ····.param·p3,·"fixed"····#·I
370 ····.param·p4,·"horizontal"····#·Z370 ····.param·p4,·"horizontal"····#·Z
  
371 ····.prologue371 ····.prologue
372 ····const/4·v2,·0x1372 ····const/4·v2,·0x1
  
373 ····.line·325373 ····.line·313
374 ····if-eqz·p4,·:cond_2374 ····if-eqz·p4,·:cond_2
  
375 ····.line·326375 ····.line·314
376 ····move·v0,·p1376 ····move·v0,·p1
  
377 ····.local·v0,·"x":I377 ····.local·v0,·"x":I
378 ····:goto_0378 ····:goto_0
379 ····if-gt·v0,·p2,·:cond_3379 ····if-gt·v0,·p2,·:cond_3
  
380 ····.line·327380 ····.line·315
381 ····iget-object·v3,·p0,·Lcom/google/zxing/common/detector/WhiteRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix;381 ····iget-object·v3,·p0,·Lcom/google/zxing/common/detector/WhiteRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix;
  
382 ····invoke-virtual·{v3,·v0,·p3},·Lcom/google/zxing/common/BitMatrix;->get(II)Z382 ····invoke-virtual·{v3,·v0,·p3},·Lcom/google/zxing/common/BitMatrix;->get(II)Z
  
383 ····move-result·v3383 ····move-result·v3
  
384 ····if-eqz·v3,·:cond_1384 ····if-eqz·v3,·:cond_1
  
385 ····.line·339385 ····.line·327
386 ····.end·local·v0····#·"x":I386 ····.end·local·v0····#·"x":I
387 ····:cond_0387 ····:cond_0
388 ····:goto_1388 ····:goto_1
389 ····return·v2389 ····return·v2
  
390 ····.line·326390 ····.line·314
391 ····.restart·local·v0····#·"x":I391 ····.restart·local·v0····#·"x":I
Max diff block lines reached; 14031/17081 bytes (82.14%) of diff not shown.
2.12 KB
smali/com/google/zxing/common/detector/MathUtils.smali
    
Offset 4, 37 lines modifiedOffset 4, 37 lines modified
  
  
4 #·direct·methods4 #·direct·methods
5 .method·private·constructor·<init>()V5 .method·private·constructor·<init>()V
6 ····.locals·06 ····.locals·0
  
7 ····.prologue7 ····.prologue
8 ····.line·218 ····.line·24
9 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V9 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
10 ····.line·2210 ····.line·25
11 ····return-void11 ····return-void
12 .end·method12 .end·method
  
13 .method·public·static·distance(FFFF)F13 .method·public·static·distance(FFFF)F
14 ····.locals·414 ····.locals·4
15 ····.param·p0,·"aX"····#·F15 ····.param·p0,·"aX"····#·F
16 ····.param·p1,·"aY"····#·F16 ····.param·p1,·"aY"····#·F
17 ····.param·p2,·"bX"····#·F17 ····.param·p2,·"bX"····#·F
18 ····.param·p3,·"bY"····#·F18 ····.param·p3,·"bY"····#·F
  
19 ····.prologue19 ····.prologue
20 ····.line·3820 ····.line·48
21 ····sub-float·v0,·p0,·p221 ····sub-float·v0,·p0,·p2
  
22 ····.line·3922 ····.line·49
23 ····.local·v0,·"xDiff":F23 ····.local·v0,·"xDiff":F
24 ····sub-float·v1,·p1,·p324 ····sub-float·v1,·p1,·p3
  
25 ····.line·4025 ····.line·50
26 ····.local·v1,·"yDiff":F26 ····.local·v1,·"yDiff":F
27 ····mul-float·v2,·v0,·v027 ····mul-float·v2,·v0,·v0
  
28 ····mul-float·v3,·v1,·v128 ····mul-float·v3,·v1,·v1
  
29 ····add-float/2addr·v2,·v329 ····add-float/2addr·v2,·v3
  
Offset 53, 22 lines modifiedOffset 53, 22 lines modified
53 ····.locals·453 ····.locals·4
54 ····.param·p0,·"aX"····#·I54 ····.param·p0,·"aX"····#·I
55 ····.param·p1,·"aY"····#·I55 ····.param·p1,·"aY"····#·I
56 ····.param·p2,·"bX"····#·I56 ····.param·p2,·"bX"····#·I
57 ····.param·p3,·"bY"····#·I57 ····.param·p3,·"bY"····#·I
  
58 ····.prologue58 ····.prologue
59 ····.line·4459 ····.line·61
60 ····sub-int·v0,·p0,·p260 ····sub-int·v0,·p0,·p2
  
61 ····.line·4561 ····.line·62
62 ····.local·v0,·"xDiff":I62 ····.local·v0,·"xDiff":I
63 ····sub-int·v1,·p1,·p363 ····sub-int·v1,·p1,·p3
  
64 ····.line·4664 ····.line·63
65 ····.local·v1,·"yDiff":I65 ····.local·v1,·"yDiff":I
66 ····mul-int·v2,·v0,·v066 ····mul-int·v2,·v0,·v0
  
67 ····mul-int·v3,·v1,·v167 ····mul-int·v3,·v1,·v1
  
68 ····add-int/2addr·v2,·v368 ····add-int/2addr·v2,·v3
  
Offset 84, 15 lines modifiedOffset 84, 15 lines modified
84 .end·method84 .end·method
  
85 .method·public·static·round(F)I85 .method·public·static·round(F)I
86 ····.locals·186 ····.locals·1
87 ····.param·p0,·"d"····#·F87 ····.param·p0,·"d"····#·F
  
88 ····.prologue88 ····.prologue
89 ····.line·3489 ····.line·37
90 ····const/4·v0,·0x090 ····const/4·v0,·0x0
  
91 ····cmpg-float·v0,·p0,·v091 ····cmpg-float·v0,·p0,·v0
  
92 ····if-gez·v0,·:cond_092 ····if-gez·v0,·:cond_0
  
93 ····const/high16·v0,·-0x41000000····#·-0.5f93 ····const/high16·v0,·-0x41000000····#·-0.5f
Offset 105, 7 lines modifiedOffset 105, 41 lines modified
105 ····return·v0105 ····return·v0
  
106 ····:cond_0106 ····:cond_0
107 ····const/high16·v0,·0x3f000000····#·0.5f107 ····const/high16·v0,·0x3f000000····#·0.5f
  
108 ····goto·:goto_0108 ····goto·:goto_0
109 .end·method109 .end·method
  
 110 .method·public·static·sum([I)I
 111 ····.locals·4
 112 ····.param·p0,·"array"····#·[I
  
 113 ····.prologue
 114 ····.line·71
 115 ····const/4·v1,·0x0
  
 116 ····.line·72
 117 ····.local·v1,·"count":I
 118 ····array-length·v3,·p0
  
 119 ····const/4·v2,·0x0
  
 120 ····:goto_0
 121 ····if-ge·v2,·v3,·:cond_0
  
 122 ····aget·v0,·p0,·v2
  
 123 ····.line·73
 124 ····.local·v0,·"a":I
 125 ····add-int/2addr·v1,·v0
  
 126 ····.line·72
 127 ····add-int/lit8·v2,·v2,·0x1
  
 128 ····goto·:goto_0
  
 129 ····.line·75
 130 ····.end·local·v0····#·"a":I
 131 ····:cond_0
 132 ····return·v1
 133 .end·method
18.2 KB
smali/com/google/zxing/common/detector/MonochromeRectangleDetector.smali
    
Offset 1, 227 lines modifiedOffset 1, 232 lines modified
1 .class·public·final·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;1 .class·public·final·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Object;
3 .source·"MonochromeRectangleDetector.java"3 .source·"MonochromeRectangleDetector.java"
  
  
 4 #·annotations
 5 .annotation·runtime·Ljava/lang/Deprecated;
 6 .end·annotation
  
  
4 #·static·fields7 #·static·fields
5 .field·private·static·final·MAX_MODULES:I·=·0x208 .field·private·static·final·MAX_MODULES:I·=·0x20
  
  
6 #·instance·fields9 #·instance·fields
7 .field·private·final·image:Lcom/google/zxing/common/BitMatrix;10 .field·private·final·image:Lcom/google/zxing/common/BitMatrix;
  
  
8 #·direct·methods11 #·direct·methods
9 .method·public·constructor·<init>(Lcom/google/zxing/common/BitMatrix;)V12 .method·public·constructor·<init>(Lcom/google/zxing/common/BitMatrix;)V
10 ····.locals·013 ····.locals·0
11 ····.param·p1,·"image"····#·Lcom/google/zxing/common/BitMatrix;14 ····.param·p1,·"image"····#·Lcom/google/zxing/common/BitMatrix;
  
12 ····.prologue15 ····.prologue
13 ····.line·3616 ····.line·38
14 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V17 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
15 ····.line·3718 ····.line·39
16 ····iput-object·p1,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix;19 ····iput-object·p1,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix;
  
17 ····.line·3820 ····.line·40
18 ····return-void21 ····return-void
19 .end·method22 .end·method
  
20 .method·private·blackWhiteRange(IIIIZ)[I23 .method·private·blackWhiteRange(IIIIZ)[I
21 ····.locals·724 ····.locals·7
22 ····.param·p1,·"fixedDimension"····#·I25 ····.param·p1,·"fixedDimension"····#·I
23 ····.param·p2,·"maxWhiteRun"····#·I26 ····.param·p2,·"maxWhiteRun"····#·I
24 ····.param·p3,·"minDim"····#·I27 ····.param·p3,·"minDim"····#·I
25 ····.param·p4,·"maxDim"····#·I28 ····.param·p4,·"maxDim"····#·I
26 ····.param·p5,·"horizontal"····#·Z29 ····.param·p5,·"horizontal"····#·Z
  
27 ····.prologue30 ····.prologue
28 ····.line·17031 ····.line·172
29 ····add-int·v5,·p3,·p432 ····add-int·v5,·p3,·p4
  
30 ····div-int/lit8·v0,·v5,·0x233 ····div-int/lit8·v0,·v5,·0x2
  
31 ····.line·17334 ····.line·175
32 ····.local·v0,·"center":I35 ····.local·v0,·"center":I
33 ····move·v2,·v036 ····move·v2,·v0
  
34 ····.line·17437 ····.line·176
35 ····.local·v2,·"start":I38 ····.local·v2,·"start":I
36 ····:cond_039 ····:cond_0
37 ····:goto_040 ····:goto_0
38 ····if-lt·v2,·p3,·:cond_741 ····if-lt·v2,·p3,·:cond_7
  
39 ····.line·17542 ····.line·177
40 ····if-eqz·p5,·:cond_243 ····if-eqz·p5,·:cond_2
  
41 ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix;44 ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix;
  
42 ····invoke-virtual·{v5,·v2,·p1},·Lcom/google/zxing/common/BitMatrix;->get(II)Z45 ····invoke-virtual·{v5,·v2,·p1},·Lcom/google/zxing/common/BitMatrix;->get(II)Z
  
43 ····move-result·v546 ····move-result·v5
  
44 ····if-eqz·v5,·:cond_347 ····if-eqz·v5,·:cond_3
  
45 ····.line·17648 ····.line·178
46 ····:cond_149 ····:cond_1
47 ····add-int/lit8·v2,·v2,·-0x150 ····add-int/lit8·v2,·v2,·-0x1
  
48 ····goto·:goto_051 ····goto·:goto_0
  
49 ····.line·17552 ····.line·177
50 ····:cond_253 ····:cond_2
51 ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix;54 ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix;
  
52 ····invoke-virtual·{v5,·p1,·v2},·Lcom/google/zxing/common/BitMatrix;->get(II)Z55 ····invoke-virtual·{v5,·p1,·v2},·Lcom/google/zxing/common/BitMatrix;->get(II)Z
  
53 ····move-result·v556 ····move-result·v5
  
54 ····if-nez·v5,·:cond_157 ····if-nez·v5,·:cond_1
  
55 ····.line·17858 ····.line·180
56 ····:cond_359 ····:cond_3
57 ····move·v4,·v260 ····move·v4,·v2
  
58 ····.line·18061 ····.line·182
59 ····.local·v4,·"whiteRunStart":I62 ····.local·v4,·"whiteRunStart":I
60 ····:cond_463 ····:cond_4
61 ····add-int/lit8·v2,·v2,·-0x164 ····add-int/lit8·v2,·v2,·-0x1
  
62 ····.line·18165 ····.line·183
63 ····if-lt·v2,·p3,·:cond_566 ····if-lt·v2,·p3,·:cond_5
  
64 ····if-eqz·p5,·:cond_a67 ····if-eqz·p5,·:cond_a
  
65 ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix;68 ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix;
  
66 ····invoke-virtual·{v5,·v2,·p1},·Lcom/google/zxing/common/BitMatrix;->get(II)Z69 ····invoke-virtual·{v5,·v2,·p1},·Lcom/google/zxing/common/BitMatrix;->get(II)Z
  
67 ····move-result·v570 ····move-result·v5
  
68 ····if-eqz·v5,·:cond_471 ····if-eqz·v5,·:cond_4
  
69 ····.line·18372 ····.line·185
70 ····:cond_573 ····:cond_5
71 ····:goto_174 ····:goto_1
72 ····sub-int·v3,·v4,·v275 ····sub-int·v3,·v4,·v2
  
73 ····.line·18476 ····.line·186
74 ····.local·v3,·"whiteRunSize":I77 ····.local·v3,·"whiteRunSize":I
75 ····if-lt·v2,·p3,·:cond_678 ····if-lt·v2,·p3,·:cond_6
  
76 ····if-le·v3,·p2,·:cond_079 ····if-le·v3,·p2,·:cond_0
  
77 ····.line·18580 ····.line·187
78 ····:cond_681 ····:cond_6
79 ····move·v2,·v482 ····move·v2,·v4
  
80 ····.line·19083 ····.line·192
81 ····.end·local·v3····#·"whiteRunSize":I84 ····.end·local·v3····#·"whiteRunSize":I
82 ····.end·local·v4····#·"whiteRunStart":I85 ····.end·local·v4····#·"whiteRunStart":I
83 ····:cond_786 ····:cond_7
84 ····add-int/lit8·v2,·v2,·0x187 ····add-int/lit8·v2,·v2,·0x1
Max diff block lines reached; 15436/18537 bytes (83.27%) of diff not shown.
6.64 KB
smali/com/google/zxing/integration/android/IntentResult.smali
    
Offset 119, 120 lines modifiedOffset 119, 115 lines modified
119 ····.line·66119 ····.line·66
120 ····iget-object·v0,·p0,·Lcom/google/zxing/integration/android/IntentResult;->rawBytes:[B120 ····iget-object·v0,·p0,·Lcom/google/zxing/integration/android/IntentResult;->rawBytes:[B
  
121 ····return-object·v0121 ····return-object·v0
122 .end·method122 .end·method
  
123 .method·public·toString()Ljava/lang/String;123 .method·public·toString()Ljava/lang/String;
124 ····.locals·5124 ····.locals·4
  
125 ····.prologue125 ····.prologue
126 ····const/16·v4,·0xa126 ····const/16·v3,·0xa
  
127 ····.line·85127 ····.line·85
128 ····new-instance·v0,·Ljava/lang/StringBuilder;128 ····iget-object·v1,·p0,·Lcom/google/zxing/integration/android/IntentResult;->rawBytes:[B
  
129 ····const/16·v2,·0x64129 ····if-nez·v1,·:cond_0
  
130 ····invoke-direct·{v0,·v2},·Ljava/lang/StringBuilder;-><init>(I)V130 ····const/4·v0,·0x0
  
131 ····.line·86131 ····.line·86
132 ····.local·v0,·"dialogText":Ljava/lang/StringBuilder; 
133 ····const-string·v2,·"Format:·"132 ····.local·v0,·"rawBytesLength":I
 133 ····:goto_0
 134 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
134 ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;135 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V
  
135 ····move-result-object·v2136 ····const-string·v2,·"Format:·"
  
136 ····iget-object·v3,·p0,·Lcom/google/zxing/integration/android/IntentResult;->formatName:Ljava/lang/String;137 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
137 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;138 ····move-result-object·v1
  
138 ····move-result-object·v2139 ····iget-object·v2,·p0,·Lcom/google/zxing/integration/android/IntentResult;->formatName:Ljava/lang/String;
  
139 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;140 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
140 ····.line·87 
141 ····const-string·v2,·"Contents:·"141 ····move-result-object·v1
  
 142 ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
142 ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;143 ····move-result-object·v1
  
143 ····move-result-object·v2144 ····const-string·v2,·"Contents:·"
  
144 ····iget-object·v3,·p0,·Lcom/google/zxing/integration/android/IntentResult;->contents:Ljava/lang/String;145 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
145 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;146 ····move-result-object·v1
  
146 ····move-result-object·v2147 ····iget-object·v2,·p0,·Lcom/google/zxing/integration/android/IntentResult;->contents:Ljava/lang/String;
  
147 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;148 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
 149 ····move-result-object·v1
148 ····.line·88 
149 ····iget-object·v2,·p0,·Lcom/google/zxing/integration/android/IntentResult;->rawBytes:[B 
  
150 ····if-nez·v2,·:cond_0150 ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
151 ····const/4·v1,·0x0151 ····move-result-object·v1
  
152 ····.line·89 
153 ····.local·v1,·"rawBytesLength":I 
154 ····:goto_0 
155 ····const-string·v2,·"Raw·bytes:·("152 ····const-string·v2,·"Raw·bytes:·("
  
156 ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;153 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
157 ····move-result-object·v2 
  
158 ····invoke-virtual·{v2,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;154 ····move-result-object·v1
  
159 ····move-result-object·v2155 ····invoke-virtual·{v1,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
  
160 ····const-string·v3,·"·bytes)\n"156 ····move-result-object·v1
  
161 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;157 ····const-string·v2,·"·bytes)\nOrientation:·"
  
 158 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
162 ····.line·90 
163 ····const-string·v2,·"Orientation:·" 
  
164 ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;159 ····move-result-object·v1
  
165 ····move-result-object·v2160 ····iget-object·v2,·p0,·Lcom/google/zxing/integration/android/IntentResult;->orientation:Ljava/lang/Integer;
  
166 ····iget-object·v3,·p0,·Lcom/google/zxing/integration/android/IntentResult;->orientation:Ljava/lang/Integer;161 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
  
167 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;162 ····move-result-object·v1
  
168 ····move-result-object·v2163 ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
169 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;164 ····move-result-object·v1
  
170 ····.line·91 
171 ····const-string·v2,·"EC·level:·"165 ····const-string·v2,·"EC·level:·"
  
172 ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;166 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
173 ····move-result-object·v2167 ····move-result-object·v1
  
174 ····iget-object·v3,·p0,·Lcom/google/zxing/integration/android/IntentResult;->errorCorrectionLevel:Ljava/lang/String;168 ····iget-object·v2,·p0,·Lcom/google/zxing/integration/android/IntentResult;->errorCorrectionLevel:Ljava/lang/String;
  
175 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;169 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
176 ····move-result-object·v2170 ····move-result-object·v1
  
177 ····invoke-virtual·{v2,·v4},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;171 ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
  
 172 ····move-result-object·v1
178 ····.line·92 
179 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; 
  
180 ····move-result-object·v2173 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
181 ····return-object·v2174 ····move-result-object·v1
  
 175 ····return-object·v1
  
182 ····.line·88176 ····.line·85
183 ····.end·local·v1····#·"rawBytesLength":I177 ····.end·local·v0····#·"rawBytesLength":I
184 ····:cond_0178 ····:cond_0
185 ····iget-object·v2,·p0,·Lcom/google/zxing/integration/android/IntentResult;->rawBytes:[B179 ····iget-object·v1,·p0,·Lcom/google/zxing/integration/android/IntentResult;->rawBytes:[B
  
186 ····array-length·v1,·v2180 ····array-length·v0,·v1
  
Max diff block lines reached; 13/6682 bytes (0.19%) of diff not shown.
12.5 KB
smali/com/google/zxing/qrcode/QRCodeWriter.smali
    
Offset 25, 156 lines modifiedOffset 25, 156 lines modified
25 ····.locals·1925 ····.locals·19
26 ····.param·p0,·"code"····#·Lcom/google/zxing/qrcode/encoder/QRCode;26 ····.param·p0,·"code"····#·Lcom/google/zxing/qrcode/encoder/QRCode;
27 ····.param·p1,·"width"····#·I27 ····.param·p1,·"width"····#·I
28 ····.param·p2,·"height"····#·I28 ····.param·p2,·"height"····#·I
29 ····.param·p3,·"quietZone"····#·I29 ····.param·p3,·"quietZone"····#·I
  
30 ····.prologue30 ····.prologue
31 ····.line·8731 ····.line·85
32 ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/qrcode/encoder/QRCode;->getMatrix()Lcom/google/zxing/qrcode/encoder/ByteMatrix;32 ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/qrcode/encoder/QRCode;->getMatrix()Lcom/google/zxing/qrcode/encoder/ByteMatrix;
  
33 ····move-result-object·v233 ····move-result-object·v2
  
34 ····.line·8834 ····.line·86
35 ····.local·v2,·"input":Lcom/google/zxing/qrcode/encoder/ByteMatrix;35 ····.local·v2,·"input":Lcom/google/zxing/qrcode/encoder/ByteMatrix;
36 ····if-nez·v2,·:cond_036 ····if-nez·v2,·:cond_0
  
37 ····.line·8937 ····.line·87
38 ····new-instance·v17,·Ljava/lang/IllegalStateException;38 ····new-instance·v17,·Ljava/lang/IllegalStateException;
  
39 ····invoke-direct/range·{v17·..·v17},·Ljava/lang/IllegalStateException;-><init>()V39 ····invoke-direct/range·{v17·..·v17},·Ljava/lang/IllegalStateException;-><init>()V
  
40 ····throw·v1740 ····throw·v17
  
41 ····.line·9141 ····.line·89
42 ····:cond_042 ····:cond_0
43 ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I43 ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I
  
44 ····move-result·v444 ····move-result·v4
  
45 ····.line·9245 ····.line·90
46 ····.local·v4,·"inputWidth":I46 ····.local·v4,·"inputWidth":I
47 ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I47 ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I
  
48 ····move-result·v348 ····move-result·v3
  
49 ····.line·9349 ····.line·91
50 ····.local·v3,·"inputHeight":I50 ····.local·v3,·"inputHeight":I
51 ····mul-int/lit8·v17,·p3,·0x251 ····shl-int/lit8·v17,·p3,·0x1
  
52 ····add-int·v15,·v4,·v1752 ····add-int·v15,·v4,·v17
  
53 ····.line·9453 ····.line·92
54 ····.local·v15,·"qrWidth":I54 ····.local·v15,·"qrWidth":I
55 ····mul-int/lit8·v17,·p3,·0x255 ····shl-int/lit8·v17,·p3,·0x1
  
56 ····add-int·v14,·v3,·v1756 ····add-int·v14,·v3,·v17
  
57 ····.line·9557 ····.line·93
58 ····.local·v14,·"qrHeight":I58 ····.local·v14,·"qrHeight":I
59 ····move/from16·v0,·p159 ····move/from16·v0,·p1
  
60 ····invoke-static·{v0,·v15},·Ljava/lang/Math;->max(II)I60 ····invoke-static·{v0,·v15},·Ljava/lang/Math;->max(II)I
  
61 ····move-result·v1161 ····move-result·v11
  
62 ····.line·9662 ····.line·94
63 ····.local·v11,·"outputWidth":I63 ····.local·v11,·"outputWidth":I
64 ····move/from16·v0,·p264 ····move/from16·v0,·p2
  
65 ····invoke-static·{v0,·v14},·Ljava/lang/Math;->max(II)I65 ····invoke-static·{v0,·v14},·Ljava/lang/Math;->max(II)I
  
66 ····move-result·v1066 ····move-result·v10
  
67 ····.line·9867 ····.line·96
68 ····.local·v10,·"outputHeight":I68 ····.local·v10,·"outputHeight":I
69 ····div-int·v17,·v11,·v1569 ····div-int·v17,·v11,·v15
  
70 ····div-int·v18,·v10,·v1470 ····div-int·v18,·v10,·v14
  
71 ····invoke-static/range·{v17·..·v18},·Ljava/lang/Math;->min(II)I71 ····invoke-static/range·{v17·..·v18},·Ljava/lang/Math;->min(II)I
  
72 ····move-result·v872 ····move-result·v8
  
73 ····.line·10373 ····.line·101
74 ····.local·v8,·"multiple":I74 ····.local·v8,·"multiple":I
75 ····mul-int·v17,·v4,·v875 ····mul-int·v17,·v4,·v8
  
76 ····sub-int·v17,·v11,·v1776 ····sub-int·v17,·v11,·v17
  
77 ····div-int/lit8·v7,·v17,·0x277 ····div-int/lit8·v7,·v17,·0x2
  
78 ····.line·10478 ····.line·102
79 ····.local·v7,·"leftPadding":I79 ····.local·v7,·"leftPadding":I
80 ····mul-int·v17,·v3,·v880 ····mul-int·v17,·v3,·v8
  
81 ····sub-int·v17,·v10,·v1781 ····sub-int·v17,·v10,·v17
  
82 ····div-int/lit8·v16,·v17,·0x282 ····div-int/lit8·v16,·v17,·0x2
  
83 ····.line·10683 ····.line·104
84 ····.local·v16,·"topPadding":I84 ····.local·v16,·"topPadding":I
85 ····new-instance·v9,·Lcom/google/zxing/common/BitMatrix;85 ····new-instance·v9,·Lcom/google/zxing/common/BitMatrix;
  
86 ····invoke-direct·{v9,·v11,·v10},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V86 ····invoke-direct·{v9,·v11,·v10},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V
  
87 ····.line·10887 ····.line·106
88 ····.local·v9,·"output":Lcom/google/zxing/common/BitMatrix;88 ····.local·v9,·"output":Lcom/google/zxing/common/BitMatrix;
89 ····const/4·v6,·0x089 ····const/4·v6,·0x0
  
90 ····.local·v6,·"inputY":I90 ····.local·v6,·"inputY":I
91 ····move/from16·v13,·v1691 ····move/from16·v13,·v16
  
92 ····.local·v13,·"outputY":I92 ····.local·v13,·"outputY":I
93 ····:goto_093 ····:goto_0
94 ····if-ge·v6,·v3,·:cond_394 ····if-ge·v6,·v3,·:cond_3
  
95 ····.line·11095 ····.line·108
96 ····const/4·v5,·0x096 ····const/4·v5,·0x0
  
97 ····.local·v5,·"inputX":I97 ····.local·v5,·"inputX":I
98 ····move·v12,·v798 ····move·v12,·v7
  
99 ····.local·v12,·"outputX":I99 ····.local·v12,·"outputX":I
100 ····:goto_1100 ····:goto_1
101 ····if-ge·v5,·v4,·:cond_2101 ····if-ge·v5,·v4,·:cond_2
  
102 ····.line·111102 ····.line·109
103 ····invoke-virtual·{v2,·v5,·v6},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->get(II)B103 ····invoke-virtual·{v2,·v5,·v6},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->get(II)B
  
104 ····move-result·v17104 ····move-result·v17
  
105 ····const/16·v18,·0x1105 ····const/16·v18,·0x1
  
106 ····move/from16·v0,·v17106 ····move/from16·v0,·v17
  
107 ····move/from16·v1,·v18107 ····move/from16·v1,·v18
  
Max diff block lines reached; 9673/12735 bytes (75.96%) of diff not shown.
7.26 KB
smali/com/google/zxing/qrcode/QRCodeReader.smali
    
Offset 140, 15 lines modifiedOffset 140, 31 lines modified
140 ····if-eq·v0,·v1,·:cond_4140 ····if-eq·v0,·v1,·:cond_4
  
141 ····.line·141141 ····.line·141
142 ····sub-int·v18,·v3,·v15142 ····sub-int·v18,·v3,·v15
  
143 ····add-int·v13,·v5,·v18143 ····add-int·v13,·v5,·v18
  
 144 ····.line·142
 145 ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/common/BitMatrix;->getWidth()I
  
 146 ····move-result·v18
  
 147 ····move/from16·v0,·v18
  
 148 ····if-lt·v13,·v0,·:cond_4
  
144 ····.line·144149 ····.line·144
 150 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
 151 ····move-result-object·v18
  
 152 ····throw·v18
  
 153 ····.line·148
145 ····:cond_4154 ····:cond_4
146 ····sub-int·v18,·v13,·v5155 ····sub-int·v18,·v13,·v5
  
147 ····add-int/lit8·v18,·v18,·0x1156 ····add-int/lit8·v18,·v18,·0x1
  
148 ····move/from16·v0,·v18157 ····move/from16·v0,·v18
  
Offset 158, 15 lines modifiedOffset 174, 15 lines modified
  
158 ····div-float·v18,·v18,·v9174 ····div-float·v18,·v18,·v9
  
159 ····invoke-static/range·{v18·..·v18},·Ljava/lang/Math;->round(F)I175 ····invoke-static/range·{v18·..·v18},·Ljava/lang/Math;->round(F)I
  
160 ····move-result·v8176 ····move-result·v8
  
161 ····.line·145177 ····.line·149
162 ····.local·v8,·"matrixWidth":I178 ····.local·v8,·"matrixWidth":I
163 ····sub-int·v18,·v3,·v15179 ····sub-int·v18,·v3,·v15
  
164 ····add-int/lit8·v18,·v18,·0x1180 ····add-int/lit8·v18,·v18,·0x1
  
165 ····move/from16·v0,·v18181 ····move/from16·v0,·v18
  
Offset 176, 57 lines modifiedOffset 192, 57 lines modified
  
176 ····div-float·v18,·v18,·v9192 ····div-float·v18,·v18,·v9
  
177 ····invoke-static/range·{v18·..·v18},·Ljava/lang/Math;->round(F)I193 ····invoke-static/range·{v18·..·v18},·Ljava/lang/Math;->round(F)I
  
178 ····move-result·v7194 ····move-result·v7
  
179 ····.line·146195 ····.line·150
180 ····.local·v7,·"matrixHeight":I196 ····.local·v7,·"matrixHeight":I
181 ····if-lez·v8,·:cond_5197 ····if-lez·v8,·:cond_5
  
182 ····if-gtz·v7,·:cond_6198 ····if-gtz·v7,·:cond_6
  
183 ····.line·147199 ····.line·151
184 ····:cond_5200 ····:cond_5
185 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;201 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
186 ····move-result-object·v18202 ····move-result-object·v18
  
187 ····throw·v18203 ····throw·v18
  
188 ····.line·149204 ····.line·153
189 ····:cond_6205 ····:cond_6
190 ····if-eq·v7,·v8,·:cond_7206 ····if-eq·v7,·v8,·:cond_7
  
191 ····.line·151207 ····.line·155
192 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;208 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
193 ····move-result-object·v18209 ····move-result-object·v18
  
194 ····throw·v18210 ····throw·v18
  
195 ····.line·157211 ····.line·161
196 ····:cond_7212 ····:cond_7
197 ····const/high16·v18,·0x40000000····#·2.0f213 ····const/high16·v18,·0x40000000····#·2.0f
  
198 ····div-float·v18,·v9,·v18214 ····div-float·v18,·v9,·v18
  
199 ····move/from16·v0,·v18215 ····move/from16·v0,·v18
  
200 ····float-to-int·v10,·v0216 ····float-to-int·v10,·v0
  
201 ····.line·158217 ····.line·162
202 ····.local·v10,·"nudge":I218 ····.local·v10,·"nudge":I
203 ····add-int/2addr·v15,·v10219 ····add-int/2addr·v15,·v10
  
204 ····.line·159220 ····.line·163
205 ····add-int/2addr·v5,·v10221 ····add-int/2addr·v5,·v10
  
206 ····.line·164222 ····.line·168
207 ····add-int/lit8·v18,·v8,·-0x1223 ····add-int/lit8·v18,·v8,·-0x1
  
208 ····move/from16·v0,·v18224 ····move/from16·v0,·v18
  
209 ····int-to-float·v0,·v0225 ····int-to-float·v0,·v0
  
210 ····move/from16·v18,·v0226 ····move/from16·v18,·v0
Offset 239, 33 lines modifiedOffset 255, 33 lines modified
  
239 ····move/from16·v18,·v0255 ····move/from16·v18,·v0
  
240 ····add-int·v18,·v18,·v5256 ····add-int·v18,·v18,·v5
  
241 ····sub-int·v12,·v18,·v13257 ····sub-int·v12,·v18,·v13
  
242 ····.line·165258 ····.line·169
243 ····.local·v12,·"nudgedTooFarRight":I259 ····.local·v12,·"nudgedTooFarRight":I
244 ····if-lez·v12,·:cond_9260 ····if-lez·v12,·:cond_9
  
245 ····.line·166261 ····.line·170
246 ····if-le·v12,·v10,·:cond_8262 ····if-le·v12,·v10,·:cond_8
  
247 ····.line·168263 ····.line·172
248 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;264 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
249 ····move-result-object·v18265 ····move-result-object·v18
  
250 ····throw·v18266 ····throw·v18
  
Max diff block lines reached; 4731/7343 bytes (64.43%) of diff not shown.
12.8 KB
smali/com/google/zxing/qrcode/detector/Detector.smali
    
Offset 370, 15 lines modifiedOffset 370, 15 lines modified
370 ····move·v6,·v3370 ····move·v6,·v3
  
371 ····.restart·local·v6····#·"sourceBottomRightY":F371 ····.restart·local·v6····#·"sourceBottomRightY":F
372 ····goto·:goto_0372 ····goto·:goto_0
373 .end·method373 .end·method
  
374 .method·private·static·sampleGrid(Lcom/google/zxing/common/BitMatrix;Lcom/google/zxing/common/PerspectiveTransform;I)Lcom/google/zxing/common/BitMatrix;374 .method·private·static·sampleGrid(Lcom/google/zxing/common/BitMatrix;Lcom/google/zxing/common/PerspectiveTransform;I)Lcom/google/zxing/common/BitMatrix;
375 ····.locals·2375 ····.locals·1
376 ····.param·p0,·"image"····#·Lcom/google/zxing/common/BitMatrix;376 ····.param·p0,·"image"····#·Lcom/google/zxing/common/BitMatrix;
377 ····.param·p1,·"transform"····#·Lcom/google/zxing/common/PerspectiveTransform;377 ····.param·p1,·"transform"····#·Lcom/google/zxing/common/PerspectiveTransform;
378 ····.param·p2,·"dimension"····#·I378 ····.param·p2,·"dimension"····#·I
379 ····.annotation·system·Ldalvik/annotation/Throws;379 ····.annotation·system·Ldalvik/annotation/Throws;
380 ········value·=·{380 ········value·=·{
381 ············Lcom/google/zxing/NotFoundException;381 ············Lcom/google/zxing/NotFoundException;
382 ········}382 ········}
Offset 387, 20 lines modifiedOffset 387, 19 lines modified
387 ····.prologue387 ····.prologue
388 ····.line·190388 ····.line·190
389 ····invoke-static·{},·Lcom/google/zxing/common/GridSampler;->getInstance()Lcom/google/zxing/common/GridSampler;389 ····invoke-static·{},·Lcom/google/zxing/common/GridSampler;->getInstance()Lcom/google/zxing/common/GridSampler;
  
390 ····move-result-object·v0390 ····move-result-object·v0
  
391 ····.line·191391 ····.line·191
392 ····.local·v0,·"sampler":Lcom/google/zxing/common/GridSampler; 
393 ····invoke-virtual·{v0,·p0,·p2,·p2,·p1},·Lcom/google/zxing/common/GridSampler;->sampleGrid(Lcom/google/zxing/common/BitMatrix;IILcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/BitMatrix;392 ····invoke-virtual·{v0,·p0,·p2,·p2,·p1},·Lcom/google/zxing/common/GridSampler;->sampleGrid(Lcom/google/zxing/common/BitMatrix;IILcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/BitMatrix;
  
394 ····move-result-object·v1393 ····move-result-object·v0
  
395 ····return-object·v1394 ····return-object·v0
396 .end·method395 .end·method
  
397 .method·private·sizeOfBlackWhiteBlackRun(IIII)F396 .method·private·sizeOfBlackWhiteBlackRun(IIII)F
398 ····.locals·19397 ····.locals·19
399 ····.param·p1,·"fromX"····#·I398 ····.param·p1,·"fromX"····#·I
400 ····.param·p2,·"fromY"····#·I399 ····.param·p2,·"fromY"····#·I
401 ····.param·p3,·"toX"····#·I400 ····.param·p3,·"toX"····#·I
Offset 512, 15 lines modifiedOffset 511, 15 lines modified
512 ····move/from16·v12,·p1511 ····move/from16·v12,·p1
  
513 ····.local·v12,·"x":I512 ····.local·v12,·"x":I
514 ····move/from16·v15,·p2513 ····move/from16·v15,·p2
  
515 ····.local·v15,·"y":I514 ····.local·v15,·"y":I
516 ····:goto_3515 ····:goto_3
517 ····if-eq·v12,·v13,·:cond_9516 ····if-eq·v12,·v13,·:cond_a
  
518 ····.line·330517 ····.line·330
519 ····if-eqz·v10,·:cond_4518 ····if-eqz·v10,·:cond_4
  
520 ····move·v7,·v15519 ····move·v7,·v15
  
521 ····.line·331520 ····.line·331
Offset 645, 30 lines modifiedOffset 644, 42 lines modified
645 ····add-int/lit8·v9,·v9,·0x1644 ····add-int/lit8·v9,·v9,·0x1
  
646 ····.line·343645 ····.line·343
647 ····:cond_8646 ····:cond_8
648 ····add-int/2addr·v6,·v5647 ····add-int/2addr·v6,·v5
  
649 ····.line·344648 ····.line·344
650 ····if-lez·v6,·:cond_b649 ····if-lez·v6,·:cond_9
  
651 ····.line·345650 ····.line·345
652 ····move/from16·v0,·p4651 ····move/from16·v0,·p4
  
653 ····if-ne·v15,·v0,·:cond_a652 ····if-eq·v15,·v0,·:cond_a
  
 653 ····.line·348
 654 ····add-int·v15,·v15,·v16
  
 655 ····.line·349
 656 ····sub-int/2addr·v6,·v4
  
 657 ····.line·329
 658 ····:cond_9
 659 ····add-int/2addr·v12,·v14
  
 660 ····goto·:goto_3
  
654 ····.line·355661 ····.line·355
655 ····.end·local·v7····#·"realX":I662 ····.end·local·v7····#·"realX":I
656 ····.end·local·v8····#·"realY":I663 ····.end·local·v8····#·"realY":I
657 ····:cond_9664 ····:cond_a
658 ····const/16·v17,·0x2665 ····const/16·v17,·0x2
  
659 ····move/from16·v0,·v17666 ····move/from16·v0,·v17
  
660 ····if-ne·v9,·v0,·:cond_c667 ····if-ne·v9,·v0,·:cond_b
  
661 ····.line·356668 ····.line·356
662 ····add-int·v17,·p3,·v14669 ····add-int·v17,·p3,·v14
  
663 ····move/from16·v0,·v17670 ····move/from16·v0,·v17
  
664 ····move/from16·v1,·p4671 ····move/from16·v1,·p4
Offset 679, 33 lines modifiedOffset 690, 16 lines modified
  
679 ····invoke-static·{v0,·v1,·v2,·v3},·Lcom/google/zxing/common/detector/MathUtils;->distance(IIII)F690 ····invoke-static·{v0,·v1,·v2,·v3},·Lcom/google/zxing/common/detector/MathUtils;->distance(IIII)F
  
680 ····move-result·v17691 ····move-result·v17
  
681 ····goto·:goto_7692 ····goto·:goto_7
  
682 ····.line·348 
683 ····.restart·local·v7····#·"realX":I 
684 ····.restart·local·v8····#·"realY":I 
685 ····:cond_a 
686 ····add-int·v15,·v15,·v16 
  
687 ····.line·349 
688 ····sub-int/2addr·v6,·v4 
  
689 ····.line·329 
690 ····:cond_b 
691 ····add-int/2addr·v12,·v14 
  
692 ····goto·:goto_3 
  
693 ····.line·359693 ····.line·359
694 ····.end·local·v7····#·"realX":I 
695 ····.end·local·v8····#·"realY":I 
696 ····:cond_c694 ····:cond_b
697 ····const/high16·v17,·0x7fc00000····#·Float.NaN695 ····const/high16·v17,·0x7fc00000····#·Float.NaN
  
698 ····goto·:goto_7696 ····goto·:goto_7
699 .end·method697 .end·method
  
Max diff block lines reached; 9928/13002 bytes (76.36%) of diff not shown.
1.07 KB
smali/com/google/zxing/qrcode/detector/FinderPatternFinder$CenterComparator.smali
    
Offset 1, 14 lines modifiedOffset 1, 14 lines modified
1 .class·final·Lcom/google/zxing/qrcode/detector/FinderPatternFinder$CenterComparator;1 .class·final·Lcom/google/zxing/qrcode/detector/FinderPatternFinder$CenterComparator;
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Object;
3 .source·"FinderPatternFinder.java"3 .source·"FinderPatternFinder.java"
  
4 #·interfaces4 #·interfaces
5 .implements·Ljava/util/Comparator; 
6 .implements·Ljava/io/Serializable;5 .implements·Ljava/io/Serializable;
 6 .implements·Ljava/util/Comparator;
  
  
7 #·annotations7 #·annotations
8 .annotation·system·Ldalvik/annotation/EnclosingClass;8 .annotation·system·Ldalvik/annotation/EnclosingClass;
9 ····value·=·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;9 ····value·=·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;
10 .end·annotation10 .end·annotation
  
Offset 16, 19 lines modifiedOffset 16, 19 lines modified
16 ····accessFlags·=·0x1a16 ····accessFlags·=·0x1a
17 ····name·=·"CenterComparator"17 ····name·=·"CenterComparator"
18 .end·annotation18 .end·annotation
  
19 .annotation·system·Ldalvik/annotation/Signature;19 .annotation·system·Ldalvik/annotation/Signature;
20 ····value·=·{20 ····value·=·{
21 ········"Ljava/lang/Object;",21 ········"Ljava/lang/Object;",
 22 ········"Ljava/io/Serializable;",
22 ········"Ljava/util/Comparator",23 ········"Ljava/util/Comparator",
23 ········"<",24 ········"<",
24 ········"Lcom/google/zxing/qrcode/detector/FinderPattern;",25 ········"Lcom/google/zxing/qrcode/detector/FinderPattern;",
25 ········">;",26 ········">;"
26 ········"Ljava/io/Serializable;" 
27 ····}27 ····}
28 .end·annotation28 .end·annotation
  
  
29 #·instance·fields29 #·instance·fields
30 .field·private·final·average:F30 .field·private·final·average:F
  
453 B
smali/com/google/zxing/qrcode/detector/AlignmentPatternFinder.smali
    
Offset 666, 19 lines modifiedOffset 666, 19 lines modified
  
666 ····if-eqz·v10,·:cond_6666 ····if-eqz·v10,·:cond_6
  
667 ····.line·112667 ····.line·112
668 ····if-ne·v1,·v13,·:cond_2668 ····if-ne·v1,·v13,·:cond_2
  
669 ····.line·113669 ····.line·113
670 ····aget·v10,·v9,·v1670 ····aget·v10,·v9,·v13
  
671 ····add-int/lit8·v10,·v10,·0x1671 ····add-int/lit8·v10,·v10,·0x1
  
672 ····aput·v10,·v9,·v1672 ····aput·v10,·v9,·v13
  
673 ····.line·136673 ····.line·136
674 ····:goto_4674 ····:goto_4
675 ····add-int/lit8·v5,·v5,·0x1675 ····add-int/lit8·v5,·v5,·0x1
  
676 ····goto·:goto_3676 ····goto·:goto_3
  
50.5 KB
smali/com/google/zxing/qrcode/detector/FinderPatternFinder.smali
    
Offset 122, 15 lines modifiedOffset 122, 15 lines modified
  
122 ····sub-float/2addr·v0,·v1122 ····sub-float/2addr·v0,·v1
  
123 ····return·v0123 ····return·v0
124 .end·method124 .end·method
  
125 .method·private·crossCheckDiagonal(IIII)Z125 .method·private·crossCheckDiagonal(IIII)Z
126 ····.locals·8126 ····.locals·7
127 ····.param·p1,·"startI"····#·I127 ····.param·p1,·"startI"····#·I
128 ····.param·p2,·"centerJ"····#·I128 ····.param·p2,·"centerJ"····#·I
129 ····.param·p3,·"maxCount"····#·I129 ····.param·p3,·"maxCount"····#·I
130 ····.param·p4,·"originalStateCountTotal"····#·I130 ····.param·p4,·"originalStateCountTotal"····#·I
  
131 ····.prologue131 ····.prologue
132 ····.line·244132 ····.line·244
Offset 145, 413 lines modifiedOffset 145, 413 lines modified
145 ····.line·248145 ····.line·248
146 ····.local·v0,·"i":I146 ····.local·v0,·"i":I
147 ····:goto_0147 ····:goto_0
148 ····if-lt·p1,·v0,·:cond_0148 ····if-lt·p1,·v0,·:cond_0
  
149 ····if-lt·p2,·v0,·:cond_0149 ····if-lt·p2,·v0,·:cond_0
  
150 ····iget-object·v5,·p0,·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;->image:Lcom/google/zxing/common/BitMatrix;150 ····iget-object·v4,·p0,·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;->image:Lcom/google/zxing/common/BitMatrix;
  
151 ····sub-int·v6,·p2,·v0151 ····sub-int·v5,·p2,·v0
  
152 ····sub-int·v7,·p1,·v0152 ····sub-int·v6,·p1,·v0
  
153 ····invoke-virtual·{v5,·v6,·v7},·Lcom/google/zxing/common/BitMatrix;->get(II)Z153 ····invoke-virtual·{v4,·v5,·v6},·Lcom/google/zxing/common/BitMatrix;->get(II)Z
  
154 ····move-result·v5154 ····move-result·v4
  
155 ····if-eqz·v5,·:cond_0155 ····if-eqz·v4,·:cond_0
  
156 ····.line·249156 ····.line·249
157 ····const/4·v5,·0x2157 ····const/4·v4,·0x2
  
158 ····aget·v6,·v3,·v5158 ····aget·v5,·v3,·v4
  
159 ····add-int/lit8·v6,·v6,·0x1159 ····add-int/lit8·v5,·v5,·0x1
  
160 ····aput·v6,·v3,·v5160 ····aput·v5,·v3,·v4
  
161 ····.line·250161 ····.line·250
162 ····add-int/lit8·v0,·v0,·0x1162 ····add-int/lit8·v0,·v0,·0x1
  
163 ····goto·:goto_0163 ····goto·:goto_0
  
164 ····.line·253164 ····.line·253
165 ····:cond_0165 ····:cond_0
166 ····if-lt·p1,·v0,·:cond_1166 ····if-lt·p1,·v0,·:cond_1
  
167 ····if-ge·p2,·v0,·:cond_2167 ····if-ge·p2,·v0,·:cond_2
  
168 ····.line·254168 ····.line·254
169 ····:cond_1169 ····:cond_1
170 ····const/4·v5,·0x0170 ····const/4·v4,·0x0
  
171 ····.line·319171 ····.line·319
172 ····:goto_1172 ····:goto_1
173 ····return·v5173 ····return·v4
  
174 ····.line·258174 ····.line·258
175 ····:cond_2175 ····:cond_2
176 ····:goto_2176 ····:goto_2
177 ····if-lt·p1,·v0,·:cond_3177 ····if-lt·p1,·v0,·:cond_3
  
178 ····if-lt·p2,·v0,·:cond_3178 ····if-lt·p2,·v0,·:cond_3
  
179 ····iget-object·v5,·p0,·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;->image:Lcom/google/zxing/common/BitMatrix;179 ····iget-object·v4,·p0,·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;->image:Lcom/google/zxing/common/BitMatrix;
  
180 ····sub-int·v6,·p2,·v0180 ····sub-int·v5,·p2,·v0
  
181 ····sub-int·v7,·p1,·v0181 ····sub-int·v6,·p1,·v0
  
182 ····invoke-virtual·{v5,·v6,·v7},·Lcom/google/zxing/common/BitMatrix;->get(II)Z182 ····invoke-virtual·{v4,·v5,·v6},·Lcom/google/zxing/common/BitMatrix;->get(II)Z
  
183 ····move-result·v5183 ····move-result·v4
  
184 ····if-nez·v5,·:cond_3184 ····if-nez·v4,·:cond_3
  
185 ····const/4·v5,·0x1185 ····const/4·v4,·0x1
  
186 ····aget·v5,·v3,·v5186 ····aget·v4,·v3,·v4
  
187 ····if-gt·v5,·p3,·:cond_3187 ····if-gt·v4,·p3,·:cond_3
  
188 ····.line·260188 ····.line·260
189 ····const/4·v5,·0x1189 ····const/4·v4,·0x1
  
190 ····aget·v6,·v3,·v5190 ····aget·v5,·v3,·v4
  
191 ····add-int/lit8·v6,·v6,·0x1191 ····add-int/lit8·v5,·v5,·0x1
  
192 ····aput·v6,·v3,·v5192 ····aput·v5,·v3,·v4
  
193 ····.line·261193 ····.line·261
194 ····add-int/lit8·v0,·v0,·0x1194 ····add-int/lit8·v0,·v0,·0x1
  
195 ····goto·:goto_2195 ····goto·:goto_2
  
196 ····.line·265196 ····.line·265
197 ····:cond_3197 ····:cond_3
198 ····if-lt·p1,·v0,·:cond_4198 ····if-lt·p1,·v0,·:cond_4
  
199 ····if-lt·p2,·v0,·:cond_4199 ····if-lt·p2,·v0,·:cond_4
  
200 ····const/4·v5,·0x1200 ····const/4·v4,·0x1
  
201 ····aget·v5,·v3,·v5201 ····aget·v4,·v3,·v4
  
202 ····if-le·v5,·p3,·:cond_5202 ····if-le·v4,·p3,·:cond_5
  
203 ····.line·266203 ····.line·266
204 ····:cond_4204 ····:cond_4
205 ····const/4·v5,·0x0205 ····const/4·v4,·0x0
  
206 ····goto·:goto_1206 ····goto·:goto_1
  
207 ····.line·270207 ····.line·270
208 ····:cond_5208 ····:cond_5
209 ····:goto_3209 ····:goto_3
210 ····if-lt·p1,·v0,·:cond_6210 ····if-lt·p1,·v0,·:cond_6
  
211 ····if-lt·p2,·v0,·:cond_6211 ····if-lt·p2,·v0,·:cond_6
  
Max diff block lines reached; 48181/51536 bytes (93.49%) of diff not shown.
1.12 KB
smali/com/google/zxing/qrcode/detector/FinderPatternFinder$FurthestFromAverageComparator.smali
    
Offset 1, 14 lines modifiedOffset 1, 14 lines modified
1 .class·final·Lcom/google/zxing/qrcode/detector/FinderPatternFinder$FurthestFromAverageComparator;1 .class·final·Lcom/google/zxing/qrcode/detector/FinderPatternFinder$FurthestFromAverageComparator;
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Object;
3 .source·"FinderPatternFinder.java"3 .source·"FinderPatternFinder.java"
  
4 #·interfaces4 #·interfaces
5 .implements·Ljava/util/Comparator; 
6 .implements·Ljava/io/Serializable;5 .implements·Ljava/io/Serializable;
 6 .implements·Ljava/util/Comparator;
  
  
7 #·annotations7 #·annotations
8 .annotation·system·Ldalvik/annotation/EnclosingClass;8 .annotation·system·Ldalvik/annotation/EnclosingClass;
9 ····value·=·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;9 ····value·=·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;
10 .end·annotation10 .end·annotation
  
Offset 16, 19 lines modifiedOffset 16, 19 lines modified
16 ····accessFlags·=·0x1a16 ····accessFlags·=·0x1a
17 ····name·=·"FurthestFromAverageComparator"17 ····name·=·"FurthestFromAverageComparator"
18 .end·annotation18 .end·annotation
  
19 .annotation·system·Ldalvik/annotation/Signature;19 .annotation·system·Ldalvik/annotation/Signature;
20 ····value·=·{20 ····value·=·{
21 ········"Ljava/lang/Object;",21 ········"Ljava/lang/Object;",
 22 ········"Ljava/io/Serializable;",
22 ········"Ljava/util/Comparator",23 ········"Ljava/util/Comparator",
23 ········"<",24 ········"<",
24 ········"Lcom/google/zxing/qrcode/detector/FinderPattern;",25 ········"Lcom/google/zxing/qrcode/detector/FinderPattern;",
25 ········">;",26 ········">;"
26 ········"Ljava/io/Serializable;" 
27 ····}27 ····}
28 .end·annotation28 .end·annotation
  
  
29 #·instance·fields29 #·instance·fields
30 .field·private·final·average:F30 .field·private·final·average:F
  
12.4 KB
smali/com/google/zxing/qrcode/decoder/DataMask.smali
    
Offset 1, 159 lines modifiedOffset 1, 241 lines modified
1 .class·abstract·Lcom/google/zxing/qrcode/decoder/DataMask;1 .class·abstract·enum·Lcom/google/zxing/qrcode/decoder/DataMask;
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Enum;
3 .source·"DataMask.java"3 .source·"DataMask.java"
  
  
4 #·annotations4 #·annotations
5 .annotation·system·Ldalvik/annotation/MemberClasses;5 .annotation·system·Ldalvik/annotation/Signature;
6 ····value·=·{6 ····value·=·{
 7 ········"Ljava/lang/Enum",
 8 ········"<",
7 ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask111;,9 ········"Lcom/google/zxing/qrcode/decoder/DataMask;",
 10 ········">;"
8 ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask110;, 
9 ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask101;, 
10 ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask100;, 
11 ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask011;, 
12 ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask010;, 
13 ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask001;, 
14 ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask000; 
15 ····}11 ····}
16 .end·annotation12 .end·annotation
  
  
17 #·static·fields13 #·static·fields
 14 .field·private·static·final·synthetic·$VALUES:[Lcom/google/zxing/qrcode/decoder/DataMask;
  
18 .field·private·static·final·DATA_MASKS:[Lcom/google/zxing/qrcode/decoder/DataMask;15 .field·public·static·final·enum·DATA_MASK_000:Lcom/google/zxing/qrcode/decoder/DataMask;
  
 16 .field·public·static·final·enum·DATA_MASK_001:Lcom/google/zxing/qrcode/decoder/DataMask;
  
 17 .field·public·static·final·enum·DATA_MASK_010:Lcom/google/zxing/qrcode/decoder/DataMask;
  
 18 .field·public·static·final·enum·DATA_MASK_011:Lcom/google/zxing/qrcode/decoder/DataMask;
  
 19 .field·public·static·final·enum·DATA_MASK_100:Lcom/google/zxing/qrcode/decoder/DataMask;
  
 20 .field·public·static·final·enum·DATA_MASK_101:Lcom/google/zxing/qrcode/decoder/DataMask;
  
 21 .field·public·static·final·enum·DATA_MASK_110:Lcom/google/zxing/qrcode/decoder/DataMask;
  
 22 .field·public·static·final·enum·DATA_MASK_111:Lcom/google/zxing/qrcode/decoder/DataMask;
  
  
19 #·direct·methods23 #·direct·methods
20 .method·static·constructor·<clinit>()V24 .method·static·constructor·<clinit>()V
21 ····.locals·425 ····.locals·8
  
22 ····.prologue26 ····.prologue
 27 ····const/4·v7,·0x4
  
 28 ····const/4·v6,·0x3
  
 29 ····const/4·v5,·0x2
  
 30 ····const/4·v4,·0x1
  
23 ····const/4·v3,·0x031 ····const/4·v3,·0x0
  
24 ····.line·3732 ····.line·39
25 ····const/16·v0,·0x833 ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$1;
  
26 ····new-array·v0,·v0,·[Lcom/google/zxing/qrcode/decoder/DataMask;34 ····const-string·v1,·"DATA_MASK_000"
  
27 ····const/4·v1,·0x035 ····invoke-direct·{v0,·v1,·v3},·Lcom/google/zxing/qrcode/decoder/DataMask$1;-><init>(Ljava/lang/String;I)V
  
28 ····new-instance·v2,·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask000;36 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_000:Lcom/google/zxing/qrcode/decoder/DataMask;
  
29 ····invoke-direct·{v2,·v3},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask000;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V37 ····.line·49
 38 ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$2;
  
30 ····aput-object·v2,·v0,·v139 ····const-string·v1,·"DATA_MASK_001"
  
31 ····const/4·v1,·0x140 ····invoke-direct·{v0,·v1,·v4},·Lcom/google/zxing/qrcode/decoder/DataMask$2;-><init>(Ljava/lang/String;I)V
  
32 ····new-instance·v2,·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask001;41 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_001:Lcom/google/zxing/qrcode/decoder/DataMask;
  
33 ····invoke-direct·{v2,·v3},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask001;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V42 ····.line·59
 43 ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$3;
  
34 ····aput-object·v2,·v0,·v144 ····const-string·v1,·"DATA_MASK_010"
  
35 ····const/4·v1,·0x245 ····invoke-direct·{v0,·v1,·v5},·Lcom/google/zxing/qrcode/decoder/DataMask$3;-><init>(Ljava/lang/String;I)V
  
36 ····new-instance·v2,·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask010;46 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_010:Lcom/google/zxing/qrcode/decoder/DataMask;
  
37 ····invoke-direct·{v2,·v3},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask010;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V47 ····.line·69
 48 ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$4;
  
38 ····aput-object·v2,·v0,·v149 ····const-string·v1,·"DATA_MASK_011"
  
39 ····const/4·v1,·0x350 ····invoke-direct·{v0,·v1,·v6},·Lcom/google/zxing/qrcode/decoder/DataMask$4;-><init>(Ljava/lang/String;I)V
  
40 ····new-instance·v2,·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask011;51 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_011:Lcom/google/zxing/qrcode/decoder/DataMask;
  
41 ····invoke-direct·{v2,·v3},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask011;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V52 ····.line·79
 53 ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$5;
  
42 ····aput-object·v2,·v0,·v154 ····const-string·v1,·"DATA_MASK_100"
  
43 ····const/4·v1,·0x455 ····invoke-direct·{v0,·v1,·v7},·Lcom/google/zxing/qrcode/decoder/DataMask$5;-><init>(Ljava/lang/String;I)V
  
44 ····new-instance·v2,·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask100;56 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_100:Lcom/google/zxing/qrcode/decoder/DataMask;
  
45 ····invoke-direct·{v2,·v3},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask100;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V57 ····.line·90
 58 ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$6;
  
46 ····aput-object·v2,·v0,·v159 ····const-string·v1,·"DATA_MASK_101"
  
47 ····const/4·v1,·0x560 ····const/4·v2,·0x5
  
 61 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/qrcode/decoder/DataMask$6;-><init>(Ljava/lang/String;I)V
  
 62 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_101:Lcom/google/zxing/qrcode/decoder/DataMask;
  
 63 ····.line·101
 64 ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$7;
  
48 ····new-instance·v2,·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask101;65 ····const-string·v1,·"DATA_MASK_110"
  
 66 ····const/4·v2,·0x6
  
 67 ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/qrcode/decoder/DataMask$7;-><init>(Ljava/lang/String;I)V
  
 68 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_110:Lcom/google/zxing/qrcode/decoder/DataMask;
  
 69 ····.line·112
 70 ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$8;
Max diff block lines reached; 4814/12600 bytes (38.21%) of diff not shown.
1.29 KB
smali/com/google/zxing/qrcode/decoder/DataMask$1.smali
    
Offset 1, 14 lines modifiedOffset 1, 54 lines modified
1 .class·synthetic·Lcom/google/zxing/qrcode/decoder/DataMask$1;1 .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$1;
2 .super·Ljava/lang/Object;2 .super·Lcom/google/zxing/qrcode/decoder/DataMask;
3 .source·"DataMask.java"3 .source·"DataMask.java"
  
  
4 #·annotations4 #·annotations
5 .annotation·system·Ldalvik/annotation/EnclosingClass;5 .annotation·system·Ldalvik/annotation/EnclosingClass;
6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;
7 .end·annotation7 .end·annotation
  
8 .annotation·system·Ldalvik/annotation/InnerClass;8 .annotation·system·Ldalvik/annotation/InnerClass;
9 ····accessFlags·=·0x10089 ····accessFlags·=·0x4008
10 ····name·=·null10 ····name·=·null
11 .end·annotation11 .end·annotation
  
  
 12 #·direct·methods
 13 .method·constructor·<init>(Ljava/lang/String;I)V
 14 ····.locals·1
  
 15 ····.prologue
 16 ····.line·39
 17 ····const/4·v0,·0x0
  
 18 ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V
  
 19 ····return-void
 20 .end·method
  
  
 21 #·virtual·methods
 22 .method·isMasked(II)Z
 23 ····.locals·1
 24 ····.param·p1,·"i"····#·I
 25 ····.param·p2,·"j"····#·I
  
 26 ····.prologue
 27 ····.line·42
 28 ····add-int·v0,·p1,·p2
  
 29 ····and-int/lit8·v0,·v0,·0x1
  
 30 ····if-nez·v0,·:cond_0
  
 31 ····const/4·v0,·0x1
  
 32 ····:goto_0
 33 ····return·v0
  
 34 ····:cond_0
 35 ····const/4·v0,·0x0
  
 36 ····goto·:goto_0
 37 .end·method
10.3 KB
smali/com/google/zxing/qrcode/decoder/FormatInformation.smali
    
Offset 1, 33 lines modifiedOffset 1, 29 lines modified
1 .class·final·Lcom/google/zxing/qrcode/decoder/FormatInformation;1 .class·final·Lcom/google/zxing/qrcode/decoder/FormatInformation;
2 .super·Ljava/lang/Object;2 .super·Ljava/lang/Object;
3 .source·"FormatInformation.java"3 .source·"FormatInformation.java"
  
  
4 #·static·fields4 #·static·fields
5 .field·private·static·final·BITS_SET_IN_HALF_BYTE:[I 
  
6 .field·private·static·final·FORMAT_INFO_DECODE_LOOKUP:[[I5 .field·private·static·final·FORMAT_INFO_DECODE_LOOKUP:[[I
  
7 .field·private·static·final·FORMAT_INFO_MASK_QR:I·=·0x54126 .field·private·static·final·FORMAT_INFO_MASK_QR:I·=·0x5412
  
  
8 #·instance·fields7 #·instance·fields
9 .field·private·final·dataMask:B8 .field·private·final·dataMask:B
  
10 .field·private·final·errorCorrectionLevel:Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;9 .field·private·final·errorCorrectionLevel:Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;
  
  
11 #·direct·methods10 #·direct·methods
12 .method·static·constructor·<clinit>()V11 .method·static·constructor·<clinit>()V
13 ····.locals·512 ····.locals·4
  
14 ····.prologue13 ····.prologue
15 ····const/16·v4,·0x10 
  
16 ····const/4·v3,·0x214 ····const/4·v3,·0x2
  
17 ····.line·3415 ····.line·34
18 ····const/16·v0,·0x2016 ····const/16·v0,·0x20
  
19 ····new-array·v0,·v0,·[[I17 ····new-array·v0,·v0,·[[I
  
Offset 153, 19 lines modifiedOffset 149, 21 lines modified
  
153 ····new-array·v2,·v3,·[I149 ····new-array·v2,·v3,·[I
  
154 ····fill-array-data·v2,·:array_f150 ····fill-array-data·v2,·:array_f
  
155 ····aput-object·v2,·v0,·v1151 ····aput-object·v2,·v0,·v1
  
156 ····new-array·v1,·v3,·[I152 ····const/16·v1,·0x10
  
 153 ····new-array·v2,·v3,·[I
  
157 ····fill-array-data·v1,·:array_10154 ····fill-array-data·v2,·:array_10
  
158 ····aput-object·v1,·v0,·v4155 ····aput-object·v2,·v0,·v1
  
159 ····const/16·v1,·0x11156 ····const/16·v1,·0x11
  
160 ····new-array·v2,·v3,·[I157 ····new-array·v2,·v3,·[I
  
161 ····fill-array-data·v2,·:array_11158 ····fill-array-data·v2,·:array_11
  
Offset 281, 24 lines modifiedOffset 279, 18 lines modified
  
281 ····fill-array-data·v2,·:array_1f279 ····fill-array-data·v2,·:array_1f
  
282 ····aput-object·v2,·v0,·v1280 ····aput-object·v2,·v0,·v1
  
283 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/FormatInformation;->FORMAT_INFO_DECODE_LOOKUP:[[I281 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/FormatInformation;->FORMAT_INFO_DECODE_LOOKUP:[[I
  
284 ····.line·72 
285 ····new-array·v0,·v4,·[I 
  
286 ····fill-array-data·v0,·:array_20 
  
287 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/FormatInformation;->BITS_SET_IN_HALF_BYTE:[I 
  
288 ····return-void282 ····return-void
  
289 ····.line·34283 ····nop
  
290 ····:array_0284 ····:array_0
291 ····.array-data·4285 ····.array-data·4
292 ········0x5412286 ········0x5412
293 ········0x0287 ········0x0
294 ····.end·array-data288 ····.end·array-data
  
295 ····:array_1289 ····:array_1
Offset 482, 83 lines modifiedOffset 474, 62 lines modified
482 ····.end·array-data474 ····.end·array-data
  
483 ····:array_1f475 ····:array_1f
484 ····.array-data·4476 ····.array-data·4
485 ········0x2bed477 ········0x2bed
486 ········0x1f478 ········0x1f
487 ····.end·array-data479 ····.end·array-data
  
488 ····.line·72 
489 ····:array_20 
490 ····.array-data·4 
491 ········0x0 
492 ········0x1 
493 ········0x1 
494 ········0x2 
495 ········0x1 
496 ········0x2 
497 ········0x2 
498 ········0x3 
499 ········0x1 
500 ········0x2 
501 ········0x2 
502 ········0x3 
503 ········0x2 
504 ········0x3 
505 ········0x3 
506 ········0x4 
507 ····.end·array-data 
508 .end·method480 .end·method
  
509 .method·private·constructor·<init>(I)V481 .method·private·constructor·<init>(I)V
510 ····.locals·1482 ····.locals·1
511 ····.param·p1,·"formatInfo"····#·I483 ····.param·p1,·"formatInfo"····#·I
  
512 ····.prologue484 ····.prologue
513 ····.line·78485 ····.line·72
514 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V486 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
515 ····.line·80487 ····.line·74
516 ····shr-int/lit8·v0,·p1,·0x3488 ····shr-int/lit8·v0,·p1,·0x3
  
517 ····and-int/lit8·v0,·v0,·0x3489 ····and-int/lit8·v0,·v0,·0x3
  
518 ····invoke-static·{v0},·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;->forBits(I)Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;490 ····invoke-static·{v0},·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;->forBits(I)Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;
  
Max diff block lines reached; 7869/10414 bytes (75.56%) of diff not shown.
14.8 KB
smali/com/google/zxing/qrcode/decoder/DataBlock.smali
    
Offset 26, 457 lines modifiedOffset 26, 448 lines modified
26 ····iput-object·p2,·p0,·Lcom/google/zxing/qrcode/decoder/DataBlock;->codewords:[B26 ····iput-object·p2,·p0,·Lcom/google/zxing/qrcode/decoder/DataBlock;->codewords:[B
  
27 ····.line·3427 ····.line·34
28 ····return-void28 ····return-void
29 .end·method29 .end·method
  
30 .method·static·getDataBlocks([BLcom/google/zxing/qrcode/decoder/Version;Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;)[Lcom/google/zxing/qrcode/decoder/DataBlock;30 .method·static·getDataBlocks([BLcom/google/zxing/qrcode/decoder/Version;Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;)[Lcom/google/zxing/qrcode/decoder/DataBlock;
31 ····.locals·2531 ····.locals·24
32 ····.param·p0,·"rawCodewords"····#·[B32 ····.param·p0,·"rawCodewords"····#·[B
33 ····.param·p1,·"version"····#·Lcom/google/zxing/qrcode/decoder/Version;33 ····.param·p1,·"version"····#·Lcom/google/zxing/qrcode/decoder/Version;
34 ····.param·p2,·"ecLevel"····#·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;34 ····.param·p2,·"ecLevel"····#·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;
  
35 ····.prologue35 ····.prologue
36 ····.line·5136 ····.line·51
37 ····move-object/from16·v0,·p037 ····move-object/from16·v0,·p0
  
38 ····array-length·v0,·v038 ····array-length·v0,·v0
  
39 ····move/from16·v21,·v039 ····move/from16·v20,·v0
  
40 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/Version;->getTotalCodewords()I40 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/Version;->getTotalCodewords()I
  
41 ····move-result·v2241 ····move-result·v21
  
42 ····move/from16·v0,·v2142 ····move/from16·v0,·v20
  
43 ····move/from16·v1,·v2243 ····move/from16·v1,·v21
  
44 ····if-eq·v0,·v1,·:cond_044 ····if-eq·v0,·v1,·:cond_0
  
45 ····.line·5245 ····.line·52
46 ····new-instance·v21,·Ljava/lang/IllegalArgumentException;46 ····new-instance·v20,·Ljava/lang/IllegalArgumentException;
  
47 ····invoke-direct/range·{v21·..·v21},·Ljava/lang/IllegalArgumentException;-><init>()V47 ····invoke-direct/range·{v20·..·v20},·Ljava/lang/IllegalArgumentException;-><init>()V
  
48 ····throw·v2148 ····throw·v20
  
49 ····.line·5749 ····.line·57
50 ····:cond_050 ····:cond_0
51 ····invoke-virtual/range·{p1·..·p2},·Lcom/google/zxing/qrcode/decoder/Version;->getECBlocksForLevel(Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;)Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;51 ····invoke-virtual/range·{p1·..·p2},·Lcom/google/zxing/qrcode/decoder/Version;->getECBlocksForLevel(Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;)Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;
  
52 ····move-result-object·v452 ····move-result-object·v4
  
53 ····.line·6053 ····.line·60
54 ····.local·v4,·"ecBlocks":Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;54 ····.local·v4,·"ecBlocks":Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;
55 ····const/16·v20,·0x055 ····const/16·v19,·0x0
  
56 ····.line·6156 ····.line·61
57 ····.local·v20,·"totalBlocks":I57 ····.local·v19,·"totalBlocks":I
58 ····invoke-virtual·{v4},·Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/qrcode/decoder/Version$ECB;58 ····invoke-virtual·{v4},·Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/qrcode/decoder/Version$ECB;
  
59 ····move-result-object·v359 ····move-result-object·v3
  
60 ····.line·6260 ····.line·62
61 ····.local·v3,·"ecBlockArray":[Lcom/google/zxing/qrcode/decoder/Version$ECB;61 ····.local·v3,·"ecBlockArray":[Lcom/google/zxing/qrcode/decoder/Version$ECB;
62 ····array-length·v0,·v362 ····array-length·v0,·v3
  
63 ····move/from16·v22,·v063 ····move/from16·v21,·v0
  
64 ····const/16·v21,·0x064 ····const/16·v20,·0x0
  
65 ····:goto_065 ····:goto_0
66 ····move/from16·v0,·v2166 ····move/from16·v0,·v20
  
67 ····move/from16·v1,·v2267 ····move/from16·v1,·v21
  
68 ····if-ge·v0,·v1,·:cond_168 ····if-ge·v0,·v1,·:cond_1
  
69 ····aget-object·v2,·v3,·v2169 ····aget-object·v2,·v3,·v20
  
70 ····.line·6370 ····.line·63
71 ····.local·v2,·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB;71 ····.local·v2,·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB;
72 ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I72 ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I
  
73 ····move-result·v2373 ····move-result·v22
  
74 ····add-int·v20,·v20,·v2374 ····add-int·v19,·v19,·v22
  
75 ····.line·6275 ····.line·62
76 ····add-int/lit8·v21,·v21,·0x176 ····add-int/lit8·v20,·v20,·0x1
  
77 ····goto·:goto_077 ····goto·:goto_0
  
78 ····.line·6778 ····.line·67
79 ····.end·local·v2····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB;79 ····.end·local·v2····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB;
80 ····:cond_180 ····:cond_1
81 ····move/from16·v0,·v2081 ····move/from16·v0,·v19
  
82 ····new-array·v0,·v0,·[Lcom/google/zxing/qrcode/decoder/DataBlock;82 ····new-array·v0,·v0,·[Lcom/google/zxing/qrcode/decoder/DataBlock;
  
83 ····move-object/from16·v17,·v083 ····move-object/from16·v16,·v0
  
84 ····.line·6884 ····.line·68
85 ····.local·v17,·"result":[Lcom/google/zxing/qrcode/decoder/DataBlock;85 ····.local·v16,·"result":[Lcom/google/zxing/qrcode/decoder/DataBlock;
86 ····const/4·v13,·0x086 ····const/4·v12,·0x0
  
87 ····.line·6987 ····.line·69
88 ····.local·v13,·"numResultBlocks":I88 ····.local·v12,·"numResultBlocks":I
89 ····array-length·v0,·v389 ····array-length·v0,·v3
  
90 ····move/from16·v22,·v090 ····move/from16·v21,·v0
  
91 ····const/16·v21,·0x091 ····const/16·v20,·0x0
  
92 ····:goto_192 ····:goto_1
93 ····move/from16·v0,·v2193 ····move/from16·v0,·v20
  
94 ····move/from16·v1,·v2294 ····move/from16·v1,·v21
  
95 ····if-ge·v0,·v1,·:cond_395 ····if-ge·v0,·v1,·:cond_3
  
96 ····aget-object·v2,·v3,·v2196 ····aget-object·v2,·v3,·v20
  
97 ····.line·7097 ····.line·70
98 ····.restart·local·v2····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB;98 ····.restart·local·v2····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB;
99 ····const/4·v5,·0x099 ····const/4·v5,·0x0
  
100 ····.local·v5,·"i":I100 ····.local·v5,·"i":I
101 ····:goto_2101 ····:goto_2
102 ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I102 ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I
  
103 ····move-result·v23103 ····move-result·v22
  
104 ····move/from16·v0,·v23104 ····move/from16·v0,·v22
  
105 ····if-ge·v5,·v0,·:cond_2105 ····if-ge·v5,·v0,·:cond_2
  
Max diff block lines reached; 10991/15067 bytes (72.95%) of diff not shown.
42.7 KB
smali/com/google/zxing/qrcode/decoder/DecodedBitStreamParser.smali
    
Offset 11, 87 lines modifiedOffset 11, 40 lines modified
  
11 #·direct·methods11 #·direct·methods
12 .method·static·constructor·<clinit>()V12 .method·static·constructor·<clinit>()V
13 ····.locals·113 ····.locals·1
  
14 ····.prologue14 ····.prologue
15 ····.line·4515 ····.line·45
16 ····const/16·v0,·0x2d16 ····const-string·v0,·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ·$%*+-./:"
  
17 ····new-array·v0,·v0,·[C17 ····.line·46
 18 ····invoke-virtual·{v0},·Ljava/lang/String;->toCharArray()[C
  
18 ····fill-array-data·v0,·:array_019 ····move-result-object·v0
  
19 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DecodedBitStreamParser;->ALPHANUMERIC_CHARS:[C20 ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DecodedBitStreamParser;->ALPHANUMERIC_CHARS:[C
  
 21 ····.line·45
20 ····return-void22 ····return-void
  
21 ····:array_0 
22 ····.array-data·2 
23 ········0x30s 
24 ········0x31s 
25 ········0x32s 
26 ········0x33s 
27 ········0x34s 
28 ········0x35s 
29 ········0x36s 
30 ········0x37s 
31 ········0x38s 
32 ········0x39s 
33 ········0x41s 
34 ········0x42s 
35 ········0x43s 
36 ········0x44s 
37 ········0x45s 
38 ········0x46s 
39 ········0x47s 
40 ········0x48s 
41 ········0x49s 
42 ········0x4as 
43 ········0x4bs 
44 ········0x4cs 
45 ········0x4ds 
46 ········0x4es 
47 ········0x4fs 
48 ········0x50s 
49 ········0x51s 
50 ········0x52s 
51 ········0x53s 
52 ········0x54s 
53 ········0x55s 
54 ········0x56s 
55 ········0x57s 
56 ········0x58s 
57 ········0x59s 
58 ········0x5as 
59 ········0x20s 
60 ········0x24s 
61 ········0x25s 
62 ········0x2as 
63 ········0x2bs 
64 ········0x2ds 
65 ········0x2es 
66 ········0x2fs 
67 ········0x3as 
68 ····.end·array-data 
69 .end·method23 .end·method
  
70 .method·private·constructor·<init>()V24 .method·private·constructor·<init>()V
71 ····.locals·025 ····.locals·0
  
72 ····.prologue26 ····.prologue
73 ····.line·5327 ····.line·49
74 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V28 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
75 ····.line·5429 ····.line·50
76 ····return-void30 ····return-void
77 .end·method31 .end·method
  
78 .method·static·decode([BLcom/google/zxing/qrcode/decoder/Version;Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult;32 .method·static·decode([BLcom/google/zxing/qrcode/decoder/Version;Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult;
79 ····.locals·2033 ····.locals·17
80 ····.param·p0,·"bytes"····#·[B34 ····.param·p0,·"bytes"····#·[B
81 ····.param·p1,·"version"····#·Lcom/google/zxing/qrcode/decoder/Version;35 ····.param·p1,·"version"····#·Lcom/google/zxing/qrcode/decoder/Version;
82 ····.param·p2,·"ecLevel"····#·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;36 ····.param·p2,·"ecLevel"····#·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;
83 ····.annotation·system·Ldalvik/annotation/Signature;37 ····.annotation·system·Ldalvik/annotation/Signature;
84 ········value·=·{38 ········value·=·{
85 ············"([B",39 ············"([B",
86 ············"Lcom/google/zxing/qrcode/decoder/Version;",40 ············"Lcom/google/zxing/qrcode/decoder/Version;",
Offset 107, 376 lines modifiedOffset 60, 346 lines modified
107 ····.annotation·system·Ldalvik/annotation/Throws;60 ····.annotation·system·Ldalvik/annotation/Throws;
108 ········value·=·{61 ········value·=·{
109 ············Lcom/google/zxing/FormatException;62 ············Lcom/google/zxing/FormatException;
110 ········}63 ········}
111 ····.end·annotation64 ····.end·annotation
  
112 ····.prologue65 ····.prologue
113 ····.line·6066 ····.line·56
114 ····.local·p3,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"67 ····.local·p3,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"
115 ····new-instance·v2,·Lcom/google/zxing/common/BitSource;68 ····new-instance·v1,·Lcom/google/zxing/common/BitSource;
  
116 ····move-object/from16·v0,·p069 ····move-object/from16·v0,·p0
  
117 ····invoke-direct·{v2,·v0},·Lcom/google/zxing/common/BitSource;-><init>([B)V70 ····invoke-direct·{v1,·v0},·Lcom/google/zxing/common/BitSource;-><init>([B)V
  
118 ····.line·6171 ····.line·57
119 ····.local·v2,·"bits":Lcom/google/zxing/common/BitSource;72 ····.local·v1,·"bits":Lcom/google/zxing/common/BitSource;
120 ····new-instance·v3,·Ljava/lang/StringBuilder;73 ····new-instance·v2,·Ljava/lang/StringBuilder;
  
121 ····const/16·v7,·0x3274 ····const/16·v6,·0x32
  
122 ····invoke-direct·{v3,·v7},·Ljava/lang/StringBuilder;-><init>(I)V75 ····invoke-direct·{v2,·v6},·Ljava/lang/StringBuilder;-><init>(I)V
  
123 ····.line·6276 ····.line·58
124 ····.local·v3,·"result":Ljava/lang/StringBuilder;77 ····.local·v2,·"result":Ljava/lang/StringBuilder;
125 ····new-instance·v6,·Ljava/util/ArrayList;78 ····new-instance·v5,·Ljava/util/ArrayList;
  
126 ····const/4·v7,·0x179 ····const/4·v6,·0x1
  
127 ····invoke-direct·{v6,·v7},·Ljava/util/ArrayList;-><init>(I)V80 ····invoke-direct·{v5,·v6},·Ljava/util/ArrayList;-><init>(I)V
  
128 ····.line·6381 ····.line·59
129 ····.local·v6,·"byteSegments":Ljava/util/List;,·"Ljava/util/List<[B>;"82 ····.local·v5,·"byteSegments":Ljava/util/List;,·"Ljava/util/List<[B>;"
 83 ····const/4·v11,·-0x1
  
 84 ····.line·60
 85 ····.local·v11,·"symbolSequence":I
Max diff block lines reached; 39877/43623 bytes (91.41%) of diff not shown.
11.7 KB
smali/com/google/zxing/qrcode/decoder/Decoder.smali
    
Offset 25, 104 lines modifiedOffset 25, 99 lines modified
25 ····iput-object·v0,·p0,·Lcom/google/zxing/qrcode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;25 ····iput-object·v0,·p0,·Lcom/google/zxing/qrcode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;
  
26 ····.line·4226 ····.line·42
27 ····return-void27 ····return-void
28 .end·method28 .end·method
  
29 .method·private·correctErrors([BI)V29 .method·private·correctErrors([BI)V
30 ····.locals·630 ····.locals·5
31 ····.param·p1,·"codewordBytes"····#·[B31 ····.param·p1,·"codewordBytes"····#·[B
32 ····.param·p2,·"numDataCodewords"····#·I32 ····.param·p2,·"numDataCodewords"····#·I
33 ····.annotation·system·Ldalvik/annotation/Throws;33 ····.annotation·system·Ldalvik/annotation/Throws;
34 ········value·=·{34 ········value·=·{
35 ············Lcom/google/zxing/ChecksumException;35 ············Lcom/google/zxing/ChecksumException;
36 ········}36 ········}
37 ····.end·annotation37 ····.end·annotation
  
38 ····.prologue38 ····.prologue
39 ····.line·18439 ····.line·184
40 ····array-length·v3,·p140 ····array-length·v2,·p1
  
41 ····.line·18641 ····.line·186
42 ····.local·v3,·"numCodewords":I42 ····.local·v2,·"numCodewords":I
43 ····new-array·v0,·v3,·[I43 ····new-array·v0,·v2,·[I
  
44 ····.line·18744 ····.line·187
45 ····.local·v0,·"codewordsInts":[I45 ····.local·v0,·"codewordsInts":[I
46 ····const/4·v1,·0x046 ····const/4·v1,·0x0
  
47 ····.local·v1,·"i":I47 ····.local·v1,·"i":I
48 ····:goto_048 ····:goto_0
49 ····if-ge·v1,·v3,·:cond_049 ····if-ge·v1,·v2,·:cond_0
  
50 ····.line·18850 ····.line·188
51 ····aget-byte·v5,·p1,·v151 ····aget-byte·v3,·p1,·v1
  
52 ····and-int/lit16·v5,·v5,·0xff52 ····and-int/lit16·v3,·v3,·0xff
  
53 ····aput·v5,·v0,·v153 ····aput·v3,·v0,·v1
  
54 ····.line·18754 ····.line·187
55 ····add-int/lit8·v1,·v1,·0x155 ····add-int/lit8·v1,·v1,·0x1
  
56 ····goto·:goto_056 ····goto·:goto_0
  
57 ····.line·19057 ····.line·191
58 ····:cond_058 ····:cond_0
59 ····array-length·v5,·p159 ····:try_start_0
 60 ····iget-object·v3,·p0,·Lcom/google/zxing/qrcode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;
  
60 ····sub-int·v4,·v5,·p261 ····array-length·v4,·p1
  
 62 ····sub-int/2addr·v4,·p2
61 ····.line·192 
62 ····.local·v4,·"numECCodewords":I 
63 ····:try_start_0 
64 ····iget-object·v5,·p0,·Lcom/google/zxing/qrcode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; 
  
65 ····invoke-virtual·{v5,·v0,·v4},·Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;->decode([II)V63 ····invoke-virtual·{v3,·v0,·v4},·Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;->decode([II)V
66 ····:try_end_064 ····:try_end_0
67 ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_065 ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_0
  
68 ····.line·19866 ····.line·197
69 ····const/4·v1,·0x067 ····const/4·v1,·0x0
  
70 ····:goto_168 ····:goto_1
71 ····if-ge·v1,·p2,·:cond_169 ····if-ge·v1,·p2,·:cond_1
  
72 ····.line·19970 ····.line·198
73 ····aget·v5,·v0,·v171 ····aget·v3,·v0,·v1
  
74 ····int-to-byte·v5,·v572 ····int-to-byte·v3,·v3
  
75 ····aput-byte·v5,·p1,·v173 ····aput-byte·v3,·p1,·v1
  
76 ····.line·19874 ····.line·197
77 ····add-int/lit8·v1,·v1,·0x175 ····add-int/lit8·v1,·v1,·0x1
  
78 ····goto·:goto_176 ····goto·:goto_1
  
79 ····.line·19377 ····.line·193
80 ····:catch_078 ····:catch_0
81 ····move-exception·v279 ····move-exception·v3
  
82 ····.line·194 
83 ····.local·v2,·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; 
84 ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException;80 ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException;
  
85 ····move-result-object·v581 ····move-result-object·v3
  
86 ····throw·v582 ····throw·v3
  
87 ····.line·20183 ····.line·200
88 ····.end·local·v2····#·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; 
89 ····:cond_184 ····:cond_1
90 ····return-void85 ····return-void
91 .end·method86 .end·method
  
92 .method·private·decode(Lcom/google/zxing/qrcode/decoder/BitMatrixParser;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult;87 .method·private·decode(Lcom/google/zxing/qrcode/decoder/BitMatrixParser;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult;
93 ····.locals·1688 ····.locals·15
94 ····.param·p1,·"parser"····#·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;89 ····.param·p1,·"parser"····#·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;
95 ····.annotation·system·Ldalvik/annotation/Signature;90 ····.annotation·system·Ldalvik/annotation/Signature;
96 ········value·=·{91 ········value·=·{
97 ············"(",92 ············"(",
98 ············"Lcom/google/zxing/qrcode/decoder/BitMatrixParser;",93 ············"Lcom/google/zxing/qrcode/decoder/BitMatrixParser;",
99 ············"Ljava/util/Map",94 ············"Ljava/util/Map",
100 ············"<",95 ············"<",
Offset 140, 156 lines modifiedOffset 135, 153 lines modified
140 ····.end·annotation135 ····.end·annotation
  
141 ····.prologue136 ····.prologue
142 ····.line·145137 ····.line·145
143 ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"138 ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;"
144 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readVersion()Lcom/google/zxing/qrcode/decoder/Version;139 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readVersion()Lcom/google/zxing/qrcode/decoder/Version;
  
145 ····move-result-object·v12140 ····move-result-object·v11
  
146 ····.line·146141 ····.line·146
147 ····.local·v12,·"version":Lcom/google/zxing/qrcode/decoder/Version;142 ····.local·v11,·"version":Lcom/google/zxing/qrcode/decoder/Version;
148 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readFormatInformation()Lcom/google/zxing/qrcode/decoder/FormatInformation;143 ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readFormatInformation()Lcom/google/zxing/qrcode/decoder/FormatInformation;
  
149 ····move-result-object·v13144 ····move-result-object·v12
  
150 ····invoke-virtual·{v13},·Lcom/google/zxing/qrcode/decoder/FormatInformation;->getErrorCorrectionLevel()Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;145 ····invoke-virtual·{v12},·Lcom/google/zxing/qrcode/decoder/FormatInformation;->getErrorCorrectionLevel()Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;
  
151 ····move-result-object·v5146 ····move-result-object·v4
  
152 ····.line·149147 ····.line·149
Max diff block lines reached; 7144/11889 bytes (60.09%) of diff not shown.
5.9 KB
smali/com/google/zxing/qrcode/decoder/Version.smali
    
Offset 94, 55 lines modifiedOffset 94, 54 lines modified
94 .method·private·varargs·constructor·<init>(I[I[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;)V94 .method·private·varargs·constructor·<init>(I[I[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;)V
95 ····.locals·895 ····.locals·8
96 ····.param·p1,·"versionNumber"····#·I96 ····.param·p1,·"versionNumber"····#·I
97 ····.param·p2,·"alignmentPatternCenters"····#·[I97 ····.param·p2,·"alignmentPatternCenters"····#·[I
98 ····.param·p3,·"ecBlocks"····#·[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;98 ····.param·p3,·"ecBlocks"····#·[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;
  
99 ····.prologue99 ····.prologue
100 ····const/4·v4,·0x0100 ····const/4·v3,·0x0
  
101 ····.line·52101 ····.line·52
102 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V102 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
103 ····.line·53103 ····.line·53
104 ····iput·p1,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->versionNumber:I104 ····iput·p1,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->versionNumber:I
  
105 ····.line·54105 ····.line·54
106 ····iput-object·p2,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->alignmentPatternCenters:[I106 ····iput-object·p2,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->alignmentPatternCenters:[I
  
107 ····.line·55107 ····.line·55
108 ····iput-object·p3,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->ecBlocks:[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;108 ····iput-object·p3,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->ecBlocks:[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;
  
109 ····.line·56109 ····.line·56
110 ····const/4·v3,·0x0110 ····const/4·v2,·0x0
  
111 ····.line·57111 ····.line·57
112 ····.local·v3,·"total":I112 ····.local·v2,·"total":I
113 ····aget-object·v5,·p3,·v4113 ····aget-object·v4,·p3,·v3
  
114 ····invoke-virtual·{v5},·Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;->getECCodewordsPerBlock()I114 ····invoke-virtual·{v4},·Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;->getECCodewordsPerBlock()I
  
115 ····move-result·v1115 ····move-result·v1
  
116 ····.line·58116 ····.line·58
117 ····.local·v1,·"ecCodewords":I117 ····.local·v1,·"ecCodewords":I
118 ····aget-object·v5,·p3,·v4118 ····aget-object·v4,·p3,·v3
  
119 ····invoke-virtual·{v5},·Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/qrcode/decoder/Version$ECB;119 ····invoke-virtual·{v4},·Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/qrcode/decoder/Version$ECB;
  
120 ····move-result-object·v2120 ····move-result-object·v4
  
121 ····.line·59121 ····.line·59
122 ····.local·v2,·"ecbArray":[Lcom/google/zxing/qrcode/decoder/Version$ECB; 
123 ····array-length·v5,·v2122 ····array-length·v5,·v4
  
124 ····:goto_0123 ····:goto_0
125 ····if-ge·v4,·v5,·:cond_0124 ····if-ge·v3,·v5,·:cond_0
  
126 ····aget-object·v0,·v2,·v4125 ····aget-object·v0,·v4,·v3
  
127 ····.line·60126 ····.line·60
128 ····.local·v0,·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB;127 ····.local·v0,·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB;
129 ····invoke-virtual·{v0},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I128 ····invoke-virtual·{v0},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I
  
130 ····move-result·v6129 ····move-result·v6
  
Offset 150, 25 lines modifiedOffset 149, 25 lines modified
  
150 ····move-result·v7149 ····move-result·v7
  
151 ····add-int/2addr·v7,·v1150 ····add-int/2addr·v7,·v1
  
152 ····mul-int/2addr·v6,·v7151 ····mul-int/2addr·v6,·v7
  
153 ····add-int/2addr·v3,·v6152 ····add-int/2addr·v2,·v6
  
154 ····.line·59153 ····.line·59
155 ····add-int/lit8·v4,·v4,·0x1154 ····add-int/lit8·v3,·v3,·0x1
  
156 ····goto·:goto_0155 ····goto·:goto_0
  
157 ····.line·62156 ····.line·62
158 ····.end·local·v0····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB;157 ····.end·local·v0····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB;
159 ····:cond_0158 ····:cond_0
160 ····iput·v3,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->totalCodewords:I159 ····iput·v2,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->totalCodewords:I
  
161 ····.line·63160 ····.line·63
162 ····return-void161 ····return-void
163 .end·method162 .end·method
  
164 .method·private·static·buildVersions()[Lcom/google/zxing/qrcode/decoder/Version;163 .method·private·static·buildVersions()[Lcom/google/zxing/qrcode/decoder/Version;
165 ····.locals·14164 ····.locals·14
Offset 7099, 74 lines modifiedOffset 7098, 70 lines modified
7099 ····:cond_37098 ····:cond_3
7100 ····const/4·v5,·0x07099 ····const/4·v5,·0x0
  
7101 ····goto·:goto_17100 ····goto·:goto_1
7102 .end·method7101 .end·method
  
7103 .method·public·static·getProvisionalVersionForDimension(I)Lcom/google/zxing/qrcode/decoder/Version;7102 .method·public·static·getProvisionalVersionForDimension(I)Lcom/google/zxing/qrcode/decoder/Version;
7104 ····.locals·37103 ····.locals·2
7105 ····.param·p0,·"dimension"····#·I7104 ····.param·p0,·"dimension"····#·I
7106 ····.annotation·system·Ldalvik/annotation/Throws;7105 ····.annotation·system·Ldalvik/annotation/Throws;
7107 ········value·=·{7106 ········value·=·{
7108 ············Lcom/google/zxing/FormatException;7107 ············Lcom/google/zxing/FormatException;
7109 ········}7108 ········}
7110 ····.end·annotation7109 ····.end·annotation
  
7111 ····.prologue7110 ····.prologue
7112 ····.line·937111 ····.line·93
7113 ····rem-int/lit8·v1,·p0,·0x47112 ····rem-int/lit8·v0,·p0,·0x4
  
7114 ····const/4·v2,·0x17113 ····const/4·v1,·0x1
  
7115 ····if-eq·v1,·v2,·:cond_07114 ····if-eq·v0,·v1,·:cond_0
  
7116 ····.line·947115 ····.line·94
7117 ····invoke-static·{},·Lcom/google/zxing/FormatException;->getFormatInstance()Lcom/google/zxing/FormatException;7116 ····invoke-static·{},·Lcom/google/zxing/FormatException;->getFormatInstance()Lcom/google/zxing/FormatException;
  
7118 ····move-result-object·v17117 ····move-result-object·v0
  
7119 ····throw·v17118 ····throw·v0
  
7120 ····.line·977119 ····.line·97
7121 ····:cond_07120 ····:cond_0
7122 ····add-int/lit8·v1,·p0,·-0x117121 ····add-int/lit8·v0,·p0,·-0x11
  
7123 ····:try_start_07122 ····:try_start_0
7124 ····div-int/lit8·v1,·v1,·0x47123 ····div-int/lit8·v0,·v0,·0x4
  
7125 ····invoke-static·{v1},·Lcom/google/zxing/qrcode/decoder/Version;->getVersionForNumber(I)Lcom/google/zxing/qrcode/decoder/Version;7124 ····invoke-static·{v0},·Lcom/google/zxing/qrcode/decoder/Version;->getVersionForNumber(I)Lcom/google/zxing/qrcode/decoder/Version;
7126 ····:try_end_07125 ····:try_end_0
7127 ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_07126 ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0
  
7128 ····move-result-object·v17127 ····move-result-object·v0
  
7129 ····return-object·v17128 ····return-object·v0
  
Max diff block lines reached; 1676/5944 bytes (28.20%) of diff not shown.
4.73 KB
smali/com/google/zxing/qrcode/decoder/BitMatrixParser.smali
    
Offset 57, 58 lines modifiedOffset 57, 55 lines modified
57 ····iput-object·p1,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix;57 ····iput-object·p1,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix;
  
58 ····.line·4258 ····.line·42
59 ····return-void59 ····return-void
60 .end·method60 .end·method
  
61 .method·private·copyBit(III)I61 .method·private·copyBit(III)I
62 ····.locals·262 ····.locals·1
63 ····.param·p1,·"i"····#·I63 ····.param·p1,·"i"····#·I
64 ····.param·p2,·"j"····#·I64 ····.param·p2,·"j"····#·I
65 ····.param·p3,·"versionBits"····#·I65 ····.param·p3,·"versionBits"····#·I
  
66 ····.prologue66 ····.prologue
67 ····.line·14167 ····.line·141
68 ····iget-boolean·v1,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->mirror:Z68 ····iget-boolean·v0,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->mirror:Z
  
69 ····if-eqz·v1,·:cond_069 ····if-eqz·v0,·:cond_0
  
70 ····iget-object·v1,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix;70 ····iget-object·v0,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix;
  
71 ····invoke-virtual·{v1,·p2,·p1},·Lcom/google/zxing/common/BitMatrix;->get(II)Z71 ····invoke-virtual·{v0,·p2,·p1},·Lcom/google/zxing/common/BitMatrix;->get(II)Z
  
72 ····move-result·v072 ····move-result·v0
  
73 ····.line·14273 ····.line·142
74 ····.local·v0,·"bit":Z 
75 ····:goto_074 ····:goto_0
76 ····if-eqz·v0,·:cond_175 ····if-eqz·v0,·:cond_1
  
77 ····shl-int/lit8·v1,·p3,·0x176 ····shl-int/lit8·v0,·p3,·0x1
  
78 ····or-int/lit8·v1,·v1,·0x177 ····or-int/lit8·v0,·v0,·0x1
  
79 ····:goto_178 ····:goto_1
80 ····return·v179 ····return·v0
  
81 ····.line·14180 ····.line·141
82 ····.end·local·v0····#·"bit":Z 
83 ····:cond_081 ····:cond_0
84 ····iget-object·v1,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix;82 ····iget-object·v0,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix;
  
85 ····invoke-virtual·{v1,·p1,·p2},·Lcom/google/zxing/common/BitMatrix;->get(II)Z83 ····invoke-virtual·{v0,·p1,·p2},·Lcom/google/zxing/common/BitMatrix;->get(II)Z
  
86 ····move-result·v084 ····move-result·v0
  
87 ····goto·:goto_085 ····goto·:goto_0
  
88 ····.line·14286 ····.line·142
89 ····.restart·local·v0····#·"bit":Z 
90 ····:cond_187 ····:cond_1
91 ····shl-int/lit8·v1,·p3,·0x188 ····shl-int/lit8·v0,·p3,·0x1
  
92 ····goto·:goto_189 ····goto·:goto_1
93 .end·method90 .end·method
  
  
94 #·virtual·methods91 #·virtual·methods
95 .method·mirror()V92 .method·mirror()V
Offset 202, 21 lines modifiedOffset 199, 23 lines modified
202 ····.local·v8,·"formatInfo":Lcom/google/zxing/qrcode/decoder/FormatInformation;199 ····.local·v8,·"formatInfo":Lcom/google/zxing/qrcode/decoder/FormatInformation;
203 ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readVersion()Lcom/google/zxing/qrcode/decoder/Version;200 ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readVersion()Lcom/google/zxing/qrcode/decoder/Version;
  
204 ····move-result-object·v16201 ····move-result-object·v16
  
205 ····.line·160202 ····.line·160
206 ····.local·v16,·"version":Lcom/google/zxing/qrcode/decoder/Version;203 ····.local·v16,·"version":Lcom/google/zxing/qrcode/decoder/Version;
207 ····invoke-virtual·{v8},·Lcom/google/zxing/qrcode/decoder/FormatInformation;->getDataMask()B204 ····invoke-static·{},·Lcom/google/zxing/qrcode/decoder/DataMask;->values()[Lcom/google/zxing/qrcode/decoder/DataMask;
  
208 ····move-result·v17205 ····move-result-object·v17
  
209 ····invoke-static/range·{v17·..·v17},·Lcom/google/zxing/qrcode/decoder/DataMask;->forReference(I)Lcom/google/zxing/qrcode/decoder/DataMask;206 ····invoke-virtual·{v8},·Lcom/google/zxing/qrcode/decoder/FormatInformation;->getDataMask()B
  
210 ····move-result-object·v6207 ····move-result·v18
  
 208 ····aget-object·v6,·v17,·v18
  
211 ····.line·161209 ····.line·161
212 ····.local·v6,·"dataMask":Lcom/google/zxing/qrcode/decoder/DataMask;210 ····.local·v6,·"dataMask":Lcom/google/zxing/qrcode/decoder/DataMask;
213 ····move-object/from16·v0,·p0211 ····move-object/from16·v0,·p0
  
214 ····iget-object·v0,·v0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix;212 ····iget-object·v0,·v0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix;
  
Offset 790, 37 lines modifiedOffset 789, 39 lines modified
  
790 ····move-result-object·v7789 ····move-result-object·v7
  
791 ····throw·v7790 ····throw·v7
792 .end·method791 .end·method
  
793 .method·remask()V792 .method·remask()V
794 ····.locals·3793 ····.locals·4
  
795 ····.prologue794 ····.prologue
796 ····.line·211795 ····.line·211
797 ····iget-object·v2,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->parsedFormatInfo:Lcom/google/zxing/qrcode/decoder/FormatInformation;796 ····iget-object·v2,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->parsedFormatInfo:Lcom/google/zxing/qrcode/decoder/FormatInformation;
  
798 ····if-nez·v2,·:cond_0797 ····if-nez·v2,·:cond_0
  
799 ····.line·217798 ····.line·217
800 ····:goto_0799 ····:goto_0
801 ····return-void800 ····return-void
  
802 ····.line·214801 ····.line·214
803 ····:cond_0802 ····:cond_0
804 ····iget-object·v2,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->parsedFormatInfo:Lcom/google/zxing/qrcode/decoder/FormatInformation;803 ····invoke-static·{},·Lcom/google/zxing/qrcode/decoder/DataMask;->values()[Lcom/google/zxing/qrcode/decoder/DataMask;
  
805 ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/decoder/FormatInformation;->getDataMask()B804 ····move-result-object·v2
  
806 ····move-result·v2805 ····iget-object·v3,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->parsedFormatInfo:Lcom/google/zxing/qrcode/decoder/FormatInformation;
  
807 ····invoke-static·{v2},·Lcom/google/zxing/qrcode/decoder/DataMask;->forReference(I)Lcom/google/zxing/qrcode/decoder/DataMask;806 ····invoke-virtual·{v3},·Lcom/google/zxing/qrcode/decoder/FormatInformation;->getDataMask()B
  
 807 ····move-result·v3
  
808 ····move-result-object·v0808 ····aget-object·v0,·v2,·v3
  
809 ····.line·215809 ····.line·215
810 ····.local·v0,·"dataMask":Lcom/google/zxing/qrcode/decoder/DataMask;810 ····.local·v0,·"dataMask":Lcom/google/zxing/qrcode/decoder/DataMask;
811 ····iget-object·v2,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix;811 ····iget-object·v2,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix;
  
812 ····invoke-virtual·{v2},·Lcom/google/zxing/common/BitMatrix;->getHeight()I812 ····invoke-virtual·{v2},·Lcom/google/zxing/common/BitMatrix;->getHeight()I
  
73.1 KB
smali/com/google/zxing/qrcode/encoder/Encoder.smali
    
Offset 145, 59 lines modifiedOffset 145, 59 lines modified
145 ····.annotation·system·Ldalvik/annotation/Throws;145 ····.annotation·system·Ldalvik/annotation/Throws;
146 ········value·=·{146 ········value·=·{
147 ············Lcom/google/zxing/WriterException;147 ············Lcom/google/zxing/WriterException;
148 ········}148 ········}
149 ····.end·annotation149 ····.end·annotation
  
150 ····.prologue150 ····.prologue
151 ····.line·537151 ····.line·568
152 ····:try_start_0152 ····:try_start_0
153 ····invoke-virtual·{p0,·p2},·Ljava/lang/String;->getBytes(Ljava/lang/String;)[B153 ····invoke-virtual·{p0,·p2},·Ljava/lang/String;->getBytes(Ljava/lang/String;)[B
154 ····:try_end_0154 ····:try_end_0
155 ····.catch·Ljava/io/UnsupportedEncodingException;·{:try_start_0·..·:try_end_0}·:catch_0155 ····.catch·Ljava/io/UnsupportedEncodingException;·{:try_start_0·..·:try_end_0}·:catch_0
  
156 ····move-result-object·v1156 ····move-result-object·v1
  
157 ····.line·541157 ····.line·572
158 ····.local·v1,·"bytes":[B158 ····.local·v1,·"bytes":[B
159 ····array-length·v4,·v1159 ····array-length·v4,·v1
  
160 ····const/4·v3,·0x0160 ····const/4·v3,·0x0
  
161 ····:goto_0161 ····:goto_0
162 ····if-ge·v3,·v4,·:cond_0162 ····if-ge·v3,·v4,·:cond_0
  
163 ····aget-byte·v0,·v1,·v3163 ····aget-byte·v0,·v1,·v3
  
164 ····.line·542164 ····.line·573
165 ····.local·v0,·"b":B165 ····.local·v0,·"b":B
166 ····const/16·v5,·0x8166 ····const/16·v5,·0x8
  
167 ····invoke-virtual·{p1,·v0,·v5},·Lcom/google/zxing/common/BitArray;->appendBits(II)V167 ····invoke-virtual·{p1,·v0,·v5},·Lcom/google/zxing/common/BitArray;->appendBits(II)V
  
168 ····.line·541168 ····.line·572
169 ····add-int/lit8·v3,·v3,·0x1169 ····add-int/lit8·v3,·v3,·0x1
  
170 ····goto·:goto_0170 ····goto·:goto_0
  
171 ····.line·538171 ····.line·569
172 ····.end·local·v0····#·"b":B172 ····.end·local·v0····#·"b":B
173 ····.end·local·v1····#·"bytes":[B173 ····.end·local·v1····#·"bytes":[B
174 ····:catch_0174 ····:catch_0
175 ····move-exception·v2175 ····move-exception·v2
  
176 ····.line·539176 ····.line·570
177 ····.local·v2,·"uee":Ljava/io/UnsupportedEncodingException;177 ····.local·v2,·"uee":Ljava/io/UnsupportedEncodingException;
178 ····new-instance·v3,·Lcom/google/zxing/WriterException;178 ····new-instance·v3,·Lcom/google/zxing/WriterException;
  
179 ····invoke-direct·{v3,·v2},·Lcom/google/zxing/WriterException;-><init>(Ljava/lang/Throwable;)V179 ····invoke-direct·{v3,·v2},·Lcom/google/zxing/WriterException;-><init>(Ljava/lang/Throwable;)V
  
180 ····throw·v3180 ····throw·v3
  
181 ····.line·544181 ····.line·575
182 ····.end·local·v2····#·"uee":Ljava/io/UnsupportedEncodingException;182 ····.end·local·v2····#·"uee":Ljava/io/UnsupportedEncodingException;
183 ····.restart·local·v1····#·"bytes":[B183 ····.restart·local·v1····#·"bytes":[B
184 ····:cond_0184 ····:cond_0
185 ····return-void185 ····return-void
186 .end·method186 .end·method
  
187 .method·static·appendAlphanumericBytes(Ljava/lang/CharSequence;Lcom/google/zxing/common/BitArray;)V187 .method·static·appendAlphanumericBytes(Ljava/lang/CharSequence;Lcom/google/zxing/common/BitArray;)V
Offset 209, 105 lines modifiedOffset 209, 106 lines modified
209 ············Lcom/google/zxing/WriterException;209 ············Lcom/google/zxing/WriterException;
210 ········}210 ········}
211 ····.end·annotation211 ····.end·annotation
  
212 ····.prologue212 ····.prologue
213 ····const/4·v6,·-0x1213 ····const/4·v6,·-0x1
  
214 ····.line·510214 ····.line·541
215 ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I215 ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I
  
216 ····move-result·v3216 ····move-result·v3
  
217 ····.line·511217 ····.line·542
218 ····.local·v3,·"length":I218 ····.local·v3,·"length":I
219 ····const/4·v2,·0x0219 ····const/4·v2,·0x0
  
220 ····.line·512220 ····.line·543
221 ····.local·v2,·"i":I221 ····.local·v2,·"i":I
222 ····:goto_0222 ····:goto_0
223 ····if-ge·v2,·v3,·:cond_3223 ····if-ge·v2,·v3,·:cond_3
  
224 ····.line·513224 ····.line·544
225 ····invoke-interface·{p0,·v2},·Ljava/lang/CharSequence;->charAt(I)C225 ····invoke-interface·{p0,·v2},·Ljava/lang/CharSequence;->charAt(I)C
  
226 ····move-result·v4226 ····move-result·v4
  
227 ····invoke-static·{v4},·Lcom/google/zxing/qrcode/encoder/Encoder;->getAlphanumericCode(I)I227 ····invoke-static·{v4},·Lcom/google/zxing/qrcode/encoder/Encoder;->getAlphanumericCode(I)I
  
228 ····move-result·v0228 ····move-result·v0
  
229 ····.line·514229 ····.line·545
230 ····.local·v0,·"code1":I230 ····.local·v0,·"code1":I
231 ····if-ne·v0,·v6,·:cond_0231 ····if-ne·v0,·v6,·:cond_0
  
232 ····.line·515232 ····.line·546
233 ····new-instance·v4,·Lcom/google/zxing/WriterException;233 ····new-instance·v4,·Lcom/google/zxing/WriterException;
  
234 ····invoke-direct·{v4},·Lcom/google/zxing/WriterException;-><init>()V234 ····invoke-direct·{v4},·Lcom/google/zxing/WriterException;-><init>()V
  
235 ····throw·v4235 ····throw·v4
  
236 ····.line·517236 ····.line·548
237 ····:cond_0237 ····:cond_0
238 ····add-int/lit8·v4,·v2,·0x1238 ····add-int/lit8·v4,·v2,·0x1
  
239 ····if-ge·v4,·v3,·:cond_2239 ····if-ge·v4,·v3,·:cond_2
  
240 ····.line·518240 ····.line·549
241 ····add-int/lit8·v4,·v2,·0x1241 ····add-int/lit8·v4,·v2,·0x1
  
242 ····invoke-interface·{p0,·v4},·Ljava/lang/CharSequence;->charAt(I)C242 ····invoke-interface·{p0,·v4},·Ljava/lang/CharSequence;->charAt(I)C
  
243 ····move-result·v4243 ····move-result·v4
  
244 ····invoke-static·{v4},·Lcom/google/zxing/qrcode/encoder/Encoder;->getAlphanumericCode(I)I244 ····invoke-static·{v4},·Lcom/google/zxing/qrcode/encoder/Encoder;->getAlphanumericCode(I)I
  
245 ····move-result·v1245 ····move-result·v1
  
246 ····.line·519246 ····.line·550
247 ····.local·v1,·"code2":I247 ····.local·v1,·"code2":I
248 ····if-ne·v1,·v6,·:cond_1248 ····if-ne·v1,·v6,·:cond_1
  
249 ····.line·520249 ····.line·551
250 ····new-instance·v4,·Lcom/google/zxing/WriterException;250 ····new-instance·v4,·Lcom/google/zxing/WriterException;
  
251 ····invoke-direct·{v4},·Lcom/google/zxing/WriterException;-><init>()V251 ····invoke-direct·{v4},·Lcom/google/zxing/WriterException;-><init>()V
  
Max diff block lines reached; 71638/74772 bytes (95.81%) of diff not shown.
27.3 KB
smali/com/google/zxing/qrcode/encoder/MatrixUtil.smali
    
Offset 1265, 60 lines modifiedOffset 1265, 60 lines modified
  
1265 .method·static·calculateBCHCode(II)I1265 .method·static·calculateBCHCode(II)I
1266 ····.locals·31266 ····.locals·3
1267 ····.param·p0,·"value"····#·I1267 ····.param·p0,·"value"····#·I
1268 ····.param·p1,·"poly"····#·I1268 ····.param·p1,·"poly"····#·I
  
1269 ····.prologue1269 ····.prologue
1270 ····.line·3081270 ····.line·303
1271 ····if-nez·p1,·:cond_01271 ····if-nez·p1,·:cond_0
  
1272 ····.line·3091272 ····.line·304
1273 ····new-instance·v1,·Ljava/lang/IllegalArgumentException;1273 ····new-instance·v1,·Ljava/lang/IllegalArgumentException;
  
1274 ····const-string·v2,·"0·polynomial"1274 ····const-string·v2,·"0·polynomial"
  
1275 ····invoke-direct·{v1,·v2},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V1275 ····invoke-direct·{v1,·v2},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
  
1276 ····throw·v11276 ····throw·v1
  
1277 ····.line·3131277 ····.line·308
1278 ····:cond_01278 ····:cond_0
1279 ····invoke-static·{p1},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I1279 ····invoke-static·{p1},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I
  
1280 ····move-result·v01280 ····move-result·v0
  
1281 ····.line·3141281 ····.line·309
1282 ····.local·v0,·"msbSetInPoly":I1282 ····.local·v0,·"msbSetInPoly":I
1283 ····add-int/lit8·v1,·v0,·-0x11283 ····add-int/lit8·v1,·v0,·-0x1
  
1284 ····shl-int/2addr·p0,·v11284 ····shl-int/2addr·p0,·v1
  
1285 ····.line·3161285 ····.line·311
1286 ····:goto_01286 ····:goto_0
1287 ····invoke-static·{p0},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I1287 ····invoke-static·{p0},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I
  
1288 ····move-result·v11288 ····move-result·v1
  
1289 ····if-lt·v1,·v0,·:cond_11289 ····if-lt·v1,·v0,·:cond_1
  
1290 ····.line·3171290 ····.line·312
1291 ····invoke-static·{p0},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I1291 ····invoke-static·{p0},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I
  
1292 ····move-result·v11292 ····move-result·v1
  
1293 ····sub-int/2addr·v1,·v01293 ····sub-int/2addr·v1,·v0
  
1294 ····shl-int·v1,·p1,·v11294 ····shl-int·v1,·p1,·v1
  
1295 ····xor-int/2addr·p0,·v11295 ····xor-int/2addr·p0,·v1
  
1296 ····goto·:goto_01296 ····goto·:goto_0
  
1297 ····.line·3201297 ····.line·315
1298 ····:cond_11298 ····:cond_1
1299 ····return·p01299 ····return·p0
1300 .end·method1300 .end·method
  
1301 .method·static·clearMatrix(Lcom/google/zxing/qrcode/encoder/ByteMatrix;)V1301 .method·static·clearMatrix(Lcom/google/zxing/qrcode/encoder/ByteMatrix;)V
1302 ····.locals·11302 ····.locals·1
1303 ····.param·p0,·"matrix"····#·Lcom/google/zxing/qrcode/encoder/ByteMatrix;1303 ····.param·p0,·"matrix"····#·Lcom/google/zxing/qrcode/encoder/ByteMatrix;
Offset 1368, 47 lines modifiedOffset 1368, 47 lines modified
1368 ············Lcom/google/zxing/WriterException;1368 ············Lcom/google/zxing/WriterException;
1369 ········}1369 ········}
1370 ····.end·annotation1370 ····.end·annotation
  
1371 ····.prologue1371 ····.prologue
1372 ····const/16·v2,·0x81372 ····const/16·v2,·0x8
  
1373 ····.line·3811373 ····.line·376
1374 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I1374 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I
  
1375 ····move-result·v01375 ····move-result·v0
  
1376 ····add-int/lit8·v0,·v0,·-0x81376 ····add-int/lit8·v0,·v0,·-0x8
  
1377 ····invoke-virtual·{p0,·v2,·v0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->get(II)B1377 ····invoke-virtual·{p0,·v2,·v0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->get(II)B
  
1378 ····move-result·v01378 ····move-result·v0
  
1379 ····if-nez·v0,·:cond_01379 ····if-nez·v0,·:cond_0
  
1380 ····.line·3821380 ····.line·377
1381 ····new-instance·v0,·Lcom/google/zxing/WriterException;1381 ····new-instance·v0,·Lcom/google/zxing/WriterException;
  
1382 ····invoke-direct·{v0},·Lcom/google/zxing/WriterException;-><init>()V1382 ····invoke-direct·{v0},·Lcom/google/zxing/WriterException;-><init>()V
  
1383 ····throw·v01383 ····throw·v0
  
1384 ····.line·3841384 ····.line·379
1385 ····:cond_01385 ····:cond_0
1386 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I1386 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I
  
1387 ····move-result·v01387 ····move-result·v0
  
1388 ····add-int/lit8·v0,·v0,·-0x81388 ····add-int/lit8·v0,·v0,·-0x8
  
1389 ····const/4·v1,·0x11389 ····const/4·v1,·0x1
  
1390 ····invoke-virtual·{p0,·v2,·v0,·v1},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->set(III)V1390 ····invoke-virtual·{p0,·v2,·v0,·v1},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->set(III)V
  
1391 ····.line·3851391 ····.line·380
1392 ····return-void1392 ····return-void
1393 .end·method1393 .end·method
  
1394 .method·static·embedDataBits(Lcom/google/zxing/common/BitArray;ILcom/google/zxing/qrcode/encoder/ByteMatrix;)V1394 .method·static·embedDataBits(Lcom/google/zxing/common/BitArray;ILcom/google/zxing/qrcode/encoder/ByteMatrix;)V
1395 ····.locals·101395 ····.locals·10
1396 ····.param·p0,·"dataBits"····#·Lcom/google/zxing/common/BitArray;1396 ····.param·p0,·"dataBits"····#·Lcom/google/zxing/common/BitArray;
1397 ····.param·p1,·"maskPattern"····#·I1397 ····.param·p1,·"maskPattern"····#·I
Offset 1485, 24 lines modifiedOffset 1485, 17 lines modified
  
1485 ····move-result·v71485 ····move-result·v7
  
1486 ····invoke-static·{v7},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->isEmpty(I)Z1486 ····invoke-static·{v7},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->isEmpty(I)Z
  
1487 ····move-result·v71487 ····move-result·v7
  
1488 ····if-nez·v7,·:cond_11488 ····if-eqz·v7,·:cond_2
  
1489 ····.line·234 
1490 ····:goto_3 
1491 ····add-int/lit8·v3,·v3,·0x1 
  
1492 ····goto·:goto_2 
  
1493 ····.line·2411489 ····.line·241
1494 ····:cond_1 
1495 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitArray;->getSize()I1490 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitArray;->getSize()I
Max diff block lines reached; 24804/27819 bytes (89.16%) of diff not shown.
12.8 KB
smali/com/google/zxing/qrcode/encoder/MaskUtil.smali
    
Offset 52, 86 lines modifiedOffset 52, 86 lines modified
52 ····.locals·1152 ····.locals·11
53 ····.param·p0,·"matrix"····#·Lcom/google/zxing/qrcode/encoder/ByteMatrix;53 ····.param·p0,·"matrix"····#·Lcom/google/zxing/qrcode/encoder/ByteMatrix;
54 ····.param·p1,·"isHorizontal"····#·Z54 ····.param·p1,·"isHorizontal"····#·Z
  
55 ····.prologue55 ····.prologue
56 ····const/4·v10,·0x556 ····const/4·v10,·0x5
  
57 ····.line·19157 ····.line·195
58 ····const/4·v7,·0x058 ····const/4·v7,·0x0
  
59 ····.line·19259 ····.line·196
60 ····.local·v7,·"penalty":I60 ····.local·v7,·"penalty":I
61 ····if-eqz·p1,·:cond_061 ····if-eqz·p1,·:cond_0
  
62 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I62 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I
  
63 ····move-result·v363 ····move-result·v3
  
64 ····.line·19364 ····.line·197
65 ····.local·v3,·"iLimit":I65 ····.local·v3,·"iLimit":I
66 ····:goto_066 ····:goto_0
67 ····if-eqz·p1,·:cond_167 ····if-eqz·p1,·:cond_1
  
68 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I68 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I
  
69 ····move-result·v569 ····move-result·v5
  
70 ····.line·19470 ····.line·198
71 ····.local·v5,·"jLimit":I71 ····.local·v5,·"jLimit":I
72 ····:goto_172 ····:goto_1
73 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getArray()[[B73 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getArray()[[B
  
74 ····move-result-object·v074 ····move-result-object·v0
  
75 ····.line·19575 ····.line·199
76 ····.local·v0,·"array":[[B76 ····.local·v0,·"array":[[B
77 ····const/4·v2,·0x077 ····const/4·v2,·0x0
  
78 ····.local·v2,·"i":I78 ····.local·v2,·"i":I
79 ····:goto_279 ····:goto_2
80 ····if-ge·v2,·v3,·:cond_780 ····if-ge·v2,·v3,·:cond_7
  
81 ····.line·19681 ····.line·200
82 ····const/4·v6,·0x082 ····const/4·v6,·0x0
  
83 ····.line·19783 ····.line·201
84 ····.local·v6,·"numSameBitCells":I84 ····.local·v6,·"numSameBitCells":I
85 ····const/4·v8,·-0x185 ····const/4·v8,·-0x1
  
86 ····.line·19886 ····.line·202
87 ····.local·v8,·"prevBit":I87 ····.local·v8,·"prevBit":I
88 ····const/4·v4,·0x088 ····const/4·v4,·0x0
  
89 ····.local·v4,·"j":I89 ····.local·v4,·"j":I
90 ····:goto_390 ····:goto_3
91 ····if-ge·v4,·v5,·:cond_591 ····if-ge·v4,·v5,·:cond_5
  
92 ····.line·19992 ····.line·203
93 ····if-eqz·p1,·:cond_293 ····if-eqz·p1,·:cond_2
  
94 ····aget-object·v9,·v0,·v294 ····aget-object·v9,·v0,·v2
  
95 ····aget-byte·v1,·v9,·v495 ····aget-byte·v1,·v9,·v4
  
96 ····.line·20096 ····.line·204
97 ····.local·v1,·"bit":I97 ····.local·v1,·"bit":I
98 ····:goto_498 ····:goto_4
99 ····if-ne·v1,·v8,·:cond_399 ····if-ne·v1,·v8,·:cond_3
  
100 ····.line·201100 ····.line·205
101 ····add-int/lit8·v6,·v6,·0x1101 ····add-int/lit8·v6,·v6,·0x1
  
102 ····.line·198102 ····.line·202
103 ····:goto_5103 ····:goto_5
104 ····add-int/lit8·v4,·v4,·0x1104 ····add-int/lit8·v4,·v4,·0x1
  
105 ····goto·:goto_3105 ····goto·:goto_3
  
106 ····.line·192106 ····.line·196
107 ····.end·local·v0····#·"array":[[B107 ····.end·local·v0····#·"array":[[B
108 ····.end·local·v1····#·"bit":I108 ····.end·local·v1····#·"bit":I
109 ····.end·local·v2····#·"i":I109 ····.end·local·v2····#·"i":I
110 ····.end·local·v3····#·"iLimit":I110 ····.end·local·v3····#·"iLimit":I
111 ····.end·local·v4····#·"j":I111 ····.end·local·v4····#·"j":I
112 ····.end·local·v5····#·"jLimit":I112 ····.end·local·v5····#·"jLimit":I
113 ····.end·local·v6····#·"numSameBitCells":I113 ····.end·local·v6····#·"numSameBitCells":I
Offset 139, 77 lines modifiedOffset 139, 77 lines modified
139 ····:cond_0139 ····:cond_0
140 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I140 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I
  
141 ····move-result·v3141 ····move-result·v3
  
142 ····goto·:goto_0142 ····goto·:goto_0
  
143 ····.line·193143 ····.line·197
144 ····.restart·local·v3····#·"iLimit":I144 ····.restart·local·v3····#·"iLimit":I
145 ····:cond_1145 ····:cond_1
146 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I146 ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I
  
147 ····move-result·v5147 ····move-result·v5
  
148 ····goto·:goto_1148 ····goto·:goto_1
  
149 ····.line·199149 ····.line·203
150 ····.restart·local·v0····#·"array":[[B150 ····.restart·local·v0····#·"array":[[B
151 ····.restart·local·v2····#·"i":I151 ····.restart·local·v2····#·"i":I
152 ····.restart·local·v4····#·"j":I152 ····.restart·local·v4····#·"j":I
153 ····.restart·local·v5····#·"jLimit":I153 ····.restart·local·v5····#·"jLimit":I
154 ····.restart·local·v6····#·"numSameBitCells":I154 ····.restart·local·v6····#·"numSameBitCells":I
155 ····.restart·local·v8····#·"prevBit":I155 ····.restart·local·v8····#·"prevBit":I
156 ····:cond_2156 ····:cond_2
157 ····aget-object·v9,·v0,·v4157 ····aget-object·v9,·v0,·v4
  
158 ····aget-byte·v1,·v9,·v2158 ····aget-byte·v1,·v9,·v2
  
159 ····goto·:goto_4159 ····goto·:goto_4
  
160 ····.line·203160 ····.line·207
161 ····.restart·local·v1····#·"bit":I161 ····.restart·local·v1····#·"bit":I
162 ····:cond_3162 ····:cond_3
163 ····if-lt·v6,·v10,·:cond_4163 ····if-lt·v6,·v10,·:cond_4
  
164 ····.line·204164 ····.line·208
165 ····add-int/lit8·v9,·v6,·-0x5165 ····add-int/lit8·v9,·v6,·-0x5
  
166 ····add-int/lit8·v9,·v9,·0x3166 ····add-int/lit8·v9,·v9,·0x3
  
Max diff block lines reached; 10185/13044 bytes (78.08%) of diff not shown.
445 B
smali/com/google/zxing/qrcode/encoder/Encoder$1.smali
    
Offset 19, 15 lines modifiedOffset 19, 15 lines modified
  
  
19 #·direct·methods19 #·direct·methods
20 .method·static·constructor·<clinit>()V20 .method·static·constructor·<clinit>()V
21 ····.locals·321 ····.locals·3
  
22 ····.prologue22 ····.prologue
23 ····.line·46723 ····.line·498
24 ····invoke-static·{},·Lcom/google/zxing/qrcode/decoder/Mode;->values()[Lcom/google/zxing/qrcode/decoder/Mode;24 ····invoke-static·{},·Lcom/google/zxing/qrcode/decoder/Mode;->values()[Lcom/google/zxing/qrcode/decoder/Mode;
  
25 ····move-result-object·v025 ····move-result-object·v0
  
26 ····array-length·v0,·v026 ····array-length·v0,·v0
  
27 ····new-array·v0,·v0,·[I27 ····new-array·v0,·v0,·[I
7.32 KB
smali/com/google/zxing/maxicode/MaxiCodeReader.smali
    
Offset 60, 88 lines modifiedOffset 60, 88 lines modified
60 ····.end·annotation60 ····.end·annotation
  
61 ····.prologue61 ····.prologue
62 ····const/16·v13,·0x2162 ····const/16·v13,·0x21
  
63 ····const/16·v12,·0x1e63 ····const/16·v12,·0x1e
  
64 ····.line·10264 ····.line·101
65 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getEnclosingRectangle()[I65 ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getEnclosingRectangle()[I
  
66 ····move-result-object·v166 ····move-result-object·v1
  
67 ····.line·10367 ····.line·102
68 ····.local·v1,·"enclosingRectangle":[I68 ····.local·v1,·"enclosingRectangle":[I
69 ····if-nez·v1,·:cond_069 ····if-nez·v1,·:cond_0
  
70 ····.line·10470 ····.line·103
71 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;71 ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException;
  
72 ····move-result-object·v1072 ····move-result-object·v10
  
73 ····throw·v1073 ····throw·v10
  
74 ····.line·10774 ····.line·106
75 ····:cond_075 ····:cond_0
76 ····const/4·v10,·0x076 ····const/4·v10,·0x0
  
77 ····aget·v5,·v1,·v1077 ····aget·v5,·v1,·v10
  
78 ····.line·10878 ····.line·107
79 ····.local·v5,·"left":I79 ····.local·v5,·"left":I
80 ····const/4·v10,·0x180 ····const/4·v10,·0x1
  
81 ····aget·v6,·v1,·v1081 ····aget·v6,·v1,·v10
  
82 ····.line·10982 ····.line·108
83 ····.local·v6,·"top":I83 ····.local·v6,·"top":I
84 ····const/4·v10,·0x284 ····const/4·v10,·0x2
  
85 ····aget·v7,·v1,·v1085 ····aget·v7,·v1,·v10
  
86 ····.line·11086 ····.line·109
87 ····.local·v7,·"width":I87 ····.local·v7,·"width":I
88 ····const/4·v10,·0x388 ····const/4·v10,·0x3
  
89 ····aget·v2,·v1,·v1089 ····aget·v2,·v1,·v10
  
90 ····.line·11390 ····.line·112
91 ····.local·v2,·"height":I91 ····.local·v2,·"height":I
92 ····new-instance·v0,·Lcom/google/zxing/common/BitMatrix;92 ····new-instance·v0,·Lcom/google/zxing/common/BitMatrix;
  
93 ····invoke-direct·{v0,·v12,·v13},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V93 ····invoke-direct·{v0,·v12,·v13},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V
  
94 ····.line·11494 ····.line·113
95 ····.local·v0,·"bits":Lcom/google/zxing/common/BitMatrix;95 ····.local·v0,·"bits":Lcom/google/zxing/common/BitMatrix;
96 ····const/4·v9,·0x096 ····const/4·v9,·0x0
  
97 ····.local·v9,·"y":I97 ····.local·v9,·"y":I
98 ····:goto_098 ····:goto_0
99 ····if-ge·v9,·v13,·:cond_399 ····if-ge·v9,·v13,·:cond_3
  
100 ····.line·115100 ····.line·114
101 ····mul-int·v10,·v9,·v2101 ····mul-int·v10,·v9,·v2
  
102 ····div-int/lit8·v11,·v2,·0x2102 ····div-int/lit8·v11,·v2,·0x2
  
103 ····add-int/2addr·v10,·v11103 ····add-int/2addr·v10,·v11
  
104 ····div-int/lit8·v10,·v10,·0x21104 ····div-int/lit8·v10,·v10,·0x21
  
105 ····add-int·v4,·v6,·v10105 ····add-int·v4,·v6,·v10
  
106 ····.line·116106 ····.line·115
107 ····.local·v4,·"iy":I107 ····.local·v4,·"iy":I
108 ····const/4·v8,·0x0108 ····const/4·v8,·0x0
  
109 ····.local·v8,·"x":I109 ····.local·v8,·"x":I
110 ····:goto_1110 ····:goto_1
111 ····if-ge·v8,·v12,·:cond_2111 ····if-ge·v8,·v12,·:cond_2
  
112 ····.line·117112 ····.line·116
113 ····mul-int·v10,·v8,·v7113 ····mul-int·v10,·v8,·v7
  
114 ····div-int/lit8·v11,·v7,·0x2114 ····div-int/lit8·v11,·v7,·0x2
  
115 ····add-int/2addr·v10,·v11115 ····add-int/2addr·v10,·v11
  
116 ····and-int/lit8·v11,·v9,·0x1116 ····and-int/lit8·v11,·v9,·0x1
Offset 152, 39 lines modifiedOffset 152, 39 lines modified
  
152 ····add-int/2addr·v10,·v11152 ····add-int/2addr·v10,·v11
  
153 ····div-int/lit8·v10,·v10,·0x1e153 ····div-int/lit8·v10,·v10,·0x1e
  
154 ····add-int·v3,·v5,·v10154 ····add-int·v3,·v5,·v10
  
155 ····.line·118155 ····.line·117
156 ····.local·v3,·"ix":I156 ····.local·v3,·"ix":I
157 ····invoke-virtual·{p0,·v3,·v4},·Lcom/google/zxing/common/BitMatrix;->get(II)Z157 ····invoke-virtual·{p0,·v3,·v4},·Lcom/google/zxing/common/BitMatrix;->get(II)Z
  
158 ····move-result·v10158 ····move-result·v10
  
159 ····if-eqz·v10,·:cond_1159 ····if-eqz·v10,·:cond_1
  
160 ····.line·119160 ····.line·118
161 ····invoke-virtual·{v0,·v8,·v9},·Lcom/google/zxing/common/BitMatrix;->set(II)V161 ····invoke-virtual·{v0,·v8,·v9},·Lcom/google/zxing/common/BitMatrix;->set(II)V
  
162 ····.line·116162 ····.line·115
163 ····:cond_1163 ····:cond_1
164 ····add-int/lit8·v8,·v8,·0x1164 ····add-int/lit8·v8,·v8,·0x1
  
165 ····goto·:goto_1165 ····goto·:goto_1
  
166 ····.line·114166 ····.line·113
167 ····.end·local·v3····#·"ix":I167 ····.end·local·v3····#·"ix":I
168 ····:cond_2168 ····:cond_2
169 ····add-int/lit8·v9,·v9,·0x1169 ····add-int/lit8·v9,·v9,·0x1
  
170 ····goto·:goto_0170 ····goto·:goto_0
  
171 ····.line·123171 ····.line·122
172 ····.end·local·v4····#·"iy":I172 ····.end·local·v4····#·"iy":I
173 ····.end·local·v8····#·"x":I173 ····.end·local·v8····#·"x":I
174 ····:cond_3174 ····:cond_3
175 ····return-object·v0175 ····return-object·v0
176 .end·method176 .end·method
  
Max diff block lines reached; 4807/7392 bytes (65.03%) of diff not shown.
24.5 KB
smali/com/google/zxing/maxicode/decoder/DecodedBitStreamParser.smali
    
Offset 12, 16 lines modifiedOffset 12, 14 lines modified
  
12 .field·private·static·final·LATCHA:C·=·'\ufff7'12 .field·private·static·final·LATCHA:C·=·'\ufff7'
  
13 .field·private·static·final·LATCHB:C·=·'\ufff8'13 .field·private·static·final·LATCHB:C·=·'\ufff8'
  
14 .field·private·static·final·LOCK:C·=·'\ufff9'14 .field·private·static·final·LOCK:C·=·'\ufff9'
  
15 .field·private·static·final·NINE_DIGITS:Ljava/text/NumberFormat; 
  
16 .field·private·static·final·NS:C·=·'\ufffb'15 .field·private·static·final·NS:C·=·'\ufffb'
  
17 .field·private·static·final·PAD:C·=·'\ufffc'16 .field·private·static·final·PAD:C·=·'\ufffc'
  
18 .field·private·static·final·RS:C·=·'\u001e'17 .field·private·static·final·RS:C·=·'\u001e'
  
19 .field·private·static·final·SETS:[Ljava/lang/String;18 .field·private·static·final·SETS:[Ljava/lang/String;
Offset 34, 43 lines modifiedOffset 32, 23 lines modified
  
34 .field·private·static·final·SHIFTD:C·=·'\ufff3'32 .field·private·static·final·SHIFTD:C·=·'\ufff3'
  
35 .field·private·static·final·SHIFTE:C·=·'\ufff4'33 .field·private·static·final·SHIFTE:C·=·'\ufff4'
  
36 .field·private·static·final·THREESHIFTA:C·=·'\ufff6'34 .field·private·static·final·THREESHIFTA:C·=·'\ufff6'
  
37 .field·private·static·final·THREE_DIGITS:Ljava/text/NumberFormat; 
  
38 .field·private·static·final·TWOSHIFTA:C·=·'\ufff5'35 .field·private·static·final·TWOSHIFTA:C·=·'\ufff5'
  
  
39 #·direct·methods36 #·direct·methods
40 .method·static·constructor·<clinit>()V37 .method·static·constructor·<clinit>()V
41 ····.locals·338 ····.locals·3
  
42 ····.prologue39 ····.prologue
43 ····.line·48 
44 ····new-instance·v0,·Ljava/text/DecimalFormat; 
  
45 ····const-string·v1,·"000000000" 
  
46 ····invoke-direct·{v0,·v1},·Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V 
  
47 ····sput-object·v0,·Lcom/google/zxing/maxicode/decoder/DecodedBitStreamParser;->NINE_DIGITS:Ljava/text/NumberFormat; 
  
48 ····.line·4940 ····.line·49
49 ····new-instance·v0,·Ljava/text/DecimalFormat; 
  
50 ····const-string·v1,·"000" 
  
51 ····invoke-direct·{v0,·v1},·Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V 
  
52 ····sput-object·v0,·Lcom/google/zxing/maxicode/decoder/DecodedBitStreamParser;->THREE_DIGITS:Ljava/text/NumberFormat; 
  
53 ····.line·51 
54 ····const/4·v0,·0x641 ····const/4·v0,·0x6
  
55 ····new-array·v0,·v0,·[Ljava/lang/String;42 ····new-array·v0,·v0,·[Ljava/lang/String;
  
56 ····const/4·v1,·0x043 ····const/4·v1,·0x0
  
57 ····const-string·v2,·"\nABCDEFGHIJKLMNOPQRSTUVWXYZ\ufffa\u001c\u001d\u001e\ufffb·\ufffc\"#$%&\'()*+,-./0123456789:\ufff1\ufff2\ufff3\ufff4\ufff8"44 ····const-string·v2,·"\nABCDEFGHIJKLMNOPQRSTUVWXYZ\ufffa\u001c\u001d\u001e\ufffb·\ufffc\"#$%&\'()*+,-./0123456789:\ufff1\ufff2\ufff3\ufff4\ufff8"
Offset 112, 18 lines modifiedOffset 90, 18 lines modified
112 ····return-void90 ····return-void
113 .end·method91 .end·method
  
114 .method·private·constructor·<init>()V92 .method·private·constructor·<init>()V
115 ····.locals·093 ····.locals·0
  
116 ····.prologue94 ····.prologue
117 ····.line·6095 ····.line·70
118 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V96 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
119 ····.line·6197 ····.line·71
120 ····return-void98 ····return-void
121 .end·method99 .end·method
  
122 .method·static·decode([BI)Lcom/google/zxing/common/DecoderResult;100 .method·static·decode([BI)Lcom/google/zxing/common/DecoderResult;
123 ····.locals·12101 ····.locals·12
124 ····.param·p0,·"bytes"····#·[B102 ····.param·p0,·"bytes"····#·[B
125 ····.param·p1,·"mode"····#·I103 ····.param·p1,·"mode"····#·I
Offset 131, 142 lines modifiedOffset 109, 144 lines modified
131 ····.prologue109 ····.prologue
132 ····const/4·v7,·0x1110 ····const/4·v7,·0x1
  
133 ····const/4·v11,·0x0111 ····const/4·v11,·0x0
  
134 ····const/16·v10,·0x1d112 ····const/16·v10,·0x1d
  
135 ····.line·64113 ····.line·74
136 ····new-instance·v4,·Ljava/lang/StringBuilder;114 ····new-instance·v3,·Ljava/lang/StringBuilder;
  
137 ····const/16·v6,·0x90115 ····const/16·v6,·0x90
  
138 ····invoke-direct·{v4,·v6},·Ljava/lang/StringBuilder;-><init>(I)V116 ····invoke-direct·{v3,·v6},·Ljava/lang/StringBuilder;-><init>(I)V
  
139 ····.line·65117 ····.line·75
140 ····.local·v4,·"result":Ljava/lang/StringBuilder;118 ····.local·v3,·"result":Ljava/lang/StringBuilder;
141 ····packed-switch·p1,·:pswitch_data_0119 ····packed-switch·p1,·:pswitch_data_0
  
142 ····.line·92120 ····.line·103
143 ····:goto_0121 ····:goto_0
144 ····new-instance·v6,·Lcom/google/zxing/common/DecoderResult;122 ····new-instance·v6,·Lcom/google/zxing/common/DecoderResult;
  
145 ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;123 ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
146 ····move-result-object·v7124 ····move-result-object·v7
  
147 ····const/4·v8,·0x0125 ····const/4·v8,·0x0
  
148 ····invoke-static·{p1},·Ljava/lang/String;->valueOf(I)Ljava/lang/String;126 ····invoke-static·{p1},·Ljava/lang/String;->valueOf(I)Ljava/lang/String;
  
149 ····move-result-object·v9127 ····move-result-object·v9
  
150 ····invoke-direct·{v6,·p0,·v7,·v8,·v9},·Lcom/google/zxing/common/DecoderResult;-><init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;)V128 ····invoke-direct·{v6,·p0,·v7,·v8,·v9},·Lcom/google/zxing/common/DecoderResult;-><init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;)V
  
151 ····return-object·v6129 ····return-object·v6
  
152 ····.line·69130 ····.line·79
153 ····:pswitch_0131 ····:pswitch_0
154 ····const/4·v6,·0x2132 ····const/4·v6,·0x2
  
155 ····if-ne·p1,·v6,·:cond_0133 ····if-ne·p1,·v6,·:cond_0
  
156 ····.line·70134 ····.line·80
157 ····invoke-static·{p0},·Lcom/google/zxing/maxicode/decoder/DecodedBitStreamParser;->getPostCode2([B)I135 ····invoke-static·{p0},·Lcom/google/zxing/maxicode/decoder/DecodedBitStreamParser;->getPostCode2([B)I
  
158 ····move-result·v2136 ····move-result·v1
  
Max diff block lines reached; 21205/24924 bytes (85.08%) of diff not shown.
9.46 KB
smali/com/google/zxing/maxicode/decoder/Decoder.smali
    
Offset 33, 15 lines modifiedOffset 33, 15 lines modified
33 ····iput-object·v0,·p0,·Lcom/google/zxing/maxicode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;33 ····iput-object·v0,·p0,·Lcom/google/zxing/maxicode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;
  
34 ····.line·4634 ····.line·46
35 ····return-void35 ····return-void
36 .end·method36 .end·method
  
37 .method·private·correctErrors([BIIII)V37 .method·private·correctErrors([BIIII)V
38 ····.locals·738 ····.locals·6
39 ····.param·p1,·"codewordBytes"····#·[B39 ····.param·p1,·"codewordBytes"····#·[B
40 ····.param·p2,·"start"····#·I40 ····.param·p2,·"start"····#·I
41 ····.param·p3,·"dataCodewords"····#·I41 ····.param·p3,·"dataCodewords"····#·I
42 ····.param·p4,·"ecCodewords"····#·I42 ····.param·p4,·"ecCodewords"····#·I
43 ····.param·p5,·"mode"····#·I43 ····.param·p5,·"mode"····#·I
44 ····.annotation·system·Ldalvik/annotation/Throws;44 ····.annotation·system·Ldalvik/annotation/Throws;
45 ········value·=·{45 ········value·=·{
Offset 58, 46 lines modifiedOffset 58, 46 lines modified
58 ····if-nez·p5,·:cond_258 ····if-nez·p5,·:cond_2
  
59 ····const/4·v2,·0x159 ····const/4·v2,·0x1
  
60 ····.line·9460 ····.line·94
61 ····.local·v2,·"divisor":I61 ····.local·v2,·"divisor":I
62 ····:goto_062 ····:goto_0
63 ····div-int·v5,·v0,·v263 ····div-int·v4,·v0,·v2
  
64 ····new-array·v1,·v5,·[I64 ····new-array·v1,·v4,·[I
  
65 ····.line·9565 ····.line·95
66 ····.local·v1,·"codewordsInts":[I66 ····.local·v1,·"codewordsInts":[I
67 ····const/4·v3,·0x067 ····const/4·v3,·0x0
  
68 ····.local·v3,·"i":I68 ····.local·v3,·"i":I
69 ····:goto_169 ····:goto_1
70 ····if-ge·v3,·v0,·:cond_370 ····if-ge·v3,·v0,·:cond_3
  
71 ····.line·9671 ····.line·96
72 ····if-eqz·p5,·:cond_072 ····if-eqz·p5,·:cond_0
  
73 ····rem-int/lit8·v5,·v3,·0x273 ····rem-int/lit8·v4,·v3,·0x2
  
74 ····add-int/lit8·v6,·p5,·-0x174 ····add-int/lit8·v5,·p5,·-0x1
  
75 ····if-ne·v5,·v6,·:cond_175 ····if-ne·v4,·v5,·:cond_1
  
76 ····.line·9776 ····.line·97
77 ····:cond_077 ····:cond_0
78 ····div-int·v5,·v3,·v278 ····div-int·v4,·v3,·v2
  
79 ····add-int·v6,·v3,·p279 ····add-int·v5,·v3,·p2
  
80 ····aget-byte·v6,·p1,·v680 ····aget-byte·v5,·p1,·v5
  
81 ····and-int/lit16·v6,·v6,·0xff81 ····and-int/lit16·v5,·v5,·0xff
  
82 ····aput·v6,·v1,·v582 ····aput·v5,·v1,·v4
  
83 ····.line·9583 ····.line·95
84 ····:cond_184 ····:cond_1
85 ····add-int/lit8·v3,·v3,·0x185 ····add-int/lit8·v3,·v3,·0x1
  
86 ····goto·:goto_186 ····goto·:goto_1
  
Offset 112, 69 lines modifiedOffset 112, 66 lines modified
  
112 ····.line·101112 ····.line·101
113 ····.restart·local·v1····#·"codewordsInts":[I113 ····.restart·local·v1····#·"codewordsInts":[I
114 ····.restart·local·v2····#·"divisor":I114 ····.restart·local·v2····#·"divisor":I
115 ····.restart·local·v3····#·"i":I115 ····.restart·local·v3····#·"i":I
116 ····:cond_3116 ····:cond_3
117 ····:try_start_0117 ····:try_start_0
118 ····iget-object·v5,·p0,·Lcom/google/zxing/maxicode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;118 ····iget-object·v4,·p0,·Lcom/google/zxing/maxicode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;
  
119 ····div-int·v6,·p4,·v2119 ····div-int·v5,·p4,·v2
  
120 ····invoke-virtual·{v5,·v1,·v6},·Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;->decode([II)V120 ····invoke-virtual·{v4,·v1,·v5},·Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;->decode([II)V
121 ····:try_end_0121 ····:try_end_0
122 ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_0122 ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_0
  
123 ····.line·107123 ····.line·107
124 ····const/4·v3,·0x0124 ····const/4·v3,·0x0
  
125 ····:goto_2125 ····:goto_2
126 ····if-ge·v3,·p3,·:cond_6126 ····if-ge·v3,·p3,·:cond_6
  
127 ····.line·108127 ····.line·108
128 ····if-eqz·p5,·:cond_4128 ····if-eqz·p5,·:cond_4
  
129 ····rem-int/lit8·v5,·v3,·0x2129 ····rem-int/lit8·v4,·v3,·0x2
  
130 ····add-int/lit8·v6,·p5,·-0x1130 ····add-int/lit8·v5,·p5,·-0x1
  
131 ····if-ne·v5,·v6,·:cond_5131 ····if-ne·v4,·v5,·:cond_5
  
132 ····.line·109132 ····.line·109
133 ····:cond_4133 ····:cond_4
134 ····add-int·v5,·v3,·p2134 ····add-int·v4,·v3,·p2
  
135 ····div-int·v6,·v3,·v2135 ····div-int·v5,·v3,·v2
  
136 ····aget·v6,·v1,·v6136 ····aget·v5,·v1,·v5
  
137 ····int-to-byte·v6,·v6137 ····int-to-byte·v5,·v5
  
138 ····aput-byte·v6,·p1,·v5138 ····aput-byte·v5,·p1,·v4
  
139 ····.line·107139 ····.line·107
140 ····:cond_5140 ····:cond_5
141 ····add-int/lit8·v3,·v3,·0x1141 ····add-int/lit8·v3,·v3,·0x1
  
142 ····goto·:goto_2142 ····goto·:goto_2
  
143 ····.line·102143 ····.line·103
144 ····:catch_0144 ····:catch_0
145 ····move-exception·v4145 ····move-exception·v4
  
146 ····.line·103 
147 ····.local·v4,·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; 
148 ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException;146 ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException;
  
149 ····move-result-object·v5147 ····move-result-object·v4
  
150 ····throw·v5148 ····throw·v4
  
151 ····.line·112149 ····.line·112
152 ····.end·local·v4····#·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; 
153 ····:cond_6150 ····:cond_6
154 ····return-void151 ····return-void
Max diff block lines reached; 6060/9578 bytes (63.27%) of diff not shown.
2.42 KB
smali/com/github/xloem/qrstream/Settings.smali
    
Offset 36, 15 lines modifiedOffset 36, 14 lines modified
36 .method·public·constructor·<init>()V36 .method·public·constructor·<init>()V
37 ····.locals·037 ····.locals·0
  
38 ····.prologue38 ····.prologue
39 ····.line·3439 ····.line·34
40 ····invoke-direct·{p0},·Landroid/preference/PreferenceActivity;-><init>()V40 ····invoke-direct·{p0},·Landroid/preference/PreferenceActivity;-><init>()V
  
41 ····.line·220 
42 ····return-void41 ····return-void
43 .end·method42 .end·method
  
44 .method·static·synthetic·access$000(Landroid/preference/Preference;)V43 .method·static·synthetic·access$000(Landroid/preference/Preference;)V
45 ····.locals·044 ····.locals·0
46 ····.param·p0,·"x0"····#·Landroid/preference/Preference;45 ····.param·p0,·"x0"····#·Landroid/preference/Preference;
  
Offset 64, 32 lines modifiedOffset 63, 35 lines modified
64 ····sget-object·v0,·Lcom/github/xloem/qrstream/Settings;->sBindPreferenceSummaryToValueListener:Landroid/preference/Preference$OnPreferenceChangeListener;63 ····sget-object·v0,·Lcom/github/xloem/qrstream/Settings;->sBindPreferenceSummaryToValueListener:Landroid/preference/Preference$OnPreferenceChangeListener;
  
65 ····invoke-virtual·{p0,·v0},·Landroid/preference/Preference;->setOnPreferenceChangeListener(Landroid/preference/Preference$OnPreferenceChangeListener;)V64 ····invoke-virtual·{p0,·v0},·Landroid/preference/Preference;->setOnPreferenceChangeListener(Landroid/preference/Preference$OnPreferenceChangeListener;)V
  
66 ····.line·19065 ····.line·190
67 ····sget-object·v0,·Lcom/github/xloem/qrstream/Settings;->sBindPreferenceSummaryToValueListener:Landroid/preference/Preference$OnPreferenceChangeListener;66 ····sget-object·v0,·Lcom/github/xloem/qrstream/Settings;->sBindPreferenceSummaryToValueListener:Landroid/preference/Preference$OnPreferenceChangeListener;
  
 67 ····.line·192
68 ····invoke-virtual·{p0},·Landroid/preference/Preference;->getContext()Landroid/content/Context;68 ····invoke-virtual·{p0},·Landroid/preference/Preference;->getContext()Landroid/content/Context;
  
69 ····move-result-object·v169 ····move-result-object·v1
  
70 ····invoke-static·{v1},·Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;70 ····invoke-static·{v1},·Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;
  
71 ····move-result-object·v171 ····move-result-object·v1
  
 72 ····.line·193
72 ····invoke-virtual·{p0},·Landroid/preference/Preference;->getKey()Ljava/lang/String;73 ····invoke-virtual·{p0},·Landroid/preference/Preference;->getKey()Ljava/lang/String;
  
73 ····move-result-object·v274 ····move-result-object·v2
  
74 ····const-string·v3,·""75 ····const-string·v3,·""
  
75 ····invoke-interface·{v1,·v2,·v3},·Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;76 ····invoke-interface·{v1,·v2,·v3},·Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
  
76 ····move-result-object·v177 ····move-result-object·v1
  
 78 ····.line·190
77 ····invoke-interface·{v0,·p0,·v1},·Landroid/preference/Preference$OnPreferenceChangeListener;->onPreferenceChange(Landroid/preference/Preference;Ljava/lang/Object;)Z79 ····invoke-interface·{v0,·p0,·v1},·Landroid/preference/Preference$OnPreferenceChangeListener;->onPreferenceChange(Landroid/preference/Preference;Ljava/lang/Object;)Z
  
78 ····.line·19480 ····.line·194
79 ····return-void81 ····return-void
80 .end·method82 .end·method
  
81 .method·private·static·isSimplePreferences(Landroid/content/Context;)Z83 .method·private·static·isSimplePreferences(Landroid/content/Context;)Z
Offset 100, 26 lines modifiedOffset 102, 29 lines modified
100 ····.line·109102 ····.line·109
101 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I103 ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I
  
102 ····const/16·v1,·0xb104 ····const/16·v1,·0xb
  
103 ····if-lt·v0,·v1,·:cond_0105 ····if-lt·v0,·v1,·:cond_0
  
 106 ····.line·111
104 ····invoke-static·{p0},·Lcom/github/xloem/qrstream/Settings;->isXLargeTablet(Landroid/content/Context;)Z107 ····invoke-static·{p0},·Lcom/github/xloem/qrstream/Settings;->isXLargeTablet(Landroid/content/Context;)Z
  
105 ····move-result·v0108 ····move-result·v0
  
106 ····if-nez·v0,·:cond_1109 ····if-nez·v0,·:cond_1
  
107 ····:cond_0110 ····:cond_0
108 ····const/4·v0,·0x1111 ····const/4·v0,·0x1
  
 112 ····.line·109
109 ····:goto_0113 ····:goto_0
110 ····return·v0114 ····return·v0
  
 115 ····.line·111
111 ····:cond_1116 ····:cond_1
112 ····const/4·v0,·0x0117 ····const/4·v0,·0x0
  
113 ····goto·:goto_0118 ····goto·:goto_0
114 .end·method119 .end·method
  
115 .method·private·static·isXLargeTablet(Landroid/content/Context;)Z120 .method·private·static·isXLargeTablet(Landroid/content/Context;)Z
282 B
smali/com/github/xloem/qrstream/R.smali
    
Offset 22, 10 lines modifiedOffset 22, 9 lines modified
22 .method·public·constructor·<init>()V22 .method·public·constructor·<init>()V
23 ····.locals·023 ····.locals·0
  
24 ····.prologue24 ····.prologue
25 ····.line·1025 ····.line·10
26 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V26 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
27 ····.line·68 
28 ····return-void27 ····return-void
29 .end·method28 .end·method
573 B
smali/com/github/xloem/qrstream/Launcher$2.smali
    
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·instance·fields20 #·instance·fields
21 .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher;21 .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher;
  
  
22 #·direct·methods22 #·direct·methods
23 .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V23 .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V
24 ····.locals·024 ····.locals·0
 25 ····.param·p1,·"this$0"····#·Lcom/github/xloem/qrstream/Launcher;
  
25 ····.prologue26 ····.prologue
26 ····.line·3827 ····.line·38
27 ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$2;->this$0:Lcom/github/xloem/qrstream/Launcher;28 ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$2;->this$0:Lcom/github/xloem/qrstream/Launcher;
  
28 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V29 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
810 B
smali/com/github/xloem/qrstream/Receive.smali
    
Offset 102, 14 lines modifiedOffset 102, 15 lines modified
  
102 ····aput-object·v4,·v3,·v7102 ····aput-object·v4,·v3,·v7
  
103 ····const-string·v4,·"AZTEC"103 ····const-string·v4,·"AZTEC"
  
104 ····aput-object·v4,·v3,·v8104 ····aput-object·v4,·v3,·v8
  
 105 ····.line·88
105 ····invoke-static·{v3},·Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;106 ····invoke-static·{v3},·Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
  
106 ····move-result-object·v3107 ····move-result-object·v3
  
107 ····invoke-virtual·{v1,·v3},·Lcom/google/zxing/integration/android/IntentIntegrator;->initiateScan(Ljava/util/Collection;)Landroid/app/AlertDialog;108 ····invoke-virtual·{v1,·v3},·Lcom/google/zxing/integration/android/IntentIntegrator;->initiateScan(Ljava/util/Collection;)Landroid/app/AlertDialog;
  
108 ····move-result-object·v0109 ····move-result-object·v0
Offset 200, 14 lines modifiedOffset 201, 15 lines modified
  
200 ····move-result·v5201 ····move-result·v5
  
201 ····if-eqz·v5,·:cond_1202 ····if-eqz·v5,·:cond_1
  
202 ····iget-object·v5,·p0,·Lcom/github/xloem/qrstream/Receive;->lastBytes:[B203 ····iget-object·v5,·p0,·Lcom/github/xloem/qrstream/Receive;->lastBytes:[B
  
 204 ····.line·112
203 ····invoke-static·{v1,·v5},·Ljava/util/Arrays;->equals([B[B)Z205 ····invoke-static·{v1,·v5},·Ljava/util/Arrays;->equals([B[B)Z
  
204 ····move-result·v5206 ····move-result·v5
  
205 ····if-nez·v5,·:cond_2207 ····if-nez·v5,·:cond_2
  
206 ····.line·115208 ····.line·115
573 B
smali/com/github/xloem/qrstream/Launcher$4.smali
    
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·instance·fields20 #·instance·fields
21 .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher;21 .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher;
  
  
22 #·direct·methods22 #·direct·methods
23 .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V23 .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V
24 ····.locals·024 ····.locals·0
 25 ····.param·p1,·"this$0"····#·Lcom/github/xloem/qrstream/Launcher;
  
25 ····.prologue26 ····.prologue
26 ····.line·6327 ····.line·63
27 ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$4;->this$0:Lcom/github/xloem/qrstream/Launcher;28 ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$4;->this$0:Lcom/github/xloem/qrstream/Launcher;
  
28 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V29 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
573 B
smali/com/github/xloem/qrstream/Launcher$1.smali
    
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·instance·fields20 #·instance·fields
21 .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher;21 .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher;
  
  
22 #·direct·methods22 #·direct·methods
23 .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V23 .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V
24 ····.locals·024 ····.locals·0
 25 ····.param·p1,·"this$0"····#·Lcom/github/xloem/qrstream/Launcher;
  
25 ····.prologue26 ····.prologue
26 ····.line·3027 ····.line·30
27 ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$1;->this$0:Lcom/github/xloem/qrstream/Launcher;28 ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$1;->this$0:Lcom/github/xloem/qrstream/Launcher;
  
28 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V29 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
573 B
smali/com/github/xloem/qrstream/Launcher$3.smali
    
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·instance·fields20 #·instance·fields
21 .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher;21 .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher;
  
  
22 #·direct·methods22 #·direct·methods
23 .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V23 .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V
24 ····.locals·024 ····.locals·0
 25 ····.param·p1,·"this$0"····#·Lcom/github/xloem/qrstream/Launcher;
  
25 ····.prologue26 ····.prologue
26 ····.line·4827 ····.line·48
27 ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$3;->this$0:Lcom/github/xloem/qrstream/Launcher;28 ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$3;->this$0:Lcom/github/xloem/qrstream/Launcher;
  
28 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V29 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
1.35 KB
smali/com/github/xloem/qrstream/Settings$1.smali
    
Offset 60, 20 lines modifiedOffset 60, 22 lines modified
  
60 ····move-result·v060 ····move-result·v0
  
61 ····.line·13961 ····.line·139
62 ····.local·v0,·"index":I62 ····.local·v0,·"index":I
63 ····if-ltz·v0,·:cond_063 ····if-ltz·v0,·:cond_0
  
 64 ····.line·141
64 ····invoke-virtual·{v1},·Landroid/preference/ListPreference;->getEntries()[Ljava/lang/CharSequence;65 ····invoke-virtual·{v1},·Landroid/preference/ListPreference;->getEntries()[Ljava/lang/CharSequence;
  
65 ····move-result-object·v566 ····move-result-object·v5
  
66 ····aget-object·v5,·v5,·v067 ····aget-object·v5,·v5,·v0
  
 68 ····.line·139
67 ····:cond_069 ····:cond_0
68 ····invoke-virtual·{p1,·v5},·Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V70 ····invoke-virtual·{p1,·v5},·Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V
  
69 ····.line·17171 ····.line·171
70 ····.end·local·v0····#·"index":I72 ····.end·local·v0····#·"index":I
71 ····.end·local·v1····#·"listPreference":Landroid/preference/ListPreference;73 ····.end·local·v1····#·"listPreference":Landroid/preference/ListPreference;
72 ····:goto_074 ····:goto_0
Offset 97, 24 lines modifiedOffset 99, 25 lines modified
97 ····.line·14999 ····.line·149
98 ····const·v5,·0x7f06000e100 ····const·v5,·0x7f06000e
  
99 ····invoke-virtual·{p1,·v5},·Landroid/preference/Preference;->setSummary(I)V101 ····invoke-virtual·{p1,·v5},·Landroid/preference/Preference;->setSummary(I)V
  
100 ····goto·:goto_0102 ····goto·:goto_0
  
101 ····.line·152103 ····.line·153
102 ····:cond_2104 ····:cond_2
103 ····invoke-virtual·{p1},·Landroid/preference/Preference;->getContext()Landroid/content/Context;105 ····invoke-virtual·{p1},·Landroid/preference/Preference;->getContext()Landroid/content/Context;
  
104 ····move-result-object·v6106 ····move-result-object·v6
  
105 ····invoke-static·{v4},·Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;107 ····invoke-static·{v4},·Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
  
106 ····move-result-object·v7108 ····move-result-object·v7
  
 109 ····.line·152
107 ····invoke-static·{v6,·v7},·Landroid/media/RingtoneManager;->getRingtone(Landroid/content/Context;Landroid/net/Uri;)Landroid/media/Ringtone;110 ····invoke-static·{v6,·v7},·Landroid/media/RingtoneManager;->getRingtone(Landroid/content/Context;Landroid/net/Uri;)Landroid/media/Ringtone;
  
108 ····move-result-object·v3111 ····move-result-object·v3
  
109 ····.line·155112 ····.line·155
110 ····.local·v3,·"ringtone":Landroid/media/Ringtone;113 ····.local·v3,·"ringtone":Landroid/media/Ringtone;
111 ····if-nez·v3,·:cond_3114 ····if-nez·v3,·:cond_3
566 B
smali/com/github/xloem/qrstream/Receive$1.smali
    
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·instance·fields20 #·instance·fields
21 .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Receive;21 .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Receive;
  
  
22 #·direct·methods22 #·direct·methods
23 .method·constructor·<init>(Lcom/github/xloem/qrstream/Receive;)V23 .method·constructor·<init>(Lcom/github/xloem/qrstream/Receive;)V
24 ····.locals·024 ····.locals·0
 25 ····.param·p1,·"this$0"····#·Lcom/github/xloem/qrstream/Receive;
  
25 ····.prologue26 ····.prologue
26 ····.line·9227 ····.line·92
27 ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Receive$1;->this$0:Lcom/github/xloem/qrstream/Receive;28 ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Receive$1;->this$0:Lcom/github/xloem/qrstream/Receive;
  
28 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V29 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
1.81 KB
smali/com/google/zxing/qrcode/decoder/DataMask$DataMask001.smali vs.
smali/com/google/zxing/qrcode/decoder/DataMask$6.smali
Files 17% similar despite different names
    
Offset 1, 57 lines modifiedOffset 1, 48 lines modified
1 .class·final·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask001;1 .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$6;
2 .super·Lcom/google/zxing/qrcode/decoder/DataMask;2 .super·Lcom/google/zxing/qrcode/decoder/DataMask;
3 .source·"DataMask.java"3 .source·"DataMask.java"
  
  
4 #·annotations4 #·annotations
5 .annotation·system·Ldalvik/annotation/EnclosingClass;5 .annotation·system·Ldalvik/annotation/EnclosingClass;
6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;
7 .end·annotation7 .end·annotation
  
8 .annotation·system·Ldalvik/annotation/InnerClass;8 .annotation·system·Ldalvik/annotation/InnerClass;
9 ····accessFlags·=·0x1a9 ····accessFlags·=·0x4008
10 ····name·=·"DataMask001"10 ····name·=·null
11 .end·annotation11 .end·annotation
  
  
12 #·direct·methods12 #·direct·methods
13 .method·private·constructor·<init>()V13 .method·constructor·<init>(Ljava/lang/String;I)V
14 ····.locals·114 ····.locals·1
  
15 ····.prologue15 ····.prologue
16 ····.line·9516 ····.line·90
17 ····const/4·v0,·0x017 ····const/4·v0,·0x0
  
18 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V18 ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V
  
19 ····return-void 
20 .end·method 
  
21 .method·synthetic·constructor·<init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V 
22 ····.locals·0 
23 ····.param·p1,·"x0"····#·Lcom/google/zxing/qrcode/decoder/DataMask$1; 
  
24 ····.prologue 
25 ····.line·95 
26 ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask001;-><init>()V 
  
27 ····return-void19 ····return-void
28 .end·method20 .end·method
  
  
29 #·virtual·methods21 #·virtual·methods
30 .method·isMasked(II)Z22 .method·isMasked(II)Z
31 ····.locals·123 ····.locals·1
32 ····.param·p1,·"i"····#·I24 ····.param·p1,·"i"····#·I
33 ····.param·p2,·"j"····#·I25 ····.param·p2,·"j"····#·I
  
34 ····.prologue26 ····.prologue
35 ····.line·9827 ····.line·93
 28 ····mul-int·v0,·p1,·p2
  
36 ····and-int/lit8·v0,·p1,·0x129 ····rem-int/lit8·v0,·v0,·0x6
  
37 ····if-nez·v0,·:cond_030 ····if-nez·v0,·:cond_0
  
38 ····const/4·v0,·0x131 ····const/4·v0,·0x1
  
39 ····:goto_032 ····:goto_0
40 ····return·v033 ····return·v0
1.81 KB
smali/com/google/zxing/qrcode/decoder/DataMask$DataMask000.smali vs.
smali/com/google/zxing/qrcode/decoder/DataMask$3.smali
Files 22% similar despite different names
    
Offset 1, 59 lines modifiedOffset 1, 46 lines modified
1 .class·final·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask000;1 .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$3;
2 .super·Lcom/google/zxing/qrcode/decoder/DataMask;2 .super·Lcom/google/zxing/qrcode/decoder/DataMask;
3 .source·"DataMask.java"3 .source·"DataMask.java"
  
  
4 #·annotations4 #·annotations
5 .annotation·system·Ldalvik/annotation/EnclosingClass;5 .annotation·system·Ldalvik/annotation/EnclosingClass;
6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;
7 .end·annotation7 .end·annotation
  
8 .annotation·system·Ldalvik/annotation/InnerClass;8 .annotation·system·Ldalvik/annotation/InnerClass;
9 ····accessFlags·=·0x1a9 ····accessFlags·=·0x4008
10 ····name·=·"DataMask000"10 ····name·=·null
11 .end·annotation11 .end·annotation
  
  
12 #·direct·methods12 #·direct·methods
13 .method·private·constructor·<init>()V13 .method·constructor·<init>(Ljava/lang/String;I)V
14 ····.locals·114 ····.locals·1
  
15 ····.prologue15 ····.prologue
16 ····.line·8516 ····.line·59
17 ····const/4·v0,·0x017 ····const/4·v0,·0x0
  
18 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V18 ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V
  
19 ····return-void 
20 .end·method 
  
21 .method·synthetic·constructor·<init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V 
22 ····.locals·0 
23 ····.param·p1,·"x0"····#·Lcom/google/zxing/qrcode/decoder/DataMask$1; 
  
24 ····.prologue 
25 ····.line·85 
26 ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask000;-><init>()V 
  
27 ····return-void19 ····return-void
28 .end·method20 .end·method
  
  
29 #·virtual·methods21 #·virtual·methods
30 .method·isMasked(II)Z22 .method·isMasked(II)Z
31 ····.locals·123 ····.locals·1
32 ····.param·p1,·"i"····#·I24 ····.param·p1,·"i"····#·I
33 ····.param·p2,·"j"····#·I25 ····.param·p2,·"j"····#·I
  
34 ····.prologue26 ····.prologue
35 ····.line·8827 ····.line·62
36 ····add-int·v0,·p1,·p2 
  
37 ····and-int/lit8·v0,·v0,·0x128 ····rem-int/lit8·v0,·p2,·0x3
  
38 ····if-nez·v0,·:cond_029 ····if-nez·v0,·:cond_0
  
39 ····const/4·v0,·0x130 ····const/4·v0,·0x1
  
40 ····:goto_031 ····:goto_0
41 ····return·v032 ····return·v0
1.77 KB
smali/com/google/zxing/qrcode/decoder/DataMask$DataMask100.smali vs.
smali/com/google/zxing/qrcode/decoder/DataMask$5.smali
Files 26% similar despite different names
    
Offset 1, 56 lines modifiedOffset 1, 45 lines modified
1 .class·final·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask100;1 .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$5;
2 .super·Lcom/google/zxing/qrcode/decoder/DataMask;2 .super·Lcom/google/zxing/qrcode/decoder/DataMask;
3 .source·"DataMask.java"3 .source·"DataMask.java"
  
  
4 #·annotations4 #·annotations
5 .annotation·system·Ldalvik/annotation/EnclosingClass;5 .annotation·system·Ldalvik/annotation/EnclosingClass;
6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;
7 .end·annotation7 .end·annotation
  
8 .annotation·system·Ldalvik/annotation/InnerClass;8 .annotation·system·Ldalvik/annotation/InnerClass;
9 ····accessFlags·=·0x1a9 ····accessFlags·=·0x4008
10 ····name·=·"DataMask100"10 ····name·=·null
11 .end·annotation11 .end·annotation
  
  
12 #·direct·methods12 #·direct·methods
13 .method·private·constructor·<init>()V13 .method·constructor·<init>(Ljava/lang/String;I)V
14 ····.locals·114 ····.locals·1
  
15 ····.prologue15 ····.prologue
16 ····.line·12516 ····.line·79
17 ····const/4·v0,·0x017 ····const/4·v0,·0x0
  
18 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V18 ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V
  
19 ····return-void 
20 .end·method 
  
21 .method·synthetic·constructor·<init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V 
22 ····.locals·0 
23 ····.param·p1,·"x0"····#·Lcom/google/zxing/qrcode/decoder/DataMask$1; 
  
24 ····.prologue 
25 ····.line·125 
26 ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask100;-><init>()V 
  
27 ····return-void19 ····return-void
28 .end·method20 .end·method
  
  
29 #·virtual·methods21 #·virtual·methods
30 .method·isMasked(II)Z22 .method·isMasked(II)Z
31 ····.locals·223 ····.locals·2
32 ····.param·p1,·"i"····#·I24 ····.param·p1,·"i"····#·I
33 ····.param·p2,·"j"····#·I25 ····.param·p2,·"j"····#·I
  
34 ····.prologue26 ····.prologue
35 ····.line·12827 ····.line·82
36 ····div-int/lit8·v0,·p1,·0x228 ····div-int/lit8·v0,·p1,·0x2
  
37 ····div-int/lit8·v1,·p2,·0x329 ····div-int/lit8·v1,·p2,·0x3
  
38 ····add-int/2addr·v0,·v130 ····add-int/2addr·v0,·v1
  
39 ····and-int/lit8·v0,·v0,·0x131 ····and-int/lit8·v0,·v0,·0x1
1.89 KB
smali/com/google/zxing/qrcode/decoder/DataMask$DataMask010.smali vs.
smali/com/google/zxing/qrcode/decoder/DataMask$7.smali
Files 13% similar despite different names
    
Offset 1, 59 lines modifiedOffset 1, 52 lines modified
1 .class·final·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask010;1 .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$7;
2 .super·Lcom/google/zxing/qrcode/decoder/DataMask;2 .super·Lcom/google/zxing/qrcode/decoder/DataMask;
3 .source·"DataMask.java"3 .source·"DataMask.java"
  
  
4 #·annotations4 #·annotations
5 .annotation·system·Ldalvik/annotation/EnclosingClass;5 .annotation·system·Ldalvik/annotation/EnclosingClass;
6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;
7 .end·annotation7 .end·annotation
  
8 .annotation·system·Ldalvik/annotation/InnerClass;8 .annotation·system·Ldalvik/annotation/InnerClass;
9 ····accessFlags·=·0x1a9 ····accessFlags·=·0x4008
10 ····name·=·"DataMask010"10 ····name·=·null
11 .end·annotation11 .end·annotation
  
  
12 #·direct·methods12 #·direct·methods
13 .method·private·constructor·<init>()V13 .method·constructor·<init>(Ljava/lang/String;I)V
14 ····.locals·114 ····.locals·1
  
15 ····.prologue15 ····.prologue
16 ····.line·10516 ····.line·101
17 ····const/4·v0,·0x017 ····const/4·v0,·0x0
  
18 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V18 ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V
  
19 ····return-void 
20 .end·method 
  
21 .method·synthetic·constructor·<init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V 
22 ····.locals·0 
23 ····.param·p1,·"x0"····#·Lcom/google/zxing/qrcode/decoder/DataMask$1; 
  
24 ····.prologue 
25 ····.line·105 
26 ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask010;-><init>()V 
  
27 ····return-void19 ····return-void
28 .end·method20 .end·method
  
  
29 #·virtual·methods21 #·virtual·methods
30 .method·isMasked(II)Z22 .method·isMasked(II)Z
31 ····.locals·123 ····.locals·2
32 ····.param·p1,·"i"····#·I24 ····.param·p1,·"i"····#·I
33 ····.param·p2,·"j"····#·I25 ····.param·p2,·"j"····#·I
  
34 ····.prologue26 ····.prologue
35 ····.line·10827 ····.line·104
 28 ····mul-int·v0,·p1,·p2
  
36 ····rem-int/lit8·v0,·p2,·0x329 ····rem-int/lit8·v0,·v0,·0x6
  
 30 ····const/4·v1,·0x3
  
37 ····if-nez·v0,·:cond_031 ····if-ge·v0,·v1,·:cond_0
  
38 ····const/4·v0,·0x132 ····const/4·v0,·0x1
  
39 ····:goto_033 ····:goto_0
40 ····return·v034 ····return·v0
  
41 ····:cond_035 ····:cond_0
1.76 KB
smali/com/google/zxing/qrcode/decoder/DataMask$DataMask011.smali vs.
smali/com/google/zxing/qrcode/decoder/DataMask$4.smali
Files 16% similar despite different names
    
Offset 1, 56 lines modifiedOffset 1, 45 lines modified
1 .class·final·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask011;1 .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$4;
2 .super·Lcom/google/zxing/qrcode/decoder/DataMask;2 .super·Lcom/google/zxing/qrcode/decoder/DataMask;
3 .source·"DataMask.java"3 .source·"DataMask.java"
  
  
4 #·annotations4 #·annotations
5 .annotation·system·Ldalvik/annotation/EnclosingClass;5 .annotation·system·Ldalvik/annotation/EnclosingClass;
6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;6 ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask;
7 .end·annotation7 .end·annotation
  
8 .annotation·system·Ldalvik/annotation/InnerClass;8 .annotation·system·Ldalvik/annotation/InnerClass;
9 ····accessFlags·=·0x1a9 ····accessFlags·=·0x4008
10 ····name·=·"DataMask011"10 ····name·=·null
11 .end·annotation11 .end·annotation
  
  
12 #·direct·methods12 #·direct·methods
13 .method·private·constructor·<init>()V13 .method·constructor·<init>(Ljava/lang/String;I)V
14 ····.locals·114 ····.locals·1
  
15 ····.prologue15 ····.prologue
16 ····.line·11516 ····.line·69
17 ····const/4·v0,·0x017 ····const/4·v0,·0x0
  
18 ····invoke-direct·{p0,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V18 ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V
  
19 ····return-void 
20 .end·method 
  
21 .method·synthetic·constructor·<init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V 
22 ····.locals·0 
23 ····.param·p1,·"x0"····#·Lcom/google/zxing/qrcode/decoder/DataMask$1; 
  
24 ····.prologue 
25 ····.line·115 
26 ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask011;-><init>()V 
  
27 ····return-void19 ····return-void
28 .end·method20 .end·method
  
  
29 #·virtual·methods21 #·virtual·methods
30 .method·isMasked(II)Z22 .method·isMasked(II)Z
31 ····.locals·123 ····.locals·1
32 ····.param·p1,·"i"····#·I24 ····.param·p1,·"i"····#·I
33 ····.param·p2,·"j"····#·I25 ····.param·p2,·"j"····#·I
  
34 ····.prologue26 ····.prologue
35 ····.line·11827 ····.line·72
36 ····add-int·v0,·p1,·p228 ····add-int·v0,·p1,·p2
  
37 ····rem-int/lit8·v0,·v0,·0x329 ····rem-int/lit8·v0,·v0,·0x3
  
38 ····if-nez·v0,·:cond_030 ····if-nez·v0,·:cond_0
  
39 ····const/4·v0,·0x131 ····const/4·v0,·0x1