DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654
; ***** BEGIN LICENSE BLOCK *****
; Version: MPL 1.1/GPL 2.0/LGPL 2.1
;
; The contents of this file are subject to the Mozilla Public License Version
; 1.1 (the "License"); you may not use this file except in compliance with
; the License. You may obtain a copy of the License at
; http://www.mozilla.org/MPL/
;
; Software distributed under the License is distributed on an "AS IS" basis,
; WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
; for the specific language governing rights and limitations under the
; License.
;
; The Original Code is Mozilla Communicator client code, released
; March 31, 1998.
;
; The Initial Developer of the Original Code is
; Netscape Communications Corporation.
; Portions created by the Initial Developer are Copyright (C) 1998
; the Initial Developer. All Rights Reserved.
;
; Contributor(s):
;
; Alternatively, the contents of this file may be used under the terms of
; either of the GNU General Public License Version 2 or later (the "GPL"),
; or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
; in which case the provisions of the GPL or the LGPL are applicable instead
; of those above. If you wish to allow use of your version of this file only
; under the terms of either the GPL or the LGPL, and not to allow others to
; use your version of this file under the terms of the MPL, indicate your
; decision by deleting the provisions above and replace them with the notice
; and other provisions required by the GPL or the LGPL. If you do not delete
; the provisions above, a recipient may use your version of this file under
; the terms of any one of the MPL, the GPL or the LGPL.
;
; ***** END LICENSE BLOCK *****

LIBRARY JS3240 INITINSTANCE TERMINSTANCE
PROTMODE

DESCRIPTION 'Netscape OS/2 JavaScript Library'


CODE    LOADONCALL MOVEABLE DISCARDABLE
DATA    PRELOAD MOVEABLE MULTIPLE NONSHARED


EXPORTS
;====================== win16 exports these at least... ===========
;	JS_Init				= JS_Init		@2
;	JS_Finish			= JS_Finish		@3
;	JS_GetNaNValue
;	JS_GetNegativeInfinityValue
;	JS_GetPositiveInfinityValue
;	JS_GetEmptyStringValue
;	JS_ConvertValue
;	JS_ValueToObject
;	JS_ValueToFunction
;	JS_ValueToString
;	JS_ValueToNumber
;	JS_ValueToBoolean
;	JS_TypeOfValue
;	JS_GetTypeName
;	JS_Lock
;	JS_Unlock
;	JS_NewContext
;	JS_DestroyContext
;	JS_ContextIterator
;	JS_GetGlobalObject
;	JS_SetGlobalObject
;	JS_InitStandardClasses
;;	JS_GetStaticLink
;	JS_malloc
;	JS_realloc
;	JS_free
;	JS_strdup
;	JS_NewDouble
;	JS_NewDoubleValue
;	JS_AddRoot
;	JS_RemoveRoot
;	JS_LockGCThing
;	JS_UnlockGCThing
;	JS_GC
;	JS_PropertyStub
;	JS_EnumerateStub
;	JS_ResolveStub
;	JS_ConvertStub
;	JS_FinalizeStub
;	JS_InitClass
;	JS_GetClass
;	JS_InstanceOf
;	JS_GetPrivate
;	JS_SetPrivate
;	JS_GetInstancePrivate
;	JS_GetPrototype
;	JS_GetParent
;	JS_SetParent
;	JS_GetConstructor
;	JS_NewObject
;	JS_DefineObject
;	JS_DefineConstDoubles
;	JS_DefineProperties
;	JS_DefineProperty
;	JS_DefinePropertyWithTinyId
;	JS_AliasProperty
;	JS_LookupProperty
;	JS_GetProperty
;	JS_SetProperty
;	JS_DeleteProperty
;	JS_NewArrayObject
;	JS_DefineElement
;	JS_AliasElement
;	JS_LookupElement
;	JS_GetElement
;	JS_SetElement
;	JS_DeleteElement
;	JS_ClearScope
;	JS_NewFunction
;	JS_GetFunctionObject
;	JS_GetFunctionName
;	JS_DefineFunctions
;	JS_DefineFunction
;	JS_CompileScript
;	JS_DestroyScript
;	JS_CompileFunction
;	JS_DecompileScript
;	JS_DecompileFunction
;	JS_DecompileFunctionBody
;	JS_ExecuteScript
;	JS_EvaluateScript
;	JS_CallFunction
;	JS_CallFunctionName
;	JS_CallFunctionValue
;	JS_SetBranchCallback
;	JS_IsRunning
;	JS_IsConstructing
;	JS_SetCallReturnValue2
;	JS_NewString
;	JS_NewStringCopyN
;	JS_NewStringCopyZ
;	JS_InternString
;	JS_GetStringBytes
;	JS_GetStringLength
;	JS_CompareStrings
;	JS_ReportError
;	JS_ReportOutOfMemory
;	JS_SetErrorReporter
;	JS_NewRegExpObject
;	JS_SetRegExpInput
;	JS_ClearRegExpStatics
;=================================================


;00001:jsstr (OFFSET:0x00002e17, SIZE:0x0000ae17):
; - Public Definitions:
;     js_EmptySubString
;     js_CompareStrings
;     js_HashString
;     js_ValueToString
;     js_StringToObject
;     js_FinalizeString
;     js_NewStringCopyZ
;     js_NewString
;     js_InitStringClass
;     js_NewStringCopyN
;     js_BoyerMooreHorspool
;
;
;00002:jsscript (OFFSET:0x0000dc2e, SIZE:0x00003abb):
; - Public Definitions:
;     js_LineNumberToPC
;     js_PCToLineNumber
;     js_GetSrcNote
;     js_DestroyScript
;     js_NewScript
;
;
;00003:jsscope (OFFSET:0x000116e9, SIZE:0x00004f82):
; - Public Definitions:
;     js_hash_scope_ops
;     js_list_scope_ops
;     js_DestroyProperty
;     js_NewProperty
;     js_IdToValue
;     js_HashValue
;     js_DestroyScope
;     js_MutateScope
;     js_DropScope
;     js_HoldScope
;     js_NewScope
;     js_GetMutableScope
;     js_HoldProperty
;     js_DropProperty
;
;
;00004:jsscan (OFFSET:0x0001666b, SIZE:0x00008890):
; - Public Definitions:
;     js_MatchToken
;     js_FlushNewlines
;     js_PeekTokenSameLine
;     js_UngetToken
;     js_GetToken
;     js_PeekToken
;     js_ReportCompileError
      js_CloseTokenStream
      js_NewBufferTokenStream
;     js_NewTokenStream
;     js_InitScanner
;
;
;00005:jsregexp (OFFSET:0x0001eefb, SIZE:0x0000eee4):
; - Public Definitions:
;     js_RegExpClass
;     reopsize
;     js_NewRegExpObject
;     js_InitRegExpClass
;     js_FreeRegExpStatics
;     js_InitRegExpStatics
;     js_ExecuteRegExp
;     js_NewRegExpOpt
;     js_DestroyRegExp
;     js_NewRegExp
;
;
;00006:jsparse (OFFSET:0x0002dddf, SIZE:0x00010b71):
; - Public Definitions:
;     js_ParseFunctionBody
      js_Parse
;
;
;00007:jsopcode (OFFSET:0x0003e950, SIZE:0x0000d362):
; - Public Definitions:
;     js_EscapeMap
;     js_NumCodeSpecs
;     js_CodeSpec
;     js_incop_str
;     js_true_str
;     js_false_str
;     js_this_str
;     js_null_str
;     js_void_str
;     js_typeof_str
;     js_delete_str
;     js_new_str
;     js_ValueToSource
;     js_DecompileScript
;     js_DecompileCode
;     js_DecompileFunction
;     js_puts
;     js_printf
;     js_GetPrinterOutput
;     js_DestroyPrinter
;     js_NewPrinter
;     js_EscapeString
;     js_Disassemble1
;     js_Disassemble
;
;00008:jsobj (OFFSET:0x0004bcb2, SIZE:0x000090a4):
; - Public Definitions:
;     js_WithClass
;     js_ObjectClass
;     js_TryValueOf
;     js_ValueToNonNullObject
;     js_TryMethod
;     js_ObjectToString
;     js_SetClassPrototype
;     js_DeleteProperty2
;     js_DeleteProperty
;     js_SetProperty
;     js_GetProperty
;     js_FindVariableScope
;     js_FindVariable
;     js_FindProperty
;     js_LookupProperty
;     js_DefineProperty
;     js_FreeSlot
;     js_AllocSlot
;     js_FinalizeObject
;     js_GetClassPrototype
;     js_NewObject
;     js_InitObjectClass
;     js_ValueToObject
;     js_obj_toString
;     js_SetSlot
;     js_GetSlot
;
;
;00009:jsnum (OFFSET:0x00054d56, SIZE:0x00004f29):
; - Public Definitions:
;     js_ValueToInt32
;     js_NumberToObject
;     js_FinalizeDouble
;     js_InitNumberClass
;     js_NumberToString
;     js_NewDoubleValue
;     js_NewDouble
;     js_ValueToNumber
;
;
;00010:jsmath (OFFSET:0x00059c7f, SIZE:0x000054b6):
; - Public Definitions:
;     js_InitMathClass
;
;
;00011:jsjava (OFFSET:0x0005f135, SIZE:0x00022aad):
; - Public Definitions:
;     js_Hooks
;     MojaSrcLog
;     finalizeTask
      JSJ_FindCurrentJSContext
;     JSJ_GetPrincipals
      JSJ_IsSafeMethod
      JSJ_InitContext
      JSJ_Init
      js_JSErrorToJException
      js_JavaErrorReporter
      js_RemoveReflection
      js_ReflectJObjectToJSObject
      js_convertJObjectToJSValue
      js_convertJSValueToJObject
      js_ReflectJSObjectToJObject
;     js_ReflectJClassToJSObject
      JSJ_ExitJS
      JSJ_EnterJS
      JSJ_CurrentContext
      JSJ_IsEnabled
;added in GA code - DSR70297
      JSJ_Finish
      JSJ_IsCalledFromJava
      js_GetJSPrincipalsFromJavaCaller

;
;
;00012:jsinterp (OFFSET:0x00081be2, SIZE:0x00012274):
; - Public Definitions:
;     js_Call
;     js_Interpret
;     js_SetLocalVariable
;     js_GetLocalVariable
;     js_SetArgument
;     js_GetArgument
;     js_FlushPropertyCacheByProp
;     js_FlushPropertyCache
;
;
;00013:jsgc (OFFSET:0x00093e56, SIZE:0x00004f8d):
; - Public Definitions:
;     js_ForceGC
;     js_UnlockGCThing
;     js_LockGCThing
;     js_GC
;     js_AllocGCThing
;     js_RemoveRoot
;     js_AddRoot
;     js_FinishGC
;     js_InitGC
;
;
;00014:jsfun (OFFSET:0x00098de3, SIZE:0x0000977c):
; - Public Definitions:
;     js_FunctionClass
;     js_ClosureClass
;     js_CallClass
;     js_DefineFunction
;     js_NewFunction
;     js_InitCallAndClosureClasses
;     js_InitFunctionClass
;     js_ValueToFunction
;     js_SetCallVariable
;     js_GetCallVariable
;     js_PutCallObject
;     js_GetCallObject
;
;
;00015:jsemit (OFFSET:0x000a255f, SIZE:0x000077be):
; - Public Definitions:
;     js_SrcNoteName
;     js_SrcNoteArity
      js_FinishTakingSrcNotes
;     js_MoveSrcNotes
;     js_GetSrcNoteOffset
;     js_BumpSrcNoteDelta
;     js_NewSrcNote3
;     js_NewSrcNote2
;     js_PopStatement
;     js_EmitContinue
;     js_EmitBreak
;     js_SetSrcNoteOffset
;     js_NewSrcNote
;     js_PushStatement
;     js_MoveCode
;     js_SetJumpOffset
;     js_Emit3
;     js_Emit2
;     js_Emit1
;     js_UpdateDepth
;     js_SrcNoteLength
;     js_CancelLastOpcode
      js_InitCodeGenerator
;
;
;00016:jsdbgapi (OFFSET:0x000a9d1d, SIZE:0x000057db):
; - Public Definitions:
;     js_watchpoint_list
;     js_trap_list
;     JS_SetAnnotationInFrame
;     JS_GetAnnotationFromFrame
;     JS_GetJSPrincipalArrayFromFrame
;     JS_NextJSFrame
;     JS_InitJSFrameIterator
      JS_LineNumberToPC
      JS_PCToLineNumber
      JS_ClearAllWatchPoints
      JS_ClearWatchPoint
      JS_SetWatchPoint
      JS_HandleTrap
      JS_ClearAllTraps
      JS_ClearScriptTraps
      JS_ClearTrap
      JS_GetTrapOpcode
      JS_SetTrap
;DSR070297 - added in GA code
      JS_FrameIterator
      JS_GetFrameAnnotation
      JS_GetFramePrincipalArray
      JS_GetFrameScript
      JS_GetScriptFilename
      JS_SetFrameAnnotation
      JS_GetFramePC
      JS_GetFunctionScript

;
;
;00017:jsdate (OFFSET:0x000af4f8, SIZE:0x00009a8e):
; - Public Definitions:
      js_DateGetSeconds
      js_DateGetMinutes
      js_DateGetHours
      js_DateGetDate
      js_DateGetMonth
      js_DateGetYear
      js_NewDateObject
;     js_InitDateClass
;
;
;00018:jscntxt (OFFSET:0x000b8f86, SIZE:0x00003732):
; - Public Definitions:
;     js_InterpreterHooks
;     js_ReportIsNotDefined
;     js_ReportErrorAgain
;     js_ReportErrorVA
;     js_ContextIterator
;     js_DestroyContext
;     js_NewContext
;     js_SetInterpreterHooks
;
;
;00019:jsbool (OFFSET:0x000bc6b8, SIZE:0x00003375):
; - Public Definitions:
;     js_BooleanToString
;     js_BooleanToObject
;     js_InitBooleanClass
;     js_ValueToBoolean
;
;
;00020:jsatom (OFFSET:0x000bfa2d, SIZE:0x000058d0):
; - Public Definitions:
;     js_valueOf_str
;     js_toString_str
;     js_length_str
;     js_eval_str
;     js_constructor_str
;     js_class_prototype_str
;     js_assign_str
;     js_anonymous_str
;     js_Object_str
;     js_Array_str
;     js_type_str
;     js_DropUnmappedAtoms
      js_FreeAtomMap
      js_InitAtomMap
;     js_GetAtom
;     js_DropAtom
;     js_IndexAtom
;     js_ValueToStringAtom
;     js_AtomizeString
;     js_AtomizeDouble
;     js_AtomizeInt
;     js_AtomizeBoolean
;     js_AtomizeObject
;     js_HoldAtom
;     js_MarkAtomState
;     js_FreeAtomState
;     js_Atomize
;     js_InitAtomState
;
;
;00021:jsarray (OFFSET:0x000c52fd, SIZE:0x00007c86):
; - Public Definitions:
;     js_ArrayClass
;     js_SetArrayLength
;     js_GetArrayLength
;     js_InitArrayClass
;     js_NewArrayObject
;     PR_qsort
;
;
;00022:jsapi (OFFSET:0x000ccf83, SIZE:0x0000de8c):
; - Public Definitions:
      JS_ClearRegExpStatics
      JS_SetRegExpInput
      JS_NewRegExpObject
      JS_SetErrorReporter
      JS_CompareStrings
      JS_GetStringLength
      JS_GetStringBytes
      JS_InternString
      JS_NewStringCopyZ
      JS_NewStringCopyN
      JS_NewString
      JS_IsRunning
      JS_SetBranchCallback
      JS_CallFunctionValue
      JS_CallFunctionName
      JS_CallFunction
      JS_EvaluateScriptForPrincipals
      JS_EvaluateScript
      JS_ExecuteScript
      JS_DecompileFunctionBody
      JS_DecompileFunction
      JS_DecompileScript
      JS_CompileFunctionForPrincipals
      JS_CompileFunction
      JS_DestroyScript
      JS_CompileScriptForPrincipals
      JS_CompileScript
      JS_DefineFunction
      JS_GetFunctionName
      JS_GetFunctionObject
      JS_NewFunction
      JS_ClearScope
      JS_DeleteElement
      JS_SetElement
      JS_GetElement
      JS_LookupElement
      JS_AliasElement
      JS_DefineElement
      JS_SetArrayLength
      JS_GetArrayLength
      JS_NewArrayObject
      JS_DeleteProperty
      JS_SetProperty
      JS_GetProperty
      JS_LookupProperty
      JS_AliasProperty
      JS_DefinePropertyWithTinyId
      JS_DefineProperty
      JS_DefineConstDoubles
      JS_DefineObject
      JS_NewObject
      JS_GetConstructor
      JS_SetParent
      JS_GetParent
      JS_SetPrototype
      JS_GetPrototype
      JS_GetInstancePrivate
      JS_SetPrivate
      JS_GetPrivate
      JS_InstanceOf
      JS_GetClass
      JS_DefineFunctions
      JS_DefineProperties
      JS_InitClass
      JS_FinalizeStub
      JS_ConvertStub
      JS_ResolveStub
      JS_EnumerateStub
      JS_PropertyStub
      JS_GC
      JS_UnlockGCThing
      JS_LockGCThing
      JS_RemoveRoot
      JS_AddRoot
      JS_NewDoubleValue
      JS_NewDouble
      JS_strdup
      JS_free
      JS_realloc
      JS_ReportOutOfMemory
      JS_malloc
      JS_GetScopeChain
      JS_InitStandardClasses
      JS_SetGlobalObject
      JS_GetGlobalObject
      JS_SetVersion
      JS_GetVersion
      JS_ContextIterator
      JS_GetTaskState
      JS_DestroyContext
      JS_NewContext
      JS_Unlock
      JS_Lock
      JS_Finish
      JS_Init
      JS_GetTypeName
      JS_TypeOfValue
      JS_ValueToBoolean
      JS_ValueToInt32
      JS_ValueToNumber
      JS_ValueToString
      JS_ValueToFunction
      JS_ValueToObject
      JS_ReportError
      JS_ConvertValue
      JS_GetEmptyStringValue
      JS_GetPositiveInfinityValue
      JS_GetNegativeInfinityValue
      JS_GetNaNValue
;DSR062897 - added for GA code
      JS_MaybeGC
      JS_GetScriptPrincipals
      JS_IsAssigning
      JS_SetCharSetInfo
;brendan@mozilla.org, 2-Sept-2000
      JS_SetCallReturnValue2
      JS_SetGCCallback
      JS_SetGCCallbackRT
      JS_AddExternalStringFinalizer
      JS_RemoveExternalStringFinalizer
      JS_NewExternalString
;
;
;00023:prmjtime (OFFSET:0x000dae0f, SIZE:0x00008986):
; - Public Definitions:
      PRMJ_FormatTimeUSEnglish
      PRMJ_gmtime
      PRMJ_FormatTime
      PRMJ_mktime
      PRMJ_ComputeTime
      PRMJ_localtime
      PRMJ_ExplodeTime
      PRMJ_ToLocal
      PRMJ_ToGMT
      PRMJ_NowLocal
      PRMJ_DSTOffset
      PRMJ_NowS
      PRMJ_NowMS
      PRMJ_Now
      PRMJ_ToExtendedTime
      PRMJ_ToBaseTime
      PRMJ_setDST
      PRMJ_LocalGMTDifference